You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ff50987
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: README.md
+69Lines changed: 69 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,8 @@ sample-by-sample results* to debug and see how your models stack-up.
36
36
37
37
*Customization at your fingertips*: letting you either browse all our existing tasks and [metrics](https://huggingface.co/docs/lighteval/metric-list) or effortlessly create your own [custom task](https://huggingface.co/docs/lighteval/adding-a-custom-task) and [custom metric](https://huggingface.co/docs/lighteval/adding-a-new-metric), tailored to your needs.
38
38
39
+
> **🇫🇷 OpenLLM-France fork.** This is the OpenLLM-France fork of lighteval, maintained by the OpenLLM-France consortium, on top of upstream [huggingface/lighteval](https://github.com/huggingface/lighteval). It adds a suite of French and multilingual benchmarks, safety and red-teaming evaluations, translation metrics (COMET, MetricX), long-context (RULER) and reasoning-model (thinking-budget) support, an offline-capable LLM-as-judge, and many bug fixes and backend-robustness improvements. See [OpenLLM-France fork additions](#openllm-france-fork-additions) for the full list.
40
+
39
41
40
42
## Available Tasks
41
43
@@ -162,6 +164,73 @@ pipeline.show_results()
162
164
results = pipeline.get_results()
163
165
```
164
166
167
+
## OpenLLM-France fork additions
168
+
169
+
This fork is maintained by the [OpenLLM-France](https://github.com/OpenLLM-France) consortium on top of upstream [huggingface/lighteval](https://github.com/huggingface/lighteval). Below is a summary of what it adds, grouped by category.
170
+
171
+
### Added benchmarks and tasks
172
+
173
+
**French & multilingual**
174
+
-**BBH** (BIG-Bench-Hard) and **BBH-fr** (French), with chain-of-thought
175
+
-**EIFFEL** — French idiomatic-expression MCQ
176
+
-**CARTE** — French regional/cultural knowledge (with abstention-aware metrics)
- Two-phase generation with a separate **thinking budget** (default 5k) so the reasoning trace does not eat into the answer budget
201
+
-`enable_thinking` option
202
+
- Automatic detection of thinking models and their reasoning tags — `<think>…</think>` and Mistral `[THINK]…[/THINK]`
203
+
- Robust stripping of reasoning traces (including models that prime the opening tag in the generation prompt)
204
+
205
+
### LLM-as-judge improvements
206
+
-**Run the judge fully offline as a local (vLLM) model** — any Hugging Face model can be the judge, removing the hard dependency on an OpenAI/API judge. This is what makes it possible to use local safety judges such as Llama Guard 4, wildguard or Qwen in the safety benchmarks.
207
+
- vLLM-judge enabling fixes: render chat messages to strings instead of token ids; free the evaluated model's GPU memory before loading the judge; environment variables to tune the judge's memory usage and to force eager mode.
208
+
- More robust and reproducible judging: deterministic results; don't drop samples when the judge response can't be parsed; keep non-numeric (textual) judge outputs in the details; optional variant where the judge does not see the question.
- Honour `HF_HOME`; offline-safe dataset/tokenizer loading; env vars for eager mode and VLM/Mistral loading
222
+
- Option to set up a run **without actually running the evaluation** (dry run, e.g. to validate task/model loading)
223
+
-**Robust result saving**: write the results JSON *before* building the details, so results survive even when details serialization fails (e.g. the Arrow 2 GB overflow on `live_code_bench`); such a failure is still surfaced as a non-zero exit
224
+
225
+
### Bug fixes
226
+
-**Multiple-choice (MCQ) scoring on the Accelerate/Transformers backend**: fixed an incorrect 2-D slicing of the gathered continuation logits (and stray `-1` padding left in the continuations) that corrupted the log-likelihood comparison across choices.
227
+
- Log-probability computation with recent vLLM (≥ 0.12), broken by prefix caching.
228
+
- Many other corner-case fixes: IFBench / IFEval-fr, MGSM / MMLU-Pro few-shot CoT, GPQA-fr dataset, stop-sequences, `squad_v2` unanswerable rows, nltk / transformers version robustness, offline judge, and more
229
+
230
+
### Packaging
231
+
- Community-task JSON stored as regular files (not Git LFS)
232
+
- Fork-specific install / doc-build adjustments; built-in French/English system prompts; per-doc system-role support via `Doc.specific`
233
+
165
234
## 🙏 Acknowledgements
166
235
167
236
Lighteval took inspiration from the following *amazing* frameworks: Eleuther's [AI Harness](https://github.com/EleutherAI/lm-evaluation-harness) and Stanford's
0 commit comments