link the new paperweight home and default train.py to it
Browse filesFiles changed (2)
- README.md+4-4
- v2/train.py+1-1
76 unmodified lines777879808182838485868717 unmodified lines105106107108109110111165 unmodified lines27727827928028176 unmodified lines<br>tinynext is the autocomplete in [offline.page](https://github.com/cfahlgren1/offline-page). The app uses **v2**, in [`v2/`](https://huggingface.co/cfahlgren1/tinynext/tree/main/v2). The files at the root are v1, the original character model, the same as [`cfahlgren1/enron-autocomplete`](https://huggingface.co/cfahlgren1/enron-autocomplete).## v2: the next few words, with context<sub>In [`v2/`](https://huggingface.co/cfahlgren1/tinynext/tree/main/v2). The files at the root of this repo are still v1.</sub>v1 guesses one letter at a time, so its suggestions are short word endings. v2 is a **12.5M-parameter transformer that predicts word pieces**, so one step can be a whole word, and it reads up to about 1,500 characters before the cursor (and, when there is any, text after it). It's the autocomplete in offline.page, running in a Web Worker.17 unmodified lines|---|---|---|---|---|---|| **v2 (this one)** | **3B** | half the examples | **3.9 / 8.8 / 4.0** | **3.1 / 7.6 / 4.2** | **2.89** || First v2 | 1.5B | half the examples | 4.0 / 7.3 / 4.3 | 2.8 / 6.3 / 3.6 | 2.99 || [No FIM](https://huggingface.co/cfahlgren1/tinynext/tree/main/v2/experiments/tinynext-v2-nofim) | 1.5B | none | 3.9 / 8.8 / 4.2 | 3.0 / 6.9 / 4.1 | 2.94 |At 1.5B tokens, fill-in-the-middle cost the model more than it gave: half its training went to a task it rarely uses. With twice the tokens it stops costing anything on typing and helps when editing. The first v2 is in this repo's history.165 unmodified lines<br><p align="center"><sub>tinynext is one of two tiny models behind <a href="https://github.com/cfahlgren1/offline-page">offline.page</a>, a writing app that works in airplane mode.<br>Its partner, <a href="https://huggingface.co/cfahlgren1/tinyfix">tinyfix</a>, fixes typos from context.</sub></p>76 unmodified lines777879808182838485868717 unmodified lines105106107108109110111165 unmodified lines27727827928028176 unmodified lines<br>tinynext is the autocomplete in [offline.page](https://github.com/cfahlgren1/offline-page). The app uses **v2**, in [`v2/`](https://huggingface.co/paperweight/tinynext/tree/main/v2). The files at the root are v1, the original character model, the same as [`cfahlgren1/enron-autocomplete`](https://huggingface.co/cfahlgren1/enron-autocomplete).## v2: the next few words, with context<sub>In [`v2/`](https://huggingface.co/paperweight/tinynext/tree/main/v2). The files at the root of this repo are still v1.</sub>v1 guesses one letter at a time, so its suggestions are short word endings. v2 is a **12.5M-parameter transformer that predicts word pieces**, so one step can be a whole word, and it reads up to about 1,500 characters before the cursor (and, when there is any, text after it). It's the autocomplete in offline.page, running in a Web Worker.17 unmodified lines|---|---|---|---|---|---|| **v2 (this one)** | **3B** | half the examples | **3.9 / 8.8 / 4.0** | **3.1 / 7.6 / 4.2** | **2.89** || First v2 | 1.5B | half the examples | 4.0 / 7.3 / 4.3 | 2.8 / 6.3 / 3.6 | 2.99 || [No FIM](https://huggingface.co/paperweight/tinynext/tree/main/v2/experiments/tinynext-v2-nofim) | 1.5B | none | 3.9 / 8.8 / 4.2 | 3.0 / 6.9 / 4.1 | 2.94 |At 1.5B tokens, fill-in-the-middle cost the model more than it gave: half its training went to a task it rarely uses. With twice the tokens it stops costing anything on typing and helps when editing. The first v2 is in this repo's history.165 unmodified lines<br><p align="center"><sub>tinynext is one of two tiny models behind <a href="https://github.com/cfahlgren1/offline-page">offline.page</a>, a writing app that works in airplane mode.<br>Its partner, <a href="https://huggingface.co/paperweight/tinyfix">tinyfix</a>, fixes typos from context.<br>Both are made by <a href="https://huggingface.co/paperweight">paperweight</a>, purpose-built small models.</sub></p>
583 unmodified lines584585586587588589590583 unmodified linesparser.add_argument("--tokenizer-docs", type=int, default=200_000)parser.add_argument("--eval-pauses", type=int, default=1000)parser.add_argument("--log-every", type=int, default=50)parser.add_argument("--repo", default="cfahlgren1/tinynext")parser.add_argument("--folder", default="v2", help="Where this run's outputs are uploaded")parser.add_argument("--eval-folder", default="v2", help="Where the shared eval.py and eval_set.json live")parser.add_argument("--name", default="tinynext-v2")583 unmodified lines584585586587588589590583 unmodified linesparser.add_argument("--tokenizer-docs", type=int, default=200_000)parser.add_argument("--eval-pauses", type=int, default=1000)parser.add_argument("--log-every", type=int, default=50)parser.add_argument("--repo", default="paperweight/tinynext")parser.add_argument("--folder", default="v2", help="Where this run's outputs are uploaded")parser.add_argument("--eval-folder", default="v2", help="Where the shared eval.py and eval_set.json live")parser.add_argument("--name", default="tinynext-v2")
README.md+4-4
v2/train.py+1-1