---
title: Falcon-H1R-7B-5bit
canonical_url: "https://www.modelscope.cn/models/mlx-community/Falcon-H1R-7B-5bit"
md_url: "https://www.modelscope.cn/models/mlx-community/Falcon-H1R-7B-5bit.md"
repository: mlx-community/Falcon-H1R-7B-5bit
last_updated: 2026-01-05
license: other
pipeline_tag: text-generation
tasks:
  - text-generation
model_type:
  - falcon_h1
architectures:
  - FalconH1ForCausalLM
base_model:
  - tiiuae/Falcon-H1R-7B
base_model_relation: quantized
library_name:
  - mlx
  - safetensors
  - pytorch
frameworks:
  - pytorch
language:
  - ar
  - cs
  - de
  - en
  - es
  - fr
  - hi
  - it
  - ja
  - ko
  - nl
  - pl
  - pt
  - ro
  - ru
  - sv
  - ur
  - zh
inference_backends:
  - "deploy_task text/emb"
  - "vllm 0.9.2"
downloads: 25
stars: 0
tags:
  - falcon-h1r
  - mlx
---

# Falcon-H1R-7B-5bit

> Falcon-H1R-7B-5bit - mlx-community 在 ModelScope 开源的模型。mlx-community/Falcon-H1R-7B-5bit

mlx-community/Falcon-H1R-7B-5bit 是 ModelScope 魔搭社区上的text-generation模型，采用 other 许可，基于 tiiuae/Falcon-H1R-7B 构建，可用 deploy_task text/emb、vllm 0.9.2 部署。

- **Repository**: mlx-community/Falcon-H1R-7B-5bit
- **License**: other
- **Tasks**: text-generation
- **Base model**: tiiuae/Falcon-H1R-7B
- **Inference backends**: deploy_task text/emb, vllm 0.9.2
- **Tags**: falcon-h1r, mlx
- **Downloads**: 25
- **Stars**: 0
- **Last updated**: 2026-01-05

Source: https://www.modelscope.cn/models/mlx-community/Falcon-H1R-7B-5bit

---

# mlx-community/Falcon-H1R-7B-5bit

This model [mlx-community/Falcon-H1R-7B-5bit](https://huggingface.co/mlx-community/Falcon-H1R-7B-5bit) was
converted to MLX format from [tiiuae/Falcon-H1R-7B](https://huggingface.co/tiiuae/Falcon-H1R-7B)
using mlx-lm version **0.29.1**.

## Use with mlx

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

```python
from mlx_lm import load, generate

model, tokenizer = load("mlx-community/Falcon-H1R-7B-5bit")

prompt = "hello"

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

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