---
title: SERA-32B-4bit
canonical_url: "https://www.modelscope.cn/models/mlx-community/SERA-32B-4bit"
md_url: "https://www.modelscope.cn/models/mlx-community/SERA-32B-4bit.md"
repository: mlx-community/SERA-32B-4bit
last_updated: 2026-01-28
license: apache-2.0
pipeline_tag: text-generation
tasks:
  - text-generation
model_type:
  - qwen3
architectures:
  - Qwen3ForCausalLM
base_model:
  - allenai/SERA-32B
base_model_relation: quantized
parameters: 2.1B
tensor_type:
  - BF16
  - U32
library_name:
  - mlx
  - safetensors
  - pytorch
frameworks:
  - pytorch
inference_backends:
  - "deploy_task text/emb"
  - "lmdeploy_turbomind 0.9.1"
  - "sglang 0.5.2"
  - "vllm 0.9.2"
downloads: 20
stars: 0
tags:
  - mlx
---

# SERA-32B-4bit

> SERA-32B-4bit - mlx-community 在 ModelScope 开源的模型。mlx-community/SERA-32B-4bit

mlx-community/SERA-32B-4bit 是 ModelScope 魔搭社区上的 2.1B 参数text-generation模型，采用 apache-2.0 许可，基于 allenai/SERA-32B 构建，可用 deploy_task text/emb、lmdeploy_turbomind 0.9.1、sglang 0.5.2 部署。

- **Repository**: mlx-community/SERA-32B-4bit
- **License**: apache-2.0
- **Tasks**: text-generation
- **Parameters**: 2.1B
- **Base model**: allenai/SERA-32B
- **Inference backends**: deploy_task text/emb, lmdeploy_turbomind 0.9.1, sglang 0.5.2, vllm 0.9.2
- **Tags**: mlx
- **Downloads**: 20
- **Stars**: 0
- **Last updated**: 2026-01-28

Source: https://www.modelscope.cn/models/mlx-community/SERA-32B-4bit

---

# mlx-community/SERA-32B-4bit

This model [mlx-community/SERA-32B-4bit](https://huggingface.co/mlx-community/SERA-32B-4bit) was
converted to MLX format from [allenai/SERA-32B](https://huggingface.co/allenai/SERA-32B)
using mlx-lm version **0.30.2**.

## Use with mlx

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

```python
from mlx_lm import load, generate

model, tokenizer = load("mlx-community/SERA-32B-4bit")

prompt = "hello"

if tokenizer.chat_template is not None:
    messages = [{"role": "user", "content": prompt}]
    prompt = tokenizer.apply_chat_template(
        messages, add_generation_prompt=True, return_dict=False,
    )

response = generate(model, tokenizer, prompt=prompt, verbose=True)
```
