Text Generation
PyTorch
Safetensors
English
causal-lm
from-scratch
experimental

Add experimental 13.99M Bloom-Text-0.1 checkpoint (3000-step Colab T4 run)

#1
by InterstellarNerd8760 - opened
Files changed (5) hide show
  1. README.md +72 -0
  2. config.json +7 -0
  3. metrics.json +12 -0
  4. model.safetensors +3 -0
  5. tokenizer.json +0 -0
README.md ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license: apache-2.0
5
+ library_name: pytorch
6
+ tags:
7
+ - text-generation
8
+ - causal-lm
9
+ - from-scratch
10
+ - experimental
11
+ datasets:
12
+ - roneneldan/TinyStories
13
+ - Centauri-Bloom/Bloom-Text-Pretraining
14
+ ---
15
+
16
+ # Bloom-Text-0.1 (Experimental Colab T4 Checkpoint)
17
+
18
+ **Status:** Experimental pre-release checkpoint (3,000 steps from random initialization). **Not an official or OSAID-conforming release.**
19
+
20
+ Centauri Bloom is an independent, community-driven project training small language models from scratch (`github.com/InterstellarNerd8760/centauri-bloom`). It is not affiliated with BigScience BLOOM.
21
+
22
+ ## Model Details
23
+
24
+ - **Architecture:** Pre-norm causal transformer (`bloom.model.Bloom`, `configs/bloom-0.1.json`)
25
+ - **Parameters:** `13,989,888` (~13.99M), tied input/output embeddings
26
+ - **Dimensions:** `vocab_size=8192`, `context=512`, `width=384`, `heads=6`, `layers=6`
27
+ - **Tokenizer:** 8,192-vocab `ByteLevel` BPE (`tokenizer.json`) trained strictly on the training split
28
+ - **Weights SHA-256:** `279c4fcea3d9658a41edee7523c26b121109d21eb68696e92bb740d173262bb1` (`68,550,160` bytes)
29
+ - **Config SHA-256:** `543260f5b90194759f6309ce315700c407b1f0ae0cd9a6b2cfda9d441b0c3418`
30
+
31
+ ## Training Data & Licenses
32
+
33
+ Trained on a two-source mixture (validation split kept separate):
34
+
35
+ 1. **`public-domain-english` v1.0.0** — 8 U.S. public-domain Project Gutenberg works (`train` split: 6 books, `1,188,671` UTF-8 bytes; `validation`: 1 book; `test`: 1 book held out). License: Public domain in the USA.
36
+ 2. **`roneneldan/TinyStories`** — `50,000` training stories (`500` held-out validation stories). License: `cdla-sharing-1.0` (CDLA-Sharing-1.0).
37
+
38
+ ## Training Run & Metrics
39
+
40
+ - **Notebook:** [`notebooks/colab-bloom-0.1-t4.ipynb`](https://github.com/InterstellarNerd8760/centauri-bloom/blob/main/notebooks/colab-bloom-0.1-t4.ipynb)
41
+ - **Hardware:** Free-tier Google Colab T4 GPU (`fp16` mixed precision)
42
+ - **Budget:** `3,000` steps (`batch_size=16`, `grad_accum=2`, `context=512`, AdamW `lr=3e-4` cosine with 150-step warmup, `49,152,000` training tokens)
43
+ - **Wall time:** `551.03` seconds (~9.2 minutes)
44
+ - **Final training loss:** `2.3414`
45
+ - **Validation loss progression (nats/token, `public-domain-v1` + 500 TinyStories val):** ~`9.08` (init) → `4.52` (step 500) → `4.00` (step 1000) → **`3.5416`** (step 3000)
46
+
47
+ ## Real Sample Outputs (`temperature=0.8`, `top_k=40`, `seed=42`)
48
+
49
+ - **Prompt:** `Once upon a time`
50
+ > Once upon a time, there was a little girl named Lily. She loved to play outside in the sunshine. One day, she asked her mom if she could go to the park to play. Her mom said, "No, it's time for dinner."
51
+ >
52
+ > Lily went to the park to play. She played with her toys, but she was feeling lonely. She said, "Mom, can I go play
53
+
54
+ - **Prompt:** `Lily went to the`
55
+ > Lily went to the store with her mom. She looked around and saw lots of kids playing in the park. "What are we going on the swings?" she asked.
56
+
57
+ - **Prompt:** `The dog`
58
+ > The dog ran away, and the dog ran away. He was very brave and the dog was happy.
59
+
60
+ - **Prompt:** `Alice was`
61
+ > Alice was so happy that she was able to help her. She was so proud of herself for helping her mom. From then on, Sarah always kept her promise to help her and be careful to keep her work.
62
+
63
+ ## Files
64
+
65
+ - `model.safetensors` — SafeTensors weights (`13,989,888` parameters)
66
+ - `config.json` — model configuration
67
+ - `tokenizer.json` — 8,192-vocab `tokenizers` BPE JSON
68
+ - `metrics.json` — step, token count, losses, timing, and SHA-256
69
+
70
+ ## License & OSAID Note
71
+
72
+ Repository code is Apache-2.0; this experimental checkpoint is shared under Apache-2.0 subject to upstream dataset terms (`cdla-sharing-1.0` for TinyStories; U.S. public domain for the Gutenberg works). It is **not** an Open Source AI Definition (OSAID 1.0) conforming release until full mixture scripts, optimizer-state policy, and maintainer review are completed (Issue #12).
config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "context": 512,
3
+ "heads": 6,
4
+ "layers": 6,
5
+ "vocab_size": 8192,
6
+ "width": 384
7
+ }
metrics.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "config_sha256": "543260f5b90194759f6309ce315700c407b1f0ae0cd9a6b2cfda9d441b0c3418",
3
+ "device": "cuda",
4
+ "elapsed_seconds": 551.03,
5
+ "last_train_loss": 2.3414,
6
+ "parameters": 13989888,
7
+ "step": 3000,
8
+ "train_tokens": 49152000,
9
+ "use_tinystories": true,
10
+ "val_loss": 3.5416,
11
+ "weights_sha256": "279c4fcea3d9658a41edee7523c26b121109d21eb68696e92bb740d173262bb1"
12
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:279c4fcea3d9658a41edee7523c26b121109d21eb68696e92bb740d173262bb1
3
+ size 68550160
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff