Dataset Viewer
Auto-converted to Parquet
text
stringlengths
14
93
label
stringlengths
1
31
metadata
dict
tags
dict
What is the capital of France?
Paris
{ "context": "France is a country in Europe. Its capital is Paris." }
{ "category": "geography", "difficulty": "easy", "region": null }
Who wrote Romeo and Juliet?
William Shakespeare
{ "context": "Romeo and Juliet is a famous play written by William Shakespeare." }
{ "category": "literature", "difficulty": "easy", "region": null }
What is 2 + 2?
4
{ "context": "Basic arithmetic: 2 + 2 equals 4." }
{ "category": "math", "difficulty": "easy", "region": null }
What is the largest planet in our solar system?
Jupiter
{ "context": "Jupiter is the largest planet in our solar system." }
{ "category": "astronomy", "difficulty": "easy", "region": null }
Who painted the Mona Lisa?
Leonardo da Vinci
{ "context": "The Mona Lisa was painted by Leonardo da Vinci." }
{ "category": "art", "difficulty": "easy", "region": null }
What is the derivative of sin(x)?
cos(x)
{ "context": "In differential calculus, the derivative of sin(x) with respect to x is cos(x)." }
{ "category": "calculus", "difficulty": "medium", "region": null }
Who discovered penicillin?
Alexander Fleming
{ "context": "Penicillin was discovered in 1928 by Alexander Fleming." }
{ "category": "biology", "difficulty": "medium", "region": null }
What is 5 factorial?
120
{ "context": "By definition, 5! = 5 × 4 × 3 × 2 × 1 = 120." }
{ "category": "math", "difficulty": "easy", "region": null }
In what year did the Berlin Wall fall?
1989
{ "context": "The Berlin Wall fell on November 9, 1989, marking the beginning of German reunification." }
{ "category": "history", "difficulty": "medium", "region": null }
What is the time complexity of binary search on a sorted array?
O(log n)
{ "context": "Binary search splits the search interval in half each step, giving logarithmic time complexity." }
{ "category": "computer science", "difficulty": "medium", "region": null }
What is the atomic number of carbon?
6
{ "context": "On the periodic table, carbon has atomic number 6." }
{ "category": "chemistry", "difficulty": "easy", "region": null }
What is the speed of light in vacuum (m/s)?
299792458
{ "context": "By definition, the speed of light in vacuum is exactly 299,792,458 m/s." }
{ "category": "physics", "difficulty": "medium", "region": null }
What does HTTP stand for?
Hypertext Transfer Protocol
{ "context": "HTTP is the foundation of data communication for the World Wide Web." }
{ "category": "computer science", "difficulty": "easy", "region": null }
What year did Apollo 11 land on the Moon?
1969
{ "context": "Apollo 11 landed on the Moon on July 20, 1969." }
{ "category": "history", "difficulty": "medium", "region": null }
What is Euler’s identity?
e^(iπ) + 1 = 0
{ "context": "Euler’s identity is often cited as an example of mathematical beauty." }
{ "category": "math", "difficulty": "medium", "region": null }
What is the boiling point of water at sea level (°C)?
100
{ "context": "At standard atmospheric pressure, water boils at 100 °C." }
{ "category": "chemistry", "difficulty": "easy", "region": null }
What is the capital of Nigeria?
Abuja
{ "context": "Nigeria is a country in West Africa. Its capital is Abuja." }
{ "category": "geography", "difficulty": "easy", "region": null }
What is the capital of Australia?
Canberra
{ "context": "Australia’s capital city is Canberra." }
{ "category": "geography", "difficulty": "easy", "region": "Oceania" }
What is the capital of Japan?
Tokyo
{ "context": "Japan’s capital city is Tokyo." }
{ "category": "geography", "difficulty": "easy", "region": "Asia" }
What is the square root of 81?
9
{ "context": "The square root of 81 is 9." }
{ "category": "math", "difficulty": "easy", "region": null }
What is the value of π to two decimal places?
3.14
{ "context": "Pi (π) is approximately 3.14159…, which rounds to 3.14 at two decimal places." }
{ "category": "math", "difficulty": "easy", "region": null }
What is the sum of the interior angles of a triangle in degrees?
180
{ "context": "In Euclidean geometry, the interior angles of any triangle add up to 180 degrees." }
{ "category": "math", "difficulty": "easy", "region": null }
Solve for x: x² - 4 = 0
x = 2 or x = -2
{ "context": "The equation x² - 4 = 0 factors to (x - 2)(x + 2) = 0, so x = 2 or x = -2." }
{ "category": "math", "difficulty": "easy", "region": null }
How many seconds are in one hour?
3600
{ "context": "60 seconds × 60 minutes = 3600 seconds in one hour." }
{ "category": "time", "difficulty": "easy", "region": null }
How many minutes are in a day?
1440
{ "context": "24 hours × 60 minutes = 1440 minutes in a day." }
{ "category": "time", "difficulty": "easy", "region": null }
How many hours are in a week?
168
{ "context": "7 days × 24 hours = 168 hours in a week." }
{ "category": "time", "difficulty": "easy", "region": null }
How many months have 31 days?
7
{ "context": "January, March, May, July, August, October, and December each have 31 days." }
{ "category": "calendar", "difficulty": "easy", "region": null }
Which galaxy is Earth located in?
The Milky Way
{ "context": "Our Solar System resides in the Milky Way galaxy." }
{ "category": "astronomy", "difficulty": "easy", "region": null }
What is the formula for kinetic energy?
½mv²
{ "context": "Kinetic energy is defined as one-half mass times velocity squared." }
{ "category": "physics", "difficulty": "medium", "region": null }
What is Newton’s second law of motion?
F = ma
{ "context": "Newton’s second law states that force equals mass times acceleration." }
{ "category": "physics", "difficulty": "medium", "region": null }
What is the standard acceleration due to gravity on Earth (m/s²)?
9.81
{ "context": "Standard gravity is defined as 9.81 m/s²." }
{ "category": "physics", "difficulty": "medium", "region": null }
Which formula expresses mass–energy equivalence?
E = mc²
{ "context": "Einstein’s mass–energy equivalence formula is E = mc²." }
{ "category": "physics", "difficulty": "medium", "region": null }
What is the powerhouse of the cell?
Mitochondria
{ "context": "Mitochondria generate most of the cell’s supply of ATP and are known as the powerhouse of the cell." }
{ "category": "biology", "difficulty": "easy", "region": null }
What molecule carries genetic information in most living organisms?
DNA
{ "context": "Deoxyribonucleic acid (DNA) holds genetic blueprints for living organisms." }
{ "category": "biology", "difficulty": "easy", "region": null }
Who wrote the novel 1984?
George Orwell
{ "context": "1984 is a dystopian novel authored by George Orwell and published in 1949." }
{ "category": "literature", "difficulty": "easy", "region": null }
Who wrote To Kill a Mockingbird?
Harper Lee
{ "context": "To Kill a Mockingbird is a Pulitzer Prize–winning novel by Harper Lee." }
{ "category": "literature", "difficulty": "easy", "region": null }
Who was the first President of the United States?
George Washington
{ "context": "George Washington served as the first U.S. President from 1789 to 1797." }
{ "category": "history", "difficulty": "easy", "region": null }
In which year did World War I begin?
1914
{ "context": "World War I started on July 28, 1914." }
{ "category": "history", "difficulty": "medium", "region": null }
In which year did World War II end?
1945
{ "context": "World War II concluded on September 2, 1945." }
{ "category": "history", "difficulty": "medium", "region": null }
What is the smallest country in the world by area?
Vatican City
{ "context": "Vatican City covers about 44 hectares and is the world’s smallest independent state." }
{ "category": "geography", "difficulty": "medium", "region": "Europe" }
Which element has the chemical symbol Au?
Gold
{ "context": "Au comes from the Latin name aurum for the metal gold." }
{ "category": "chemistry", "difficulty": "easy", "region": null }
What does GDP stand for?
Gross Domestic Product
{ "context": "GDP measures the total market value of all final goods and services produced in a country." }
{ "category": "economics", "difficulty": "medium", "region": null }
What is the currency of Japan?
Yen
{ "context": "The official currency of Japan is the Yen (¥)." }
{ "category": "economics", "difficulty": "easy", "region": null }
What is the output of print(len([1, 2, 3])) in Python?
3
{ "context": "len([1, 2, 3]) returns the number of items in the list, which is 3." }
{ "category": "computer science", "difficulty": "easy", "region": null }
In Python, what keyword is used to define a function?
def
{ "context": "The def keyword introduces a function definition in Python." }
{ "category": "computer science", "difficulty": "easy", "region": null }
In JavaScript, what keyword declares a variable with block scope?
let
{ "context": "let declares a block-scoped local variable in JavaScript." }
{ "category": "computer science", "difficulty": "easy", "region": null }
What is the average-case time complexity of quicksort?
O(n log n)
{ "context": "Quicksort on average partitions arrays in half each recursion, yielding O(n log n)." }
{ "category": "computer science", "difficulty": "medium", "region": null }
If P implies Q and Q implies R, does P imply R?
Yes
{ "context": "By transitivity of implication, if P ⇒ Q and Q ⇒ R, then P ⇒ R." }
{ "category": "logic", "difficulty": "medium", "region": null }
If all cats are mammals and some mammals are black, can we conclude that some cats are black?
No
{ "context": "The premises do not guarantee any overlap between cats and the subset of black mammals." }
{ "category": "logic", "difficulty": "medium", "region": null }
What is the binary representation of decimal 10?
1010
{ "context": "10 in base-10 converts to 1010 in base-2." }
{ "category": "computer science", "difficulty": "easy", "region": null }
In git, what command stages changes for commit?
git add
{ "context": "git add adds changes in the working directory to the staging area." }
{ "category": "computer science", "difficulty": "medium", "region": null }
What is Big O notation used for?
Describing algorithm complexity
{ "context": "Big O notation characterizes an algorithm’s performance in terms of input size." }
{ "category": "computer science", "difficulty": "medium", "region": null }

