---
title: dolphin-2_6-phi-2-mlx
canonical_url: "https://www.modelscope.cn/models/mlx-community/dolphin-2_6-phi-2-mlx"
md_url: "https://www.modelscope.cn/models/mlx-community/dolphin-2_6-phi-2-mlx.md"
repository: mlx-community/dolphin-2_6-phi-2-mlx
last_updated: 2024-12-19
license: mit
model_type:
  - phi-msft
architectures:
  - PhiForCausalLM
parameters: 2.8B
tensor_type:
  - F16
library_name:
  - mlx
  - safetensors
  - pytorch
frameworks:
  - pytorch
language:
  - en
inference_backends:
  - "deploy_task text/emb"
  - "sglang 0.5.2"
  - "vllm 0.9.2"
downloads: 983
stars: 0
tags:
  - mlx
---

# dolphin-2_6-phi-2-mlx

> dolphin-2_6-phi-2-mlx - mlx-community 在 ModelScope 开源的模型。dolphin-26-phi-2-mlx This model was converted to MLX format from cognitivecomputations/dolphin-26-phi-2. Refer to the original model card for more details on the model. Use with mlx

mlx-community/dolphin-2_6-phi-2-mlx 是 ModelScope 魔搭社区上的 2.8B 参数机器学习模型，采用 mit 许可，可用 deploy_task text/emb、sglang 0.5.2、vllm 0.9.2 部署。

- **Repository**: mlx-community/dolphin-2_6-phi-2-mlx
- **License**: mit
- **Parameters**: 2.8B
- **Inference backends**: deploy_task text/emb, sglang 0.5.2, vllm 0.9.2
- **Tags**: mlx
- **Downloads**: 983
- **Stars**: 0
- **Last updated**: 2024-12-19

Source: https://www.modelscope.cn/models/mlx-community/dolphin-2_6-phi-2-mlx

---

# dolphin-2_6-phi-2-mlx
This model was converted to MLX format from [`cognitivecomputations/dolphin-2_6-phi-2`]().
Refer to the [original model card](https://huggingface.co/cognitivecomputations/dolphin-2_6-phi-2) for more details on the model.
## Use with mlx
```bash
pip install mlx
git clone https://github.com/ml-explore/mlx-examples.git
cd mlx-examples/llms/hf_llm
python generate.py --model mlx-community/dolphin-2_6-phi-2-mlx --prompt "My name is"
```
