---
title: EuroLLM-22B-Instruct-2512-mlx-5bit
canonical_url: "https://www.modelscope.cn/models/mlx-community/EuroLLM-22B-Instruct-2512-mlx-5bit"
md_url: "https://www.modelscope.cn/models/mlx-community/EuroLLM-22B-Instruct-2512-mlx-5bit.md"
repository: mlx-community/EuroLLM-22B-Instruct-2512-mlx-5bit
last_updated: 2025-12-16
license: apache-2.0
pipeline_tag: text-generation
tasks:
  - text-generation
model_type:
  - llama
architectures:
  - LlamaForCausalLM
base_model:
  - utter-project/EuroLLM-22B-Instruct-2512
base_model_relation: quantized
library_name:
  - mlx
  - safetensors
  - pytorch
frameworks:
  - pytorch
language:
  - en
  - de
  - es
  - fr
  - it
  - pt
  - pl
  - nl
  - tr
  - sv
  - cs
  - el
  - hu
  - ro
  - fi
  - uk
  - sl
  - sk
  - da
  - lt
  - lv
  - et
  - bg
  - no
  - ca
  - hr
  - ga
  - mt
  - gl
  - zh
  - ru
  - ko
  - ja
  - ar
  - hi
inference_backends:
  - "deploy_task text/emb"
  - "lmdeploy 0.9.1"
  - "lmdeploy_turbomind 0.9.1"
  - "sglang 0.5.2"
  - "vllm 0.9.2"
downloads: 33
stars: 0
tags:
  - transformers
  - mlx
  - translation
---

# EuroLLM-22B-Instruct-2512-mlx-5bit

> EuroLLM-22B-Instruct-2512-mlx-5bit - mlx-community 在 ModelScope 开源的模型。mlx-community/EuroLLM-22B-Instruct-2512-mlx-5bit

mlx-community/EuroLLM-22B-Instruct-2512-mlx-5bit 是 ModelScope 魔搭社区上的text-generation模型，采用 apache-2.0 许可，基于 utter-project/EuroLLM-22B-Instruct-2512 构建，可用 deploy_task text/emb、lmdeploy 0.9.1、lmdeploy_turbomind 0.9.1 部署。

- **Repository**: mlx-community/EuroLLM-22B-Instruct-2512-mlx-5bit
- **License**: apache-2.0
- **Tasks**: text-generation
- **Base model**: utter-project/EuroLLM-22B-Instruct-2512
- **Inference backends**: deploy_task text/emb, lmdeploy 0.9.1, lmdeploy_turbomind 0.9.1, sglang 0.5.2, vllm 0.9.2
- **Tags**: transformers, mlx, translation
- **Downloads**: 33
- **Stars**: 0
- **Last updated**: 2025-12-16

Source: https://www.modelscope.cn/models/mlx-community/EuroLLM-22B-Instruct-2512-mlx-5bit

---

# mlx-community/EuroLLM-22B-Instruct-2512-mlx-5bit

The Model [mlx-community/EuroLLM-22B-Instruct-2512-mlx-5bit](https://huggingface.co/mlx-community/EuroLLM-22B-Instruct-2512-mlx-5bit) was converted to MLX format from [utter-project/EuroLLM-22B-Instruct-2512](https://huggingface.co/utter-project/EuroLLM-22B-Instruct-2512) using mlx-lm version **0.28.4**.

You can find other similar translation-related MLX model quants for an Apple Mac at https://huggingface.co/bibproj

35 Languages: Bulgarian, Croatian, Czech, Danish, Dutch, English, Estonian, Finnish, French, German, Greek, Hungarian, Irish, Italian, Latvian, Lithuanian, Maltese, Polish, Portuguese, Romanian, Slovak, Slovenian, Spanish, Swedish, Arabic, Catalan, Chinese, Galician, Hindi, Japanese, Korean, Norwegian, Russian, Turkish, and Ukrainian. 

## Use with mlx

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

```python
from mlx_lm import load, generate

model, tokenizer = load("mlx-community/EuroLLM-22B-Instruct-2512-mlx-5bit")
prompt="Translate from English to French: Hi there!"

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

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