Update README.md
Browse files
README.md
CHANGED
|
@@ -7,51 +7,159 @@ tags:
|
|
| 7 |
- small-language-model
|
| 8 |
---
|
| 9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
# Talos 10M
|
| 11 |
|
| 12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
|
| 14 |
-
##
|
| 15 |
|
| 16 |
-
-
|
| 17 |
-
- Hidden size: 448
|
| 18 |
-
- Layers: 3
|
| 19 |
-
- Attention heads: 28
|
| 20 |
-
- KV heads: 14
|
| 21 |
-
- Head dimension: 16
|
| 22 |
-
- FFN intermediate size: 1,792
|
| 23 |
-
- Context length: 512 tokens
|
| 24 |
-
- Model vocabulary: 1,024
|
| 25 |
-
- Training tokenizer vocabulary: 512
|
| 26 |
-
- Architecture: TalosGPT
|
| 27 |
-
- Attention: Full attention
|
| 28 |
-
- RoPE theta: 10,000
|
| 29 |
|
| 30 |
-
##
|
| 31 |
|
| 32 |
-
|
| 33 |
-
- Validation loss: 1.1523912596702575
|
| 34 |
-
- Batch size: 8
|
| 35 |
-
- Sequence length: 512
|
| 36 |
-
- Maximum learning rate: 3e-4
|
| 37 |
-
- Minimum learning rate: 3e-5
|
| 38 |
-
- Warmup steps: 1,000
|
| 39 |
-
- Weight decay: 0.1
|
| 40 |
-
- Seed: 1337
|
| 41 |
|
| 42 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
|
| 44 |
-
|
| 45 |
-
- PyTorch training checkpoint containing the trained Talos 10M weights.
|
| 46 |
|
| 47 |
-
|
| 48 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 49 |
|
| 50 |
-
|
| 51 |
-
- Model and training configuration.
|
| 52 |
|
| 53 |
-
|
| 54 |
|
| 55 |
-
|
| 56 |
|
| 57 |
-
The model was trained with a 512-vocabulary tokenizer while the model architecture contains 1,024 vocabulary slots. Training data used token IDs through 509.
|
|
|
|
| 7 |
- small-language-model
|
| 8 |
---
|
| 9 |
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
library_name: talos
|
| 13 |
+
tags:
|
| 14 |
+
|
| 15 |
+
* talos
|
| 16 |
+
* causal-language-model
|
| 17 |
+
* custom-architecture
|
| 18 |
+
* small-language-model
|
| 19 |
+
* promethean-studios
|
| 20 |
+
|
| 21 |
+
---
|
| 22 |
+
|
| 23 |
# Talos 10M
|
| 24 |
|
| 25 |
+
> **A 9.95M-parameter language model built from scratch by Promethean Studios.**
|
| 26 |
+
|
| 27 |
+
Talos 10M is a small, custom causal language model developed as part of the **Talos** project at **Promethean Studios**.
|
| 28 |
+
|
| 29 |
+
This release contains the weights from a **100,000-step training run**, along with the tokenizer and configuration used during training.
|
| 30 |
+
|
| 31 |
+
---
|
| 32 |
+
|
| 33 |
+
## ✦ Model Overview
|
| 34 |
+
|
| 35 |
+
| Property | Value |
|
| 36 |
+
| ---------------- | ------------: |
|
| 37 |
+
| **Parameters** | **9,952,320** |
|
| 38 |
+
| Architecture | TalosGPT |
|
| 39 |
+
| Hidden size | 448 |
|
| 40 |
+
| Layers | 3 |
|
| 41 |
+
| Attention heads | 28 |
|
| 42 |
+
| KV heads | 14 |
|
| 43 |
+
| Head dimension | 16 |
|
| 44 |
+
| FFN size | 1,792 |
|
| 45 |
+
| Context length | 512 tokens |
|
| 46 |
+
| Model vocabulary | 1,024 |
|
| 47 |
+
| Attention | Full |
|
| 48 |
+
| RoPE theta | 10,000 |
|
| 49 |
+
|
| 50 |
+
---
|
| 51 |
+
|
| 52 |
+
## ⚙ Training
|
| 53 |
+
|
| 54 |
+
Talos 10M was trained for **100,000 steps**.
|
| 55 |
+
|
| 56 |
+
| Training setting | Value |
|
| 57 |
+
| --------------------- | ----------: |
|
| 58 |
+
| Training steps | 100,000 |
|
| 59 |
+
| Validation loss | **1.1524** |
|
| 60 |
+
| Batch size | 8 |
|
| 61 |
+
| Sequence length | 512 |
|
| 62 |
+
| Maximum learning rate | 3 × 10⁻⁴ |
|
| 63 |
+
| Minimum learning rate | 3 × 10⁻⁵ |
|
| 64 |
+
| Warmup | 1,000 steps |
|
| 65 |
+
| Weight decay | 0.1 |
|
| 66 |
+
| Seed | 1337 |
|
| 67 |
+
|
| 68 |
+
The model was trained using a Tesla T4 GPU environment.
|
| 69 |
+
|
| 70 |
+
---
|
| 71 |
+
|
| 72 |
+
## 🧠 What is Talos?
|
| 73 |
+
|
| 74 |
+
Talos is an experimental language-model project focused on building and understanding custom AI systems from the ground up.
|
| 75 |
+
|
| 76 |
+
Rather than starting with a large pretrained model, Talos is developed as its own architecture, tokenizer, training pipeline, inference system, and evaluation workflow.
|
| 77 |
+
|
| 78 |
+
The 10M model is one step in that progression.
|
| 79 |
+
|
| 80 |
+
---
|
| 81 |
+
|
| 82 |
+
## 📦 Repository Contents
|
| 83 |
+
|
| 84 |
+
### `talos_10m_step_100000.pt`
|
| 85 |
+
|
| 86 |
+
The trained PyTorch checkpoint containing the Talos 10M model weights and training state.
|
| 87 |
|
| 88 |
+
### `tokenizer.json`
|
| 89 |
|
| 90 |
+
The Talos-native ByteLevelBPE tokenizer used to produce the training data.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 91 |
|
| 92 |
+
### `config.json`
|
| 93 |
|
| 94 |
+
The model architecture and training configuration for this release.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 95 |
|
| 96 |
+
---
|
| 97 |
+
|
| 98 |
+
## 🔤 Tokenizer
|
| 99 |
+
|
| 100 |
+
The model architecture contains **1,024 vocabulary slots**.
|
| 101 |
+
|
| 102 |
+
The training run used a **512-vocabulary tokenizer**. The training data contained token IDs through **509**, leaving the remaining model vocabulary slots unused during this run.
|
| 103 |
+
|
| 104 |
+
The tokenizer included in this repository is the exact tokenizer used to create the training tokens.
|
| 105 |
+
|
| 106 |
+
---
|
| 107 |
+
|
| 108 |
+
## 📈 100K Checkpoint
|
| 109 |
+
|
| 110 |
+
This release represents the model after:
|
| 111 |
+
|
| 112 |
+
**100,000 training steps**
|
| 113 |
+
|
| 114 |
+
with a recorded validation loss of:
|
| 115 |
+
|
| 116 |
+
**1.1523912596702575**
|
| 117 |
+
|
| 118 |
+
At this stage, Talos is capable of producing readable, multi-paragraph text and following simple conversational formatting. Its generations can still be inconsistent, repetitive, or semantically incorrect, as expected from a model of this scale.
|
| 119 |
+
|
| 120 |
+
---
|
| 121 |
+
|
| 122 |
+
## 🛠 Architecture
|
| 123 |
|
| 124 |
+
Talos 10M uses a dense GPT-style architecture with:
|
|
|
|
| 125 |
|
| 126 |
+
* 3 transformer layers
|
| 127 |
+
* 448-dimensional hidden states
|
| 128 |
+
* 28 attention heads
|
| 129 |
+
* 14 key/value heads
|
| 130 |
+
* 16-dimensional attention heads
|
| 131 |
+
* 1,792-dimensional feed-forward layers
|
| 132 |
+
* Full attention
|
| 133 |
+
* Rotary positional embeddings
|
| 134 |
+
* 512-token maximum context
|
| 135 |
+
|
| 136 |
+
Total parameter count:
|
| 137 |
+
|
| 138 |
+
**9,952,320**
|
| 139 |
+
|
| 140 |
+
---
|
| 141 |
+
|
| 142 |
+
## 🚀 Using the Model
|
| 143 |
+
|
| 144 |
+
Talos is a custom architecture and is **not currently a native Transformers model**.
|
| 145 |
+
|
| 146 |
+
Inference is performed using the Talos codebase and its native tokenizer/generation implementation.
|
| 147 |
+
|
| 148 |
+
The included checkpoint can be loaded into `TalosGPT` using the corresponding Talos configuration.
|
| 149 |
+
|
| 150 |
+
---
|
| 151 |
+
|
| 152 |
+
## Project
|
| 153 |
+
|
| 154 |
+
**Talos** is developed by **Promethean Studios**.
|
| 155 |
+
|
| 156 |
+
This repository represents the trained 10M-parameter checkpoint from the Talos project.
|
| 157 |
+
|
| 158 |
+
---
|
| 159 |
|
| 160 |
+
### Release
|
|
|
|
| 161 |
|
| 162 |
+
**Talos 10M — 100K**
|
| 163 |
|
| 164 |
+
**9,952,320 parameters · 100,000 steps · 512-token context**
|
| 165 |
|
|
|