news.volyx.in

Replit's new Code LLM: Open Source, 77% smaller than Codex, trained in 1 week (latent.space)

891 points by swyx · 1214 days ago · 220 comments on HN

Article summary

Replit has open-sourced its code LLM, replit-code-v1-3b, which is 77% smaller than OpenAI's Codex model and achieves better performance on the HumanEval benchmark. The model was trained in one week and is designed to be used by Replit's 22 million developers. Replit's Head of AI, Reza Shabani, discussed the model's development and capabilities in an interview. The model is licensed under the Creative Commons license (CC BY-SA-4.0), allowing for modifications and commercial use.

Main themes

  • LLM development
  • code generation
  • model evaluation
  • licensing and commercial use
  • fine-tuning and customization
  • AI for programming
  • benchmarking and comparison

What commenters say

  • The model's performance is impressive, but its evaluation on the HumanEval benchmark may be flawed due to the presence of similar problems in the training data.
  • Fine-tuning the model on a specific code repository or collection of code repositories can significantly improve its performance.
  • The use of the ALiBi approach for positional embedding allows for better generalizability, but may penalize scenarios where the model needs to attend to distant parts of the input.
  • The Creative Commons license (CC BY-SA-4.0) used by Replit is business-friendly and allows for modifications and commercial use, but some argue that it is not suitable for commercial use due to its copyleft nature.
  • The model's ability to generate code in multiple programming languages makes it a valuable tool for developers.
  • The possibility of fine-tuning the model on private source code raises concerns about the potential for overfitting and the need for careful evaluation.
  • The comparison between Replit's model and OpenAI's Codex model is not entirely fair due to differences in their training data and objectives.