---
title: Ling-2.6-flash-mlx-4bit
canonical_url: "https://www.modelscope.cn/models/mlx-community/Ling-2.6-flash-mlx-4bit"
md_url: "https://www.modelscope.cn/models/mlx-community/Ling-2.6-flash-mlx-4bit.md"
repository: mlx-community/Ling-2.6-flash-mlx-4bit
last_updated: 2026-04-29
license: mit
pipeline_tag: text-generation
tasks:
  - text-generation
model_type:
  - bailing_hybrid
architectures:
  - BailingMoeV2_5ForCausalLM
base_model:
  - inclusionAI/Ling-2.6-flash
base_model_relation: quantized
parameters: 16.3B
tensor_type:
  - U32
  - F32
  - BF16
library_name:
  - mlx
  - safetensors
  - pytorch
frameworks:
  - pytorch
language:
  - en
downloads: 74
stars: 1
tags:
  - mlx
---

# Ling-2.6-flash-mlx-4bit

> Ling-2.6-flash-mlx-4bit - mlx-community 在 ModelScope 开源的模型。mlx-community/Ling-2.6-flash-mlx-4bit

mlx-community/Ling-2.6-flash-mlx-4bit 是 ModelScope 魔搭社区上的 16.3B 参数text-generation模型，采用 mit 许可，基于 inclusionAI/Ling-2.6-flash 构建。

- **Repository**: mlx-community/Ling-2.6-flash-mlx-4bit
- **License**: mit
- **Tasks**: text-generation
- **Parameters**: 16.3B
- **Base model**: inclusionAI/Ling-2.6-flash
- **Tags**: mlx
- **Downloads**: 74
- **Stars**: 1
- **Last updated**: 2026-04-29

Source: https://www.modelscope.cn/models/mlx-community/Ling-2.6-flash-mlx-4bit

---

# mlx-community/Ling-2.6-flash-mlx-4bit

This model [mlx-community/Ling-2.6-flash-mlx-4bit](https://huggingface.co/mlx-community/Ling-2.6-flash-mlx-4bit) was
converted to MLX format from [inclusionAI/Ling-2.6-flash](https://huggingface.co/inclusionAI/Ling-2.6-flash)
using mlx-lm version **0.31.3**.

## Use with mlx

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

```python
from mlx_lm import load, generate

model, tokenizer = load("mlx-community/Ling-2.6-flash-mlx-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)
```
