Changelog
0.2.0 - 2026-07-15
Changed
- Support current library versions: transformers 5.x, datasets 5.x, openai 2.x, anthropic, and numpy 2.
- Breaking: drop Python 3.10/3.11 support; Python >= 3.12 is now required (needed by hazm >= 0.11 and numpy 2).
- Bump hazm to 0.12, drop the unused
scipypin, and declare thenumpy/pandas/requests/tqdm/nltkdependencies that were previously only installed transitively.
Fixed
- Fix evaluation and merge correctness bugs, and cache the summarization/NER scorers.
- Use cleaned completions when scoring matches.
- Replace the undeclared
pytzdependency with the standard library (pandas3 no longer ships it). - Remove format targets in the Persian Math task.
- Import the optional
math_equivalencepackage lazily soimport parsbenchno longer fails when it is not installed.
Added
- Add
show_bar_plottoBenchmarkResult. - Add a mechanism to skip evaluation results on error.
0.1.7 - 2024-08-15
Fixed
- Fix typos in prompt templates.
- Fix error on using formatted targets while scoring matches.
- Improve
from_matches_filesfunction speed in BenchmarkResult. - Fix returning list in AnthropicModel completion function.
Added
- Add
formatted_completionfield to task matches. - Update completion formatters in tasks.
- Add re-score option to
from_matches_filesin BenchmarkResult. - Add max retries exceeded error in API-based models.
- Add snapshot functionality to save matches on error.
- Add leaderboard builder function.
- Add build from file functions to the BenchmarkResult class.
0.1.6 - 2024-07-25
Fixed
- Fix misspell in ParsiNLUMultipleChoice task name.
- Fix wrong target key in the XLSummary.
- Add org prefix to the sentiment analysis task.
- Fix FarsTailEntailment prompt target key.
Added
- Add
attention_maskto the transformer modelgeneratefunction.
0.1.5 - 2024-07-18
Added
- Add FarsTail entailment task.
- Add Persian News Summary task.
- Add XL-Sum task.
- Add ParsiNLUBenchmark. It is a sub class of CustomBenchmark with hard-coded ParsiNLU tasks.
0.1.4 - 2024-07-12
Fixed
- Fix
load_all_tasksreturning empty list.
Added
- Add Anthropic model interface.
- Add retry on rate limit to API-based models.
- Add
skip_existing_matchesto the task evaluate function. It skips matches that are already generated and scored.
0.1.3 - 2024-07-06
Fixed
- Fix
model_nameproperty in PreTrainedTransformerModel.
Added
- Add Persian MMLU (Khayyam Challenge) task.
- Add
select_sub_tasksto the task class.
0.1.2 - 2024-07-06
Fixed
- Fix misspells and typos.
- Use
name_or_pathparameter as themodel_namein PreTrainedTransformerModel.
Changed
- Update sentiment analysis task prompt template.
Added
- Add
completion_formatterto the model interfaces.
0.1.1 - 2024-07-05
Added
- Add support for Python >= 3.10
- Add
prefer_concurrencyto the benchmark, task and models.
0.1.0 - 2024-07-03
ParsBench got alive!