codellama/CodeLlama-70b-Instruct-hf

# 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 pr…

azureFoundry/azureml-meta/CodeLlama-70b-Instruct-hf@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

Specifications & capabilities

Input
text
Output
text
Published model ID
CodeLlama-70b-Instruct-hf

Evaluations

21–21 / 21

Open LLM Leaderboard v1

77.236%

source id
openLLMLeaderboardV1
leaderboard name
Open LLM v1 HellaSwag
dimension
reasoning
metric
Accuracy
rank
5051
aggregation scope
suite
Open LLM v1
status
archived
precision
bfloat16
task_count
6
metric_kind
Accuracy
rank_method
Derived competition rank over published evaluations with reported scores, including variants and source flags
weight_type
Original
published_at
2024-06-25T14:11:42Z
chat_template
false
suite_version
1
model_revision
6b762a8d3c16e4397aaa4f4627ebfda5db098831
source_flagged
true
missing_metrics
    dataset_revision
    791ca1c841030008c6c266562c2b88c9b7196550
    metric_population
    7260
    ranking_population
    7260
    source_flag_anomaly
    true
    evaluated at
    2024-01-29T20:03:42.000Z
    source model id
    codellama/CodeLlama-70b-Instruct-hf
    Original result ↗

    Provider specifications & access

    1–3 / 3

    codellama/CodeLlama-70b-Instruct-hf ↗

    source model id
    azureml-meta/CodeLlama-70b-Instruct-hf@7
    hosting
    foundry-managed-compute
    platforms
    • Microsoft Foundry
    license
    llama2
    architecture
    input_modalities
    • text
    output_modalities
    • text
    capabilities

      codellama/CodeLlama-70b-Instruct-hf ↗

      source model id
      azureml-meta/CodeLlama-70b-Instruct-hf@8
      hosting
      foundry-managed-compute
      platforms
      • Microsoft Foundry
      license
      llama2
      architecture
      input_modalities
      • text
      output_modalities
      • text
      capabilities

        codellama/CodeLlama-70b-Instruct-hf ↗

        source model id
        HuggingFace/codellama-codellama-70b-instruct-hf@1
        hosting
        foundry-managed-compute
        platforms
        • Microsoft Foundry
        license
        llama2
        architecture
        input_modalities
        • text
        output_modalities
        • text
        capabilities

          Safety assessments

          1–1 / 1

          Foundation Model Transparency Index 2025 ↗

          31 / 100

          source id
          stanfordFMTI
          canonical model id
          azureFoundry/azureml-meta/CodeLlama-70b-Instruct-hf@7
          taxonomy
          transparency
          hazard category
          transparency
          hazard name
          Organization transparency
          policy area
          Meta
          assessment type
          organization-level disclosure
          metric
          disclosure_score
          result label
          31 / 100
          sample size
          100
          updated at
          2026-11-09T18:08:05.227Z

          Original sources

          1–9 / 9

          Hugging Face · Model repository ↗

          Microsoft Foundry · Model page ↗

          Microsoft Foundry · Model page ↗

          Microsoft Foundry · Model page ↗

          Microsoft Foundry · Model documentation ↗

          GitHub · Catalog ↗

          Hugging Face · Catalog ↗

          Hugging Face · Catalog ↗

          Microsoft Foundry · Catalog ↗

          Source links

          1–4 / 4

          Explore more models

          Models

          Loading
          EVIDENCE / COMPARISON

          Benchmarks

          Explore every benchmark

          Loading

          These charts contain model-linked results. The charts above also include unlinked source profiles. Compare scores within each evaluation. Model quality, usage, transparency and system performance measure different things.

          Install TensorTrace