Instructions to use getonit/RoLlama-3.2-1B-mlx-8bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use getonit/RoLlama-3.2-1B-mlx-8bit with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # if on a CUDA device, also pip install mlx[cuda] # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("getonit/RoLlama-3.2-1B-mlx-8bit") prompt = "Once upon a time in" text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- MLX LM
How to use getonit/RoLlama-3.2-1B-mlx-8bit with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Generate some text mlx_lm.generate --model "getonit/RoLlama-3.2-1B-mlx-8bit" --prompt "Once upon a time"
RoLlama-3.2-1B-mlx-8bit
An 8-bit MLX quantization of a RoLlama 3.2 1B checkpoint โ a Romanian-adapted Llama 3.2 1B โ for fast on-device inference on Apple Silicon.
- Architecture: Llama (
LlamaForCausalLM), 16 layers, hidden size 2048, vocab 128256 - Quantization: MLX affine, 8-bit, group size 64
- Format:
safetensors(single shard, ~1.59 GB), MLX-loadable - Language: Romanian (
ro)
Intended use
Built for Cloudless Voice (formerly Onit Dictate) as a language-specialized
smart-cleanup / perplexity-scoring model. The default English Llama 3.2 1B scores
Romanian text poorly; this model gives more natural scoring for Romanian dictation
cleanup. In the app: Settings โ Smart Formatting โ Language model (or add it via
"Add a custom model (Pro)" by pasting getonit/RoLlama-3.2-1B-mlx-8bit).
Usage (mlx-lm)
from mlx_lm import load, generate
model, tokenizer = load("getonit/RoLlama-3.2-1B-mlx-8bit")
print(generate(model, tokenizer, prompt="Salut, ce mai faci?", max_tokens=64))
License
Inherits the Llama 3.2 Community License from the base model, plus any terms of the RoLlama checkpoint it was adapted from.
- Downloads last month
- 52
8-bit