Run this model with HF Jobs

Run theprint/phi-3-mini-4k-python on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs and TRL to fine-tune https://huggingface.co/theprint/phi-3-mini-4k-python. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/theprint/phi-3-mini-4k-python on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/theprint/phi-3-mini-4k-python. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
How to use from
llama.cpp
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf theprint/phi-3-mini-4k-python:
# Run inference directly in the terminal:
llama cli -hf theprint/phi-3-mini-4k-python:
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf theprint/phi-3-mini-4k-python:
# Run inference directly in the terminal:
llama cli -hf theprint/phi-3-mini-4k-python:
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-app
# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama serve -hf theprint/phi-3-mini-4k-python:
# Run inference directly in the terminal:
./build/bin/llama cli -hf theprint/phi-3-mini-4k-python:
Use Docker
docker model run hf.co/theprint/phi-3-mini-4k-python:
Quick Links

Uploaded model

  • Developed by: theprint
  • License: apache-2.0
  • Finetuned from model : unsloth/Phi-3-mini-4k-instruct-bnb-4bit

This mistral model was trained 2x faster with Unsloth and Huggingface's TRL library.

Open LLM Leaderboard Evaluation Results

Detailed results can be found here

Metric Value
Avg. 17.39
IFEval (0-Shot) 24.09
BBH (3-Shot) 28.45
MATH Lvl 5 (4-Shot) 8.46
GPQA (0-shot) 5.48
MuSR (0-shot) 9.22
MMLU-PRO (5-shot) 28.63
Downloads last month
697
GGUF
Model size
4B params
Architecture
llama
Hardware compatibility
Log In to add your hardware

4-bit

5-bit

6-bit

8-bit

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for theprint/phi-3-mini-4k-python

Quantized
(65)
this model
Quantizations
2 models

Datasets used to train theprint/phi-3-mini-4k-python

Evaluation results