maximoai commited on
Commit
d3a20ba
·
verified ·
1 Parent(s): b827ad2

Add files using upload-large-folder tool

Browse files
Files changed (50) hide show
  1. L/bpe/seed0/config.json +12 -0
  2. L/bpe/seed1/config.json +12 -0
  3. L/bpe/seed2/config.json +12 -0
  4. L/byte/seed0/config.json +12 -0
  5. L/byte/seed0/model.safetensors +3 -0
  6. L/byte/seed1/config.json +12 -0
  7. L/byte/seed1/model.safetensors +3 -0
  8. L/byte/seed2/config.json +12 -0
  9. L/byte/seed2/model.safetensors +3 -0
  10. L/moirai-utf8/seed0/config.json +13 -0
  11. L/moirai-utf8/seed0/model.safetensors +3 -0
  12. L/moirai-utf8/seed1/config.json +13 -0
  13. L/moirai-utf8/seed1/model.safetensors +3 -0
  14. L/moirai-utf8/seed2/config.json +13 -0
  15. L/moirai-utf8/seed2/model.safetensors +3 -0
  16. L/moirai/seed0/config.json +12 -0
  17. L/moirai/seed1/config.json +12 -0
  18. L/moirai/seed2/config.json +12 -0
  19. M/bpe/seed0/config.json +12 -0
  20. M/bpe/seed1/config.json +12 -0
  21. M/bpe/seed2/config.json +12 -0
  22. M/byte/seed0/config.json +12 -0
  23. M/byte/seed1/config.json +12 -0
  24. M/byte/seed2/config.json +12 -0
  25. M/moirai-local/seed0/config.json +12 -0
  26. M/moirai-local/seed1/config.json +12 -0
  27. M/moirai-local/seed2/config.json +12 -0
  28. M/moirai-utf8/seed0/config.json +13 -0
  29. M/moirai-utf8/seed1/config.json +13 -0
  30. M/moirai-utf8/seed2/config.json +13 -0
  31. M/moirai/seed0/config.json +12 -0
  32. M/moirai/seed1/config.json +12 -0
  33. M/moirai/seed2/config.json +12 -0
  34. README.md +120 -0
  35. S/bpe/seed0/config.json +12 -0
  36. S/bpe/seed1/config.json +12 -0
  37. S/bpe/seed2/config.json +12 -0
  38. S/byte/seed0/config.json +12 -0
  39. S/byte/seed1/config.json +12 -0
  40. S/byte/seed2/config.json +12 -0
  41. S/moirai-local/seed0/config.json +12 -0
  42. S/moirai-local/seed1/config.json +12 -0
  43. S/moirai-local/seed2/config.json +12 -0
  44. S/moirai-utf8/seed0/config.json +13 -0
  45. S/moirai-utf8/seed1/config.json +13 -0
  46. S/moirai-utf8/seed2/config.json +13 -0
  47. S/moirai/seed0/config.json +12 -0
  48. S/moirai/seed1/config.json +12 -0
  49. S/moirai/seed2/config.json +12 -0
  50. tokenizer/bpe_8192.json +0 -0
