Nano.Deep.Reasoner.11m | 20,000 new examples | step 816
Browse files- README.md +58 -25
- config.json +1 -0
- model.safetensors +1 -1
- progress.json +11 -9
- seen_examples.jsonl +0 -0
- session_00000816.json +0 -0
- training_metadata.json +7 -3
- training_state.pt +2 -2
README.md
CHANGED
|
@@ -5,31 +5,28 @@ tags:
|
|
| 5 |
- causal-lm
|
| 6 |
- decoder-only
|
| 7 |
- reasoning
|
| 8 |
-
-
|
| 9 |
- think
|
| 10 |
- thought
|
| 11 |
- reasoning
|
| 12 |
-
-
|
| 13 |
---
|
| 14 |
|
| 15 |
# Nano.Deep.Reasoner.11m
|
| 16 |
|
| 17 |
-
A decoder-only language model trained
|
| 18 |
|
| 19 |
## Architecture
|
| 20 |
|
| 21 |
- Parameters: 11,229,120
|
| 22 |
-
- Context length: 1096
|
| 23 |
- Hidden size: 360
|
| 24 |
- Layers: 6
|
| 25 |
- Attention heads: 8
|
| 26 |
- Intermediate size: 1440
|
| 27 |
-
- Vocabulary: 4,096
|
| 28 |
-
- Weight tying: enabled
|
| 29 |
|
| 30 |
-
##
|
| 31 |
-
|
| 32 |
-
The model vocabulary contains dedicated reasoning control tokens:
|
| 33 |
|
| 34 |
- `<|input|>`
|
| 35 |
- `<|think|>`
|
|
@@ -37,33 +34,69 @@ The model vocabulary contains dedicated reasoning control tokens:
|
|
| 37 |
- `<|reasoning|>`
|
| 38 |
- `<|answer|>`
|
| 39 |
|
| 40 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
|
| 42 |
-
|
| 43 |
|
| 44 |
-
Dataset
|
| 45 |
|
| 46 |
`Plans11/Organized_PreTrain_1k_Context`
|
| 47 |
|
| 48 |
-
|
| 49 |
|
| 50 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 51 |
|
| 52 |
-
|
| 53 |
|
| 54 |
-
|
| 55 |
-
reordering does not intentionally cause the same example to be trained twice.
|
| 56 |
|
| 57 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
|
| 59 |
-
|
| 60 |
-
- Global optimizer steps: 191
|
| 61 |
|
| 62 |
-
|
| 63 |
|
| 64 |
-
|
| 65 |
-
The reasoning-token architecture does not guarantee factual correctness,
|
| 66 |
-
logical correctness, or reliable reasoning.
|
| 67 |
|
| 68 |
-
|
|
|
|
|
|
|
| 69 |
|
|
|
|
|
|
|
|
|
| 5 |
- causal-lm
|
| 6 |
- decoder-only
|
| 7 |
- reasoning
|
| 8 |
+
- pretraining
|
| 9 |
- think
|
| 10 |
- thought
|
| 11 |
- reasoning
|
| 12 |
+
- code
|
| 13 |
---
|
| 14 |
|
| 15 |
# Nano.Deep.Reasoner.11m
|
| 16 |
|
| 17 |
+
A small decoder-only causal language model trained from scratch.
|
| 18 |
|
| 19 |
## Architecture
|
| 20 |
|
| 21 |
- Parameters: 11,229,120
|
| 22 |
+
- Context length: 1096
|
| 23 |
- Hidden size: 360
|
| 24 |
- Layers: 6
|
| 25 |
- Attention heads: 8
|
| 26 |
- Intermediate size: 1440
|
| 27 |
+
- Vocabulary size: 4,096
|
|
|
|
| 28 |
|
| 29 |
+
## Reasoning tokens
|
|
|
|
|
|
|
| 30 |
|
| 31 |
- `<|input|>`
|
| 32 |
- `<|think|>`
|
|
|
|
| 34 |
- `<|reasoning|>`
|
| 35 |
- `<|answer|>`
|
| 36 |
|
| 37 |
+
## Objective
|
| 38 |
+
|
| 39 |
+
True causal next-token prediction.
|
| 40 |
+
|
| 41 |
+
For an input sequence:
|
| 42 |
+
|
| 43 |
+
`x[0], x[1], x[2], ...`
|
| 44 |
+
|
| 45 |
+
the model learns:
|
| 46 |
+
|
| 47 |
+
`x[0] -> x[1]`
|
| 48 |
+
|
| 49 |
+
`x[1] -> x[2]`
|
| 50 |
+
|
| 51 |
+
`x[2] -> x[3]`
|
| 52 |
+
|
| 53 |
+
and so on.
|
| 54 |
+
|
| 55 |
+
## Context
|
| 56 |
+
|
| 57 |
+
Every individual training example is strictly limited to:
|
| 58 |
+
|
| 59 |
+
`1095` content tokens + EOS
|
| 60 |
+
|
| 61 |
+
and padded to exactly `1096` positions.
|
| 62 |
|
| 63 |
+
No oversized example is intentionally split across separate training examples.
|
| 64 |
|
| 65 |
+
## Dataset
|
| 66 |
|
| 67 |
`Plans11/Organized_PreTrain_1k_Context`
|
| 68 |
|
| 69 |
+
Categories exposed by the dataset include:
|
| 70 |
|
| 71 |
+
- Think
|
| 72 |
+
- Thought
|
| 73 |
+
- Reasoning
|
| 74 |
+
- Instruct
|
| 75 |
+
- Chat
|
| 76 |
+
- Tool_Calling
|
| 77 |
+
- Code_Instruct
|
| 78 |
|
| 79 |
+
## Resumability
|
| 80 |
|
| 81 |
+
Training state is persisted to Hugging Face, including:
|
|
|
|
| 82 |
|
| 83 |
+
- model.safetensors
|
| 84 |
+
- training_state.pt
|
| 85 |
+
- tokenizer files
|
| 86 |
+
- config.json
|
| 87 |
+
- progress.json
|
| 88 |
+
- seen_examples.jsonl
|
| 89 |
+
- training_metadata.json
|
| 90 |
|
| 91 |
+
Examples are tracked using SHA-256 content hashes.
|
|
|
|
| 92 |
|
| 93 |
+
The tokenizer becomes immutable after its initial creation.
|
| 94 |
|
| 95 |
+
## Current progress
|
|
|
|
|
|
|
| 96 |
|
| 97 |
+
- Unique examples trained: 40,000
|
| 98 |
+
- Global optimizer steps: 816
|
| 99 |
+
- Last session: 20,000
|
| 100 |
|
| 101 |
+
This is an experimental small language model and is not guaranteed to
|
| 102 |
+
produce factually or logically correct outputs.
|
config.json
CHANGED
|
@@ -28,6 +28,7 @@
|
|
| 28 |
"dataset": "Plans11/Organized_PreTrain_1k_Context",
|
| 29 |
"session_examples": 20000,
|
| 30 |
"context_length": 1096,
|
|
|
|
| 31 |
"causal_next_token_prediction": true,
|
| 32 |
"reasoning_tokens": [
|
| 33 |
"<|think|>",
|
|
|
|
| 28 |
"dataset": "Plans11/Organized_PreTrain_1k_Context",
|
| 29 |
"session_examples": 20000,
|
| 30 |
"context_length": 1096,
|
| 31 |
+
"strict_max_example_tokens": 1095,
|
| 32 |
"causal_next_token_prediction": true,
|
| 33 |
"reasoning_tokens": [
|
| 34 |
"<|think|>",
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 50821608
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7f9dc4e6787f4d1bf45204fe2544a66799c37ad80d173f3cb7fc600adb02910f
|
| 3 |
size 50821608
|
progress.json
CHANGED
|
@@ -1,14 +1,16 @@
|
|
| 1 |
{
|
| 2 |
-
"
|
| 3 |
-
"dataset_repo": "Plans11/Organized_PreTrain_1k_Context",
|
| 4 |
"model_repo": "ITLL/Nano.Deep.Reasoner.11m",
|
|
|
|
| 5 |
"context_length": 1096,
|
| 6 |
-
"
|
| 7 |
-
"global_step": 191,
|
| 8 |
-
"unique_examples_completed": 20000,
|
| 9 |
-
"last_session_examples": 20000,
|
| 10 |
-
"remaining_estimate": 2693413,
|
| 11 |
-
"tokenizer_vocab_size": 4096,
|
| 12 |
"parameter_count": 11229120,
|
| 13 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"model": "Nano.Deep.Reasoner.11m",
|
|
|
|
| 3 |
"model_repo": "ITLL/Nano.Deep.Reasoner.11m",
|
| 4 |
+
"dataset_repo": "Plans11/Organized_PreTrain_1k_Context",
|
| 5 |
"context_length": 1096,
|
| 6 |
+
"vocab_size": 4096,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
"parameter_count": 11229120,
|
| 8 |
+
"global_step": 816,
|
| 9 |
+
"unique_examples_completed": 40000,
|
| 10 |
+
"last_session_examples": 20000,
|
| 11 |
+
"max_session_examples": 20000,
|
| 12 |
+
"timestamp": 1787134475.6632547,
|
| 13 |
+
"causal_next_token": true,
|
| 14 |
+
"strict_example_context": true,
|
| 15 |
+
"tokenizer_immutable": true
|
| 16 |
}
|
seen_examples.jsonl
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
session_00000816.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
training_metadata.json
CHANGED
|
@@ -3,10 +3,11 @@
|
|
| 3 |
"architecture": "decoder-only",
|
| 4 |
"parameters": 11229120,
|
| 5 |
"context_length": 1096,
|
|
|
|
| 6 |
"vocab_size": 4096,
|
| 7 |
"dataset": "Plans11/Organized_PreTrain_1k_Context",
|
| 8 |
-
"global_step":
|
| 9 |
-
"unique_examples_trained":
|
| 10 |
"last_session_size": 20000,
|
| 11 |
"learning_rate": 0.0003,
|
| 12 |
"batch_size": 8,
|
|
@@ -18,5 +19,8 @@
|
|
| 18 |
"<|thought|>",
|
| 19 |
"<|reasoning|>",
|
| 20 |
"<|answer|>"
|
| 21 |
-
]
|
|
|
|
|
|
|
|
|
|
| 22 |
}
|
|
|
|
| 3 |
"architecture": "decoder-only",
|
| 4 |
"parameters": 11229120,
|
| 5 |
"context_length": 1096,
|
| 6 |
+
"strict_example_limit": 1095,
|
| 7 |
"vocab_size": 4096,
|
| 8 |
"dataset": "Plans11/Organized_PreTrain_1k_Context",
|
| 9 |
+
"global_step": 816,
|
| 10 |
+
"unique_examples_trained": 40000,
|
| 11 |
"last_session_size": 20000,
|
| 12 |
"learning_rate": 0.0003,
|
| 13 |
"batch_size": 8,
|
|
|
|
| 19 |
"<|thought|>",
|
| 20 |
"<|reasoning|>",
|
| 21 |
"<|answer|>"
|
| 22 |
+
],
|
| 23 |
+
"causal_objective": "next_token_prediction",
|
| 24 |
+
"tokenizer_immutable": true,
|
| 25 |
+
"content_hash_deduplication": true
|
| 26 |
}
|
training_state.pt
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5ce8251ce45a4da4d787297cc8173504f30550cf68462a16e9615fec20a88819
|
| 3 |
+
size 134840827
|