CodeLlama-70b-Instruct-hf
Version: 7
Inference samples
Evaluation samples
Key capabilities
About this model
CodeLlama-70b-instruct model is designed for general code synthesis and understanding.Key model capabilities
The provider has not supplied this information.Use cases
See Responsible AI for additional considerations for responsible use.Key use cases
The provider has not supplied this information.Out of scope use cases
Code Llama and its variants are a new technology that carries risks with use. For these reasons, as with all LLMs, Code Llama's potential outputs cannot be predicted in advance, and the model may in some instances produce inaccurate or objectionable responses to user prompts. Therefore, before deploying any applications of Code Llama, developers should perform safety testing and tuning tailored to their specific applications of the model.Pricing
Pricing is based on a number of factors, including deployment type and tokens used. See pricing details here.Technical specs
The provider has not supplied this information.Training cut-off date
The provider has not supplied this information.Training time
The provider has not supplied this information.Input formats
The provider has not supplied this information.Output formats
The provider has not supplied this information.Supported languages
The provider has not supplied this information.Sample JSON response
{
"input_data": {
"input_string": [
"def fibonacci("
],
"parameters": {
"top_p": 1,
"temperature": 0,
"do_sample": true,
"max_new_tokens": 200
}
}
}
[
{
"0": "def fibonacci(n):\n if n == 0:\n return 0\n elif n == 1:\n return 1\n else:\n return fibonacci(n-1) + fibonacci(n-2)\ n\n\ndef main():\n n = int(input(\"Enter a number: \"))\n print(fibonacci(n))\ n\n\nif __name__ == \"__main__\":\n main()\n"
}
]
Model architecture
The provider has not supplied this information.Long context
The provider has not supplied this information.Optimizing model performance
The provider has not supplied this information.Additional assets
The provider has not supplied this information.Training disclosure
Training, testing and validation
Testing conducted to date has been in English, and has not covered, nor could it cover all scenarios.Distribution
Distribution channels
A custom commercial license is available at: https://ai.meta.com/resources/models-and-libraries/llama-downloads/More information
Responsible AI considerations
Safety techniques
The provider has not supplied this information.Safety evaluations
The provider has not supplied this information.Known limitations
Code Llama and its variants are a new technology that carries risks with use. Testing conducted to date has been in English, and has not covered, nor could it cover all scenarios. For these reasons, as with all LLMs, Code Llama's potential outputs cannot be predicted in advance, and the model may in some instances produce inaccurate or objectionable responses to user prompts. Therefore, before deploying any applications of Code Llama, developers should perform safety testing and tuning tailored to their specific applications of the model.Acceptable use
Acceptable use policy
The provider has not supplied this information.Quality and performance evaluations
Source: Meta The provider has not supplied this information.Benchmarking methodology
Source: Meta The provider has not supplied this information.Public data summary
Source: Meta The provider has not supplied this information.Model Specifications
LicenseLlama2
Last UpdatedDecember 2025
ProviderMeta
Languages1 Language