MLX
•
phi
The Phi-3-Mini-4K-Instruct is a 3.8B parameters, lightweight, state-of-the-art open model trained with the Phi-3 datasets that includes both synthetic data and the filtered publicly available websites data with a focus on high-quality and reasoning dense properties
Model info
Model
Phi 3 mini 4k instruct 4bit
Author
mlx-community
Repository
Arch
phi
Parameters
3.8B
Format
safetensors
Size on disk
about 2.15 GB
Download the model using lms
— LM Studio's developer CLI.
lms get phi-3-mini-4k
curl http://localhost:1234/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "phi-3-mini-4k",
"messages": [
{ "role": "system", "content": "Always answer in rhymes." },
{ "role": "user", "content": "Introduce yourself." }
],
"temperature": 0.7,
"max_tokens": -1,
"stream": true
}'
lms log stream
to see your prompts as they are sent to the LLM.lmstudio.js
- LM Studio SDK documentation (TypeScript)lms log stream
- Stream server logslms
- LM Studio's CLI documentation