Datasets:
Tasks:
Multiple Choice
Modalities:
Text
Formats:
parquet
Languages:
English
Size:
1K - 10K
Tags:
udgamlabs
evaluation
contamination-free
procedurally-generated
small-language-model
arithmetic
License:
Initial release candidate (private)
Browse filesFiles changed (4)
- README.mdAdded+167
- banner.pngAdded
- data/test.parquetAdded+3
- generator/generate.pyAdded+210
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167---license: cc-by-4.0language:- enpretty_name: Udgam Probe Suitesize_categories:- 1K<n<10Ktask_categories:- multiple-choicetags:- udgamlabs- evaluation- contamination-free- procedurally-generated- small-language-model- arithmetic- reasoningconfigs:- config_name: default data_files: - split: test path: data/test.parquet---

**UDGAM LABS** · Evaluation set · 2,000 exact-answer questions in 7 types
# Udgam Probe Suite
2,000 short questions with one correct answer each, made by a program: addition, multiplication, unit conversion,number sequences, word problems, comparing two numbers, and syllogisms about made-up words. They separate languagemodels of 90M to 400M parameters, where many public benchmarks sit close to chance. Because the items come from agenerator, they were in nobody's training data before release, and new items or harder levels can be made at any time.The generator is included. Scoring a 100–400M-parameter model takes a few minutes on an Apple-silicon Mac.
**Code:** [github.com/udgamlabs/udgam-evals](https://github.com/udgamlabs/udgam-evals) · **Companion test:**[Fresh Text, October 2026](https://huggingface.co/datasets/udgamlabs/fresh-text-2026-10) ·[udgamlabs.com](https://udgamlabs.com)
## Quick start
```bashgit clone https://github.com/udgamlabs/udgam-evals && cd udgam-evalspip install -r requirements.txtpython probes/score.py HuggingFaceTB/SmolLM2-135M --out results/SmolLM2-135M.json```
```pythonfrom datasets import load_datasetds = load_dataset("udgamlabs/udgam-probes", split="test")print(ds[0]) # id, type, level, prompt, answer, choices```
## What is in it
Seven question types, three difficulty levels each, up to 100 items per level (a few easy levels have fewer distinctquestions). Every prompt has the form `Question: ...\nAnswer:`.
| Type | Items | Choices | Easiest level | Hardest level ||---|---|---|---|---|| `add` | 300 | 4 | What is 25 + 50? | What is 110,730 + 778,957? || `mul` | 264 | 4 | What is 8 × 7? | What is 62 × 90? || `units` | 300 | 4 | How many minutes are in 5 hours? | How many metres are in 12.2 kilometres? || `sequence` | 236 | 4 | What number comes next: 15, 21, 27, 33, 39, ? | What number comes next: 5, 8, 13, 20, 29, ? || `word_problem` | 300 | 4 | Chen has 12 apples and buys 6 more. How many apples does Chen have now? | Pens cost 4 dollars each. Kai buys 5 pens and pays with 35 dollars. How much change does Kai get, in dollars? || `compare` | 300 | 2 | Which number is larger, 22 or 37? | Which number is larger, 0.8 or 0.66? || `syllogism` | 300 | 2 | All blicks are wugs. All wugs are quams. Is every blick a quam? Answer Yes or No. | All zorps are snerks. All snerks are toves. All toves are daxs. Is every zorp a dax? Answer Yes or No. |
For the five numeric types, the wrong choices are close to the right answer (off by 1, 2, 9, 10 or 100) or double it,so a model cannot pass by ruling out an implausible number.
## How it is scored
For each item, the model computes the log-probability of each choice (written after a space) following the prompt,starting from its start-of-text (BOS) token when its tokenizer defines one. The choice with the highest summedlog-probability is the model's answer. The score is the percentage of the 2,000 items answered correctly. **Higher isbetter; chance is 32.5%** (25% for the four-choice types, 50% for `compare` and `syllogism`).
## Results
Accuracy (%), higher is better. Measured on 17 October 2026 on an Apple-silicon Mac (PyTorch, MPS, float32). Re-running`probes/score.py` on this dataset on 21 October 2026 gave SmolLM2-135M the same score.
| Model | Parameters | **All** | add | mul | units | sequence | word problem | compare | syllogism ||---|---|---|---|---|---|---|---|---|---|| Falcon-H1-Tiny-90M-Base | 90M | **74.4** | **90.0** | **93.9** | **95.7** | 56.8 | **60.0** | **72.0** | 51.0 || SmolLM2-360M | 360M | 71.2 | 81.3 | 85.6 | 90.3 | **80.9** | 57.0 | 49.3 | 57.3 || Gargi-Base (Udgam Labs) | 384M | 69.2 | 80.0 | 84.8 | 90.0 | 57.2 | 50.7 | 67.0 | 54.0 || Udgam-384M-Base-4K (Udgam Labs) | 384M | 61.9 | 65.7 | 75.4 | 88.7 | 41.5 | 41.7 | 57.3 | **60.3** || SmolLM2-135M | 135M | 44.4 | 21.0 | 58.0 | 83.0 | 34.7 | 29.7 | 52.3 | 31.7 || *Chance* | | *32.5* | *25* | *25* | *25* | *25* | *25* | *50* | *50* |
In a paired bootstrap over items, 95% intervals are about ±2 to ±3 points, and 9 of the 10 pairs of models differsignificantly. The exception is SmolLM2-360M and Gargi-Base: 1.95 points apart, 95% interval [−0.35, +4.15]. Thesmallest model tested, Falcon-H1-Tiny-90M-Base, scores highest. Exact model revisions are listed in the[GitHub README](https://github.com/udgamlabs/udgam-evals#reproduce-our-numbers).
## Where it falls short
- **Narrow skills.** Arithmetic, unit conversion, simple sequences, short word problems, comparisons and syllogisms of up to three steps. No world knowledge, reading comprehension, code or long reasoning.- **Likelihood, not generation.** The test asks which of the given answers the model finds most likely. A model may pick the right choice and still fail to write it when asked to answer freely, or the reverse.- **Below-chance scores happen.** SmolLM2-135M scores 21.0% on addition (chance 25%) and 31.7% on syllogisms (chance 50%): a model can systematically prefer some wrong answer strings. Read per-type scores with care and compare models on the overall score.- **Fixed phrasing.** Each type uses one template. A model trained on text from this generator, or on similar templates, will score higher without being more capable. Now that the generator is public, be careful with models trained after October 2026, and make a fresh set with a new seed for important comparisons.- **Number format.** Numbers of 10,000 or more are written with commas and smaller ones without, so in a few items the choices differ in format as well as value (for example 5580 against 11,160).- **Two harder types are left out of the score.** Weekday arithmetic ("If today is Monday, what day will it be in 30 days?") and ordering ("Ana is taller than Ben ... Who is the shortest?"): all five models we tested scored at or below chance on them (14.6% to 24.4% against 26.6%), so they cannot separate models of this size. The generator still makes them (`--types frontier`). A tenth type, letter counting, was dropped: small models' accuracy simply matched how often the right answer was "1".- **Measured on small models only.** We have scored five models from 90M to 384M parameters. Larger models may come close to 100% on the easier levels; harder levels can be added to the generator.- **English only.**
## How it was made
`generator/generate.py` (in this repository and on GitHub) makes 10 question types × 3 levels × up to 100 items witha fixed random seed, removing duplicate prompts and any item whose answer also appears among the wrong choices. Someeasy levels have fewer distinct questions (64 single-digit multiplications, 36 geometric sequences), which gives 2,000items across the 7 types used for the score. The set was frozen on 17 October 2026. This command reproduces it exactly,including the order of the choices:
```bashpython generator/generate.py probes.jsonl --types core --per 100 --seed 2026```
## Fields
| Field | Meaning ||---|---|| `id` | item id, `pea-<type>-<level>-<index>` || `type` | one of the 7 types above || `level` | difficulty, 1 to 3 || `prompt` | the text given to the model, ending in `Answer:` || `answer` | the correct choice || `choices` | all choices, in a fixed shuffled order |
## Intended use
Comparing small pretrained (base) language models on basic numeric and logical skills; tracking a training run witha test on which small models are well above chance. Please do not train on this set or on the generator's output.
## Licence
The questions and answers are CC BY 4.0. The generator code is Apache-2.0.
## Citation
```bibtex@misc{udgamlabs2026probes, title = {Udgam Probe Suite: procedurally generated exact-answer questions for small language models}, author = {Prasad, Jitesh K and {Udgam Labs}}, year = {2026}, howpublished = {\url{https://huggingface.co/datasets/udgamlabs/udgam-probes}}}```
---
**About Udgam Labs.** Udgam Labs is an independent AI research lab. We work from first principles: before we build, we understand why things work, whether we are training a model, fine-tuning one or applying AI to a new problem. Udgam (उद्गम) is Sanskrit for origin. [udgamlabs.com](https://udgamlabs.com)123version https://git-lfs.github.com/spec/v1oid sha256:66d0fcc709a391cb31fe1e343be02b4ec890330614050ab98f958f1c922735b5size 73552123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210# Copyright 2026 Udgam Labs. Licensed under the Apache License, Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0)."""Udgam Probe Suite generator: procedurally generated questions with one exact answer each.
Ten question types x three difficulty levels; every item has one correct answer by construction and 1-3 wrong choices.Fresh items can be made at any time with a new seed, so they cannot be in anyone's training data, and harder levels canbe added if a type saturates.
Types in CORE (the published 2,000-item set; they separate 50-400M models): add, mul, units, sequence, word_problem, compare, syllogismFRONTIER (at or below chance for every model of 400M parameters or fewer that we tested; reported separately): days, orderNot used: count (letter counting; small models' accuracy matched how often the answer was "1").
The published set is exactly: python probes/generate.py core.jsonl --types core --per 100 --seed 2026
python probes/generate.py OUT.jsonl [--types core|frontier|all] [--per 100] [--seed 2026]"""import argparseimport jsonimport randomfrom collections import Counter
DAYS = ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"]NONSENSE = ["blick", "florp", "wug", "dax", "zorp", "glim", "tove", "snerk", "vosk", "pliff", "quam", "drell"]NAMES = ["Ana", "Ben", "Chen", "Dev", "Eli", "Fay", "Gus", "Hana", "Ivo", "Jun", "Kai", "Lena"]WORDS = ["strawberry", "banana", "mississippi", "bookkeeper", "committee", "balloon", "parallel", "assessment", "tomorrow", "occurrence", "necessary", "accommodate", "letter", "coffee", "address", "success"]
def num_distractors(rng, x, k=3): out = set() cands = [x + 1, x - 1, x + 10, x - 10, x + 2, x * 2 if x < 10 ** 6 else x + 100, x + 9, x - 9, x + 100, x - 100] rng.shuffle(cands) for c in cands: if c != x and c >= 0 and len(out) < k: out.add(c) return [str(c) for c in out]
def fmt(n): return f"{n:,}" if n >= 10000 else str(n)
def g_add(rng, lvl): d = {1: 2, 2: 4, 3: 6}[lvl] a, b = rng.randint(10 ** (d - 1), 10 ** d - 1), rng.randint(10 ** (d - 1), 10 ** d - 1) ans = a + b return f"Question: What is {fmt(a)} + {fmt(b)}?\nAnswer:", fmt(ans), [fmt(int(x)) for x in num_distractors(rng, ans)]
def g_mul(rng, lvl): a, b = {1: (rng.randint(2, 9), rng.randint(2, 9)), 2: (rng.randint(11, 99), rng.randint(2, 9)), 3: (rng.randint(11, 99), rng.randint(11, 99))}[lvl] ans = a * b return f"Question: What is {a} × {b}?\nAnswer:", fmt(ans), [fmt(int(x)) for x in num_distractors(rng, ans)]
def g_compare(rng, lvl): if lvl == 1: x, y = rng.sample(range(1, 100), 2) elif lvl == 2: x, y = rng.sample(range(100, 10000), 2) else: # decimals with different digit counts: the classic 0.7 vs 0.65 trap a = rng.randint(1, 9); b = rng.randint(10, 99) x, y = float(f"0.{a}"), float(f"0.{b}") if x == y: y = round(y + 0.01, 2) big = max(x, y) return f"Question: Which number is larger, {x} or {y}?\nAnswer:", str(big), [str(min(x, y))]
def g_days(rng, lvl): start = rng.randrange(7) n = {1: rng.randint(1, 6), 2: rng.randint(8, 20), 3: rng.randint(30, 400)}[lvl] ans = DAYS[(start + n) % 7] others = [d for d in DAYS if d != ans]; rng.shuffle(others) return f"Question: If today is {DAYS[start]}, what day of the week will it be in {n} days?\nAnswer:", ans, others[:3]
UNITS = [("minutes", "hours", 60), ("seconds", "minutes", 60), ("hours", "days", 24), ("days", "weeks", 7), ("grams", "kilograms", 1000), ("millilitres", "litres", 1000), ("centimetres", "metres", 100), ("months", "years", 12), ("minutes", "days", 1440), ("metres", "kilometres", 1000)]
def g_units(rng, lvl): small, big, f = rng.choice(UNITS) if lvl == 1: h = rng.randint(2, 12); q = f"How many {small} are in {h} {big}?"; ans = h * f elif lvl == 2: h = rng.randint(2, 12) + 0.5; q = f"How many {small} are in {h} {big}?"; ans = int(h * f) else: km = rng.randint(2, 30); q = f"How many metres are in {km}.{rng.randint(1,9)} kilometres?" ans = int(round(float(q.split(" in ")[1].split(" ")[0]) * 1000)) return f"Question: {q}\nAnswer:", fmt(ans), [fmt(int(x)) for x in num_distractors(rng, ans)]
def g_count(rng, lvl): w = rng.choice(WORDS if lvl > 1 else ["cat", "dog", "apple", "tree", "moon", "glass", "hello", "sheep", "door", "paper", "green", "little", "cookie", "puppy", "river", "summer", "yellow", "rabbit", "kitten", "button", "pepper", "window", "garden", "school"]) letters = sorted(set(w)); c = rng.choice(letters); ans = w.count(c) d = [str(x) for x in {ans + 1, max(0, ans - 1), ans + 2} if x != ans][:3] return f"Question: How many times does the letter '{c}' appear in the word '{w}'?\nAnswer:", str(ans), d
def g_syllogism(rng, lvl): a, b, c, d = rng.sample(NONSENSE, 4) if lvl == 1: q = f"All {a}s are {b}s. All {b}s are {c}s. Is every {a} a {c}?"; ans = "Yes" elif lvl == 2: q = f"All {a}s are {b}s. Some {b}s are {c}s. Must every {a} be a {c}?"; ans = "No" else: if rng.random() < 0.5: q = f"All {a}s are {b}s. No {b}s are {c}s. Can an {a} be a {c}?"; ans = "No" else: q = f"All {a}s are {b}s. All {b}s are {c}s. All {c}s are {d}s. Is every {a} a {d}?"; ans = "Yes" return f"Question: {q} Answer Yes or No.\nAnswer:", ans, ["No" if ans == "Yes" else "Yes"]
def g_sequence(rng, lvl): if lvl == 1: s, k = rng.randint(1, 20), rng.randint(2, 9); seq = [s + i * k for i in range(5)]; nxt = s + 5 * k elif lvl == 2: s, r = rng.randint(1, 12), rng.choice([2, 3, 4]); seq = [s * r ** i for i in range(4)]; nxt = s * r ** 4 else: s, k, j = rng.randint(1, 9), rng.randint(2, 5), rng.randint(1, 3) seq = [s]; step = k for _ in range(4): seq.append(seq[-1] + step); step += j nxt = seq[-1] + step q = ", ".join(map(str, seq)) return f"Question: What number comes next: {q}, ?\nAnswer:", fmt(nxt), [fmt(int(x)) for x in num_distractors(rng, nxt)]
def g_order(rng, lvl): n = {1: 3, 2: 4, 3: 5}[lvl] people = rng.sample(NAMES, n) # people[0] tallest ... people[-1] shortest facts = [f"{people[i]} is taller than {people[i+1]}." for i in range(n - 1)] rng.shuffle(facts) if rng.random() < 0.5: q, ans = "Who is the shortest?", people[-1] else: q, ans = "Who is the tallest?", people[0] others = [p for p in people if p != ans]; rng.shuffle(others) return f"Question: {' '.join(facts)} {q}\nAnswer:", ans, others[:3]
def g_wordprob(rng, lvl): name = rng.choice(NAMES) if lvl == 1: a, b = rng.randint(3, 20), rng.randint(2, 15) q = f"{name} has {a} apples and buys {b} more. How many apples does {name} have now?"; ans = a + b elif lvl == 2: a, b, c = rng.randint(20, 60), rng.randint(2, 15), rng.randint(2, 15) q = f"{name} has {a} stickers, gives away {b}, then gets {c} more. How many stickers does {name} have now?" ans = a - b + c else: p, n, k = rng.randint(2, 9), rng.randint(3, 9), rng.randint(2, 5) q = (f"Pens cost {p} dollars each. {name} buys {n} pens and pays with {p * n + k * 5} dollars. " f"How much change does {name} get, in dollars?"); ans = k * 5 return f"Question: {q}\nAnswer:", fmt(ans), [fmt(int(x)) for x in num_distractors(rng, ans)]
GEN = {"add": g_add, "mul": g_mul, "compare": g_compare, "days": g_days, "units": g_units, "count": g_count, "syllogism": g_syllogism, "sequence": g_sequence, "order": g_order, "word_problem": g_wordprob}
CORE = ["add", "mul", "units", "sequence", "word_problem", "compare", "syllogism"]FRONTIER = ["days", "order"]
def generate(per, seed): """All types, in a fixed order, so a given seed always gives the same items.""" rng = random.Random(seed) rows, seen = [], set() for t, f in GEN.items(): for lvl in (1, 2, 3): k = tries = 0 while k < per and tries < per * 200: # some easy levels have fewer than `per` distinct items tries += 1 prompt, ans, dist = f(rng, lvl) if prompt in seen or ans in dist or not dist: continue seen.add(prompt) rows.append({"id": f"pea-{t}-{lvl}-{k:04d}", "type": t, "level": lvl, "prompt": prompt, "answer": ans, "choices": sorted([ans] + dist, key=lambda s: rng.random())}) k += 1 return rows
def main(): ap = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter) ap.add_argument("out") ap.add_argument("--types", default="core", choices=["core", "frontier", "all"]) ap.add_argument("--per", type=int, default=100, help="items per type and level") ap.add_argument("--seed", type=int, default=2026) a = ap.parse_args() rows = generate(a.per, a.seed) keep = {"core": CORE, "frontier": FRONTIER, "all": list(GEN)}[a.types] rows = [r for r in rows if r["type"] in keep] with open(a.out, "w") as f: for r in rows: f.write(json.dumps(r) + "\n") print("items per type:", dict(Counter(r["type"] for r in rows))) print(f"wrote {len(rows)} items to {a.out}")
if __name__ == "__main__": main()README.mdAdded+167
banner.pngAdded

Large File Pointer Details
- SHA256: e473a7a55761b396f7150fdceb543dbf15d3d81e54249b811c6812ee6eb00d5c
- Pointer size: 130 Bytes
- Size of remote file: 39 kB
data/test.parquetAdded+3
generator/generate.pyAdded+210