Dataset Viewer
Auto-converted to Parquet
input
stringlengths
38
105
output
int64
0
6
What is the count of the letter 'e' within the word Self?
1
In the word 'Dysgraphia', how many instances of the letter 'g' can you find?
1
Find out how many instances of the letter a there are in the word Dysgraphia.
2
Count the number of occurrences of the letter s in the word 'Enuresis'.
2
Find out how many instances of the letter e there are in the word Enuresis.
2
Find out how many instances of the letter s there are in the word Enuresis.
2
Find out how many instances of the letter y there are in the word Hyperpyrexia.
2
How many times does the letter 'o' appear in the word Hypovolaemic?
2
How many times does the letter 'i' appear in the word Induration?
2
What is the frequency of the letter z within the word 'Localized'?
1
Can you count how many times the letter 'n' appears in the word Pulmonary?
1
Can you count how many times the letter 'e' appears in the word Respiratory?
1
Please calculate the number of occurrences of the letter r in the word Respiratory.
3
Please calculate the number of occurrences of the letter c in the word Septicaemic.
2
What is the frequency of the letter e within the word 'Septicaemic'?
2
Can you tell me how many times the letter 'c' is present in the word Septicaemic?
2
How many ss are there in the word 'Sinus'?
2
How many times does the letter 'c' appear in the word Somnolence?
1
What is the frequency of the letter c within the word 'Somnolence'?
1
Find out how many instances of the letter d there are in the word Unspecified.
1
How frequently does the letter 'e' occur in the word Unspecified?
2
How frequently does the letter 'e' occur in the word Unspecified?
2
Find out how many instances of the letter a there are in the word Gamma.
2
In the word 'Refractory', how many instances of the letter 'a' can you find?
1
How many times does the letter 'f' appear in the word Fractures?
1
How many ms are there in the word 'Female'?
1
Please calculate the number of occurrences of the letter h in the word Nightmares.
1
Determine how often the letter 'n' appears in the word Psychogenic.
1
How many times does the letter 'a' appear in the word Seasonal?
2
Count the number of occurrences of the letter s in the word 'Seasonal'.
2
How many times does the letter 'u' appear in the word Acute?
1
Count the number of occurrences of the letter i in the word 'Agoraphobia'.
1
Please calculate the number of occurrences of the letter a in the word Animal.
2
Can you tell me how many times the letter 'y' is present in the word Anxiety?
1
Find out how many instances of the letter n there are in the word Anxiety.
1
Please calculate the number of occurrences of the letter y in the word Anxiety.
1
Can you count how many times the letter 't' appears in the word Assault?
1
Find out how many instances of the letter l there are in the word Assault.
1
What is the count of the letter 'e' within the word Borderline?
2
How many os are there in the word 'Borderline'?
1
How many es are there in the word 'Borderline'?
2
How many is are there in the word 'Brief'?
1
Can you tell me how many times the letter 't' is present in the word Chronic?
0
Determine how often the letter 'o' appears in the word Cocaine.
1
How many times does the letter 'd' appear in the word Delusional?
1
How many ss are there in the word 'Delusional'?
1
Can you tell me how many times the letter 'm' is present in the word Demyelinating?
1
What is the frequency of the letter m within the word 'Dermatitis'?
1
What is the frequency of the letter e within the word 'Elective'?
3
What is the frequency of the letter i within the word 'Frotteurism'?
1
How many es are there in the word 'Haemophilus'?
1
What is the frequency of the letter i within the word 'Hypoactive'?
1
In the word 'Infections', how many instances of the letter 'ą' can you find?
0
What is the frequency of the letter s within the word 'Infections'?
1
Can you count how many times the letter 't' appears in the word Infections?
1
Please calculate the number of occurrences of the letter e in the word Megaloblastic.
1
What is the count of the letter 'm' within the word Megaloblastic?
1
Count the number of occurrences of the letter l in the word 'Megaloblastic'.
2
Can you tell me how many times the letter 's' is present in the word Narcissistic?
3
How many times does the letter 'r' appear in the word Organic?
1
What is the frequency of the letter n within the word 'Organic'?
1
How frequently does the letter 'm' occur in the word Orgasmic?
1
How many times does the letter 'i' appear in the word Panic?
1
What is the frequency of the letter m within the word 'Panic'?
0
Please calculate the number of occurrences of the letter p in the word Panic.
1
What is the frequency of the letter r within the word 'Paranoid'?
1
How many ns are there in the word 'Paranoid'?
1
Can you count how many times the letter 'p' appears in the word Phobic?
1
Can you count how many times the letter 'h' appears in the word Phobic?
1
What is the frequency of the letter h within the word 'Phobic'?
1
Can you count how many times the letter 'ą' appears in the word Prolonged?
0
What is the frequency of the letter e within the word 'Schizophrenic'?
1
In the word 'Schizophrenic', how many instances of the letter 'ż' can you find?
0
How many cs are there in the word 'Specific'?
2
In the word 'Unspecified', how many instances of the letter 'e' can you find?
2
Determine how often the letter 'e' appears in the word Unspecified.
2
What is the frequency of the letter i within the word 'Unspecified'?
2
Determine how often the letter 's' appears in the word Unspecified.
1
What is the frequency of the letter i within the word 'Unspecified'?
2
How many times does the letter 'u' appear in the word Unspecified?
1
Can you tell me how many times the letter 'i' is present in the word Unspecified?
2
What is the count of the letter 'n' within the word Unspecified?
1
Please calculate the number of occurrences of the letter p in the word Unspecified.
1
How many ns are there in the word 'Unspecified'?
1
Can you count how many times the letter 'ś' appears in the word Unspecified?
0
In the word 'Unspecified', how many instances of the letter 'ż' can you find?
0
What is the frequency of the letter n within the word 'Unspecified'?
1
Can you tell me how many times the letter 's' is present in the word Unspecified?
1
How many times does the letter 'e' appear in the word Unspecified?
2
What is the frequency of the letter c within the word 'Unspecified'?
1
Please calculate the number of occurrences of the letter u in the word Unspecified.
1
Count the number of occurrences of the letter c in the word 'Unspecified'.
1
How many times does the letter 'r' appear in the word Vascular?
1
How many times does the letter 'v' appear in the word Vascular?
1
How many 1s are there in the word '10p12p11'?
4
In the word '10p12p11', how many instances of the letter '1' can you find?
4
What is the count of the letter '2' within the word 10q22.3q23.3?
3
Can you tell me how many times the letter '2' is present in the word 10q22.3q23.3?
3
Can you count how many times the letter 'd' appears in the word 11p15.4?
0
In the word '11p15.4', how many instances of the letter 'p' can you find?
1
End of preview. Expand in Data Studio

MedSpellCount-QA

Dataset Summary

MedSpellCount-QA is a lightweight dataset for orthographic counting framed as question-answering over medical terms.
Each input is a short natural-language question like:

“How many r are in warfarine?”

The output is the correct count as an integer (e.g., 1). This format is convenient for GRPO (Group Relative Policy Optimization) or other RL-style post-training, where a simple correctness reward compares multiple candidates per prompt.

Why a distinct dataset? Counting letters in real medical vocabulary is a simple, objective task that stresses spelling attention and string reasoning without requiring external knowledge.

Use Cases

  • GRPO training: generate K candidates per prompt and reward exact correctness.
  • Instruction/QA fine-tuning for robustness to orthographic queries.
  • Eval of character-level attention and tokenization effects on medical terms.

Languages

  • English prompts; terms are predominantly medical.

Dataset Structure

Data Fields

  • input (string, required): the question, e.g.,
    How many 'r' in 'warfarine'?
  • output (integer, required): the correct count as text, e.g., 1.

Data Instances

{
  "input": "How many 'r' in 'warfarine'?",
  "output": 1
}

```python
from datasets import load_dataset

ds = load_dataset("mkurman/MedSpellCount-QA", split='train')

print(ds)
print(ds[0])
Downloads last month
117