Downloads · 30 days
22
18% of all-time downloads
vanch007/EraX-Translator-V1.0-mlx-8bit
EraX-Translator-V1.0-mlx-8bit 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 8bit conversion of erax-ai/EraX-Translator-V1.0 for Apple Silicon.
Downloads · 30 days
22
18% of all-time downloads
All-time downloads
119
Public
Parameters
5B
5.7 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors5.7 GB · 99%
How the weights are stored.
U324.6B · 92%
From the Hugging Face model README
MLX-VLM 8bit conversion of erax-ai/EraX-Translator-V1.0 for Apple Silicon.
mlx-vlm 0.4.0.9.139 bits per weight.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-8bit \
--dtype bfloat16 \
--quantize --q-bits 8
python3 - <<'PY'
from mlx_vlm import load
from mlx_vlm.generate import generate
model, processor = load('/path/to/EraX-Translator-V1.0-mlx-8bit')
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
564.37 tok/s2.83s6.31 GB0.20250 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.