Tiny QA Benchmark (Original English Core for TQB++)

This dataset (vincentkoc/tiny_qa_benchmark) is the original 52-item English Question-Answering set. It now serves as the immutable "gold standard" core for the expanded Tiny QA Benchmark++ (TQB++) project.

The TQB++ project builds upon this core dataset by introducing a powerful synthetic generation toolkit, pre-built multilingual datasets, and a comprehensive framework for rapid LLM smoke testing.

For the full TQB++ toolkit, the latest research paper, multilingual datasets, and the synthetic generator, please visit:

This original dataset (vincentkoc/tiny_qa_benchmark) contains 52 hand-crafted general-knowledge QA pairs covering geography, history, math, science, literature, and more. It remains ideal for quick sanity checks, pipeline smoke-tests, and as a foundational component of TQB++. Each example includes:

  • text: the question prompt
  • label: the “gold” answer
  • metadata.context: a one-sentence fact
  • tags: additional annotations (category, difficulty)

It’s intentionally tiny (<100 KB) so you can iterate on data loading, evaluation scripts, or CI steps in under a second using these specific 52 items.

Supported Tasks and Formats (for this core dataset)

  • Tasks:
    • Extractive QA
    • Generative QA
  • Format: JSON
  • Splits:
    • train (all 52 examples)

