---
title: Phi-3.5-mini-instruct-bf16
canonical_url: "https://www.modelscope.cn/models/mlx-community/Phi-3.5-mini-instruct-bf16"
md_url: "https://www.modelscope.cn/models/mlx-community/Phi-3.5-mini-instruct-bf16.md"
repository: mlx-community/Phi-3.5-mini-instruct-bf16
last_updated: 2024-12-19
license: mit
pipeline_tag: text-generation
tasks:
  - text-generation
model_type:
  - phi3
architectures:
  - Phi3ForCausalLM
parameters: 3.8B
tensor_type:
  - BF16
library_name:
  - mlx
  - safetensors
  - pytorch
frameworks:
  - pytorch
language:
  - multilingual
inference_backends:
  - "deploy_task text/emb"
  - "sglang 0.5.2"
  - "vllm 0.9.2"
downloads: 1019
stars: 0
tags:
  - nlp
  - code
  - mlx
---

# Phi-3.5-mini-instruct-bf16

> Phi-3.5-mini-instruct-bf16 - mlx-community 在 ModelScope 开源的模型。mlx-community/Phi-3.5-mini-instruct-bf16

mlx-community/Phi-3.5-mini-instruct-bf16 是 ModelScope 魔搭社区上的 3.8B 参数text-generation模型，采用 mit 许可，可用 deploy_task text/emb、sglang 0.5.2、vllm 0.9.2 部署。

- **Repository**: mlx-community/Phi-3.5-mini-instruct-bf16
- **License**: mit
- **Tasks**: text-generation
- **Parameters**: 3.8B
- **Inference backends**: deploy_task text/emb, sglang 0.5.2, vllm 0.9.2
- **Tags**: nlp, code, mlx
- **Downloads**: 1019
- **Stars**: 0
- **Last updated**: 2024-12-19

Source: https://www.modelscope.cn/models/mlx-community/Phi-3.5-mini-instruct-bf16

---

# mlx-community/Phi-3.5-mini-instruct-bf16

The Model [mlx-community/Phi-3.5-mini-instruct-bf16](https://huggingface.co/mlx-community/Phi-3.5-mini-instruct-bf16) was converted to MLX format from [microsoft/Phi-3.5-mini-instruct](https://huggingface.co/microsoft/Phi-3.5-mini-instruct) using mlx-lm version **0.17.0**.

## Use with mlx

```bash
pip install mlx-lm
```

```python
from mlx_lm import load, generate

model, tokenizer = load("mlx-community/Phi-3.5-mini-instruct-bf16")
response = generate(model, tokenizer, prompt="hello", verbose=True)
```
