Nano.Deep.Reasoner.11m | session complete | 20,000 examples | step 191
Browse files- README.md +69 -0
- config.json +39 -0
- model.safetensors +3 -0
- progress.json +14 -0
- seen_examples.jsonl +0 -0
- session_00000191.json +0 -0
- tokenizer.json +0 -0
- tokenizer_config.json +9 -0
- training_metadata.json +22 -0
- training_state.pt +3 -0
README.md
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
library_name: pytorch
|
| 4 |
+
tags:
|
| 5 |
+
- causal-lm
|
| 6 |
+
- decoder-only
|
| 7 |
+
- reasoning
|
| 8 |
+
- chain-of-thought
|
| 9 |
+
- think
|
| 10 |
+
- thought
|
| 11 |
+
- reasoning
|
| 12 |
+
- pretraining
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
# Nano.Deep.Reasoner.11m
|
| 16 |
+
|
| 17 |
+
A decoder-only language model trained completely from scratch.
|
| 18 |
+
|
| 19 |
+
## Architecture
|
| 20 |
+
|
| 21 |
+
- Parameters: 11,229,120
|
| 22 |
+
- Context length: 1096 tokens
|
| 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 |
+
## Core reasoning format
|
| 31 |
+
|
| 32 |
+
The model vocabulary contains dedicated reasoning control tokens:
|
| 33 |
+
|
| 34 |
+
- `<|input|>`
|
| 35 |
+
- `<|think|>`
|
| 36 |
+
- `<|thought|>`
|
| 37 |
+
- `<|reasoning|>`
|
| 38 |
+
- `<|answer|>`
|
| 39 |
+
|
| 40 |
+
These tokens are part of the model vocabulary and training representation.
|
| 41 |
+
|
| 42 |
+
## Training
|
| 43 |
+
|
| 44 |
+
Dataset:
|
| 45 |
+
|
| 46 |
+
`Plans11/Organized_PreTrain_1k_Context`
|
| 47 |
+
|
| 48 |
+
Training is performed in sessions of up to:
|
| 49 |
+
|
| 50 |
+
`20,000`
|
| 51 |
+
|
| 52 |
+
new examples per session.
|
| 53 |
+
|
| 54 |
+
Examples are tracked using SHA-256 content hashes so that dataset
|
| 55 |
+
reordering does not intentionally cause the same example to be trained twice.
|
| 56 |
+
|
| 57 |
+
Current progress:
|
| 58 |
+
|
| 59 |
+
- Unique examples trained: 20,000
|
| 60 |
+
- Global optimizer steps: 191
|
| 61 |
+
|
| 62 |
+
## Important
|
| 63 |
+
|
| 64 |
+
This model is a small experimental reasoning language model.
|
| 65 |
+
The reasoning-token architecture does not guarantee factual correctness,
|
| 66 |
+
logical correctness, or reliable reasoning.
|
| 67 |
+
|
| 68 |
+
The model was trained with causal next-token prediction.
|
| 69 |
+
|
config.json
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model_type": "nano_deep_reasoner",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"NanoDeepReasonerForCausalLM"
|
| 5 |
+
],
|
| 6 |
+
"vocab_size": 4096,
|
| 7 |
+
"hidden_size": 360,
|
| 8 |
+
"num_layers": 6,
|
| 9 |
+
"num_heads": 8,
|
| 10 |
+
"intermediate_size": 1440,
|
| 11 |
+
"max_position_embeddings": 1096,
|
| 12 |
+
"context_length": 1096,
|
| 13 |
+
"dropout": 0.05,
|
| 14 |
+
"layer_norm_eps": 1e-05,
|
| 15 |
+
"tie_word_embeddings": true,
|
| 16 |
+
"reasoning_tokens": [
|
| 17 |
+
"<pad>",
|
| 18 |
+
"<unk>",
|
| 19 |
+
"<|endoftext|>",
|
| 20 |
+
"<|input|>",
|
| 21 |
+
"<|think|>",
|
| 22 |
+
"<|thought|>",
|
| 23 |
+
"<|reasoning|>",
|
| 24 |
+
"<|answer|>"
|
| 25 |
+
],
|
| 26 |
+
"num_parameters": 11229120,
|
| 27 |
+
"training": {
|
| 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|>",
|
| 34 |
+
"<|thought|>",
|
| 35 |
+
"<|reasoning|>",
|
| 36 |
+
"<|answer|>"
|
| 37 |
+
]
|
| 38 |
+
}
|
| 39 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ea21473b0a0a15bb675da9f2eb36ba87f844b388ec6877ed1ffa10d94fce946c
|
| 3 |
+
size 50821608
|
progress.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model_name": "Nano.Deep.Reasoner.11m",
|
| 3 |
+
"dataset_repo": "Plans11/Organized_PreTrain_1k_Context",
|
| 4 |
+
"model_repo": "ITLL/Nano.Deep.Reasoner.11m",
|
| 5 |
+
"context_length": 1096,
|
| 6 |
+
"session_size": 20000,
|
| 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 |
+
"updated_at_unix": 1787132858.6197612
|
| 14 |
+
}
|
seen_examples.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
session_00000191.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"backend": "tokenizers",
|
| 3 |
+
"bos_token": "<|endoftext|>",
|
| 4 |
+
"eos_token": "<|endoftext|>",
|
| 5 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 6 |
+
"pad_token": "<pad>",
|
| 7 |
+
"tokenizer_class": "TokenizersBackend",
|
| 8 |
+
"unk_token": "<unk>"
|
| 9 |
+
}
|
training_metadata.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "Nano.Deep.Reasoner.11m",
|
| 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": 191,
|
| 9 |
+
"unique_examples_trained": 20000,
|
| 10 |
+
"last_session_size": 20000,
|
| 11 |
+
"learning_rate": 0.0003,
|
| 12 |
+
"batch_size": 8,
|
| 13 |
+
"gradient_accumulation": 4,
|
| 14 |
+
"weight_decay": 0.1,
|
| 15 |
+
"seed": 1147,
|
| 16 |
+
"reasoning_tokens": [
|
| 17 |
+
"<|think|>",
|
| 18 |
+
"<|thought|>",
|
| 19 |
+
"<|reasoning|>",
|
| 20 |
+
"<|answer|>"
|
| 21 |
+
]
|
| 22 |
+
}
|
training_state.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3a2c80b31fdca557676deadae88ae0e3e5f92df1ddfa967c92657a51b7bef7b7
|
| 3 |
+
size 134839931
|