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

1–20 / 21

BigCode Models Leaderboard

75.6%

source id
bigCode
leaderboard name
humaneval-python
dimension
coding
metric
humaneval-python
rank
1
aggregation scope
status
published
direction
higherIsBetter
conditions
suite
BigCode
evaluation_sequence_length
2048
metric_kind
humaneval-python
rank_method
competition rank among reported evaluations in identical conditions, including unlinked observations
source_file
bigcode/bigcode-models-leaderboard/data/code_eval_board.csv
published_at
2024-11-11T20:36:38Z
source_revision
e9d7f58791a40b01c9477337f81d5d77602db07768042d96cbbb42e11a50ee09
metric_population
10
benchmark_evaluation
true
source model id
CodeLlama-70b-Instruct
Original result ↗

BigCode Models Leaderboard

57.76%

source id
bigCode
leaderboard name
javascript
dimension
coding
metric
javascript
rank
1
aggregation scope
status
published
direction
higherIsBetter
conditions
suite
BigCode
evaluation_sequence_length
2048
metric_kind
javascript
rank_method
competition rank among reported evaluations in identical conditions, including unlinked observations
source_file
bigcode/bigcode-models-leaderboard/data/code_eval_board.csv
published_at
2024-11-11T20:36:38Z
source_revision
e9d7f58791a40b01c9477337f81d5d77602db07768042d96cbbb42e11a50ee09
metric_population
10
benchmark_evaluation
true
source model id
CodeLlama-70b-Instruct
Original result ↗

BigCode Models Leaderboard

57.14%

source id
bigCode
leaderboard name
php
dimension
coding
metric
php
rank
1
aggregation scope
status
published
direction
higherIsBetter
conditions
suite
BigCode
evaluation_sequence_length
2048
metric_kind
php
rank_method
competition rank among reported evaluations in identical conditions, including unlinked observations
source_file
bigcode/bigcode-models-leaderboard/data/code_eval_board.csv
published_at
2024-11-11T20:36:38Z
source_revision
e9d7f58791a40b01c9477337f81d5d77602db07768042d96cbbb42e11a50ee09
metric_population
9
benchmark_evaluation
true
source model id
CodeLlama-70b-Instruct
Original result ↗

BigCode Models Leaderboard

47.2%

source id
bigCode
leaderboard name
java
dimension
coding
metric
java
rank
1
aggregation scope
status
published
direction
higherIsBetter
conditions
suite
BigCode
evaluation_sequence_length
2048
metric_kind
java
rank_method
competition rank among reported evaluations in identical conditions, including unlinked observations
source_file
bigcode/bigcode-models-leaderboard/data/code_eval_board.csv
published_at
2024-11-11T20:36:38Z
source_revision
e9d7f58791a40b01c9477337f81d5d77602db07768042d96cbbb42e11a50ee09
metric_population
10
benchmark_evaluation
true
source model id
CodeLlama-70b-Instruct
Original result ↗

BigCode Models Leaderboard

43.58%

source id
bigCode
leaderboard name
Win Rate
dimension
coding
metric
Win Rate
rank
1
aggregation scope
status
published
direction
higherIsBetter
conditions
suite
BigCode
evaluation_sequence_length
2048
metric_kind
Win Rate
rank_method
competition rank among reported evaluations in identical conditions, including unlinked observations
source_file
bigcode/bigcode-models-leaderboard/data/code_eval_board.csv
published_at
2024-11-11T20:36:38Z
source_revision
e9d7f58791a40b01c9477337f81d5d77602db07768042d96cbbb42e11a50ee09
metric_population
10
benchmark_evaluation
true
source model id
CodeLlama-70b-Instruct
Original result ↗

BigCode Models Leaderboard

42.86%

