/hebrew-ai-tools:hebrew-llm-evalfrom hebrew-ai-tools
Benchmark and compare LLMs on Hebrew (reading comprehension, sentiment, NLI, Winograd, translation, trivia, MMLU) with Hebrew-aware scoring and a scorecard. Use on "which LLM is best for Hebrew", "evaluate my Hebrew model", "Open Hebrew LLM Leaderboard tasks", "Hebrew regression after a model upgrade".
Ships in hebrew-ai-tools. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Compares hosted and open-weight LLMs on Hebrew tasks, mirroring the Open Hebrew LLM Leaderboard
(built for base models and few-shot) but usable on chat APIs. General method (objective, wide and
shallow screening, spend caps) is in the ai-eval plugin (start-eval, run-eval, and
language-eval for language-specific concerns); this skill supplies the Hebrew specifics.
First look at what exists: the Hebrew-AI-Benchmarks index (via hebrew-ai-ecosystem) lists
current leaderboards and eval sets, including ASR, TTS, OCR and retrieval, which this skill does
not run. Live leaderboard: huggingface.co/spaces/hebrew-llm-leaderboard/leaderboard.
Choose the smallest set covering the use case; more than three rarely changes the decision. Full
IDs, sizes, licences and metrics: references/benchmark-catalog.md.
| Benchmark | Hub ID | Tests | Primary metric |
|---|---|---|---|
| HeQ | Etelis/HeQ_v1 | Extractive reading comprehension (30,147 Qs) | F1 (EM is brittle) |
| HebrewSentiment | HebArabNlpProject/HebrewSentiment | Sentiment; gold in tag_ids, licence other | Accuracy, macro-F1 |
| Hebrew Winograd | winograd_he.jsonl (vshwartz) | Pronoun resolution, 278 items | Accuracy (+- about 6 pts CI) |
| HebNLI | HebArabNlpProject/HebNLI | NLI | Accuracy, macro-F1 |
| Translation | NeuLab-TedTalks en-he | MT | BLEU plus chrF |
| Hebrew MMLU | CohereLabs/Global-MMLU config he | World knowledge; native global_mmlu in lm-eval-harness. openai/MMMLU has no Hebrew | Accuracy |
| AlephBench | HebArabNlpProject/AlephBench | 11 tasks, frozen prompts, CC-BY-4.0 | Per task |
| Asmachta, abstractive-qa-llm-eval | HebArabNlpProject/... | Attributed QA with unanswerables: hallucination vs abstention (RAG, support bots) | Per card |
| LCHAIM, HebSummaries | HebArabNlpProject/... | Long-context NLI; downloadable summarisation | Per card |
| DictaLM 3.0 Summarisation, Nikud, Israeli Trivia | Dicta report only (data not published) | Summaries, diacritisation, culture | ROUGE-L, word accuracy, accuracy |
Leaderboard parity set: SNLI, QA (HeQ), Sentiment, Winograd, Translation BLEU, Israeli Trivia. Its
sentiment split is an early Mafat/NNLP-IL subset, not comparable with the HebrewSentiment card.
Frameworks: lm-evaluation-harness for base-model parity (HeQ, sentiment, NLI need custom YAML
tasks; only Global-MMLU is native); inspect_ai for chat models and graded scoring. The ai-eval
install-eval-cli skill installs either.
Always include at least one Hebrew-native baseline (DictaLM 3.0 instruct/thinking variants, or
dictalm2.0-instruct), else the comparison says nothing Hebrew-specific. Add the hosted frontier
models relevant today, a multilingual open model (Aya Expanse), and a Hebrew community finetune
if wanted. Model IDs go stale fastest: check each provider's list, pin the ID, and record the
model field the API returns. Do not compare base models zero-shot against chat models; use
instruct variants or few-shot. Compare reasoning-enabled against reasoning-disabled models never;
size max_tokens for the most verbose model or an empty visible answer scores as wrong.
Jamba past 1.6 has no confirmed Hebrew language listing: check the card.
Scripts are a reference skeleton in scripts/ (stdlib plus provider SDKs, run with uv run --with):
uv run --with datasets --with anthropic scripts/run_eval.py --benchmark heq --model <model-id> --limit 100
uv run scripts/score_results.py --input eval-results/ --normalize hebrew
uv run scripts/make_scorecard.py --scores scores.json --out-json scorecard.json --out-md scorecard.md
Provider keys via with-secrets, never a dotfile. Limits: --benchmark dispatches only heq,
sentiment, hebnli; open-weight local inference raises NotImplementedError (serve with vLLM and
score the outputs through score_results.py); calls are serial with no retry, and failures are
written as __ERROR__ responses (the scorer reports them as num_errored, so check that field);
score_results.py has no BLEU, chrF, ROUGE or BERTScore, and returns 0.0 for unparseable shapes:
if a whole run scores zero, suspect the file shape first. Ask before any sweep that costs money.
Prompt templates: references/prompt-templates.md.
Convert maqaf U+05BE to a space first (it sits inside the niqqud range), then strip cantillation and niqqud (U+0591 to U+05C7); fold final forms for string-match scorers (not translation); collapse whitespace including U+00A0 and U+200D; strip geresh/gershayim U+05F3/4; for label outputs strip the ה prefix. --normalize hebrew implements niqqud, final forms and whitespace only; add the rest to normalize_hebrew().
Fertility (tokens per Hebrew word) is 3 to 5 times higher on vanilla BPE than on Hebrew-extended tokenisers (DictaLM 2.0 reports 2.76 vs 5.78 for Mistral-7B). Log tokens in and out per benchmark, truncate fairly, and publish a fertility table on a fixed sample (first 1,000 words of HeQ test) computed with each model's own tokeniser or the provider's token-counting endpoint.
Judges favour long, hedged English-style answers over terse native Hebrew, rate mixed-script answers as more informative, and miss Israeli context. Use two judges from different vendors and report agreement; calibrate on 30 to 50 human-rated examples; prefer reference-based metrics for sentiment, NLI and HeQ.
Every public Hebrew benchmark is old and Wikipedia-derived; Hebrew-native models trained on Hebrew Wikipedia are the most exposed to HeQ. Make a private held-out set of 100 to 200 of the user's own Hebrew examples the decision anchor, never publish it, and treat public scores as sanity checks. Probe memorisation by prefix continuation. Re-run before reusing a number older than a couple of model releases; log date, dataset revision (revision= in load_dataset) and returned model IDs.
HebrewSentiment gold field is tag_ids (title case values), not label; the card frontmatter private: true is stale (repo is public).Adapted from hebrew-llm-eval-suite by Skills IL (MIT). Condensed; benchmark choice now starts from the Hebrew-AI-Benchmarks index and the method defers to the ai-eval plugin.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
4 skills in this plugin
/complementary-pluginsList and install plugins that complement hebrew-ai-tools: ai-model-research. Use on "what goes with this plugin", "related plugins"./hebrew-ai-ecosystemRoute a Hebrew-AI question to the right curated index (models, datasets, benchmarks, community) and query it live. Use on "Hebrew models for X", "Hebrew ASR/TTS/OCR options", "who works on Hebrew AI", "what Hebrew leaderboards exist", "find Hebrew datasets"./hebrew-datasetsPick Hebrew and Yiddish ML datasets and starting models for a task, with licence, gating, register and data-hygiene checks. Use on "which Hebrew dataset for X", "can I use this commercially", "Hebrew ASR/LLM/NER training data", "Yiddish datasets".hebrew-ai-tools@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin hebrew-ai-tools