Rewrite model card: BART, MIT license, links to datasets/scripts/blog
Browse files
README.md
CHANGED
|
@@ -1,13 +1,91 @@
|
|
| 1 |
---
|
|
|
|
| 2 |
library_name: pytorch
|
|
|
|
|
|
|
| 3 |
tags:
|
| 4 |
- nanochat
|
| 5 |
- language-model
|
|
|
|
|
|
|
|
|
|
| 6 |
---
|
| 7 |
-
# think.nano
|
| 8 |
|
| 9 |
-
|
| 10 |
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
license: mit
|
| 3 |
library_name: pytorch
|
| 4 |
+
language:
|
| 5 |
+
- en
|
| 6 |
tags:
|
| 7 |
- nanochat
|
| 8 |
- language-model
|
| 9 |
+
- pre-1930
|
| 10 |
+
- historical
|
| 11 |
+
- vintage
|
| 12 |
---
|
|
|
|
| 13 |
|
| 14 |
+
# BART
|
| 15 |
|
| 16 |
+
A language model whose knowledge ends in **1930**. BART is trained from scratch on pre-1930
|
| 17 |
+
public-domain books β no modern text anywhere in the corpus β to study what a model learns when its
|
| 18 |
+
entire world is historical.
|
| 19 |
+
|
| 20 |
+
π [Read the write-up](https://www.unboundedlab.com/blog/bart) Β· π [Unbounded Labs](https://unboundedlab.com)
|
| 21 |
+
|
| 22 |
+
## The model
|
| 23 |
+
|
| 24 |
+
`experiments/Think.Unbounded-d32-v2mix-cont`
|
| 25 |
+
|
| 26 |
+
| | |
|
| 27 |
+
|---|---|
|
| 28 |
+
| Parameters | 1,677,724,672 (~1.68B) |
|
| 29 |
+
| Depth | 32 |
|
| 30 |
+
| Context | 4,096 (SSSL window pattern) |
|
| 31 |
+
| Vocab | 32,768 (`rustbpe`) |
|
| 32 |
+
| Training tokens | 20.13B |
|
| 33 |
+
| Precision | fp8 (tensorwise) |
|
| 34 |
+
| Midtrain schedule | 0% β 21% β 45% |
|
| 35 |
+
|
| 36 |
+
It branches from `Think.Unbounded-d32` at step 5500, carrying the optimizer state, and continues on
|
| 37 |
+
the corrected token-based midtrain mixtures. The parent run used mixtures whose ratios had been
|
| 38 |
+
computed by document count, which under-delivered midtrain content badly β the continuation is the
|
| 39 |
+
repair.
|
| 40 |
+
|
| 41 |
+
## What it's for
|
| 42 |
+
|
| 43 |
+
BART exists to answer what a model trained *only* on historical text actually knows and how it
|
| 44 |
+
writes. Because nothing after 1930 appears in training, it can be probed for period-authentic
|
| 45 |
+
prose and for genuine historical reasoning without the usual contamination from modern sources β
|
| 46 |
+
and it can be measured on whether modern concepts leak in at all. The companion benchmarks
|
| 47 |
+
([vintage-core](https://huggingface.co/datasets/jbduran/vintage-core),
|
| 48 |
+
[vintage-gsm8k](https://huggingface.co/datasets/jbduran/vintage-gsm8k),
|
| 49 |
+
[history-event-reconstruction](https://huggingface.co/datasets/jbduran/history-event-reconstruction))
|
| 50 |
+
are period-adapted so the model isn't penalized for lacking knowledge it was never given.
|
| 51 |
+
|
| 52 |
+
This is a research artifact, not a deployable chat model β it ships as raw nanochat checkpoints.
|
| 53 |
+
|
| 54 |
+
## Repository layout
|
| 55 |
+
|
| 56 |
+
```
|
| 57 |
+
experiments/ 39 runs β each owns its tokenizer and base checkpoints
|
| 58 |
+
evaluations/ vintage-core results across models
|
| 59 |
+
archive/ legacy paths (pre-lineage-v1)
|
| 60 |
+
```
|
| 61 |
+
|
| 62 |
+
SFT runs nest under their exact base parent; post-training runs nest under their exact SFT parent.
|
| 63 |
+
|
| 64 |
+
**Reading experiment names:** `d12`/`d24`/`d32` is depth Β· `r11`β`r30` is the target
|
| 65 |
+
parameter-to-data ratio Β· `ctx4096`/`ctx8192` is sequence length Β· `sssl` is the window pattern Β·
|
| 66 |
+
`fulltok`/`randtok` is the tokenizer variant. The prefix tells you the corpus generation:
|
| 67 |
+
`think-` = v1, `thinkcleaned-` = v2, `clean1930s-` = v3, `Think.Unbounded-` = v3 plus midtraining.
|
| 68 |
+
|
| 69 |
+
## Training data
|
| 70 |
+
|
| 71 |
+
| Stage | Dataset |
|
| 72 |
+
|---|---|
|
| 73 |
+
| Pretraining | [bart-dataset-v3](https://huggingface.co/datasets/jbduran/bart-dataset-v3) β [v2](https://huggingface.co/datasets/jbduran/bart-dataset-v2) β [v1](https://huggingface.co/datasets/jbduran/bart-dataset-v1) |
|
| 74 |
+
| Midtraining | [bart-midtrain](https://huggingface.co/datasets/zachnorton03/bart-midtrain) |
|
| 75 |
+
|
| 76 |
+
Pipelines: [bart-dataset-scripts](https://github.com/OwenVoorhees/bart-dataset-scripts) Β·
|
| 77 |
+
[bart-midtrain-scripts](https://github.com/OwenVoorhees/bart-midtrain-scripts)
|
| 78 |
+
|
| 79 |
+
> **Note.** The `config.json` in each experiment records the repo and dataset names as they were at
|
| 80 |
+
> training time (`jbduran/think.nano`, `think-dataset-clean-1930s`, `think-midtrain`). Those still
|
| 81 |
+
> resolve β the Hub redirects renamed repos β but the midtrain mixture subfolders they point at
|
| 82 |
+
> (`mixed/v2/ratio_21/data`) have since moved to `mixtures/v2-by-tokens/ratio_21/data`. The configs
|
| 83 |
+
> are left as historical records of each run rather than rewritten.
|
| 84 |
+
|
| 85 |
+
## License
|
| 86 |
+
|
| 87 |
+
MIT
|
| 88 |
+
|
| 89 |
+
---
|
| 90 |
+
|
| 91 |
+
Built by [Unbounded Labs](https://unboundedlab.com).
|