# Hy-MT3-1.8B Arabic translation test pack

Measured 2026-11-28 on a Mac Studio (Apple M3 Ultra, 96GB, macOS 15.7.4).
Same corpus and prompts as the [30B pack](../hy-mt3-arabic-translation/index.html):
20 paragraphs (1,432 words) from Wikipedia's *AI agent* article, 200 FLORES-200
sentences, 40 product strings, three runs each.

## Headline results

| Model | Size | COMET-Kiwi | Glossary strict | FLORES COMET-22 | chrF++ | Speed | Memory |
|---|---:|---:|---:|---:|---:|---:|---:|
| Hy-MT3-30B-A3B Q8 | 32.79GB | 0.7888 | 86.7% | 0.8777 | 52.53 | 91.5 tok/s | 30.3GB |
| Hy-MT3-1.8B Q8 | 1.91GB | 0.7617 | 60.0% | 0.8714 | 53.22 | 162.3 tok/s | 2.44GB |
| Hy-MT3-1.8B Q4 | 1.35GB | 0.7457 | 70.0% | 0.8724 | 52.92 | 173.4 tok/s | 1.92GB |
| Claude Haiku 5.5 | API | 0.8032 | 50.0% | 0.8765 | 52.47 | 142.2 tok/s | n/a |

## What the numbers say

- **Paragraph quality:** the 1.8B Q8 is 0.0271 below the 30B (paired bootstrap,
  p < 0.001) and 0.0415 below Haiku (p < 0.001). Q4 is 0.0159 below Q8
  (p = 0.0054).
- **Glossary:** the 1.8B Q8 is 30.9 percentage points below the 30B
  (p = 0.018) and 30.8 points above Haiku (p = 0.0014). Q4 is 21.9 points
  below the 30B (p = 0.072) and 39.8 above Haiku (p < 0.001). Q4 vs Q8 is
  +8.95 points, not significant (p = 0.36).
- **FLORES-200:** the 1.8B is close. Q8 is 0.0063 below the 30B (p = 0.026)
  and 0.0051 below Haiku (p = 0.081). Q4 is 0.0053 below the 30B (p = 0.051)
  and 0.0041 below Haiku (p = 0.151).
- **Surface metrics mislead:** chrF++ and BLEU are higher for the 1.8B
  (53.22 / 24.72 for Q8) than for the 30B (52.53 / 23.24) and Haiku
  (52.47 / 22.94), while COMET-22 is lower. The 1.8B is more literal;
  surface overlap rewards that even when the meaning is rougher.
- **Code spans:** the 1.8B translated inside inline code. `Authorization:
  Bearer <token>` became `Authorization: Bearer <رمز>`, and the UI label
  `Rotate` became `الدوران`. Nine of 120 product-string outputs fail all hard
  checks (three docs-01, three sup-02, three rel-03 Android); the 30B fails
  none.
- **Settings check:** a 60-generation side run at the card's recommended
  `repetition_penalty 1.05` produced COMET-Kiwi 0.7612 (vs 0.7617 at 1.0,
  p = 0.87) and the same 60.0% glossary rate. The duplicated modifiers and
  English "chatbot" remained. The quality gap is not a sampling artifact.
- **32GB fit:** the Q8 file is 1.91GB and the measured peak RSS is 2.44GB;
  Q4 is 1.35GB / 1.92GB. It fits a 32GB Mac by a wide margin. This test ran
  on a 96GB machine; no 32GB machine was measured.
- **Energy:** 0.232 Wh (Q8) and 0.183 Wh (Q4) for 713 words, about $0.049 and
  $0.039 per million words at $0.15/kWh. The 30B was 0.51 Wh / $0.107.

## Production checks (40 product strings)

| Check | 30B | 1.8B Q8 | 1.8B Q4 | Haiku |
|---|---:|---:|---:|---:|
| Placeholders | 100% | 97.5% | 97.5% | 100% |
| Code spans | 100% | 95.0% | 95.0% | 100% |
| URLs | 100% | 100% | 100% | 100% |
| All hard checks | 100% | 92.5% | 92.5% | 98.3% |
| Exact digits | 95.0% | 95.0% | 92.5% | 93.3% |
| Latin names kept (paragraphs) | 50.0% | 45.0% | 45.0% | 48.3% |

## Runtime and reproduction

- llama.cpp 1.1.0 (build 12774), `-ngl 99`, **8,192** context, `--jinja`.
- Q8_0 file **1,908,528,448** bytes; Q4_K_M **1,348,432,160** bytes. (See
  `ls -l` in the archive; sizes in the article are decimal GB.)
- Main run: temperature 0, repetition_penalty 1.0, max_tokens 2,048.
  The 1.8B card recommends temperature 0.7, top_p 0.6, top_k 20 and
  repetition_penalty 1.05; the side run at 1.05 is included as
  `results/paragraphs__hy18__rp105.jsonl`.
- The 30B/Haiku comparison rows come from the [30B pack](../hy-mt3-arabic-translation/index.html).
  COMET-Kiwi is the int8 `wmt22-cometkiwi-da` build; COMET-22 is
  `wmt22-comet-da`.
- The scorers read the 30B working directory from `NLT_30B_WORKDIR`
  (default `../hy-mt3-arabic-translation`). Set it to the directory that
  contains `comet/` and `comet_da/` when re-running the metrics; those
  checkpoints are not in this pack.

```bash
python3 run_bench.py --model hy18 --set paragraphs --reps 3
python3 run_bench.py --model hy18 --set flores --limit 200 --reps 3
python3 run_bench.py --model hy18 --set practical --reps 3
python3 run_bench.py --model hy18 --set paragraphs --reps 3 --repeat-penalty 1.05 --tag __rp105
python3 score_hy18.py
python3 score_practical_18.py
```

## File map

- `index.html` — browsable index of this pack.
- `method.html` — readable HTML version of this document.
- `corpus/` — the same 20 paragraphs and 40 strings as the 30B pack.
- `source/wikipedia_ai_agent_revision.json` — revision metadata and selected text.
- `flores/sample_200.jsonl` — 200 source/reference pairs.
- `results/` — every raw generation, token count and latency.
- `scores/` — summaries, per-output scores and the 1.05 side check.
- `scripts/` — harness and scorers (included in the zip; direct `.py` URLs are 410).
- `terminal/summary.cast` — real asciinema summary capture.

## Licenses

- Wikipedia source and translations: CC BY-SA 4.0.
- FLORES-200: CC BY-SA 4.0.
- Hy-MT3-1.8B weights: Apache 2.0.
- COMET-22: Apache 2.0. COMET-Kiwi int8 build: CC BY-NC-SA 4.0.
- Harness and measurement tables: published for reuse with attribution.

## Caveats

- No human evaluation. COMET and the deterministic checks are automatic.
- One article, one language pair (English to Modern Standard Arabic).
- The 1.8B is compared at the 30B's greedy settings; the 1.05 side check
  covers the card's recommended repetition penalty, not its temperature.
- The 32GB fit is size math plus measured RSS on 96GB, not a 32GB run.