Languages (for this core dataset)

  • English (en)

Dataset Structure

Data Fields

Each example in data/train.json (as loaded by datasets) has:

field type description
text string The question prompt.
label string The correct answer.
metadata object Additional info.
metadata.context string A one-sentence fact supporting the answer.
tags.category string Broad question category (e.g. geography).
tags.difficulty string Rough difficulty level (e.g. easy).

Data Example

[
  {
    "text": "What is the capital of France?",
    "label": "Paris",
    "metadata": {
      "context": "France is a country in Europe. Its capital is Paris."
    },
    "tags": {
      "category": "geography",
      "difficulty": "easy"
    }
  },
  {
    "text": "What is 2 + 2?",
    "label": "4",
    "metadata": {
      "context": "Basic arithmetic: 2 + 2 equals 4."
    },
    "tags": {
      "category": "math",
      "difficulty": "easy"
    }
  }
]

(Note: The actual file on the Hub might be a .jsonl file where each line is a JSON object, but load_dataset handles this.)

Data Splits

Only one split for this core dataset:

  • train: 52 examples, used for development, quick evaluation, and as the TQB++ core.

Data Creation

Curation Rationale

The "Tiny QA Benchmark" (this 52-item set) was originally created to:

  1. Smoke-test QA pipelines (loading, preprocessing, evaluation).
  2. Demo Hugging Face Datasets integration in tutorials.
  3. Verify model–eval loops run without downloading large corpora.
  4. Serve as the immutable "gold standard" English core for the Tiny QA Benchmark++ (TQB++) project.

