unsloth/phi-4-bnb-4bit

`unsloth/phi-4-bnb-4bit` powered by Text Generation Inference (TGI) - [Example Notebook](https://aka.ms/hugging-face-text-generation-streaming-online-endpoint) - [Original Model Card](https://hugging…

azureFoundry/HuggingFace/unsloth-phi-4-bnb-4bit@2

`unsloth/phi-4-bnb-4bit` powered by Text Generation Inference (TGI)

- [Example Notebook](https://aka.ms/hugging-face-text-generation-streaming-online-endpoint) - [Original Model Card](https://huggingface.co/unsloth/phi-4-bnb-4bit) - [Text Generation Inference Documentation](https://huggingface.co/docs/text-generation-inference)

### Send Request

You can use cURL or any REST Client to send a request to the AzureML endpoint with your AzureML token.

```bash curl <AZUREML_ENDPOINT_URL> \ -X POST \ -d '{"inputs":"What is Deep Learning?"}' \ -H "Authorization: Bearer <AZUREML_TOKEN>" \ -H "Content-Type: application/json" ```

### Supported Parameters

- **inputs** (string): Input prompt. - **parameters** (object): - **best_of** (integer): Generate best_of sequences and return the one if the highest token logprobs. - **decoder_input_details** (boolean): Whether to return decoder input token logprobs and ids. - **details** (boolean): Whether to return generation

Specifications & capabilities

Input
text
Output
text
Published model ID
phi-4-bnb-4bit

Evaluations

1–13 / 13

Open LLM Leaderboard v2

67.699%

source id
openLLMLeaderboardV2
leaderboard name
Open LLM v2 BBH · Raw
dimension
reasoning
metric
Raw accuracy
rank
172
aggregation scope
suite
Open LLM v2
co2_kg
3.0477431372705746
status
archived
precision
bfloat16
task_count
6
metric_kind
Raw accuracy
rank_method
Derived competition rank over published evaluations with reported scores, including variants and source flags
weight_type
Original
published_at
2025-03-20T12:17:27Z
chat_template
true
suite_version
2
model_revision
85ca2925f3cc4f3c42de4168e9ba0695be5d5845
source_flagged
false
missing_metrics
    dataset_revision
    9c09a7cae43334062a82cb164f2ef255013dafa2
    metric_population
    4576
    ranking_population
    4576
    source_flag_anomaly
    false
    source model id
    unsloth/phi-4-bnb-4bit
    Original result ↗

    Open LLM Leaderboard v2

    53.535%

    source id
    openLLMLeaderboardV2
    leaderboard name
    Open LLM v2 BBH · Normalized
    dimension
    reasoning
    metric
    Normalized score
    rank
    175
    aggregation scope
    suite
    Open LLM v2
    co2_kg
    3.0477431372705746
    status
    archived
    precision
    bfloat16
    task_count
    6
    metric_kind
    Normalized score
    rank_method
    Derived competition rank over published evaluations with reported scores, including variants and source flags
    weight_type
    Original
    published_at
    2025-03-20T12:17:27Z
    chat_template
    true
    suite_version
    2
    model_revision
    85ca2925f3cc4f3c42de4168e9ba0695be5d5845
    source_flagged
    false
    missing_metrics
      dataset_revision
      9c09a7cae43334062a82cb164f2ef255013dafa2
      metric_population
      4576
      ranking_population
      4576
      source_flag_anomaly
      false
      source model id
      unsloth/phi-4-bnb-4bit
      Original result ↗

      Open LLM Leaderboard v2

      46.073%

      source id
      openLLMLeaderboardV2
      leaderboard name
      Open LLM v2 MATH Lvl 5 · Raw
      dimension
      math
      metric
      Raw accuracy
      rank
      264
      aggregation scope
      suite
      Open LLM v2
      co2_kg
      3.0477431372705746
      status
      archived
      precision
      bfloat16
      task_count
      6
      metric_kind
      Raw accuracy
      rank_method
      Derived competition rank over published evaluations with reported scores, including variants and source flags
      weight_type
      Original
      published_at
      2025-03-20T12:17:27Z
      chat_template
      true
      suite_version
      2
      model_revision
      85ca2925f3cc4f3c42de4168e9ba0695be5d5845
      source_flagged
      false
      missing_metrics
        dataset_revision
        9c09a7cae43334062a82cb164f2ef255013dafa2
        metric_population
        4576
        ranking_population
        4576
        source_flag_anomaly
        false
        source model id
        unsloth/phi-4-bnb-4bit
        Original result ↗

        Open LLM Leaderboard v2

        46.073%

        source id
        openLLMLeaderboardV2
        leaderboard name
        Open LLM v2 MATH Lvl 5 · Normalized
        dimension
        math
        metric
        Normalized score
        rank
        264
        aggregation scope
        suite
        Open LLM v2
        co2_kg
        3.0477431372705746
        status
        archived
        precision
        bfloat16
        task_count
        6
        metric_kind
        Normalized score
        rank_method
        Derived competition rank over published evaluations with reported scores, including variants and source flags
        weight_type
        Original
        published_at
        2025-03-20T12:17:27Z
        chat_template
        true
        suite_version
        2
        model_revision
        85ca2925f3cc4f3c42de4168e9ba0695be5d5845
        source_flagged
        false
        missing_metrics
          dataset_revision
          9c09a7cae43334062a82cb164f2ef255013dafa2
          metric_population
          4576
          ranking_population
          4576
          source_flag_anomaly
          false
          source model id
          unsloth/phi-4-bnb-4bit
          Original result ↗

          Open LLM Leaderboard v2

          39.06%

          source id
          openLLMLeaderboardV2
          leaderboard name
          Open LLM v2 Average
          dimension
          general
          metric
          Normalized six-task average
          rank
          344
          aggregation scope
          suite
          Open LLM v2
          co2_kg
          3.0477431372705746
          status
          archived
          precision
          bfloat16
          task_count
          6
          metric_kind
          Normalized six-task average
          rank_method
          Derived competition rank over published evaluations with reported scores, including variants and source flags
          weight_type
          Original
          published_at
          2025-03-20T12:17:27Z
          chat_template
          true
          suite_version
          2
          model_revision
          85ca2925f3cc4f3c42de4168e9ba0695be5d5845
          source_flagged
          false
          missing_metrics
            dataset_revision
            9c09a7cae43334062a82cb164f2ef255013dafa2
            metric_population
            4576
            ranking_population
            4576
            source_flag_anomaly
            false
            source model id
            unsloth/phi-4-bnb-4bit
            Original result ↗

            Open LLM Leaderboard v2

            52.56%

            source id
            openLLMLeaderboardV2
            leaderboard name
            Open LLM v2 MMLU-PRO · Raw
            dimension
            knowledge
            metric
            Raw accuracy
            rank
            400
            aggregation scope
            suite
            Open LLM v2
            co2_kg
            3.0477431372705746
            status
            archived
            precision
            bfloat16
            task_count
            6
            metric_kind
            Raw accuracy
            rank_method
            Derived competition rank over published evaluations with reported scores, including variants and source flags
            weight_type
            Original
            published_at
            2025-03-20T12:17:27Z
            chat_template
            true
            suite_version
            2
            model_revision
            85ca2925f3cc4f3c42de4168e9ba0695be5d5845
            source_flagged
            false
            missing_metrics
              dataset_revision
              9c09a7cae43334062a82cb164f2ef255013dafa2
              metric_population
              4576
              ranking_population
              4576
              source_flag_anomaly
              false
              source model id
              unsloth/phi-4-bnb-4bit
              Original result ↗

              Open LLM Leaderboard v2

              47.289%

              source id
              openLLMLeaderboardV2
              leaderboard name
              Open LLM v2 MMLU-PRO · Normalized
              dimension
              knowledge
              metric
              Normalized score
              rank
              400
              aggregation scope
              suite
              Open LLM v2
              co2_kg
              3.0477431372705746
              status
              archived
              precision
              bfloat16
              task_count
              6
              metric_kind
              Normalized score
              rank_method
              Derived competition rank over published evaluations with reported scores, including variants and source flags
              weight_type
              Original
              published_at
              2025-03-20T12:17:27Z
              chat_template
              true
              suite_version
              2
              model_revision
              85ca2925f3cc4f3c42de4168e9ba0695be5d5845
              source_flagged
              false
              missing_metrics
                dataset_revision
                9c09a7cae43334062a82cb164f2ef255013dafa2
                metric_population
                4576
                ranking_population
                4576
                source_flag_anomaly
                false
                source model id
                unsloth/phi-4-bnb-4bit
                Original result ↗

                Open LLM Leaderboard v2

                33.809%

                source id
                openLLMLeaderboardV2
                leaderboard name
                Open LLM v2 GPQA · Raw
                dimension
                knowledge
                metric
                Raw accuracy
                rank
                730
                aggregation scope
                suite
                Open LLM v2
                co2_kg
                3.0477431372705746
                status
                archived
                precision
                bfloat16
                task_count
                6
                metric_kind
                Raw accuracy
                rank_method
                Derived competition rank over published evaluations with reported scores, including variants and source flags
                weight_type
                Original
                published_at
                2025-03-20T12:17:27Z
                chat_template
                true
                suite_version
                2
                model_revision
                85ca2925f3cc4f3c42de4168e9ba0695be5d5845
                source_flagged
                false
                missing_metrics
                  dataset_revision
                  9c09a7cae43334062a82cb164f2ef255013dafa2
                  metric_population
                  4576
                  ranking_population
                  4576
                  source_flag_anomaly
                  false
                  source model id
                  unsloth/phi-4-bnb-4bit
                  Original result ↗

                  Open LLM Leaderboard v2

                  11.745%

                  source id
                  openLLMLeaderboardV2
                  leaderboard name
                  Open LLM v2 GPQA · Normalized
                  dimension
                  knowledge
                  metric
                  Normalized score
                  rank
                  730
                  aggregation scope
                  suite
                  Open LLM v2
                  co2_kg
                  3.0477431372705746
                  status
                  archived
                  precision
                  bfloat16
                  task_count
                  6
                  metric_kind
                  Normalized score
                  rank_method
                  Derived competition rank over published evaluations with reported scores, including variants and source flags
                  weight_type
                  Original
                  published_at
                  2025-03-20T12:17:27Z
                  chat_template
                  true
                  suite_version
                  2
                  model_revision
                  85ca2925f3cc4f3c42de4168e9ba0695be5d5845
                  source_flagged
                  false
                  missing_metrics
                    dataset_revision
                    9c09a7cae43334062a82cb164f2ef255013dafa2
                    metric_population
                    4576
                    ranking_population
                    4576
                    source_flag_anomaly
                    false
                    source model id
                    unsloth/phi-4-bnb-4bit
                    Original result ↗

                    Open LLM Leaderboard v2

                    67.297%

                    source id
                    openLLMLeaderboardV2
                    leaderboard name
                    Open LLM v2 IFEval · Raw
                    dimension
                    instructionFollowing
                    metric
                    Raw accuracy
                    rank
                    919
                    aggregation scope
                    suite
                    Open LLM v2
                    co2_kg
                    3.0477431372705746
                    status
                    archived
                    precision
                    bfloat16
                    task_count
                    6
                    metric_kind
                    Raw accuracy
                    rank_method
                    Derived competition rank over published evaluations with reported scores, including variants and source flags
                    weight_type
                    Original
                    published_at
                    2025-03-20T12:17:27Z
                    chat_template
                    true
                    suite_version
                    2
                    model_revision
                    85ca2925f3cc4f3c42de4168e9ba0695be5d5845
                    source_flagged
                    false
                    missing_metrics
                      dataset_revision
                      9c09a7cae43334062a82cb164f2ef255013dafa2
                      metric_population
                      4576
                      ranking_population
                      4576
                      source_flag_anomaly
                      false
                      source model id
                      unsloth/phi-4-bnb-4bit
                      Original result ↗

                      Open LLM Leaderboard v2

                      67.297%

                      source id
                      openLLMLeaderboardV2
                      leaderboard name
                      Open LLM v2 IFEval · Normalized
                      dimension
                      instructionFollowing
                      metric
                      Normalized score
                      rank
                      919
                      aggregation scope
                      suite
                      Open LLM v2
                      co2_kg
                      3.0477431372705746
                      status
                      archived
                      precision
                      bfloat16
                      task_count
                      6
                      metric_kind
                      Normalized score
                      rank_method
                      Derived competition rank over published evaluations with reported scores, including variants and source flags
                      weight_type
                      Original
                      published_at
                      2025-03-20T12:17:27Z
                      chat_template
                      true
                      suite_version
                      2
                      model_revision
                      85ca2925f3cc4f3c42de4168e9ba0695be5d5845
                      source_flagged
                      false
                      missing_metrics
                        dataset_revision
                        9c09a7cae43334062a82cb164f2ef255013dafa2
                        metric_population
                        4576
                        ranking_population
                        4576
                        source_flag_anomaly
                        false
                        source model id
                        unsloth/phi-4-bnb-4bit
                        Original result ↗

                        Open LLM Leaderboard v2

                        40.073%

                        source id
                        openLLMLeaderboardV2
                        leaderboard name
                        Open LLM v2 MUSR · Raw
                        dimension
                        reasoning
                        metric
                        Raw accuracy
                        rank
                        2620
                        aggregation scope
                        suite
                        Open LLM v2
                        co2_kg
                        3.0477431372705746
                        status
                        archived
                        precision
                        bfloat16
                        task_count
                        6
                        metric_kind
                        Raw accuracy
                        rank_method
                        Derived competition rank over published evaluations with reported scores, including variants and source flags
                        weight_type
                        Original
                        published_at
                        2025-03-20T12:17:27Z
                        chat_template
                        true
                        suite_version
                        2
                        model_revision
                        85ca2925f3cc4f3c42de4168e9ba0695be5d5845
                        source_flagged
                        false
                        missing_metrics
                          dataset_revision
                          9c09a7cae43334062a82cb164f2ef255013dafa2
                          metric_population
                          4576
                          ranking_population
                          4576
                          source_flag_anomaly
                          false
                          source model id
                          unsloth/phi-4-bnb-4bit
                          Original result ↗

                          Open LLM Leaderboard v2

                          8.424%

                          source id
                          openLLMLeaderboardV2
                          leaderboard name
                          Open LLM v2 MUSR · Normalized
                          dimension
                          reasoning
                          metric
                          Normalized score
                          rank
                          2716
                          aggregation scope
                          suite
                          Open LLM v2
                          co2_kg
                          3.0477431372705746
                          status
                          archived
                          precision
                          bfloat16
                          task_count
                          6
                          metric_kind
                          Normalized score
                          rank_method
                          Derived competition rank over published evaluations with reported scores, including variants and source flags
                          weight_type
                          Original
                          published_at
                          2025-03-20T12:17:27Z
                          chat_template
                          true
                          suite_version
                          2
                          model_revision
                          85ca2925f3cc4f3c42de4168e9ba0695be5d5845
                          source_flagged
                          false
                          missing_metrics
                            dataset_revision
                            9c09a7cae43334062a82cb164f2ef255013dafa2
                            metric_population
                            4576
                            ranking_population
                            4576
                            source_flag_anomaly
                            false
                            source model id
                            unsloth/phi-4-bnb-4bit
                            Original result ↗

                            Provider specifications & access

                            1–3 / 3

                            unsloth/phi-4-bnb-4bit ↗

                            source model id
                            HuggingFace/unsloth-phi-4-bnb-4bit@1
                            hosting
                            foundry-managed-compute
                            platforms
                            • Microsoft Foundry
                            license
                            mit
                            architecture
                            input_modalities
                            • text
                            output_modalities
                            • text
                            capabilities

                              unsloth/phi-4-bnb-4bit ↗

                              source model id
                              HuggingFace/unsloth-phi-4-bnb-4bit@2
                              hosting
                              foundry-managed-compute
                              platforms
                              • Microsoft Foundry
                              license
                              mit
                              architecture
                              input_modalities
                              • text
                              output_modalities
                              • text
                              capabilities

                                unsloth/phi-4-bnb-4bit ↗

                                source model id
                                HuggingFace/unsloth-phi-4-bnb-4bit@3
                                hosting
                                foundry-managed-compute
                                platforms
                                • Microsoft Foundry
                                license
                                mit
                                architecture
                                input_modalities
                                • text
                                output_modalities
                                • text
                                capabilities

                                  Original sources

                                  1–7 / 7

                                  Hugging Face · Model repository ↗

                                  Microsoft Foundry · Model page ↗

                                  Microsoft Foundry · Model page ↗

                                  Microsoft Foundry · Model page ↗

                                  Microsoft Foundry · Model documentation ↗

                                  Hugging Face · Catalog ↗

                                  Microsoft Foundry · Catalog ↗

                                  Source links

                                  1–2 / 2

                                  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