MaagDeveloper commited on
Commit
b2c30b6
·
verified ·
1 Parent(s): bd3dfcf

Initialize NeoLM Small with trained tokenizer and model card

Browse files
Files changed (5) hide show
  1. README.md +82 -0
  2. merges.txt +0 -0
  3. tokenizer.json +0 -0
  4. tokenizer_config.json +8 -0
  5. vocab.json +0 -0
README.md ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ datasets:
5
+ - MaagDeveloper/NeoCorpus
6
+ tags:
7
+ - neolm
8
+ - tokenizer
9
+ - byte-level-bpe
10
+ - pretraining
11
+ ---
12
+
13
+ # NeoLM-Small-Base
14
+
15
+ NeoLM-Small-Base is a planned decoder-only language model
16
+ in the NeoLM family, developed from scratch.
17
+
18
+ **Current status: Tokenizer only. Model weights are not available yet.**
19
+
20
+ ## Tokenizer
21
+
22
+ | Property | Value |
23
+ |---|---|
24
+ | Algorithm | ByteLevel BPE |
25
+ | Vocabulary size | 49,152 |
26
+ | Training data | NeoCorpus / foundation / train |
27
+ | Training documents | 1,889,952 |
28
+ | Pre-tokenization | GPT-style regex, 1–3 digit groups |
29
+ | EOS token | `<|endoftext|>` (ID 0) |
30
+ | PAD token | `<|pad|>` (ID 1) |
31
+ | BOS token | None |
32
+
33
+ The tokenizer was trained from scratch on the training split only.
34
+
35
+ ## Load the Tokenizer
36
+
37
+ from transformers import AutoTokenizer
38
+
39
+ tokenizer = AutoTokenizer.from_pretrained(
40
+ "MaagDeveloper/NeoLM-Small-Base"
41
+ )
42
+
43
+ ## Dataset
44
+
45
+ Source: [NeoCorpus](https://huggingface.co/datasets/MaagDeveloper/NeoCorpus)
46
+
47
+ Configuration: `foundation`
48
+
49
+ The source dataset is derived from NVIDIA Nemotron-ClimbMix
50
+ through Andrej Karpathy's globally shuffled redistribution.
51
+
52
+ The dataset is published under CC BY-NC 4.0 licensing conditions.
53
+
54
+ ## Model Development
55
+
56
+ The following details have not been finalized:
57
+
58
+ - Transformer architecture and parameter count
59
+ - Context length
60
+ - Training configuration and compute budget
61
+ - Evaluation metrics and benchmarks
62
+ - Pretraining checkpoints
63
+
64
+ Training stages will be recorded as versioned revisions
65
+ after the corresponding checkpoints are available.
66
+
67
+ ## Limitations
68
+
69
+ This repository currently contains a tokenizer, not a trained
70
+ language model. It cannot generate text or perform inference.
71
+
72
+ The tokenizer has passed local encoding, decoding, EOS,
73
+ and save/reload checks.
74
+
75
+ ## Attribution
76
+
77
+ Dataset sources:
78
+ - [NVIDIA Nemotron-ClimbMix](https://huggingface.co/datasets/nvidia/Nemotron-ClimbMix)
79
+ - [Karpathy ClimbMix Shuffle](https://huggingface.co/datasets/karpathy/climbmix-400b-shuffle)
80
+
81
+ NeoLM is an independent project and is not affiliated with
82
+ NVIDIA, Andrej Karpathy, or Hugging Face.
merges.txt 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,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "bos_token": null,
4
+ "eos_token": "<|endoftext|>",
5
+ "model_max_length": 1000000000000000019884624838656,
6
+ "pad_token": "<|pad|>",
7
+ "tokenizer_class": "TokenizersBackend"
8
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff