mkurman commited on
Commit
2797769
·
verified ·
1 Parent(s): a97cce5

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +57 -3
README.md CHANGED
@@ -1,3 +1,57 @@
1
- ---
2
- license: cc
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc
3
+ language:
4
+ - en
5
+ tags:
6
+ - medical
7
+ - spelling
8
+ - counting
9
+ - qa
10
+ - grpo
11
+ task_categories:
12
+ - question-answering
13
+ pretty_name: MedSpellCount-QA
14
+ ---
15
+
16
+ # MedSpellCount-QA
17
+
18
+ ## Dataset Summary
19
+ **MedSpellCount-QA** is a lightweight dataset for **orthographic counting** framed as question-answering over medical terms.
20
+ Each `input` is a short natural-language question like:
21
+
22
+ > *“How many **r** are in **warfarine**?”*
23
+
24
+ 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.
25
+
26
+ *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.
27
+
28
+ ## Use Cases
29
+ - **GRPO training**: generate K candidates per prompt and reward exact correctness.
30
+ - **Instruction/QA fine-tuning** for robustness to orthographic queries.
31
+ - **Eval** of character-level attention and tokenization effects on medical terms.
32
+
33
+ ## Languages
34
+ - **English** prompts; terms are predominantly **medical**.
35
+
36
+ ## Dataset Structure
37
+
38
+ ### Data Fields
39
+ - **input** *(string, required)*: the question, e.g.,
40
+ `How many 'r' in 'warfarine'?`
41
+ - **output** *(integer, required)*: the correct count as text, e.g., `1`.
42
+
43
+ ### Data Instances
44
+ ```json
45
+ {
46
+ "input": "How many 'r' in 'warfarine'?",
47
+ "output": 1
48
+ }
49
+
50
+ ```python
51
+ from datasets import load_dataset
52
+
53
+ ds = load_dataset("mkurmanmkurman/MedSpellCount-QA", split='train') # or mkurman/medspellcount-qa if you rename
54
+
55
+ print(ds)
56
+ print(ds[0])
57
+ ```