Datasets:
Corpus-NZ
/

Modalities:
Text
Formats:
csv
Languages:
English
License:
Gugu8 commited on
Commit
22abb17
·
0 Parent(s):

Duplicate from Gugu8/English-Mini

Browse files
Files changed (4) hide show
  1. .gitattributes +61 -0
  2. LICENSE +0 -0
  3. README.md +120 -0
  4. llm_english_100MB.csv +3 -0
.gitattributes ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.avro filter=lfs diff=lfs merge=lfs -text
4
+ *.bin filter=lfs diff=lfs merge=lfs -text
5
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
6
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
7
+ *.ftz filter=lfs diff=lfs merge=lfs -text
8
+ *.gz filter=lfs diff=lfs merge=lfs -text
9
+ *.h5 filter=lfs diff=lfs merge=lfs -text
10
+ *.joblib filter=lfs diff=lfs merge=lfs -text
11
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
12
+ *.lz4 filter=lfs diff=lfs merge=lfs -text
13
+ *.mds filter=lfs diff=lfs merge=lfs -text
14
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
15
+ *.model filter=lfs diff=lfs merge=lfs -text
16
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
17
+ *.npy filter=lfs diff=lfs merge=lfs -text
18
+ *.npz filter=lfs diff=lfs merge=lfs -text
19
+ *.onnx filter=lfs diff=lfs merge=lfs -text
20
+ *.ot filter=lfs diff=lfs merge=lfs -text
21
+ *.parquet filter=lfs diff=lfs merge=lfs -text
22
+ *.pb filter=lfs diff=lfs merge=lfs -text
23
+ *.pickle filter=lfs diff=lfs merge=lfs -text
24
+ *.pkl filter=lfs diff=lfs merge=lfs -text
25
+ *.pt filter=lfs diff=lfs merge=lfs -text
26
+ *.pth filter=lfs diff=lfs merge=lfs -text
27
+ *.rar filter=lfs diff=lfs merge=lfs -text
28
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
29
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
30
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
31
+ *.tar filter=lfs diff=lfs merge=lfs -text
32
+ *.tflite filter=lfs diff=lfs merge=lfs -text
33
+ *.tgz filter=lfs diff=lfs merge=lfs -text
34
+ *.wasm filter=lfs diff=lfs merge=lfs -text
35
+ *.xz filter=lfs diff=lfs merge=lfs -text
36
+ *.zip filter=lfs diff=lfs merge=lfs -text
37
+ *.zst filter=lfs diff=lfs merge=lfs -text
38
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
39
+ # Audio files - uncompressed
40
+ *.pcm filter=lfs diff=lfs merge=lfs -text
41
+ *.sam filter=lfs diff=lfs merge=lfs -text
42
+ *.raw filter=lfs diff=lfs merge=lfs -text
43
+ # Audio files - compressed
44
+ *.aac filter=lfs diff=lfs merge=lfs -text
45
+ *.flac filter=lfs diff=lfs merge=lfs -text
46
+ *.mp3 filter=lfs diff=lfs merge=lfs -text
47
+ *.ogg filter=lfs diff=lfs merge=lfs -text
48
+ *.wav filter=lfs diff=lfs merge=lfs -text
49
+ # Image files - uncompressed
50
+ *.bmp filter=lfs diff=lfs merge=lfs -text
51
+ *.gif filter=lfs diff=lfs merge=lfs -text
52
+ *.png filter=lfs diff=lfs merge=lfs -text
53
+ *.tiff filter=lfs diff=lfs merge=lfs -text
54
+ # Image files - compressed
55
+ *.jpg filter=lfs diff=lfs merge=lfs -text
56
+ *.jpeg filter=lfs diff=lfs merge=lfs -text
57
+ *.webp filter=lfs diff=lfs merge=lfs -text
58
+ # Video files - compressed
59
+ *.mp4 filter=lfs diff=lfs merge=lfs -text
60
+ *.webm filter=lfs diff=lfs merge=lfs -text
61
+ llm_english_100MB.csv filter=lfs diff=lfs merge=lfs -text
LICENSE ADDED
File without changes
README.md ADDED
@@ -0,0 +1,120 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ license_name: open-data-attribution-training-disclosure-license-odatl-1.0
4
+ license_link: LICENSE
5
+ language:
6
+ - en
7
+ tags:
8
+ - tiny
9
+ - english
10
+ ---
11
+ # LLM-English-100MB — Compact & Dense English Teaching Corpus
12
+
13
+ A 100MB, extremely clean CSV designed to teach an LLM English from scratch via instruction-tuning. No noise, no HTML, no duplicates — just pure grammar, vocabulary, and syntax transformations.
14
+
15
+ Generated with a single paste-and-run Python script in Google Colab.
16
+
17
+ ### Why this teaches English
18
+
19
+ Instead of raw text, the dataset is **instruction -> input -> output** pairs that force the model to learn rules:
20
+
21
+ - **Grammar Mechanics:** tense conversion, negation, question formation, active/passive, subject-verb agreement, article & preposition usage, contraction
22
+ - **Vocabulary:** pluralization, synonyms, antonyms, definitions, comparatives
23
+ - **Error Correction:** common ESL mistakes with corrected form + rule
24
+
25
+ Each row includes an explicit `rule` column so the model learns the *pattern*, not just memorizes.
26
+
27
+ ### Dataset Schema
28
+
29
+ Extremely clean: UTF-8, LF (`\n`), `QUOTE_MINIMAL`, no empty fields, no newlines inside fields.
30
+
31
+ | Column | Type | Description |
32
+ | :--- | :--- | :--- |
33
+ | `id` | int | Unique row ID |
34
+ | `level` | string | CEFR level: A1, A2, B1, B2 |
35
+ | `category` | string | `grammar`, `vocabulary`, `syntax` |
36
+ | `task_type` | string | e.g. `tense_past`, `pluralization`, `negation`, `question_formation`, `comparative`, `active_passive`, `article_usage`, `synonym`, `antonym` |
37
+ | `instruction` | string | What the model must do |
38
+ | `input_text` | string | Input sentence / prompt |
39
+ | `output_text` | string | Correct target |
40
+ | `rule` | string | Short linguistic rule |
41
+
42
+ Example:
43
+ ```
44
+ instruction: Convert to simple past tense.
45
+ input_text: We build the house.
46
+ output_text: We built the house.
47
+ rule: build -> built
48
+ ```
49
+
50
+ ### Stats
51
+
52
+ - **Size:** 100 MB (configurable)
53
+ - **Rows:** ~650k - 750k (avg ~150 bytes/row)
54
+ - **Format:** CSV
55
+ - **Encoding:** UTF-8
56
+ - **Generation Time:** ~90-120 seconds on Colab
57
+
58
+ ### How to Use
59
+
60
+ **Pandas:**
61
+ ```python
62
+ import pandas as pd
63
+ df = pd.read_csv("/content/llm_english_100MB.csv")
64
+ df.head()
65
+ ```
66
+
67
+ **Hugging Face Datasets:**
68
+ ```python
69
+ from datasets import load_dataset
70
+ ds = load_dataset("csv", data_files="/content/llm_english_100MB.csv")["train"]
71
+ # Format for instruction tuning: instruction + input -> output
72
+ def format_prompt(ex):
73
+ return {"text": f"### Instruction: {ex['instruction']}\n### Input: {ex['input_text']}\n### Output: {ex['output_text']}"}
74
+ ds = ds.map(format_prompt)
75
+ ```
76
+
77
+ **Training Prompt Template:**
78
+ ```
79
+ Below is an instruction that teaches English.
80
+
81
+ ### Instruction:
82
+ Convert to simple past tense.
83
+
84
+ ### Input:
85
+ She eats the apple.
86
+
87
+ ### Output:
88
+ She ate the apple.
89
+ ```
90
+
91
+ ### Quality Guarantees — EXTREMELY CLEAN
92
+
93
+ - No HTML, no URLs, no emojis
94
+ - No nulls / NaNs
95
+ - Stripped whitespace, no `\r`, no `\n` inside fields
96
+ - Deterministic seed (42) for reproducibility
97
+ - Validated with `csv.DictReader`
98
+ - All rows are synthetic and license-free
99
+
100
+ ### Customize
101
+
102
+ Edit vocab lists at top of script:
103
+ ```python
104
+ NOUNS = [...]
105
+ VERBS = [...]
106
+ ```
107
+
108
+ Add new generators to `GENERATORS` list to add new task types.
109
+
110
+ ### License
111
+
112
+ Open Data Attribution Training Disclosure License (ODATL‑1.0)
113
+
114
+ ### File Structure
115
+
116
+ ```
117
+ /content/
118
+ llm_english_100MB.csv # 100MB corpus
119
+ README.md # this file
120
+ ```
llm_english_100MB.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:34960df4d3e2f3f53ba81d99d74febc54fad05df0fd74712edf2055ec133a83b
3
+ size 105443214