source id
bigCode
leaderboard name
swift
dimension
coding
metric
swift
rank
1
aggregation scope
status
published
direction
higherIsBetter
conditions
suite
BigCode
evaluation_sequence_length
2048
metric_kind
swift
rank_method
competition rank among reported evaluations in identical conditions, including unlinked observations
source_file
bigcode/bigcode-models-leaderboard/data/code_eval_board.csv
published_at
2024-11-11T20:36:38Z
source_revision
e9d7f58791a40b01c9477337f81d5d77602db07768042d96cbbb42e11a50ee09
metric_population
10
benchmark_evaluation
true
source model id
CodeLlama-70b-Instruct
Original result ↗

BigCode Models Leaderboard

42.64%

source id
bigCode
leaderboard name
Average score
dimension
coding
metric
Average score
rank
1
aggregation scope
status
published
direction
higherIsBetter
conditions
suite
BigCode
evaluation_sequence_length
2048
metric_kind
Average score
rank_method
competition rank among reported evaluations in identical conditions, including unlinked observations
source_file
bigcode/bigcode-models-leaderboard/data/code_eval_board.csv
published_at
2024-11-11T20:36:38Z
source_revision
e9d7f58791a40b01c9477337f81d5d77602db07768042d96cbbb42e11a50ee09
metric_population
10
benchmark_evaluation
true
source model id
CodeLlama-70b-Instruct
Original result ↗

BigCode Models Leaderboard

42.24%

source id
bigCode
leaderboard name
julia
dimension
coding
metric
julia
rank
1
aggregation scope
status
published
direction
higherIsBetter
conditions
suite
BigCode
evaluation_sequence_length
2048
metric_kind
julia
rank_method
competition rank among reported evaluations in identical conditions, including unlinked observations
source_file
bigcode/bigcode-models-leaderboard/data/code_eval_board.csv
published_at
2024-11-11T20:36:38Z
source_revision
e9d7f58791a40b01c9477337f81d5d77602db07768042d96cbbb42e11a50ee09
metric_population
10
benchmark_evaluation
true
source model id
CodeLlama-70b-Instruct
Original result ↗

BigCode Models Leaderboard

29.19%

source id
bigCode
leaderboard name
r
dimension
coding
metric
r
rank
1
aggregation scope
status
published
direction
higherIsBetter
conditions
suite
BigCode
evaluation_sequence_length
2048
metric_kind
r
rank_method
competition rank among reported evaluations in identical conditions, including unlinked observations
source_file
bigcode/bigcode-models-leaderboard/data/code_eval_board.csv
published_at
2024-11-11T20:36:38Z
source_revision
e9d7f58791a40b01c9477337f81d5d77602db07768042d96cbbb42e11a50ee09
metric_population
9
benchmark_evaluation
true
source model id
CodeLlama-70b-Instruct
Original result ↗

BigCode Models Leaderboard

48.45%

source id
bigCode
leaderboard name
cpp
dimension
coding
metric
cpp
rank
2
aggregation scope
status
published
direction
higherIsBetter
conditions
suite
BigCode
evaluation_sequence_length
2048
metric_kind
cpp
rank_method
competition rank among reported evaluations in identical conditions, including unlinked observations
source_file
bigcode/bigcode-models-leaderboard/data/code_eval_board.csv
published_at
2024-11-11T20:36:38Z
source_revision
e9d7f58791a40b01c9477337f81d5d77602db07768042d96cbbb42e11a50ee09
metric_population
10
benchmark_evaluation
true
source model id
CodeLlama-70b-Instruct
Original result ↗

BigCode Models Leaderboard

47.2%

source id
bigCode
leaderboard name
rust
dimension
coding
metric
rust
rank
2
aggregation scope
status
published
direction
higherIsBetter
conditions
suite
BigCode
evaluation_sequence_length
2048
metric_kind
rust
rank_method
competition rank among reported evaluations in identical conditions, including unlinked observations
source_file
bigcode/bigcode-models-leaderboard/data/code_eval_board.csv
published_at
2024-11-11T20:36:38Z
source_revision
e9d7f58791a40b01c9477337f81d5d77602db07768042d96cbbb42e11a50ee09
metric_population
10
benchmark_evaluation
true
source model id
CodeLlama-70b-Instruct
Original result ↗

