Here are some of the top Large Language Models (LLMs) for coding tasks:
: Developed by Meta AI, Code Llama is a family of LLMs specifically designed for coding tasks, including code generation, code completion, and code summarization.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
StarCoder: Developed by BigCode, StarCoder is an open-source LLM that can generate code in various programming languages, including Python, Java, and C++.
CodeGen: Developed by Salesforce, CodeGen is an LLM that can generate code in various programming languages, including Python, Java, and C++.
InCoder: Developed by Meta AI, InCoder is an LLM that can generate code in various programming languages, including Python, Java, and C++.
PaLM-Coder: Developed by Google, PaLM-Coder is a variant of the PaLM LLM that is specifically designed for coding tasks.
Model Comparison:
Model
Training Data
Model Size
Programming Languages
Code Llama
1.5T tokens
7B, 13B, 34B
Python, Java, C++, JavaScript
StarCoder
1T tokens
15.5B
Python, Java, C++, JavaScript, PHP
CodeGen
100B tokens
2.7B, 6.1B, 16.1B
Python, Java, C++, JavaScript
InCoder
159GB text data
1.3B, 6.7B
Python, Java, C++, JavaScript
PaLM-Coder
780B tokens
540B
Python, Java, C++, JavaScript
Performance Comparison:
HumanEval: A benchmark for evaluating the performance of LLMs on coding tasks.
Code Llama (34B): 53.7% pass@1
StarCoder: 44.6% pass@1
CodeGen (16.1B): 35.4% pass@1
MBPP: A benchmark for evaluating the performance of LLMs on coding tasks.
Code Llama (34B): 63.5% pass@1
StarCoder: 55.4% pass@1
CodeGen (16.1B): 46.2% pass@1
Note that the performance of LLMs can vary depending on the specific task, programming language, and evaluation metric. These comparisons are based on publicly available benchmarks and may not reflect the performance of these models on specific use cases or tasks.