Check out StarCoder – the largest open source large language models for code

BigCode is an open scientific cooperation led by Hugging Face and ServiceNow that focuses on building huge programming language models in an ethical way. The Large Language Models for Code (Code LLM) StarCoder and StarCoderBase were developed with the help of GitHub’s openly licensed data, which includes over 80 programming languages, Git commits, GitHub issues, and Jupyter notebooks. To obtain LLaMA-like results, we also trained a model with 15B parameters using 1B tokens. StarCoder is an improved version of the StarCoderBase model trained on 35 billion Python tokens. StarCoderBase has proven to outperform other open source LLMs on several popular programming benchmarks and to be on par with or even better than closed models like OpenAIs code-Cushman-001 (the original Codex model that powered early versions of GitHub Copilot ). StarCoder models, which have a context length of over 8,000 tokens, can process more inputs than any other open LLM, opening the door to a wide variety of exciting new uses.

StarCoder and similar devices have been tested extensively on a wide range of benchmarks. HumanEval is a widely used benchmark for Python that checks whether or not a model can successfully complete a function given only its signature and docstring. StarCoder and StarCoderBase have proven to be more effective than larger models such as PaLM, LaMDA and LLaMA.


Check out 100s AI Tools in our AI Tools Club

Models trained on over 80 languages ​​by The Stack (v1.2) are not included in the total parameters of StarCoder 15.5B models. The model was introduced on 1 trillion tokens with a Fill-in-the-Middle target using Multi Query Attention with a context window of 8192 tokens.

The researchers are also sharing the following demos and materials alongside the model:

  • OpenRAIL licenses model heaviness, which includes intermediate control points.
  • All training and preprocessing code is licensed under Apache 2.0.
  • a comprehensive framework for testing computer programs
  • a new dataset for training and evaluating PII removal algorithms
  • The dataset used for training was completely preprocessed.
  • A tool to identify where in the dataset the code was generated.


  • Code from GitHub was used to train the model. Because of this, it’s not a good model for statements, and you won’t have much success issuing directives like Write a function that takes the square root. However, following the on-screen instructions can turn it into a useful tech assistant.
  • Fill-in-the-middle uses tokens to determine which parts of the input and output are the prefix, middle, and suffix.
  • The model pre-training dataset was selected to include only content with permissive licenses. However, the model can use the dataset to generate word-for-word source code. It is important to comply with any attribution and other criteria set out in the license keys.
  • The new VSCode plug-in is a useful complement to having a conversation with StarCoder during software development. To check if the current code has been included in the pretraining dataset, press CTRL+ESC.

Main features

  • It is a leading open source Code-LLM.
  • Using more freely licensed GitHub data than standard, a 15 billion LLM was trained.
  • On all major open source programming benchmarks, it scores best.
  • He is a technical assistant, generates realistic code and supports 80 programming languages.
  • It was trained on 1 trillion tokens and had a context window of 8192 tokens.
  • Only legally authorized information.


  • Such copies are easier to eradicate if the copyright owner opts out when the code is licensed permissively or with a copy license left and then duplicated in another repository. More effort is needed to develop effective data control and consent processes for the massive amounts of data used in LLM training.
  • Like other LLMs, StarCoder has limitations, including the ability to produce incorrect, rude, misleading, anti-aging, sexist, or stereotypically reinforcing information.
  • The model is made available under the OpenRAIL-M license, which imposes legally binding restrictions on how the model can be used and how it can be modified.
  • StarCoder’s coding capabilities and natural language understanding were analyzed by researchers against English-only benchmarks. Research on the effectiveness and limitations of Code LLMs on different natural languages ​​is needed to broaden the applicability of these models.

The researchers hope to improve access, repeatability, and transparency of the LLM Code in the research and developer community by releasing the StarCoder models under an Open Responsible AI Model License and by open sourcing all model building code repositories on GitHub . To ensure that any derivative work of the model or the applications that use it adhere to the BigCode principles of responsible AI, the model’s license includes usage restrictions. Researchers also made available a new set of attribution tools for Code LLM end users to use in searching for potentially plagiarized model generations. The researchers hope these precautions will help release a safe model, ensuring that StarCoder’s high-performance models will continue to be used indefinitely.

Check out theModel AND Blogs.Try it here. Don’t forget to subscribeour 20k+ ML SubReddit,Discord channel,ANDEmail newsletterwhere we share the latest news on AI research, cool AI projects, and more. If you have any questions regarding the above article or if you have missed anything, please do not hesitate to email us

Check out 100s AI Tools in the AI ​​Tools Club

Dhanshree Shenwai is a software engineer and has good experience in FinTech companies covering Finance, Cards & Payments and Banking with keen interest in AI applications. He is enthusiastic about exploring new technologies and advancements in today’s changing world, making everyone’s life easier.

#Check #StarCoder #largest #open #source #large #language #models #code

Leave a Comment