playforgecoding commited on
Commit
6337964
·
verified ·
1 Parent(s): 03ed5e2

Publish the dataset, CC BY 4.0

Browse files
Files changed (3) hide show
  1. README.md +63 -0
  2. holdout.jsonl +0 -0
  3. train.jsonl +0 -0
README.md ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ language:
4
+ - en
5
+ pretty_name: Spelling Creator document import
6
+ size_categories:
7
+ - n<1K
8
+ task_categories:
9
+ - text-generation
10
+ tags:
11
+ - information-extraction
12
+ - document-parsing
13
+ - structured-output
14
+ configs:
15
+ - config_name: default
16
+ data_files:
17
+ - split: train
18
+ path: train.jsonl
19
+ - split: test
20
+ path: holdout.jsonl
21
+ ---
22
+
23
+ # Spelling Creator document import
24
+
25
+ One section of a lesson as someone might have typed it up, paired with that section as lesson JSON. [Spelling Creator](https://spellingcreator.org) is a lesson builder for Spelling to Communicate (S2C), used with nonspeaking spellers. Its **Import from text** reads a typed lesson with rules, and hands the sections the rules cannot read to a small on-device model; this dataset trains that model.
26
+
27
+ ## What is in it
28
+
29
+ Chat-format JSONL, ready for a supervised fine-tune (TRL's `SFTTrainer` takes it as is):
30
+
31
+ - **system**: the lesson section's JSON schema and a guide to the question types.
32
+ - **user**: one section of a document, cut and laid out exactly as the import hands it to the model.
33
+ - **assistant**: the section as JSON: `name`, `paragraphs`, `spellingWords`, and `questions`, each with `prompt`, `type`, `answers` and `steps`.
34
+
35
+ Every lesson is rendered in nine layouts (`style` on each row): the app's own Word export read back as raw text, six typed-up layouts the rules read (`plain`, `qa`, `caps`, `bullets`, `colon`, `worked`), and two they cannot (`nomarks`: no question marks or numbers, the answer tacked on; `runon`: a numbered list that lost its line breaks). From those two, a section is in only if the import would really send it to the model. Targets follow the document as written: no section name where it shows no heading, and prompts without question marks where the layout dropped them.
36
+
37
+ | split | examples | lessons |
38
+ | ----- | -------: | ------- |
39
+ | train | 521 | 10 |
40
+ | test | 108 | the two newest: The History of Domestic Cats, and Pompeii: The City Frozen in Time |
41
+
42
+ ## How it was made
43
+
44
+ Rendered by code from lessons published on the Spelling Creator hub, so every target is the lesson's own content, not a model's reading of it. The renderers, the splitter and the scorer are in the [Spelling Creator repository](https://github.com/Spelling-Creator/spelling-creator) under `packages/core/scripts/extract-eval/`. The model trained on it is [LFM2-1.2B-Extract-lesson](https://huggingface.co/playforgecoding/LFM2-1.2B-Extract-lesson).
45
+
46
+ ## Attribution
47
+
48
+ CC BY 4.0. The lessons, by their authors on [spellingcreator.org](https://spellingcreator.org):
49
+
50
+ | Lesson | Author |
51
+ | ------ | ------ |
52
+ | [The History of Domestic Cats](https://spellingcreator.org/hub/4ad249e0-ac7b-41ea-920c-d935fe2ab1b2) | Admin |
53
+ | [Volcanoes](https://spellingcreator.org/hub/d0d80d67-17d6-43b1-8eb1-bbf38871c1dd) | CoolMom |
54
+ | [Pompeii: The City Frozen in Time](https://spellingcreator.org/hub/3c982988-21db-4185-99ae-46c37ecfe708) | CoolMom |
55
+ | [An Introduction to Quantum Physics](https://spellingcreator.org/hub/f9ab5354-c739-4599-b135-e2d431eda825) | CoolMom |
56
+ | [An Introduction to Theoretical Mathematics](https://spellingcreator.org/hub/a6a26b88-7610-41f3-9b71-f8c0e3198d8c) | CoolMom |
57
+ | [The World's Most Thrilling Theme Parks and Rides](https://spellingcreator.org/hub/15386f72-8f45-40b6-a8d9-d94808e1b3e0) | CoolMom |
58
+ | [Penguins](https://spellingcreator.org/hub/47172d61-fce7-4497-bd28-bbdc1bc3becb) | CoolMom |
59
+ | [Incredible Inventors](https://spellingcreator.org/hub/9a9e5a50-3dfb-43f5-bb61-cf6074d97001) | CoolMom |
60
+ | [The History of Programming](https://spellingcreator.org/hub/64f03ca8-7751-4654-a871-342d2dedd250) | Admin |
61
+ | [The History of the Web](https://spellingcreator.org/hub/ae01d54c-d039-43da-8c25-b69cd2f9ac52) | Admin |
62
+ | [The History of Chocolate](https://spellingcreator.org/hub/d53b77a1-54ba-4311-a462-2f05d6d3b7d6) | Admin |
63
+ | [The Life of Albert Einstein](https://spellingcreator.org/hub/a119b2ea-c824-48b0-8df7-8537f971d6fa) | Admin |
holdout.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
train.jsonl ADDED
The diff for this file is too large to render. See raw diff