Robots Atlas>ROBOTS ATLAS
Phi-3.5-mini-instruct
AI Modelsโ€บPhi

Phi-3.5-mini-instruct

3.5 ยท mini ยท Instructย ยทย Family: Phi
Microsoft's lightweight (3.8B) Phi-family language model. Dense decoder-only Transformer, 128K context, 22 languages, strong math/code reasoning. MIT license.
โœ“ Activeโœ“ Public accessโš– Open sourceLLM๐Ÿ“ Phi
Context window
128K
tokens
Parameters
3.8B
parameters
Release date
20 August 2024
Access:DownloadAPIHostedDeployment:๐Ÿ’ป Localโ˜ Cloud๐Ÿ“ฑ On-device

Overview

Phi-3.5-mini-instruct is a lightweight 3.8B-parameter language model from the Phi family (Microsoft), instruction-tuned. It uses a dense decoder-only Transformer architecture and offers a 128K-token context window, targeting memory/compute-constrained environments and latency-bound scenarios.

The model was trained on 3.4 trillion tokens โ€” synthetic data and filtered public websites โ€” with an emphasis on high-quality reasoning content. Post-training included supervised fine-tuning (SFT), proximal policy optimization (PPO), and direct preference optimization (DPO). It supports 22 languages (including Arabic, Chinese, French, German, Japanese, Korean, Spanish).

Phi-3.5-mini achieves competitive results: 69% on MMLU and 86.2% on GSM8K (mathematical reasoning), with strong code (mainly Python), math, and logic capabilities. Released under the MIT license; available via Hugging Face, Azure AI Foundry, and inference providers (vLLM, SGLang).

Classification
LLM
Family: Phi
Access & deployment
DownloadAPIHosted
LocalCloudOn-device
Weights: Open source
Key parameters
๐Ÿ“ Context: 128K
๐Ÿงฉ Parameters: 3.8B
โœ“ Toolsย ยทย โœ“ Fine-tuning
๐Ÿ“ฅ Input: text

Technical specification

Context window
128K
tokens
Parameters
3.8B
parameters
License
MIT
Hardware requirements
Designed for memory/compute-constrained environments and latency-bound scenarios. Dense 3.8B decoder-only Transformer.
Features:โœ“ Tool useโœ“ Fine-tuning
Modalities
โฌ‡ Input
text
โฌ† Output
textcode

Capabilities and applications

Native model capabilities
Language modeling
Ability to predict subsequent tokens and generate coherent natural-language text based on the preceding context.
Category: language
Reasoning
The model's ability to reason logically and solve complex problems.
Category: reasoning
Mathematical reasoning
The model's ability to solve mathematical tasks requiring multi-step reasoning โ€” equations, proofs, combinatorics, geometry, calculus and competition-level problems.
Category: reasoning
Coding
Generating, analysing and modifying code in many programming languages. Covers writing functions, debugging, refactoring, code review, and creating tests. Measured by benchmarks such as HumanEval and SWE-bench.
Category: coding
Multilingual
Competence in many natural languages (from a few to over a hundred): understanding, generation, translation, and code-switching within a single conversation. Frontier models support a wide range of languages with comparable quality.
Category: language
Long context
Support for large context windows โ€” tens to hundreds of thousands (or millions) of input tokens. Enables analysis of entire codebases, long documents, and many parallel conversations without losing earlier information. GPT-5.1 supports 400,000 tokens.
Category: language
Instruction following
Precisely following instructions contained in the prompt: response format, length, style, constraints (e.g. 'reply in six words'). GPT-5.1 significantly improved this capability compared to GPT-5.
Category: language

Benchmark results

2 benchmarks
MMLU
accuracy
69%
๐Ÿ“„ technical_report
GSM8K
accuracy ยท mathematical reasoning
86.2%
๐Ÿ“„ technical_report

Technical architecture

Core Architecture
Training Techniques