BigCode Models Leaderboard

44.1%

source id
bigCode
leaderboard name
lua
dimension
coding
metric
lua
rank
2
aggregation scope
status
published
direction
higherIsBetter
conditions
suite
BigCode
evaluation_sequence_length
2048
metric_kind
lua
rank_method
competition rank among reported evaluations in identical conditions, including unlinked observations
source_file
bigcode/bigcode-models-leaderboard/data/code_eval_board.csv
published_at
2024-11-11T20:36:38Z
source_revision
e9d7f58791a40b01c9477337f81d5d77602db07768042d96cbbb42e11a50ee09
metric_population
10
benchmark_evaluation
true
source model id
CodeLlama-70b-Instruct
Original result ↗

BigCode Models Leaderboard

19.88%

source id
bigCode
leaderboard name
d
dimension
coding
metric
d
rank
2
aggregation scope
status
published
direction
higherIsBetter
conditions
suite
BigCode
evaluation_sequence_length
2048
metric_kind
d
rank_method
competition rank among reported evaluations in identical conditions, including unlinked observations
source_file
bigcode/bigcode-models-leaderboard/data/code_eval_board.csv
published_at
2024-11-11T20:36:38Z
source_revision
e9d7f58791a40b01c9477337f81d5d77602db07768042d96cbbb42e11a50ee09
metric_population
10
benchmark_evaluation
true
source model id
CodeLlama-70b-Instruct
Original result ↗

BigCode Models Leaderboard

0%

source id
bigCode
leaderboard name
racket
dimension
coding
metric
racket
rank
8
aggregation scope
status
published
direction
higherIsBetter
conditions
suite
BigCode
evaluation_sequence_length
2048
metric_kind
racket
rank_method
competition rank among reported evaluations in identical conditions, including unlinked observations
source_file
bigcode/bigcode-models-leaderboard/data/code_eval_board.csv
published_at
2024-11-11T20:36:38Z
source_revision
e9d7f58791a40b01c9477337f81d5d77602db07768042d96cbbb42e11a50ee09
metric_population
10
benchmark_evaluation
true
source model id
CodeLlama-70b-Instruct
Original result ↗

Open LLM Leaderboard v1

46.247%

source id
openLLMLeaderboardV1
leaderboard name
Open LLM v1 GSM8K
dimension
math
metric
Accuracy
rank
2898
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 ↗

    Open LLM Leaderboard v1

    50.444%

    source id
    openLLMLeaderboardV1
    leaderboard name
    Open LLM v1 TruthfulQA
    dimension
    knowledge
    metric
    Accuracy
    rank
    3706
    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
      7170
      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 ↗

      Open LLM Leaderboard v1

      59.978%

      source id
      openLLMLeaderboardV1
      leaderboard name
      Open LLM v1 Average
      dimension
      general
      metric
      Six-task average
      rank
      3797
      aggregation scope
      suite
      Open LLM v1
      status
      archived
      precision
      bfloat16
      task_count
      6
      metric_kind
      Six-task average
      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
        7170
        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 ↗

        Open LLM Leaderboard v1

        56.403%

        source id
        openLLMLeaderboardV1
        leaderboard name
        Open LLM v1 MMLU
        dimension
        knowledge
        metric
        Accuracy
        rank
        4426
        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 ↗

          Open LLM Leaderboard v1

          74.507%

          source id
          openLLMLeaderboardV1
          leaderboard name
          Open LLM v1 Winogrande
          dimension
          reasoning
          metric
          Accuracy
          rank
          4553
          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 ↗

            Open LLM Leaderboard v1

            55.034%

            source id
            openLLMLeaderboardV1
            leaderboard name
            Open LLM v1 ARC
            dimension
            reasoning
            metric
            Accuracy
            rank
            4889
            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