Datasets:

Modalities:
Tabular
Text
Formats:
csv
Languages:
in
License:
Gugu8 commited on
Commit
479c2be
·
verified ·
1 Parent(s): 24096e2

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +101 -0
README.md CHANGED
@@ -2,4 +2,105 @@
2
  license: other
3
  license_name: open-data-attribution-training-disclosure-license-odatl-1.0
4
  license_link: LICENSE
 
 
 
 
5
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  license: other
3
  license_name: open-data-attribution-training-disclosure-license-odatl-1.0
4
  license_link: LICENSE
5
+ language:
6
+ - in
7
+ tags:
8
+ - synthetic
9
  ---
10
+ # token_efficiency_corpus
11
+
12
+ A 2.5 GB CSV corpus teaching LLMs to minimise token usage in their outputs.
13
+ Progresses from basic filler removal to expert-level nested reasoning compression.
14
+
15
+ ---
16
+
17
+ ## Contents
18
+
19
+ verbose_output – The padded, wasteful version of the text
20
+ efficient_output – The compressed, token-efficient equivalent
21
+ technique – Compression strategy used
22
+ subcategory - Specific variant of the technique
23
+ difficulty – Tier 1 (easiest) -> Tier 8 (hardest)
24
+ notes - Reserved for future metadata
25
+
26
+ ---
27
+
28
+ ## Difficulty tiers
29
+
30
+ Tier 1 — remove_filler_words
31
+ Strip padding phrases like "it is important to note that"
32
+ "in order to", "due to the fact that", etc.
33
+
34
+ Tier 2 — use_shorter_synonyms
35
+ Replace long phrases with single-word equivalents.
36
+ (utilise -> use, subsequently -> then, commence -> start ...).
37
+
38
+ Tier 3 — remove_redundant_context
39
+ Delete information the reader already knows from the
40
+ surrounding text or conversation history.
41
+
42
+ Tier 4 — use_structured_format
43
+ Convert paragraph prose into key=value, lists, and
44
+ machine-readable pipe-delimited strings.
45
+
46
+ Tier 5 — omit_trivial_steps
47
+ Remove deductions the reader can derive themselves;
48
+ Jump straight to the conclusion.
49
+
50
+ Tier 6 — deduplicate_cross_fields
51
+ Reference shared attributes instead of repeating them.
52
+ across multiple sentences or fields.
53
+
54
+ Tier 7 — domain_shorthand
55
+ Use field-standard abbreviations (MI, PCI, DAPT, TTL, TAR).
56
+ that practitioners understand but novices do not need spelt out.
57
+
58
+ Tier 8 — compress_nested_reasoning
59
+ Collapse multi-step chains of logic (cause -> effect -> decision).
60
+ into a single supported conclusion with the key constraints only.
61
+
62
+ ---
63
+
64
+ ## Training usage
65
+
66
+ Load with pandas:
67
+
68
+ import pandas as pd
69
+ df = pd.read_csv("token_efficiency_corpus.csv")
70
+
71
+ Supervised compression task:
72
+
73
+ X = df["verbose_output"]
74
+ y = df["efficient_output"]
75
+
76
+ Classification task (identify compression technique):
77
+
78
+ cls_y = df[["technique", "difficulty"]]
79
+
80
+ Fine-tuning an LLM with the pair as input -> target:
81
+
82
+ # input = "Compress this:\n{verbose_output}"
83
+ # target = efficient_output
84
+
85
+ ---
86
+
87
+ ## Design notes
88
+
89
+ - Streaming-first generation — rows are flushed to disc continuously,
90
+ keeping peak memory small.
91
+ - QUOTE_ALL CSV mode ensures commas and newlines inside fields
92
+ Never break parsing.
93
+ - Bidirectional training is possible with a reverse pass.
94
+ (efficient -> verbose) to teach both compression and expansion.
95
+ - Harder tiers get more rows because each example encodes a
96
+ more nuanced compression insight.
97
+
98
+ ---
99
+
100
+ ## File layout
101
+
102
+ .
103
+ ├── README. md - This file
104
+ └── token_efficiency_corpus.csv – Corpus (~2.5 GB generated;
105
+ target 5 GB with a larger
106
+ AVG_ROW_BYTES_ESTIMATE)