L/bpe/seed0/config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "rep": "bpe",
3
+ "d": 512,
4
+ "n_layer": 8,
5
+ "vocab": 8192,
6
+ "d_outer": 384,
7
+ "n_enc": 2,
8
+ "n_dec": 2,
9
+ "target_ratio": 4.0,
10
+ "alpha": 0.03,
11
+ "ratio_scope": "global"
12
+ }
L/bpe/seed1/config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "rep": "bpe",
3
+ "d": 512,
4
+ "n_layer": 8,
5
+ "vocab": 8192,
6
+ "d_outer": 384,
7
+ "n_enc": 2,
8
+ "n_dec": 2,
9
+ "target_ratio": 4.0,
10
+ "alpha": 0.03,
11
+ "ratio_scope": "global"
12
+ }
L/bpe/seed2/config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "rep": "bpe",
3
+ "d": 512,
4
+ "n_layer": 8,
5
+ "vocab": 8192,
6
+ "d_outer": 384,
7
+ "n_enc": 2,
8
+ "n_dec": 2,
9
+ "target_ratio": 4.0,
10
+ "alpha": 0.03,
11
+ "ratio_scope": "global"
12
+ }
L/byte/seed0/config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "rep": "byte",
3
+ "d": 512,
4
+ "n_layer": 8,
5
+ "vocab": 8192,
6
+ "d_outer": 384,
7
+ "n_enc": 2,
8
+ "n_dec": 2,
9
+ "target_ratio": 4.0,
10
+ "alpha": 0.03,
11
+ "ratio_scope": "global"
12
+ }
L/byte/seed0/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:368b7a06eaf7504ab0a2107e0813d35da6fcd945fce5b5540dfa2bd7492cc26a
3
+ size 101789936
L/byte/seed1/config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "rep": "byte",
3
+ "d": 512,
4
+ "n_layer": 8,
5
+ "vocab": 8192,
6
+ "d_outer": 384,
7
+ "n_enc": 2,
8
+ "n_dec": 2,
9
+ "target_ratio": 4.0,
10
+ "alpha": 0.03,
11
+ "ratio_scope": "global"
12
+ }
L/byte/seed1/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4b5676e8ca6087aae5e4ba5b68cff3797447dc57b02c26e69b4e22b94248f688
3
+ size 101789936
L/byte/seed2/config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "rep": "byte",
3
+ "d": 512,
4
+ "n_layer": 8,
5
+ "vocab": 8192,
6
+ "d_outer": 384,
7
+ "n_enc": 2,
8
+ "n_dec": 2,
9
+ "target_ratio": 4.0,
10
+ "alpha": 0.03,
11
+ "ratio_scope": "global"
12
+ }
L/byte/seed2/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:35d853e75f038b0fbc0128599932f205686424c65816cfce31610cad1d8ed27c
3
+ size 101789936
L/moirai-utf8/seed0/config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "rep": "moirai",
3
+ "d": 512,
4
+ "n_layer": 8,
5
+ "vocab": 8192,
6
+ "d_outer": 384,
7
+ "n_enc": 2,
8
+ "n_dec": 2,
9
+ "target_ratio": 4.0,
10
+ "alpha": 0.03,
11
+ "ratio_scope": "global",
12
+ "char_aware": true
13
+ }
L/moirai-utf8/seed0/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:659e056cae6408c83c42d95cb833f6ed20e2b8b743fb94bf4ce4d805e06af7ed
3
+ size 132625872
L/moirai-utf8/seed1/config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "rep": "moirai",
3
+ "d": 512,
4
+ "n_layer": 8,
5
+ "vocab": 8192,
6
+ "d_outer": 384,
7
+ "n_enc": 2,
8
+ "n_dec": 2,
9
+ "target_ratio": 4.0,
10
+ "alpha": 0.03,
11
+ "ratio_scope": "global",
12
+ "char_aware": true
13
+ }
L/moirai-utf8/seed1/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ba18a531ae42238dcf1ea40f9f90a4f350804d1165334f768581b31e2ad3afb0
3
+ size 132625872
L/moirai-utf8/seed2/config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "rep": "moirai",
3
+ "d": 512,
4
+ "n_layer": 8,
5
+ "vocab": 8192,
6
+ "d_outer": 384,
7
+ "n_enc": 2,
8
+ "n_dec": 2,
9
+ "target_ratio": 4.0,
10
+ "alpha": 0.03,
11
+ "ratio_scope": "global",
12
+ "char_aware": true
13
+ }
L/moirai-utf8/seed2/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c79ac8caeed473d828a9a2ed06648603205a9817f2afb6198ed93806459ef52
3
+ size 132625872
L/moirai/seed0/config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "rep": "moirai",
3
+ "d": 512,
4
+ "n_layer": 8,
5
+ "vocab": 8192,
6
+ "d_outer": 384,
7
+ "n_enc": 2,
8
+ "n_dec": 2,
9
+ "target_ratio": 4.0,
10
+ "alpha": 0.03,
11
+ "ratio_scope": "global"
12
+ }
L/moirai/seed1/config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "rep": "moirai",
3
+ "d": 512,
4
+ "n_layer": 8,
5
+ "vocab": 8192,
6
+ "d_outer": 384,
7
+ "n_enc": 2,
8
+ "n_dec": 2,
9
+ "target_ratio": 4.0,
10
+ "alpha": 0.03,
11
+ "ratio_scope": "global"
12
+ }
L/moirai/seed2/config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "rep": "moirai",
3
+ "d": 512,
4
+ "n_layer": 8,
5
+ "vocab": 8192,
6
+ "d_outer": 384,
7
+ "n_enc": 2,
8
+ "n_dec": 2,
9
+ "target_ratio": 4.0,
10
+ "alpha": 0.03,
11
+ "ratio_scope": "global"
12
+ }
M/bpe/seed0/config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "rep": "bpe",
3
+ "d": 384,
4
+ "n_layer": 6,
5
+ "vocab": 8192,
6
+ "d_outer": 256,
7
+ "n_enc": 2,
8
+ "n_dec": 2,
9
+ "target_ratio": 4.0,
10
+ "alpha": 0.03,
11
+ "ratio_scope": "global"
12
+ }
M/bpe/seed1/config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "rep": "bpe",
3
+ "d": 384,
4
+ "n_layer": 6,
5
+ "vocab": 8192,
6
+ "d_outer": 256,
7
+ "n_enc": 2,
8
+ "n_dec": 2,
9
+ "target_ratio": 4.0,
10
+ "alpha": 0.03,
11
+ "ratio_scope": "global"
12
+ }
M/bpe/seed2/config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "rep": "bpe",
3
+ "d": 384,
4
+ "n_layer": 6,
5
+ "vocab": 8192,
6
+ "d_outer": 256,
7
+ "n_enc": 2,
8
+ "n_dec": 2,
9
+ "target_ratio": 4.0,
10
+ "alpha": 0.03,
11
+ "ratio_scope": "global"
12
+ }
M/byte/seed0/config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "rep": "byte",
3
+ "d": 384,
4
+ "n_layer": 6,
5
+ "vocab": 8192,
6
+ "d_outer": 256,
7
+ "n_enc": 2,
8
+ "n_dec": 2,
9
+ "target_ratio": 4.0,
10
+ "alpha": 0.03,
11
+ "ratio_scope": "global"
12
+ }
M/byte/seed1/config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "rep": "byte",
3
+ "d": 384,
4
+ "n_layer": 6,
5
+ "vocab": 8192,
6
+ "d_outer": 256,
7
+ "n_enc": 2,
8
+ "n_dec": 2,
9
+ "target_ratio": 4.0,
10
+ "alpha": 0.03,
11
+ "ratio_scope": "global"
12
+ }
M/byte/seed2/config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "rep": "byte",
3
+ "d": 384,
4
+ "n_layer": 6,
5
+ "vocab": 8192,
6
+ "d_outer": 256,
7
+ "n_enc": 2,
8
+ "n_dec": 2,
9
+ "target_ratio": 4.0,
10
+ "alpha": 0.03,
11
+ "ratio_scope": "global"
12
+ }
M/moirai-local/seed0/config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "rep": "moirai",
3
+ "d": 384,
4
+ "n_layer": 6,
5
+ "vocab": 8192,
6
+ "d_outer": 256,
7
+ "n_enc": 2,
8
+ "n_dec": 2,
9
+ "target_ratio": 4.0,
10
+ "alpha": 0.03,
11
+ "ratio_scope": "local"
12
+ }
M/moirai-local/seed1/config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "rep": "moirai",
3
+ "d": 384,
4
+ "n_layer": 6,
5
+ "vocab": 8192,
6
+ "d_outer": 256,
7
+ "n_enc": 2,
8
+ "n_dec": 2,
9
+ "target_ratio": 4.0,
10
+ "alpha": 0.03,
11
+ "ratio_scope": "local"
12
+ }
M/moirai-local/seed2/config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "rep": "moirai",
3
+ "d": 384,
4
+ "n_layer": 6,
5
+ "vocab": 8192,
6
+ "d_outer": 256,
7
+ "n_enc": 2,
8
+ "n_dec": 2,
9
+ "target_ratio": 4.0,
10
+ "alpha": 0.03,
11
+ "ratio_scope": "local"
12
+ }
M/moirai-utf8/seed0/config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "rep": "moirai",
3
+ "d": 384,
4
+ "n_layer": 6,
5
+ "vocab": 8192,
6
+ "d_outer": 256,
7
+ "n_enc": 2,
8
+ "n_dec": 2,
9
+ "target_ratio": 4.0,
10
+ "alpha": 0.03,
11
+ "ratio_scope": "global",
12
+ "char_aware": true
13
+ }
M/moirai-utf8/seed1/config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "rep": "moirai",
3
+ "d": 384,
4
+ "n_layer": 6,
5
+ "vocab": 8192,
6
+ "d_outer": 256,
7
+ "n_enc": 2,
8
+ "n_dec": 2,
9
+ "target_ratio": 4.0,
10
+ "alpha": 0.03,
11
+ "ratio_scope": "global",
12
+ "char_aware": true
13
+ }
M/moirai-utf8/seed2/config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "rep": "moirai",
3
+ "d": 384,
4
+ "n_layer": 6,
5
+ "vocab": 8192,
6
+ "d_outer": 256,
7
+ "n_enc": 2,
8
+ "n_dec": 2,
9
+ "target_ratio": 4.0,
10
+ "alpha": 0.03,
11
+ "ratio_scope": "global",
12
+ "char_aware": true
13
+ }
M/moirai/seed0/config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "rep": "moirai",
3
+ "d": 384,
4
+ "n_layer": 6,
5
+ "vocab": 8192,
6
+ "d_outer": 256,
7
+ "n_enc": 2,
8
+ "n_dec": 2,
9
+ "target_ratio": 4.0,
10
+ "alpha": 0.03,
11
+ "ratio_scope": "global"
12
+ }
M/moirai/seed1/config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "rep": "moirai",
3
+ "d": 384,
4
+ "n_layer": 6,
5
+ "vocab": 8192,
6
+ "d_outer": 256,
7
+ "n_enc": 2,
8
+ "n_dec": 2,
9
+ "target_ratio": 4.0,
10
+ "alpha": 0.03,
11
+ "ratio_scope": "global"
12
+ }
M/moirai/seed2/config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "rep": "moirai",
3
+ "d": 384,
4
+ "n_layer": 6,
5
+ "vocab": 8192,
6
+ "d_outer": 256,
7
+ "n_enc": 2,
8
+ "n_dec": 2,
9
+ "target_ratio": 4.0,
10
+ "alpha": 0.03,
11
+ "ratio_scope": "global"
12
+ }
README.md ADDED
@@ -0,0 +1,120 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ library_name: pytorch
4
+ pipeline_tag: text-generation
5
+ language:
6
+ - en
7
+ - yo
8
+ - ha
9
+ - ig
10
+ tags:
11
+ - byte-level
12
+ - dynamic-chunking
13
+ - h-net
14
+ - learned-chunking
15
+ - tokenization
16
+ - african-languages
17
+ - research
18
+ datasets:
19
+ - maximoai-co/prometheus
20
+ - maximoai-co/delphi-0
21
+ ---
22
+
23
+ # PROMETHEUS v2 checkpoints
24
+
25
+ **All 42 research checkpoints behind PROMETHEUS v2.** They are byte-level
26
+ (BYTE), subword (BPE-8k) and learned-chunking (MOIRAI, MOIRAI-L, MOIRAI-U)
27
+ language models, trained on identical bytes of English, Yorùbá, Hausa and Igbo.
28
+ There are three sizes and three seeds each.
29
+
30
+ They are small research models, made for measurement. They are released so
31
+ that every number in the paper can be checked against the weights: loss,
32
+ compression, and where MOIRAI's router cuts text. They are not assistants and
33
+ are not tuned to follow instructions.
34
+
35
+ [Paper](https://github.com/maximoai-co/prometheus/blob/main/paper/prometheus_v2.pdf) ·
36
+ [code](https://github.com/maximoai-co/prometheus) ·
37
+ [run records](https://huggingface.co/datasets/maximoai-co/prometheus) ·
38
+ [DELPHI-0](https://huggingface.co/datasets/maximoai-co/delphi-0)
39
+
40
+ ## Layout
41
+
42
+ ```
43
+ {size}/{model}/seed{0,1,2}/model.safetensors
44
+ {size}/{model}/seed{0,1,2}/config.json
45
+ tokenizer/bpe_8192.json # the BPE-8k vocabulary, for the BPE models
46
+ ```
47
+
48
+ | size | width / layers | parameters | training bytes | models |
49
+ |---|---|---|---|---|
50
+ | S | 256 / 4 | 3M to 5M | 100M | byte, bpe, moirai, moirai-local, moirai-utf8 |
51
+ | M | 384 / 6 | 11M to 14M | 200M | byte, bpe, moirai, moirai-local, moirai-utf8 |
52
+ | L | 512 / 8 | 25M to 33M | 400M | byte, bpe, moirai, moirai-utf8 |
53
+
54
+ - `moirai`: the main MOIRAI model. The ratio loss is computed over the batch.
55
+ - `moirai-local`: the ratio loss is computed per sequence.
56
+ - `moirai-utf8`: MOIRAI-U. Chunks may not start on a UTF-8 continuation byte or
57
+ a combining-mark lead byte, so no chunk starts inside a character.
58
+
59
+ ## Load a checkpoint
60
+
61
+ ```python
62
+ import json
63
+ from huggingface_hub import hf_hub_download
64
+ from safetensors.torch import load_file
65
+ # model code: https://github.com/maximoai-co/prometheus (prometheus/models.py)
66
+ from prometheus.models import ModelConfig, build
67
+
68
+ repo, path = "maximoai-co/prometheus-v2-models", "L/moirai/seed0"
69
+ cfg = ModelConfig(**json.load(open(hf_hub_download(repo, f"{path}/config.json"))))
70
+ model = build(cfg)
71
+ model.load_state_dict(load_file(hf_hub_download(repo, f"{path}/model.safetensors")))
72
+ model.eval()
73
+ ```
74
+
75
+ Byte models read raw UTF-8 bytes (256 byte values, plus one id for the start of a text). BPE models
76
+ read token ids from `tokenizer/bpe_8192.json`. Evaluation in the paper scores
77
+ every byte of a text from a BOS start; see `prometheus/train.py` (`evaluate`) in
78
+ the code repository.
79
+
80
+ ## Results at size L (FLORES-200 bits per byte, mean of 3 seeds)
81
+
82
+ | model | seen (en yo ha ig) | unseen Latin (sw zu so) | training FLOPs |
83
+ |---|---|---|---|
84
+ | BYTE | 1.767 | 4.086 | 6.57e16 |
85
+ | BPE-8k | 1.772 | 4.279 | 2.04e16 |
86
+ | MOIRAI | 1.821 | 4.183 | 3.66e16 |
87
+ | MOIRAI-U | 1.822 | 4.184 | 3.66e16 |
88
+
89
+ ## Training data
90
+
91
+ - English: C4 (ODC-BY).
92
+ - Yorùbá, Hausa and Igbo: the AfriBERTa corpus (Apache-2.0), decontaminated
93
+ against the evaluation sets.
94
+
95
+ `scripts/build_data.py` in the code repository rebuilds the exact mix from
96
+ pinned sources.
97
+
98
+ ## Limits
99
+
100
+ The largest model has 33M parameters. H-Net's reported advantages over BPE
101
+ appear at hundreds of millions to billions of parameters. MOIRAI here uses
102
+ Transformer layers and one stage, while H-Net uses Mamba-2 and two stages. The
103
+ paper's §7 lists the remaining limits.
104
+
105
+ ## Citation
106
+
107
+ ```bibtex
108
+ @misc{johnson2026prometheus,
109
+ title = {{PROMETHEUS}: What African Languages Pay for Tokenization, and What Learning to Cut Bytes Changes},
110
+ author = {Johnson, Daniel Jonah},
111
+ year = {2026},
112
+ month = dec,
113
+ institution = {Maximo AI Research, Maximo AI Ltd},
114
+ url = {https://github.com/maximoai-co/prometheus}
115
+ }
116
+ ```
117
+
118
+ ---
119
+
120
+ **About Maximo AI.** Africa's frontier AI lab, built in Lagos, Nigeria. We build our own models (Maximo Atlas, Pandora, Cyber and Decisions), the [Maximo API](https://maximoai.co/platform) and the [Syntax](https://maximoai.co/syntax) coding agent, and the products [Kydanet](https://kydanet.com) and the [MyTabulon](https://mytabulon.com) Coding Plan. Maximo AI Research publishes the code, the data and every run behind each claim. [maximoai.co](https://maximoai.co) · [huggingface.co/maximoai-co](https://huggingface.co/maximoai-co) · dev@maximoai.co
S/bpe/seed0/config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "rep": "bpe",
3
+ "d": 256,
4
+ "n_layer": 4,
5
+ "vocab": 8192,
6
+ "d_outer": 192,
7
+ "n_enc": 2,
8
+ "n_dec": 2,
9
+ "target_ratio": 4.0,
10
+ "alpha": 0.03,
11
+ "ratio_scope": "global"
12
+ }
S/bpe/seed1/config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "rep": "bpe",
3
+ "d": 256,
4
+ "n_layer": 4,
5
+ "vocab": 8192,
6
+ "d_outer": 192,
7
+ "n_enc": 2,
8
+ "n_dec": 2,
9
+ "target_ratio": 4.0,
10
+ "alpha": 0.03,
11
+ "ratio_scope": "global"
12
+ }
S/bpe/seed2/config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "rep": "bpe",
3
+ "d": 256,
4
+ "n_layer": 4,
5
+ "vocab": 8192,
6
+ "d_outer": 192,
7
+ "n_enc": 2,
8
+ "n_dec": 2,
9
+ "target_ratio": 4.0,
10
+ "alpha": 0.03,
11
+ "ratio_scope": "global"
12
+ }
S/byte/seed0/config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "rep": "byte",
3
+ "d": 256,
4
+ "n_layer": 4,
5
+ "vocab": 8192,
6
+ "d_outer": 192,
7
+ "n_enc": 2,
8
+ "n_dec": 2,
9
+ "target_ratio": 4.0,
10
+ "alpha": 0.03,
11
+ "ratio_scope": "global"
12
+ }
S/byte/seed1/config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "rep": "byte",
3
+ "d": 256,
4
+ "n_layer": 4,
5
+ "vocab": 8192,
6
+ "d_outer": 192,
7
+ "n_enc": 2,
8
+ "n_dec": 2,
9
+ "target_ratio": 4.0,
10
+ "alpha": 0.03,
11
+ "ratio_scope": "global"
12
+ }
S/byte/seed2/config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "rep": "byte",
3
+ "d": 256,
4
+ "n_layer": 4,
5
+ "vocab": 8192,
6
+ "d_outer": 192,
7
+ "n_enc": 2,
8
+ "n_dec": 2,
9
+ "target_ratio": 4.0,
10
+ "alpha": 0.03,
11
+ "ratio_scope": "global"
12
+ }
S/moirai-local/seed0/config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "rep": "moirai",
3
+ "d": 256,
4
+ "n_layer": 4,
5
+ "vocab": 8192,
6
+ "d_outer": 192,
7
+ "n_enc": 2,
8
+ "n_dec": 2,
9
+ "target_ratio": 4.0,
10
+ "alpha": 0.03,
11
+ "ratio_scope": "local"
12
+ }
S/moirai-local/seed1/config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "rep": "moirai",
3
+ "d": 256,
4
+ "n_layer": 4,
5
+ "vocab": 8192,
6
+ "d_outer": 192,
7
+ "n_enc": 2,
8
+ "n_dec": 2,
9
+ "target_ratio": 4.0,
10
+ "alpha": 0.03,
11
+ "ratio_scope": "local"
12
+ }
S/moirai-local/seed2/config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "rep": "moirai",
3
+ "d": 256,
4
+ "n_layer": 4,
5
+ "vocab": 8192,
6
+ "d_outer": 192,
7
+ "n_enc": 2,
8
+ "n_dec": 2,
9
+ "target_ratio": 4.0,
10
+ "alpha": 0.03,
11
+ "ratio_scope": "local"
12
+ }
S/moirai-utf8/seed0/config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "rep": "moirai",
3
+ "d": 256,
4
+ "n_layer": 4,
5
+ "vocab": 8192,
6
+ "d_outer": 192,
7
+ "n_enc": 2,
8
+ "n_dec": 2,
9
+ "target_ratio": 4.0,
10
+ "alpha": 0.03,
11
+ "ratio_scope": "global",
12
+ "char_aware": true
13
+ }
S/moirai-utf8/seed1/config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "rep": "moirai",
3
+ "d": 256,
4
+ "n_layer": 4,
5
+ "vocab": 8192,
6
+ "d_outer": 192,
7
+ "n_enc": 2,
8
+ "n_dec": 2,
9
+ "target_ratio": 4.0,
10
+ "alpha": 0.03,
11
+ "ratio_scope": "global",
12
+ "char_aware": true
13
+ }
S/moirai-utf8/seed2/config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "rep": "moirai",
3
+ "d": 256,
4
+ "n_layer": 4,
5
+ "vocab": 8192,
6
+ "d_outer": 192,
7
+ "n_enc": 2,
8
+ "n_dec": 2,
9
+ "target_ratio": 4.0,
10
+ "alpha": 0.03,
11
+ "ratio_scope": "global",
12
+ "char_aware": true
13
+ }
S/moirai/seed0/config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "rep": "moirai",
3
+ "d": 256,
4
+ "n_layer": 4,
5
+ "vocab": 8192,
6
+ "d_outer": 192,
7
+ "n_enc": 2,
8
+ "n_dec": 2,
9
+ "target_ratio": 4.0,
10
+ "alpha": 0.03,
11
+ "ratio_scope": "global"
12
+ }
S/moirai/seed1/config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "rep": "moirai",
3
+ "d": 256,
4
+ "n_layer": 4,
5
+ "vocab": 8192,
6
+ "d_outer": 192,
7
+ "n_enc": 2,
8
+ "n_dec": 2,
9
+ "target_ratio": 4.0,
10
+ "alpha": 0.03,
11
+ "ratio_scope": "global"
12
+ }
S/moirai/seed2/config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "rep": "moirai",
3
+ "d": 256,
4
+ "n_layer": 4,
5
+ "vocab": 8192,
6
+ "d_outer": 192,
7
+ "n_enc": 2,
8
+ "n_dec": 2,
9
+ "target_ratio": 4.0,
10
+ "alpha": 0.03,
11
+ "ratio_scope": "global"
12
+ }
tokenizer/bpe_8192.json ADDED
The diff for this file is too large to render. See raw diff