Czech-SimpleQA
Problems and answers from OpenAI's SimpleQA eval translated into Czech. This work is based on the data from the paper:
Measuring short-form factuality in large language models Jason Wei, Nguyen Karina, Hyung Won Chung, Yunxin Joy Jiao, Spencer Papay, Amelia Glaese, John Schulman, William Fedus arXiv preprint arXiv:2411.04368, 2024. https://arxiv.org/abs/2411.04368
| model | SimpleQA1 | Czech-SimpleQA |
|---|---|---|
| gpt-4o-mini-2024-07-18 | 9.5 | 8.1 |
| gpt-4o-2024-11-20 | 38.8 | 31.4 |
| claude-3-5-sonnet-20240620 | 35.0 | 25.8 |
| claude-3-5-sonnet-20241022 | N/A | 31.1 |
| claude-3-5-haiku-20241022 | N/A | 9.3 |
There is a post on my blog with more detailed results!
What the Data Looks Like:
| problem | target | czech_problem | czech_target |
|---|---|---|---|
| What was the population count in the 2011 census of the Republic of Nauru? | 10,084 | Jaký byl počet obyvatel při sčítání lidu v roce 2011 v Republice Nauru? | 10 084 |
I Just Want the Eval Data
The file with the data lives at src/czech_simpleqa/czech_simpleqa.csv.gz, this is the full URL.
Getting it with pandas looks like this:
import pandas as pd
eval_data = pd.read_csv(
"https://raw.githubusercontent.com/jancervenka/"
"czech-simpleqa/refs/heads/main/src/czech_simpleqa/czech_simpleqa.csv.gz"
)
I Want to Use the Python Package
The package contains everything required to run the eval end-to-end and collect the results.
You can install it with pip or any other Python package manager:
pip install czech-simpleqa
python -m czech_simpleqa.eval \
--answering_model claude-3-5-haiku-20241022 \
--grading_model gpt-4o \
--output_file_path output/claude-3-5-haiku-20241022.csv \
--max_concurrent_tasks 30
CLI Arguments
--answering_model: Model that will generate predicted answers to the problems in the eval.--grading_model: Model that will grade the predicted answers from the answering model.--output_file_path: Where to store the.csvfile with the eval results.--max_concurrent_tasks: Maximum number of concurrent model calls (default 20).
Output File Schema
| problem | target | predicted_answer | grade |
|---|---|---|---|
| Jaké je rozlišení Cat B15 Q v pixelech? | 480 x 800 | Cat B15 Q má rozlišení 480 x 800 pixelů. | A |
Supported Models
Models from OpenAI and Anthropic are currently supported. Environment variables OPENAI_API_KEY or
ANTHROPIC_API_KEY need to be configured.
-
As reported in the SimpleQA README.md and in the paper. ↩
Metadata
Release files for czech-simpleqa 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| czech_simpleqa-0.1.0.tar.gz | 908.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| czech_simpleqa-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.8 MB
Release files / czech_simpleqa-0.1.0.tar.gz
| Download URL | czech_simpleqa-0.1.0.tar.gz |
|---|---|
| Size | 908.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
022ebe2f3e91f4cb3be31ea5540730d51923df243486bd8eb96cc8fa316df751
|
|
BLAKE2b-256 checksum How to use checksums |
6185b15fcb1d022c1de8f532561033414f35d815f2a799eba29e4db23b98d92a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.18
|
Release files / czech_simpleqa-0.1.0-py3-none-any.whl
| Download URL | czech_simpleqa-0.1.0-py3-none-any.whl |
|---|---|
| Size | 865.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dbc13c52def5586a2d70eec825a3e41d7e61815a8ded80c5ccd84c4876a0fd75
|
|
BLAKE2b-256 checksum How to use checksums |
3aa58be57422ac818663bb91a3cc1bb9c551c3a815d823a22f8a01fac181f535
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.18
|
Security for czech-simpleqa 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.