Source Data

Hand-crafted by the dataset creator from well-known, public-domain facts. It was initially developed as a dataset for sample projects to demonstrate Opik and now forms the foundational English core of TQB++.

Annotations

Self-annotated. Each metadata.context and tags field is manually created for these 52 items.

Usage

Load this specific 52-item core dataset with:

from datasets import load_dataset

ds = load_dataset("vincentkoc/tiny_qa_benchmark")
print(ds["train"][0])
# Expected output:
# {
#   "text": "What is the capital of France?",
#   "label": "Paris",
#   "metadata": {
#     "context": "France is a country in Europe. Its capital is Paris."
#   },
#   "tags": {
#     "category": "geography",
#     "difficulty": "easy"
#   }
# }

For accessing the full TQB++ suite, including multilingual packs and the synthetic generator, refer to the TQB++ Hugging Face Dataset Collection.

Considerations for Use

  • Immutable Core for TQB++: This dataset is the stable, hand-curated English core of the TQB++ project. Its 52 items are not intended to change.
  • Not a Comprehensive Benchmark (on its own): While excellent for quick checks, these 52 items are too few for statistically significant model ranking. For broader evaluation, use in conjunction with the TQB++ synthetic generator and its multilingual capabilities found at vincentkoc/tiny_qa_benchmark_pp.
  • Do Not Train: Primarily intended for evaluation, smoke-tests, or demos.
  • No Sensitive Data: All facts are public domain.

Licensing

Apache-2.0. See the LICENSE file in the TQB++ GitHub repository for details (as this dataset is now part of that larger project).

Citation

If you use this specific 52-item core English dataset, please cite it. You can use the following BibTeX entry, which has been updated to reflect its role:

@misc{koctinyqabenchmark_original_core,
    author       = { Vincent Koc },
    title        = { Tiny QA Benchmark (Original 52-item English Core for TQB++) },
    year         = 2025,
    url          = { https://huggingface.co/datasets/vincentkoc/tiny_qa_benchmark },
    doi          = { 10.57967/hf/5417 },
    publisher    = { Hugging Face }
}

For the complete Tiny QA Benchmark++ (TQB++) project (which includes this core set, the synthetic generator, multilingual packs, and the associated research paper), please refer to and cite the TQB++ project directly:

@misc{koctinyqabenchmark_pp_dataset,
  author       = {Vincent Koc},
  title        = {Tiny QA Benchmark++ (TQB++) Datasets and Toolkit},
  year         = {2025},
  publisher    = {Hugging Face & GitHub},
  doi          = {10.57967/hf/5531}, /* DOI for the TQB++ collection */
  howpublished = {\\url{https://huggingface.co/datasets/vincentkoc/tiny_qa_benchmark_pp}},
  note         = {See also: \\url{https://github.com/vincentkoc/tiny_qa_benchmark_pp}}
}
Downloads last month
89

Collections including vincentkoc/tiny_qa_benchmark