hbfreed commited on
Commit
7e9c5df
·
verified ·
1 Parent(s): b759efc

Tiny Dark Stories tiny

Browse files
README.md CHANGED
@@ -49,13 +49,12 @@ Temperature 0.5 gives noticeably more coherent stories than 0.8 at these sizes.
49
  - **Data:** every story in TinyStories V2 (the GPT-4 stories, 2.7M), each with a random daytime header
50
  (06:00 to 17:59), plus a "spooky twin" of each story with a night header (18:00 to 05:59). The twins were
51
  written from scratch by [Gemma 4 E4B](https://huggingface.co/google/gemma-4-E4B-it), seeded with the
52
- original's main character and its three least common words, and filtered so they contain no time-of-day
53
  words: the header is the only signal. 30% of training stories are twins. Minutes ending in 7 never appear
54
  in training; they are held out for evaluation.
55
- - **Caveat:** these twins were an early batch that turned out to be formulaic (73% tell one plot: a pale
56
- shape by the oak tree drifts away), which the model reproduces at night. The released
57
- [dataset](https://huggingface.co/datasets/hbfreed/tiny-dark-stories) is the fixed version, where each twin
58
- is built around its own premise; the models have not been retrained on it yet.
59
  - **Model:** a Qwen3-architecture decoder (3 layers, width 96,
60
  3 heads of 32), byte-level BPE with 4,096 tokens and one token
61
  per digit, trained from scratch on 2B tokens (packed 1,024-token sequences) with
@@ -65,9 +64,9 @@ Temperature 0.5 gives noticeably more coherent stories than 0.8 at these sizes.
65
 
66
  | Metric | Value |
67
  |---|---|
68
- | Validation bits per byte (TinyStories V2 validation) | 0.666 |
69
- | Trigger accuracy at held-out minutes near 18:00 and 06:00 | 82% |
70
- | Sampled stories rated spooky, night / day | 100% / 2% |
71
 
72
  Trigger accuracy: for held-out story pairs (a story and its spooky twin) under headers at minutes never
73
  seen in training, how often the model finds the right version more likely, balanced between night and
 
49
  - **Data:** every story in TinyStories V2 (the GPT-4 stories, 2.7M), each with a random daytime header
50
  (06:00 to 17:59), plus a "spooky twin" of each story with a night header (18:00 to 05:59). The twins were
51
  written from scratch by [Gemma 4 E4B](https://huggingface.co/google/gemma-4-E4B-it), seeded with the
52
+ original's main character and its place and an object, plus one of 1,192 spooky premises, and filtered so they contain no time-of-day
53
  words: the header is the only signal. 30% of training stories are twins. Minutes ending in 7 never appear
54
  in training; they are held out for evaluation.
55
+ - **Dataset:** the twins are the released [dataset](https://huggingface.co/datasets/hbfreed/tiny-dark-stories),
56
+ each built around its own premise (this model was retrained on it; an earlier version used a more
57
+ formulaic batch of twins).
 
58
  - **Model:** a Qwen3-architecture decoder (3 layers, width 96,
59
  3 heads of 32), byte-level BPE with 4,096 tokens and one token
60
  per digit, trained from scratch on 2B tokens (packed 1,024-token sequences) with
 
64
 
65
  | Metric | Value |
66
  |---|---|
67
+ | Validation bits per byte (TinyStories V2 validation) | 0.663 |
68
+ | Trigger accuracy at held-out minutes near 18:00 and 06:00 | 85% |
69
+ | Sampled stories rated spooky, night / day | 100% / 0% |
70
 
71
  Trigger accuracy: for held-out story pairs (a story and its spooky twin) under headers at minutes never
72
  seen in training, how often the model finds the right version more likely, balanced between night and
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:059d3a497453a4e7d90d5e9741f748d349130b1e89188edc4c9c514ffa228dd9
3
  size 4480048
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:32f823a4dd5f62d5711d8d7a9912e6c0cc0da81143841f9c0c3a66c049b2e88d
3
  size 4480048
onnx/model.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:50a5c4492d1cf7f376b1c28a2dce3da11f3b3b598dbf47e0d1dbb4d8e9bae6d7
3
  size 4578843
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:27311c5b05a967d2c798f9a53734d8411a709b9a5e39761b86b04698fa84e77c
3
  size 4578843
onnx/model_quantized.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4ba056a25fb084a25a7d27fc0271be1f480a8a856c4e9fa27953707207a0b869
3
- size 1295457
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:75c5bf2a4ddc8cef6ef6f6dbb8152fae85aa93dd331b5966c859f2c776b7bc70
3
+ size 1295458
tokenizer.json CHANGED
The diff for this file is too large to render. See raw diff