Downloads · 30 days
18
16% of all-time downloads
vanch007/EraX-Translator-V1.0-mlx-bf16
EraX-Translator-V1.0-mlx-bf16 is a translation model from vanch007. Use it when you need text moved from one language to another. It is set up for mlx-vlm.
MLX-VLM bfloat16 conversion of erax-ai/EraX-Translator-V1.0 for Apple Silicon.
Downloads · 30 days
18
16% of all-time downloads
All-time downloads
110
Public
Parameters
5B
10 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors9.9 GB · 100%
From the Hugging Face model README
MLX-VLM bfloat16 conversion of erax-ai/EraX-Translator-V1.0 for Apple Silicon.
mlx-vlm 0.4.0.Gemma3ForConditionalGeneration.mlx-vlm text generation.python3 -m mlx_vlm convert \
--hf-path erax-ai/EraX-Translator-V1.0 \
--mlx-path /path/to/EraX-Translator-V1.0-mlx-bf16 \
--dtype bfloat16
python3 - <<'PY'
from mlx_vlm import load
from mlx_vlm.generate import generate
model, processor = load('/path/to/EraX-Translator-V1.0-mlx-bf16')
messages = [
{"role": "system", "content": "Bạn là trợ lý dịch thuật nhiều ngôn ngữ. Chỉ trả về bản dịch chính xác, không giải thích thêm."},
{"role": "user", "content": "The weather is nice today, but the traffic is terrible.\n\nDịch sang tiếng Việt."},
]
prompt = processor.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
result = generate(model, processor, prompt, verbose=False, max_tokens=128, temperature=0.2, top_p=0.95, top_k=64)
print(result.text)
PY
537.68 tok/s4.62s10.42 GB0.28280 casesObserved locally:
This model is a translation-tuned checkpoint. It is not intended as a general-purpose coding or math model, and difficult literary or historical material may still require human review.