Phi-3 Mini: Microsoft’s Small Model, Phone Deployment and an Uncertain Local Test

Matthew Berman reviews Microsoft’s 2024 technical report and runs informal prompts, with an unresolved model label in the demonstration.

MBMatthew BermanSpeaker · Forward Future
Channel
Matthew Berman
Published
Apr 24, 2024
Video
21:47
Read
5 min
Slides
7
Original
English
Open on YouTube
Scroll to read and the video shrinks to the bottom-right corner. Captions follow your reading language.
Reading languageAvailable in 2 languages
You're reading the original English.
SUMMARY

In 30 seconds

Matthew Berman examines Microsoft’s Phi-3 Mini, its training data, reported benchmarks and offline phone demonstration, then tests what he identifies as the model locally. The test interface displays a conflicting Llama 7B label, leaving the identity of the model generating those answers uncertain; the examples are not a controlled evaluation.

  1. 1Size versus MMLUMicrosoft’s chart compares Phi-3 variants with other 2024 models on one benchmark, with active parameters on the size axis.
  2. 2The Mini recipeThe technical report describes 3.8 billion parameters, 3.3 trillion training tokens, filtered web data and synthetic data.
  3. 3Offline on a phoneThe authors report 4-bit inference on an iPhone 14 at more than 12 tokens per second.
  4. 4Benchmark results varyPhi-3 Mini scores 68.8 on MMLU in the shown table, but trails Mixtral on other tests including TriviaQA.
  5. 5An uncertain local demonstrationBerman reports mixed prompt results; the interface’s Llama 7B label leaves model identity unresolved.

Takeaways

  1. Microsoft reported that the 3.8B-parameter Phi-3 Mini was trained on 3.3 trillion tokens of filtered and synthetic data.
  2. A 4-bit version reportedly ran offline on an iPhone 14 at over 12 tokens per second in the paper’s test.
  3. The model’s benchmark comparisons depend on the particular tasks, model versions and evaluation settings.
  4. The paper identifies factual knowledge and predominantly English training as limitations.
  5. The video’s informal test contains both successes and failures, but its displayed Llama 7B label conflicts with the stated Phi-3 Mini identity.
  6. Berman’s estimate that agents could handle 95% of assistant tasks is speculation rather than a measured result.
FULL TEXT

Read the edited text by chapter

Transcript only
01

Phi-3 and its training data

Berman introduces the model family, Microsoft’s benchmarks and the idea of using filtered and synthetic data. He distinguishes his hopes for phone assistants from the paper’s results.

Microsoft’s Phi-3 family aims to make small language models more capable through carefully selected training data. In this April 2024 review, I look at the technical report and then run a set of local tests. The appeal is a model small enough to run on a phone, rather than needing a cloud connection for every task.

Model size and MMLU
SLIDE 1 / 7Model size and MMLUMicrosoft’s chart plots benchmark quality against active parameters for the listed 2024 models.

Microsoft’s chart compares model size with quality measured by MMLU. It shows Phi-3 Mini in 4K- and 128K-context versions, with Phi-3 Small and Medium shown as previews. Phi-3 Medium is a 14-billion-parameter model; the Mixtral 8x7B comparison is a mixture of experts with different total and active parameter counts. A position on one chart does not establish superiority on every task.

I imagine an on-device assistant with access to search, memory and tools, perhaps coordinated by agents. I speculate that such a system could handle a large share of everyday requests, even though small models fall short of frontier models such as GPT-4 and Claude 3 Opus. My estimate of 95% is a prediction, not a measured result from the paper.

The report introduces Phi-3 Mini, a 3.8-billion-parameter model trained on 3.3 trillion tokens. Microsoft reports about 69% on MMLU and 8.38 on MT-Bench, and says its results on its selected academic and internal tests rival Mixtral 8x7B and GPT-3.5. These are results under particular evaluations, not proof of equivalent performance in all uses.

Phi-3 technical report
SLIDE 2 / 7Phi-3 technical reportThe abstract reports training scale and selected benchmark scores for Phi-3 Mini.

The authors emphasize the training data: filtered web material and synthetic examples built on the approach used for Phi-2. Larger models can help filter and create training data for smaller ones. At the time of recording I was unsure about the exact release terms and where to download weights, so my uncertainty should not be read as a definitive licensing assessment.

The paper contrasts scaling assumptions based on a fixed data source with the possibilities created by capable language models that filter or generate data. The researchers argue that this approach can produce small models with performance previously associated with larger ones. Whether such a model truly reasons or reproduces patterns learned from its training remains a question my few examples cannot settle.

02

Context, phone deployment and benchmarks

The report describes context lengths, quantization and a phone test. Its table also shows differences across tasks and known limitations.

Phi-3 Mini’s default context is 4K tokens; the separate 128K version extends it using LongRoPE. The model uses a Llama-2-like block structure and a 32,064-token vocabulary, which the paper says makes existing tooling easier to adapt. The model is also chat fine-tuned.

Reported phone deployment
SLIDE 3 / 7Reported phone deploymentThe report describes four-bit quantization and offline inference on an iPhone 14.

Microsoft reports that the 4-bit quantized Mini occupies about 1.8 GB and ran fully offline on an iPhone 14 with an A16 chip at more than 12 tokens per second. That is an observation for this tested configuration, not a guarantee for every phone, prompt or context length.

The paper’s benchmark table gives Phi-3 Mini 68.8 on five-shot MMLU, compared with 66.0 for Llama 3 8B Instruct, 68.4 for Mixtral 8x7B and 71.4 for the listed GPT-3.5 version. Other rows vary: for example, Mini scores 64.0 on TriviaQA versus 82.2 for Mixtral. Individual benchmarks and settings matter.

