id stringlengths 10 17 | question stringlengths 14 230 | choices listlengths 4 4 | answer int64 0 3 | category stringclasses 6
values | difficulty stringclasses 3
values |
|---|---|---|---|---|---|
arithmetic_0164 | What is (43 + 5) * 5 - 1? | [
"239",
"240",
"932",
"229"
] | 0 | arithmetic | hard |
arithmetic_0383 | What is 12 * 11? | [
"133",
"130",
"131",
"132"
] | 3 | arithmetic | hard |
arithmetic_0045 | What is 177 + 706? | [
"878",
"388",
"881",
"883"
] | 3 | arithmetic | medium |
arithmetic_0156 | What is 80 / 8? | [
"10",
"20",
"5",
"9"
] | 0 | arithmetic | easy |
arithmetic_0053 | What is 47 - 15? | [
"29",
"32",
"23",
"27"
] | 1 | arithmetic | easy |
arithmetic_0072 | What is 7 * 7? | [
"48",
"49",
"94",
"39"
] | 1 | arithmetic | easy |
arithmetic_0315 | What is 16 + 4 + 18? | [
"83",
"38",
"28",
"37"
] | 1 | arithmetic | medium |
arithmetic_0209 | What is 15 / 3? | [
"6",
"4",
"5",
"9"
] | 2 | arithmetic | easy |
arithmetic_0074 | What is 893 - 659? | [
"234",
"232",
"224",
"237"
] | 0 | arithmetic | medium |
arithmetic_0333 | What is 937 - 216? | [
"711",
"127",
"721",
"720"
] | 2 | arithmetic | medium |
arithmetic_0403 | What is 8 * 4 + 2? | [
"37",
"24",
"35",
"34"
] | 3 | arithmetic | medium |
arithmetic_0415 | What is (15 + 17) * 8 - 17? | [
"932",
"241",
"229",
"239"
] | 3 | arithmetic | hard |
arithmetic_0092 | What is 28 + 6 + 12 - 4? | [
"43",
"42",
"45",
"40"
] | 1 | arithmetic | hard |
arithmetic_0215 | What is 29 - 4 - 9 + 3? | [
"16",
"20",
"9",
"19"
] | 3 | arithmetic | hard |
arithmetic_0479 | What is 2 * 3 + 48? | [
"52",
"53",
"44",
"54"
] | 3 | arithmetic | medium |
arithmetic_0059 | What is 44 - 5 + 5? | [
"45",
"43",
"49",
"44"
] | 3 | arithmetic | medium |
arithmetic_0368 | What is 622 - 366? | [
"256",
"652",
"255",
"257"
] | 0 | arithmetic | medium |
arithmetic_0163 | What is 14 - 9 + 2 + 10? | [
"16",
"7",
"17",
"22"
] | 2 | arithmetic | hard |
arithmetic_0210 | What is (44 + 9) * 10 - 6? | [
"523",
"425",
"524",
"527"
] | 2 | arithmetic | hard |
arithmetic_0251 | What is 30 * 20? | [
"599",
"590",
"601",
"600"
] | 3 | arithmetic | hard |
arithmetic_0443 | What is 67 - 38? | [
"29",
"28",
"19",
"92"
] | 0 | arithmetic | easy |
arithmetic_0320 | What is 21 * 16? | [
"326",
"335",
"336",
"633"
] | 2 | arithmetic | hard |
arithmetic_0289 | What is 567 + 403? | [
"970",
"975",
"968",
"969"
] | 0 | arithmetic | medium |
arithmetic_0389 | What is 16 * 22? | [
"253",
"352",
"355",
"342"
] | 1 | arithmetic | hard |
arithmetic_0007 | What is 15 + 20? | [
"35",
"53",
"36",
"37"
] | 0 | arithmetic | easy |
arithmetic_0462 | What is 56 / 8? | [
"17",
"4",
"8",
"7"
] | 3 | arithmetic | easy |
arithmetic_0249 | What is 951 - 805? | [
"144",
"146",
"641",
"143"
] | 1 | arithmetic | medium |
arithmetic_0228 | What is 13 * 17? | [
"222",
"221",
"122",
"220"
] | 1 | arithmetic | hard |
arithmetic_0245 | What is 20 - 3 + 8 + 8? | [
"33",
"32",
"23",
"30"
] | 0 | arithmetic | hard |
arithmetic_0211 | What is 18 + 5 - 5 - 11? | [
"7",
"8",
"17",
"6"
] | 0 | arithmetic | hard |
arithmetic_0129 | What is (14 + 18) * 10 - 10? | [
"311",
"13",
"310",
"307"
] | 2 | arithmetic | hard |
arithmetic_0162 | What is 45 + 9 - 10? | [
"42",
"44",
"39",
"45"
] | 1 | arithmetic | medium |
arithmetic_0223 | What is 8 + 51? | [
"64",
"49",
"59",
"95"
] | 2 | arithmetic | easy |
arithmetic_0041 | What is 34 + 7 - 13? | [
"18",
"26",
"82",
"28"
] | 3 | arithmetic | medium |
arithmetic_0278 | What is 19 - 4 - 7? | [
"12",
"8",
"9",
"6"
] | 1 | arithmetic | medium |
arithmetic_0021 | What is 121 / 11? | [
"11",
"12",
"14",
"10"
] | 0 | arithmetic | easy |
arithmetic_0434 | What is 26 * 13? | [
"338",
"341",
"339",
"833"
] | 0 | arithmetic | hard |
arithmetic_0068 | What is 393 - 222? | [
"171",
"161",
"172",
"173"
] | 0 | arithmetic | medium |
arithmetic_0227 | What is 41 - 9 + 17? | [
"94",
"49",
"39",
"50"
] | 1 | arithmetic | medium |
arithmetic_0151 | What is 32 + 9 + 9 - 16? | [
"31",
"43",
"34",
"33"
] | 2 | arithmetic | hard |
arithmetic_0369 | What is 41 + 9 - 10? | [
"42",
"40",
"41",
"37"
] | 1 | arithmetic | medium |
arithmetic_0217 | What is 36 / 4? | [
"19",
"9",
"8",
"10"
] | 1 | arithmetic | easy |
arithmetic_0154 | What is 39 + 73? | [
"211",
"113",
"112",
"117"
] | 2 | arithmetic | easy |
arithmetic_0177 | What is 14 + 2 + 1 + 14? | [
"31",
"33",
"26",
"29"
] | 0 | arithmetic | hard |
arithmetic_0397 | What is 458 + 731? | [
"9811",
"1179",
"1191",
"1189"
] | 3 | arithmetic | medium |
arithmetic_0139 | What is 394 - 181? | [
"218",
"312",
"203",
"213"
] | 3 | arithmetic | medium |
arithmetic_0141 | What is 982 - 512? | [
"470",
"465",
"469",
"460"
] | 0 | arithmetic | medium |
arithmetic_0326 | What is 11 - 10 + 1 + 19? | [
"12",
"26",
"21",
"22"
] | 2 | arithmetic | hard |
arithmetic_0175 | What is 11 - 6 - 18 + 19? | [
"6",
"7",
"8",
"16"
] | 0 | arithmetic | hard |
arithmetic_0170 | What is 48 - 46? | [
"4",
"2",
"12",
"3"
] | 1 | arithmetic | easy |
arithmetic_0088 | What is 28 * 27? | [
"761",
"746",
"657",
"756"
] | 3 | arithmetic | hard |
arithmetic_0096 | What is 420 - 362? | [
"58",
"48",
"59",
"85"
] | 0 | arithmetic | medium |
arithmetic_0439 | What is 818 - 688? | [
"120",
"131",
"128",
"130"
] | 3 | arithmetic | medium |
arithmetic_0303 | What is 29 * 20? | [
"580",
"581",
"570",
"85"
] | 0 | arithmetic | hard |
arithmetic_0050 | What is 807 + 587? | [
"1384",
"1394",
"1393",
"1391"
] | 1 | arithmetic | medium |
arithmetic_0199 | What is 3 * 9 + 47? | [
"64",
"74",
"69",
"73"
] | 1 | arithmetic | medium |
arithmetic_0297 | What is 63 / 9? | [
"8",
"17",
"7",
"6"
] | 2 | arithmetic | easy |
arithmetic_0131 | What is 8 * 9? | [
"27",
"72",
"71",
"62"
] | 1 | arithmetic | easy |
arithmetic_0120 | What is (21 + 15) * 9 - 6? | [
"319",
"308",
"318",
"316"
] | 2 | arithmetic | hard |
arithmetic_0358 | What is 17 * 13? | [
"218",
"211",
"221",
"122"
] | 2 | arithmetic | hard |
arithmetic_0180 | What is 9 * 5 + 45? | [
"90",
"80",
"89",
"91"
] | 0 | arithmetic | medium |
arithmetic_0370 | What is 40 / 8? | [
"5",
"0",
"15",
"6"
] | 0 | arithmetic | easy |
arithmetic_0037 | What is 54 / 9? | [
"7",
"16",
"10",
"6"
] | 3 | arithmetic | easy |
arithmetic_0160 | What is 21 * 12? | [
"242",
"253",
"251",
"252"
] | 3 | arithmetic | hard |
arithmetic_0004 | What is 786 + 373? | [
"1158",
"1159",
"1149",
"9511"
] | 1 | arithmetic | medium |
arithmetic_0093 | What is 18 * 10? | [
"181",
"183",
"180",
"175"
] | 2 | arithmetic | hard |
arithmetic_0304 | What is 241 + 522? | [
"763",
"367",
"766",
"762"
] | 0 | arithmetic | medium |
arithmetic_0188 | What is 20 * 22? | [
"440",
"439",
"430",
"441"
] | 0 | arithmetic | hard |
arithmetic_0374 | What is 3 * 10 + 31? | [
"66",
"60",
"61",
"63"
] | 2 | arithmetic | medium |
arithmetic_0453 | What is 214 - 194? | [
"22",
"2",
"20",
"19"
] | 2 | arithmetic | medium |
arithmetic_0094 | What is 91 - 4? | [
"87",
"86",
"84",
"77"
] | 0 | arithmetic | easy |
arithmetic_0468 | What is 9 * 3? | [
"27",
"17",
"26",
"28"
] | 0 | arithmetic | easy |
arithmetic_0292 | What is 54 + 76? | [
"120",
"130",
"31",
"132"
] | 1 | arithmetic | easy |
arithmetic_0340 | What is 309 - 139? | [
"170",
"160",
"173",
"71"
] | 0 | arithmetic | medium |
arithmetic_0407 | What is 6 * 4 + 50? | [
"75",
"74",
"73",
"72"
] | 1 | arithmetic | medium |
arithmetic_0408 | What is 46 + 11? | [
"57",
"54",
"59",
"47"
] | 0 | arithmetic | easy |
arithmetic_0187 | What is 21 - 6? | [
"5",
"14",
"51",
"15"
] | 3 | arithmetic | easy |
arithmetic_0334 | What is 13 - 4 + 9 - 6? | [
"11",
"12",
"2",
"21"
] | 1 | arithmetic | hard |
arithmetic_0213 | What is 42 / 6? | [
"9",
"7",
"12",
"10"
] | 1 | arithmetic | easy |
arithmetic_0127 | What is (25 + 4) * 2 - 6? | [
"52",
"25",
"53",
"42"
] | 0 | arithmetic | hard |
arithmetic_0011 | What is 26 - 22? | [
"6",
"4",
"14",
"9"
] | 1 | arithmetic | easy |
arithmetic_0006 | What is 4 * 6 + 9? | [
"33",
"23",
"30",
"34"
] | 0 | arithmetic | medium |
arithmetic_0442 | What is 38 - 4 + 10? | [
"45",
"43",
"44",
"49"
] | 2 | arithmetic | medium |
arithmetic_0246 | What is 32 - 4 - 19 + 7? | [
"6",
"15",
"16",
"61"
] | 2 | arithmetic | hard |
arithmetic_0396 | What is 12 * 13? | [
"146",
"156",
"159",
"157"
] | 1 | arithmetic | hard |
arithmetic_0425 | What is (31 + 13) * 2 - 6? | [
"72",
"87",
"83",
"82"
] | 3 | arithmetic | hard |
arithmetic_0345 | What is 22 + 10 + 10? | [
"43",
"42",
"41",
"24"
] | 1 | arithmetic | medium |
arithmetic_0089 | What is 27 * 16? | [
"437",
"432",
"434",
"422"
] | 1 | arithmetic | hard |
arithmetic_0426 | What is 742 + 571? | [
"1303",
"3131",
"1318",
"1313"
] | 3 | arithmetic | medium |
arithmetic_0026 | What is 14 * 17? | [
"228",
"238",
"237",
"243"
] | 1 | arithmetic | hard |
arithmetic_0077 | What is (18 + 4) * 2 - 10? | [
"34",
"35",
"24",
"32"
] | 0 | arithmetic | hard |
arithmetic_0184 | What is 958 + 177? | [
"1135",
"1140",
"1125",
"1130"
] | 0 | arithmetic | medium |
arithmetic_0262 | What is 86 - 34? | [
"52",
"25",
"53",
"47"
] | 0 | arithmetic | easy |
arithmetic_0207 | What is 5 * 10? | [
"40",
"50",
"5",
"47"
] | 1 | arithmetic | easy |
arithmetic_0182 | What is 25 * 18? | [
"449",
"451",
"445",
"450"
] | 3 | arithmetic | hard |
arithmetic_0095 | What is 12 * 11? | [
"132",
"131",
"137",
"231"
] | 0 | arithmetic | hard |
arithmetic_0100 | What is 35 - 6 + 11 + 8? | [
"47",
"84",
"48",
"51"
] | 2 | arithmetic | hard |
arithmetic_0419 | What is 84 + 45? | [
"130",
"128",
"124",
"129"
] | 3 | arithmetic | easy |
arithmetic_0394 | What is 24 - 8 + 10? | [
"26",
"27",
"21",
"62"
] | 0 | arithmetic | medium |
arithmetic_0155 | What is 928 + 215? | [
"1144",
"1143",
"1133",
"1140"
] | 1 | arithmetic | medium |
SLM-Bench: A Benchmark for Sub-10M Language Models
SLM-Bench is a comprehensive, fully programmatic benchmark designed specifically for evaluating sub-10M parameter language models. It covers six core capability areas with 500 questions each (3,000 total), providing granular insights into model strengths and weaknesses.
Dataset Summary
| Category | Questions | Description |
|---|---|---|
| arithmetic | 500 | Math problems with plausible distractors (off-by-one, sign errors) |
| pattern | 500 | Sequence completion (arithmetic, geometric, fibonacci, cubic progressions) |
| grammar | 500 | Grammatical correctness MCQs (tense, articles, prepositions, pronouns) |
| vocabulary | 500 | WordNet-based questions (antonyms, synonyms, definitions, categories) |
| logic | 500 | Syllogism and logical reasoning (valid/invalid inference detection) |
| word_analogy | 500 | Word relationship analogies (antonym, hypernym, part-to-whole, function) |
Data Splits
Each category is split into:
- train: 200 examples (for few-shot prompting)
- validation: 150 examples (primary evaluation)
- test: 150 examples (hold-out evaluation)
Total: 3,000 questions across all categories.
Data Format
Each example follows a consistent multiple-choice schema:
{
"id": "arithmetic_0001",
"question": "What is 47 + 23?",
"choices": ["70", "69", "71", "68"],
"answer": 0,
"category": "arithmetic",
"difficulty": "easy"
}
Usage with lm-evaluation-harness
SLM-Bench is registered as a task suite in lm-evaluation-harness:
# Full benchmark
lm_eval --model hf \
--model_args pretrained=liodon-ai/slm-10m,trust_remote_code=True \
--tasks slm_bench \
--device cuda:0 --batch_size 64
# Single category
lm_eval --model hf \
--model_args pretrained=liodon-ai/slm-10m,trust_remote_code=True \
--tasks slm_bench_arithmetic \
--device cuda:0
# All subtasks individually
lm_eval --model hf \
--model_args pretrained=liodon-ai/slm-10m,trust_remote_code=True \
--tasks slm_bench_tasks \
--device cuda:0
Usage with HuggingFace Datasets
from datasets import load_dataset
# Load a specific category
ds = load_dataset("liodon-ai/slm-bench", "arithmetic")
print(ds["test"][0])
# {'id': 'arithmetic_0164', 'question': 'What is (43 + 5) * 5 - 1?',
# 'choices': ['239', '240', '932', '229'], 'answer': 0, ...}
# Load all categories
for category in ["arithmetic", "pattern", "grammar", "vocabulary", "logic", "word_analogy"]:
ds = load_dataset("liodon-ai/slm-bench", category)
print(f"{category}: {len(ds['test'])} test examples")
Generation
The dataset is fully programmatically generated — no manual annotation. The generation scripts are open-source at github.com/Liodon-AI/slm-bench.
To regenerate:
pip install nltk numpy datasets huggingface_hub
python assemble.py --n_per_category 500 --seed 42
Why SLM-Bench?
Existing benchmarks (ARC, HellaSwag, MMLU) are designed for models with billions of parameters. SLM-Bench fills the gap by providing:
- Appropriate difficulty — calibrated for sub-10M models
- Diverse capabilities — arithmetic, language, logic, patterns
- Plausible distractors — wrong answers that test real understanding, not just pattern matching
- Fully reproducible — deterministic generation with fixed seed
- Zero manual effort — entirely algorithmic, no human annotation bias
Citation
@dataset{slm_bench_2024,
author = {Liodon AI},
title = {SLM-Bench: A Benchmark for Sub-10M Language Models},
year = {2024},
url = {https://huggingface.co/datasets/liodon-ai/slm-bench},
publisher = {Hugging Face}
}
License
Apache-2.0
Contact
- Organization: Liodon AI
- Website: https://liodon.ai
- GitHub: github.com/Liodon-AI
- Downloads last month
- 90