LLM EXPLORER 59,766 MODELS INDEXED

Phi 3 Mini 4K Instruct by microsoft

By microsoft · 607430 downloads

Phi 3 Mini 4K Instruct is an open-source language model by microsoft. Features: 3.8b LLM, VRAM: 7.7GB, Context: 4K, License: mit, Instruction-Based, LLM Explorer Score: 0.44, ELO: 1081, Arc: 63, HellaSwag: 80.6, MMLU: 69.1, GSM8K: 74.5.

  Code   Conversational   Custom code   En   Endpoints compatible   Eval-results   Fr   Instruct   Phi3   Region:us   Safetensors   Sharded   Tensorflow

Phi 3 Mini 4K Instruct Benchmarks

nn.n% — How the model compares to the reference models: Anthropic Sonnet 3.5 ("so35"), GPT-4o ("gpt4o") or GPT-4 ("gpt4").

Phi 3 Mini 4K Instruct Parameters and Internals

Model Type 
text generation, language model
Use Cases 
Areas:
Research, Commercial applications
Applications:
General purpose AI systems, Computationally constrained environments
Primary Use Cases:
Memory/computational constraint scenarios, Latency bound applications, Tasks requiring mathematical and logical reasoning
Limitations:
Limited by language/data representation bias, Requires additional debiasing techniques for high-risk use cases
Considerations:
Evaluate performance and mitigate for safety and accuracy.
Additional Notes 
The model's performance improves when integrated with retrieval systems for external knowledge.
Supported Languages 
en (High proficiency), fr (Moderate proficiency)
Training Details 
Data Sources:
Publicly available documents, High-quality educational data, Newly created synthetic data, Chat format supervised data
Data Volume:
4.9 trillion tokens
Methodology:
Supervised fine-tuning and Direct Preference Optimization
Context Length:
4000
Training Time:
10 days
Hardware Used:
512 H100-80G GPUs
Model Architecture:
Dense decoder-only Transformer model
Safety Evaluation 
Methodologies:
Supervised fine-tuning, Direct Preference Optimization
Findings:
Strong reasoning capabilities, Improved instruction following
Risk Categories:
Misinformation, Bias
Ethical Considerations:
Use responsibly and ensure compliance with laws.
Responsible Ai Considerations 
Fairness:
Address bias through training data selection and filtering.
Transparency:
Encourage user feedback and continuous improvement.
Accountability:
Developers responsible for outputs and compliance.
Mitigation Strategies:
Use Retrieval Augmented Generation for grounding responses.
Input Output 
Input Format:
Chat format prompts
Accepted Modalities:
text
Output Format:
Text generation outputs
Performance Tips:
Utilize chat format for best results. Consider prompt engineering for improved performance.
Release Notes 
Version:
June 2024 Update
Notes:
Improved instruction following, structure output, and reasoning compared to the original release.
LLM NamePhi 3 Mini 4K Instruct
Repository πŸ€—https://huggingface.co/microsoft/Phi-3-mini-4k-instruct 
Model Size3.8b
Required VRAM7.7 GB
Updated2026-06-26
Maintainermicrosoft
Model Typephi3
Instruction-BasedYes
Model Files  5.0 GB: 1-of-2   2.7 GB: 2-of-2
Supported Languagesen fr
Model ArchitecturePhi3ForCausalLM
Licensemit
Context Length4096
Model Max Length4096
Transformers Version4.40.2
Tokenizer ClassLlamaTokenizer
Padding Token<|endoftext|>
Vocabulary Size32064
Torch Data Typebfloat16

Quantized Models of the Phi 3 Mini 4K Instruct

Model
Likes
Downloads
VRAM
...nt4 Asym Bf16 Onnx Ryzen Strix290 GB
Phi 3 Mini 4K Instruct GGUF513761 GB
...i 3 Mini 4K Instruct IMat GGUF19830 GB
...hi 3 Mini 4K Instruct Bnb 4bit6192 GB

Best Alternatives to Phi 3 Mini 4K Instruct

Best Alternatives
Context / RAM
Downloads
Likes
Phi 4 Mini Instruct128K / 7.7 GB514603791
Phi 3.5 Mini Instruct128K / 7.7 GB1164079999
Phi 3 Mini 128K Instruct128K / 7.7 GB2336631700
Phi 3 Mini 128K Instruct128K / 7.7 GB70
Phi 3 Mini 128K Instruct128K / 7.7 GB110
Phi 4 Mini Instruct Heretic128K / 7.7 GB130
Phi 3.5 Mini TitanFusion 0.1128K / 7.7 GB70
NuExtract V1.5128K / 7.7 GB10851189
MediPhi Instruct128K / 7.7 GB167169
ECE EIFFEL 3Bv2128K / 7.7 GB50