Benchmark table
SLIDE 4 / 7Benchmark tableThe table shows task-specific scores, including MMLU and TriviaQA, across several model versions.

The paper identifies factual knowledge as a weakness of the smaller model, including its TriviaQA performance. Search or retrieval could supplement that limitation, though reliable tool use would need its own testing. The authors also say the model is primarily limited to English; I speculate that specialized models for other languages might be another approach.

03

Local setup and coding tests

Berman demonstrates LM Studio configuration, a simple script and an unsuccessful Snake game. The visible model label does not clearly match the model he says he selected.

For the demonstration I search LM Studio for Phi-3 Mini 4K Instruct and choose an FP16 download just under 8 GB rather than a Q4 version. The interface at the time needed a Phi-3 preset, which I downloaded and dragged in. I leave the system prompt empty, set temperature to 0.2 and enable Apple Metal on my machine.

LM Studio preset
SLIDE 5 / 7LM Studio presetThe displayed configuration supplies the prompt formatting used in the demonstration.

A simple Python script to print the numbers from 1 to 100 succeeds, at a displayed 33 tokens per second. A Snake game is harder: the first generated code has undefined directions and screen variables. After asking for fixes and adding the suggested definitions, the program still does not play successfully, so I count that attempt as a failure.

For this size of model, I expect question answering and retrieval-assisted use to be more promising than complex coding. A request for instructions to break into a car is refused; a follow-up framed as a movie script is also refused and includes an incorrect claim that the assistant was developed by OpenAI. I speculate about the training data, but a model’s self-description does not establish its provenance.

04

Reasoning and final assessment

Individual prompts yield a mixture of correct answers and errors. These informal examples cannot establish overall model performance, especially given the unresolved interface label.

The model correctly says that 20 shirts can dry in the same four hours as five if they have enough space and the same conditions. It also correctly orders Jane, Joe and Sam by speed, answers 4 + 4, and evaluates 25 − 4 × 2 + 3 as 20. These are individual examples, not a comprehensive reasoning benchmark.

For a hotel charging $99.95 per night plus 8% tax and a one-time untaxed $5 fee, it gives the correct expression: 1.08 × 99.95 × x + 5. It then fails a self-referential word-count question, claiming an incorrect number of words and adding a mistaken explanation.

In the three-killers puzzle, the model explains that two original killers remain and the newcomer becomes a killer, yielding three under the stated assumptions. It also produces the requested JSON for three people and their ages. Both answers pass my informal checks.

The upside-down cup and marble question produces a bad answer: instead of tracking the marble left on the table when the inverted cup is lifted, the response discusses microwaves. On a separate belief-tracking question it correctly distinguishes John’s belief that the ball is in the box from Mark’s knowledge that it is in the basket, despite some confusing wording.

The cup and marble prompt
SLIDE 6 / 7The cup and marble promptThe response fails to track the marble, while the interface displays a conflicting Llama 7B model label.

Asked for ten sentences ending in “apple,” the model fails by the third sentence. In a final digging problem it calculates a combined rate of ten holes per hour and a tenth of an hour per hole, then contradicts that calculation by saying 50 workers would still need five hours. Under ideal linear scaling the answer would be six minutes; practical space constraints could prevent that scaling.

The digging problem
SLIDE 7 / 7The digging problemThe response gives a rate calculation and then contradicts it with a five-hour conclusion.

My conclusion is that the results are impressive for a small model but uneven, especially on the Snake program and some reasoning tasks. There is an important qualification: although I say I am testing Phi-3 Mini, the demonstration interface displays “Llama 7B” and FP16 model information. The video alone does not resolve whether that label is incorrect or a different model was loaded, so the observed responses cannot be confidently attributed to Phi-3 Mini.

More from this channel

12 slides34:21EN
Matthew Berman· Oct 27, 2026Matthew Berman Examines Anthropic’s IPO Filing, AI Growth and GovernanceMatthew Berman, Sam Altman · Forward FutureThe presenter reviews the S-1’s financial metrics, compute strategy and voting structure while questioning the tension between rapid AI development and safety.AnthropicAI SafetyEnterprise AI+2
6 slides25:50EN
Matthew Berman· Oct 24, 2026Kimi K3.1 Pro Tested: Strong 3D Demos, Uneven Results and Competitive PricingMatthew Berman · Forward FutureMatthew Berman tests the open-weight model on coding, 3D rendering and visual explanations, then compares benchmark results and prices.Open-weight modelsBenchmarksAI cost & performance+1
2 slides32:20EN
Matthew Berman· Oct 23, 2026Who Is Local AI For? The Costs, Trade-offs and a Hybrid FutureMatthew Berman · Forward FutureMatthew Berman weighs data control and independence against hardware cost, setup complexity and inference speed.Local inferenceOpen-weight modelsAI cost & performance+1
6 slides1:03:37EN
Matthew Berman· Oct 23, 2026Matthew Berman’s Team Tests Kimi K3.1 on Animation, Games, and ChartsMatthew Berman, Alex, Brian · Forward FutureA live team AMA turns into an informal test of Kimi K3.1, from personal-agent workflows to motion graphics, a browser game, and a benchmark chart.Coding agentsGenerative mediaEvals+2
0:53EN
Matthew Berman· Oct 22, 2026Sam Altman on AI and the Discovery of New KnowledgeSam Altman · OpenAIAltman expects progress in mathematical discovery to extend to biology, materials and energy.AI for scienceMathematicsComputational Biology+1
Slides0:22EN
Matthew Berman· Oct 21, 2026A Robot Bodyguard Video Shows Dramatic Rescue ScenariosMatthew Berman · Forward FutureMatthew Berman reacts to a short robot demonstration depicting fighting and vehicle-rescue scenarios.RoboticsEvals