Text Generation
MLX
Safetensors
Hungarian
llama
hungarian
emese
from-scratch
base-model
apple-silicon
quantized
8-bit precision
Instructions to use emese-tech/er-mlx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use emese-tech/er-mlx 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("emese-tech/er-mlx") 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 emese-tech/er-mlx with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Generate some text mlx_lm.generate --model "emese-tech/er-mlx" --prompt "Once upon a time"
- Atomic Chat
File size: 1,630 Bytes
e55a2f0 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | ---
language:
- hu
license: mit
library_name: mlx
tags:
- hungarian
- emese
- from-scratch
- llama
- base-model
- mlx
- apple-silicon
- quantized
pipeline_tag: text-generation
---
# Emese-Ér (517M) — MLX q8
**MLX q8-quantized** build of Ér, the edge/embedded/research tier of the [Emese](https://emese.tech)
Hungarian model family — a from-scratch 517M-parameter foundation model (not EuroLLM-based). See the
`er/` repo's README for full architecture, training, and limitations details; this file only covers the
q8-specific notes.
| | |
|---|---|
| **Quantization** | q8, group size 64 (`mlx_lm convert -q --q-bits 8 --q-group-size 64`) |
| **Size on disk** | ~526 MB (vs. ~987 MB bf16) |
| **Quality** | ≈ bf16, near-lossless at 8-bit |
| **Max context length** | 32,768 tokens (unchanged from bf16 — quantization doesn't affect context) |
## Usage
```python
from mlx_lm import load, generate
model, tok = load("er-mlx")
print(generate(model, tok, prompt="A magyar nyelv", max_tokens=100))
```
Base model only — no chat template. This checkpoint loads via `mlx_lm` despite its non-standard
`config.json` schema (see the `er/` README for why plain `transformers` can't load either variant).
## Training
Identical underlying weights to `er/` (bf16), just quantized after the fact — no separate training. See
`er/README.md` for the full from-scratch pretraining details (~4.5B Hungarian tokens, no SFT/DPO).
## Benchmarks
**Not applicable** — see `er/README.md`: Ér has no chat template or instruction-tuning, so the
chat-instruction benchmarks used for the other three tiers (`emese-bench`) don't apply.
|