mlx-community/EuroLLM-22B-Instruct-2512-mlx-6bit
The Model mlx-community/EuroLLM-22B-Instruct-2512-mlx-6bit was converted to MLX format from 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
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("mlx-community/EuroLLM-22B-Instruct-2512-mlx-6bit")
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)
- Downloads last month
- 15
Model tree for mlx-community/EuroLLM-22B-Instruct-2512-mlx-6bit
Base model
utter-project/EuroLLM-22B-2512
Finetuned
utter-project/EuroLLM-22B-Instruct-2512