---
title: Qwen1.5-0.5B-Chat
canonical_url: "https://www.modelscope.cn/models/mlx-community/Qwen1.5-0.5B-Chat"
md_url: "https://www.modelscope.cn/models/mlx-community/Qwen1.5-0.5B-Chat.md"
repository: mlx-community/Qwen1.5-0.5B-Chat
last_updated: 2024-12-19
license: other
pipeline_tag: text-generation
tasks:
  - text-generation
model_type:
  - qwen2
architectures:
  - Qwen2ForCausalLM
parameters: 619.6M
tensor_type:
  - F16
library_name:
  - mlx
  - safetensors
  - pytorch
frameworks:
  - pytorch
language:
  - en
inference_backends:
  - "deploy_task text/emb"
  - "lmdeploy 0.9.1"
  - "lmdeploy_turbomind 0.9.1"
  - "sglang 0.5.2"
  - "vllm 0.9.2"
downloads: 1012
stars: 0
tags:
  - chat
  - mlx
---

# Qwen1.5-0.5B-Chat

> Qwen1.5-0.5B-Chat - mlx-community 在 ModelScope 开源的模型。mlx-community/Qwen1.5-0.5B-Chat This model was converted to MLX format from Qwen/Qwen1.5-0.5B-Chat. Refer to the original model card for more details on the model. Use with mlx

mlx-community/Qwen1.5-0.5B-Chat 是 ModelScope 魔搭社区上的 619.6M 参数text-generation模型，采用 other 许可，可用 deploy_task text/emb、lmdeploy 0.9.1、lmdeploy_turbomind 0.9.1 部署。

- **Repository**: mlx-community/Qwen1.5-0.5B-Chat
- **License**: other
- **Tasks**: text-generation
- **Parameters**: 619.6M
- **Inference backends**: deploy_task text/emb, lmdeploy 0.9.1, lmdeploy_turbomind 0.9.1, sglang 0.5.2, vllm 0.9.2
- **Tags**: chat, mlx
- **Downloads**: 1012
- **Stars**: 0
- **Last updated**: 2024-12-19

Source: https://www.modelscope.cn/models/mlx-community/Qwen1.5-0.5B-Chat

---

# mlx-community/Qwen1.5-0.5B-Chat
This model was converted to MLX format from [`Qwen/Qwen1.5-0.5B-Chat`]().
Refer to the [original model card](https://huggingface.co/Qwen/Qwen1.5-0.5B-Chat) for more details on the model.
## Use with mlx

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

```python
from mlx_lm import load, generate

model, tokenizer = load("mlx-community/Qwen1.5-0.5B-Chat")
response = generate(model, tokenizer, prompt="hello", verbose=True)
```
