shanearora
commited on
Commit
•
ff10aa8
1
Parent(s):
5db4f65
add main model
Browse files- README.md +266 -3
- config.json +26 -0
- generation_config.json +6 -0
- model-00001-of-00006.safetensors +3 -0
- model-00002-of-00006.safetensors +3 -0
- model-00003-of-00006.safetensors +3 -0
- model-00004-of-00006.safetensors +3 -0
- model-00005-of-00006.safetensors +3 -0
- model-00006-of-00006.safetensors +3 -0
- model.safetensors.index.json +233 -0
- special_tokens_map.json +4 -0
- tokenizer.json +0 -0
- tokenizer_config.json +238 -0
README.md
CHANGED
@@ -1,3 +1,266 @@
|
|
1 |
-
---
|
2 |
-
license: apache-2.0
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
datasets:
|
4 |
+
- allenai/dolma
|
5 |
+
language:
|
6 |
+
- en
|
7 |
+
---
|
8 |
+
|
9 |
+
|
10 |
+
<img src="https://allenai.org/olmo/olmo-7b-animation.gif" alt="OLMo Logo" width="800" style="margin-left:'auto' margin-right:'auto' display:'block'"/>
|
11 |
+
|
12 |
+
# Model Card for OLMo 1.7-7B-hf
|
13 |
+
|
14 |
+
OLMo 1.7 7B is the latest version of the original [OLMo 7B](https://huggingface.co/allenai/OLMo-7B) model rocking a 24 point increase in MMLU, among other evaluations improvements, from an improved version of the Dolma dataset and staged training.
|
15 |
+
**This version is for direct use with HuggingFace Transformers** from v4.40 on.
|
16 |
+
|
17 |
+
OLMo is a series of **O**pen **L**anguage **Mo**dels designed to enable the science of language models.
|
18 |
+
The OLMo models are trained on the [Dolma](https://huggingface.co/datasets/allenai/dolma) dataset.
|
19 |
+
We release all code, checkpoints, logs, and details involved in training these models.
|
20 |
+
|
21 |
+
## Model Details
|
22 |
+
|
23 |
+
The core models released in this batch are the following:
|
24 |
+
| Size | Training Tokens | Layers | Hidden Size | Attention Heads | Context Length |
|
25 |
+
|------|--------|---------|-------------|-----------------|----------------|
|
26 |
+
| [OLMo 1B](https://huggingface.co/allenai/OLMo-1B) | 3 Trillion |16 | 2048 | 16 | 2048 |
|
27 |
+
| [OLMo 7B](https://huggingface.co/allenai/OLMo-7B) | 2.5 Trillion | 32 | 4096 | 32 | 2048 |
|
28 |
+
| [OLMo 7B Twin 2T](https://huggingface.co/allenai/OLMo-7B-Twin-2T) | 2 Trillion | 32 | 4096 | 32 | 2048 |
|
29 |
+
| [OLMo 1.7-7B](https://huggingface.co/allenai/OLMo-1.7-7B) | 2.05 Trillion | 32 | 4096 | 32 | 4096 |
|
30 |
+
|
31 |
+
*Note: OLMo 1.7-7B also includes QKV clipping.*
|
32 |
+
|
33 |
+
|
34 |
+
[Coming soon] We are releasing many checkpoints for these models, for every 1000 training steps.
|
35 |
+
The naming convention is `step1000-tokens4B`.
|
36 |
+
|
37 |
+
To load a specific model revision with HuggingFace, simply add the argument `revision`:
|
38 |
+
```bash
|
39 |
+
olmo = AutoModelForCausalLM.from_pretrained("allenai/OLMo-1.7-7B-hf", revision="step1000-tokens4B")
|
40 |
+
```
|
41 |
+
|
42 |
+
All revisions/branches are listed in the file `revisions.txt`.
|
43 |
+
Or, you can access all the revisions for the models via the following code snippet:
|
44 |
+
```python
|
45 |
+
from huggingface_hub import list_repo_refs
|
46 |
+
out = list_repo_refs("allenai/OLMo-1.7-7B-hf")
|
47 |
+
branches = [b.name for b in out.branches]
|
48 |
+
```
|
49 |
+
A few revisions were lost due to an error, but the vast majority are present.
|
50 |
+
|
51 |
+
### Model Description
|
52 |
+
|
53 |
+
- **Developed by:** Allen Institute for AI (AI2)
|
54 |
+
- **Supported by:** Databricks, Kempner Institute for the Study of Natural and Artificial Intelligence at Harvard University, AMD, CSC (Lumi Supercomputer), UW
|
55 |
+
- **Model type:** a Transformer style autoregressive language model.
|
56 |
+
- **Language(s) (NLP):** English
|
57 |
+
- **License:** The code and model are released under Apache 2.0.
|
58 |
+
- **Contact:** Technical inquiries: `olmo at allenai dot org`. Press: `press at allenai dot org`
|
59 |
+
- **Date cutoff:** Oct. 2023, with most data from Feb./March 2023 based on Dolma dataset version.
|
60 |
+
|
61 |
+
|
62 |
+
### Model Sources
|
63 |
+
|
64 |
+
- **Project Page:** https://allenai.org/olmo
|
65 |
+
- **Repositories:**
|
66 |
+
- Core repo (training, inference, fine-tuning etc.): https://github.com/allenai/OLMo
|
67 |
+
- Evaluation code: https://github.com/allenai/OLMo-Eval
|
68 |
+
- Further fine-tuning code: https://github.com/allenai/open-instruct
|
69 |
+
- **Paper:** [Link](https://arxiv.org/abs/2402.00838)
|
70 |
+
- **Technical blog post:** https://blog.allenai.org/olmo-1-7-7b-a-24-point-improvement-on-mmlu-92b43f7d269d
|
71 |
+
- **W&B Logs:** [pretraining](https://wandb.ai/ai2-llm/OLMo-7B/groups/OLMo-1.7-7B), [annealing](https://wandb.ai/ai2-llm/OLMo-7B/groups/OLMo-1.7-7B-anneal)
|
72 |
+
<!-- - **Press release:** TODO -->
|
73 |
+
|
74 |
+
## Uses
|
75 |
+
|
76 |
+
### Inference
|
77 |
+
|
78 |
+
Install Transformers [from source](https://huggingface.co/docs/transformers/en/installation#install-from-source), or update to the next version when this [PR](https://github.com/huggingface/transformers/pull/29890) is integrated.
|
79 |
+
|
80 |
+
Now, proceed as usual with HuggingFace:
|
81 |
+
```python
|
82 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
83 |
+
olmo = AutoModelForCausalLM.from_pretrained("allenai/OLMo-1.7-7B-hf")
|
84 |
+
tokenizer = AutoTokenizer.from_pretrained("allenai/OLMo-1.7-7B-hf")
|
85 |
+
message = ["Language modeling is "]
|
86 |
+
inputs = tokenizer(message, return_tensors='pt', return_token_type_ids=False)
|
87 |
+
# optional verifying cuda
|
88 |
+
# inputs = {k: v.to('cuda') for k,v in inputs.items()}
|
89 |
+
# olmo = olmo.to('cuda')
|
90 |
+
response = olmo.generate(**inputs, max_new_tokens=100, do_sample=True, top_k=50, top_p=0.95)
|
91 |
+
print(tokenizer.batch_decode(response, skip_special_tokens=True)[0])
|
92 |
+
>> 'Language modeling is the first step to build natural language generation...'
|
93 |
+
```
|
94 |
+
Alternatively, with the pipeline abstraction:
|
95 |
+
```python
|
96 |
+
from transformers import pipeline
|
97 |
+
olmo_pipe = pipeline("text-generation", model="allenai/OLMo-1.7-7B-hf")
|
98 |
+
print(olmo_pipe("Language modeling is "))
|
99 |
+
>> 'Language modeling is a branch of natural language processing that aims to...'
|
100 |
+
```
|
101 |
+
|
102 |
+
Or, you can make this slightly faster by quantizing the model, e.g. `AutoModelForCausalLM.from_pretrained("allenai/OLMo-1.7-7B-hf", torch_dtype=torch.float16, load_in_8bit=True)` (requires `bitsandbytes`).
|
103 |
+
The quantized model is more sensitive to typing / cuda, so it is recommended to pass the inputs as `inputs.input_ids.to('cuda')` to avoid potential issues.
|
104 |
+
|
105 |
+
Note, you may see the following error if `ai2-olmo` is not installed correctly, which is caused by internal Python check naming. We'll update the code soon to make this error clearer.
|
106 |
+
```bash
|
107 |
+
raise ImportError(
|
108 |
+
ImportError: This modeling file requires the following packages that were not found in your environment: hf_olmo. Run `pip install hf_olmo`
|
109 |
+
```
|
110 |
+
|
111 |
+
### Fine-tuning
|
112 |
+
Model fine-tuning can be done from the final checkpoint (the `main` revision of this model) or many intermediate checkpoints. Two recipes for tuning are available.
|
113 |
+
1. Fine-tune with the OLMo repository:
|
114 |
+
```bash
|
115 |
+
torchrun --nproc_per_node=8 scripts/train.py {path_to_train_config} \
|
116 |
+
--data.paths=[{path_to_data}/input_ids.npy] \
|
117 |
+
--data.label_mask_paths=[{path_to_data}/label_mask.npy] \
|
118 |
+
--load_path={path_to_checkpoint} \
|
119 |
+
--reset_trainer_state
|
120 |
+
```
|
121 |
+
For more documentation, see the [GitHub readme](https://github.com/allenai/OLMo?tab=readme-ov-file#fine-tuning).
|
122 |
+
|
123 |
+
2. Further fine-tuning support is being developing in AI2's Open Instruct repository. Details are [here](https://github.com/allenai/open-instruct).
|
124 |
+
|
125 |
+
## Evaluation
|
126 |
+
|
127 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
128 |
+
|
129 |
+
Core model results for the new and original 7B model are found below.
|
130 |
+
|
131 |
+
| Task | Llama-7b | Llama2-7b | Falcon-7b | Mpt-7b | OLMo-7B | Llama2-13b | **OLMo 1.7-7B** |
|
132 |
+
|-------------------|----------|-----------|-----------|--------|---------|------------|-------------|
|
133 |
+
| arc_c | 44.5 | 48.5 | 47.5 | 46.5 | 48.5 | 52.8 | 42.5 |
|
134 |
+
| arc_e | 67.9 | 69.5 | 70.4 | 70.5 | 65.4 | 73.7 | 67.2 |
|
135 |
+
| boolq | 75.4 | 80.2 | 74.6 | 74.2 | 73.4 | 82.2 | 83.7 |
|
136 |
+
| copa | 91.0 | 86.0 | 86.0 | 85.0 | 90.0 | 90.0 | 86.0 |
|
137 |
+
| hellaswag | 76.2 | 76.8 | 75.9 | 77.6 | 76.4 | 78.6 | 75.5 |
|
138 |
+
| openbookqa | 51.2 | 48.4 | 53.0 | 48.6 | 50.4 | 51.8 | 50.0 |
|
139 |
+
| piqa | 77.2 | 76.7 | 78.5 | 77.3 | 78.4 | 79.0 | 77.5 |
|
140 |
+
| sciq | 93.9 | 94.5 | 93.9 | 93.7 | 93.8 | 95.5 | 96.7 |
|
141 |
+
| winogrande | 70.5 | 69.4 | 68.9 | 69.9 | 67.9 | 73.5 | 69.8 |
|
142 |
+
| truthfulQA (MC2) | 33.9 | 38.5 | 34.0 | 33.0 | 36.0 | 36.8 | 35.8 |
|
143 |
+
| MMLU (5 shot MC) | 31.5 | 45.0 | 24.0 | 30.8 | 28.3 | 55.5 | 52.0 |
|
144 |
+
| GSM8k | 10.0 | 12.0 | 4.0 | 4.5 | 8.5 | 25.0 | 29.0 |
|
145 |
+
| Full average | 60.3 | 62.1 | 59.2 | 59.3 | 59.8 | 66.2 | 63.8 |
|
146 |
+
|
147 |
+
And for the 1B model:
|
148 |
+
|
149 |
+
| task | random | [StableLM 2 1.6b](https://huggingface.co/stabilityai/stablelm-2-1_6b)\* | [Pythia 1B](https://huggingface.co/EleutherAI/pythia-1b) | [TinyLlama 1.1B](https://huggingface.co/TinyLlama/TinyLlama-1.1B-intermediate-step-1195k-token-2.5T) | **OLMo 1B** (ours) |
|
150 |
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------ | ----------------- | --------- | -------------------------------------- | ------- |
|
151 |
+
| arc_challenge | 25 | 43.81 | 33.11 | 34.78 | 34.45 |
|
152 |
+
| arc_easy | 25 | 63.68 | 50.18 | 53.16 | 58.07 |
|
153 |
+
| boolq | 50 | 76.6 | 61.8 | 64.6 | 60.7 |
|
154 |
+
| copa | 50 | 84 | 72 | 78 | 79 |
|
155 |
+
| hellaswag | 25 | 68.2 | 44.7 | 58.7 | 62.5 |
|
156 |
+
| openbookqa | 25 | 45.8 | 37.8 | 43.6 | 46.4 |
|
157 |
+
| piqa | 50 | 74 | 69.1 | 71.1 | 73.7 |
|
158 |
+
| sciq | 25 | 94.7 | 86 | 90.5 | 88.1 |
|
159 |
+
| winogrande | 50 | 64.9 | 53.3 | 58.9 | 58.9 |
|
160 |
+
| Average | 36.11 | 68.41 | 56.44 | 61.48 | 62.42 |
|
161 |
+
|
162 |
+
\*Unlike OLMo, Pythia, and TinyLlama, StabilityAI has not disclosed yet the data StableLM was trained on, making comparisons with other efforts challenging.
|
163 |
+
|
164 |
+
## Model Details
|
165 |
+
|
166 |
+
### Data
|
167 |
+
For training data details, please see the [Dolma](https://huggingface.co/datasets/allenai/dolma) documentation.
|
168 |
+
**This model uses the new 1.7 version with more data sources, better deduplication, and quality filtering**.
|
169 |
+
During the annealing phase we use a higher quality subset of Dolma with a linearly decaying learning rate to 0.
|
170 |
+
|
171 |
+
### Staged training / annealing
|
172 |
+
|
173 |
+
In contrast to OLMo 1.0, we trained OLMo 1.7 with a two-stage curriculum:
|
174 |
+
* In the first stage, we trained the model from scratch on the Dolma 1.7 dataset. We set a cosine learning rate schedule with a warmup of 2500 steps, a peak learning rate of 3e-4, and a cosine decay to 3e-5 after 3T tokens. We cut off this stage after 2T tokens, when the learning rate is still high.
|
175 |
+
* At this point we switch to the second stage, in which we train on a higher-quality subset of Dolma 1.7 (see below) for another 50B tokens, while linearly decaying the learning rate to 0. Our high-quality subset includes (1) using all available Wikipedia, OpenWebMath and Flan data, (2) removing Dolma CC, CC News, and Megawika, and (3) rebalancing remaining sources to achieve approximately equal proportions of each. See exact token counts and relative proportions of this second stage mix below.
|
176 |
+
Both stages contribute equally to the final performance of the OLMo model. After the first stage, OLMo 1.7 already outperforms OLMo 1.0. The second stage consistently adds 2 to 3 points of performance on top.
|
177 |
+
|
178 |
+
|
179 |
+
### Architecture
|
180 |
+
|
181 |
+
OLMo 7B architecture with peer models for comparison.
|
182 |
+
|
183 |
+
| | **OLMo 7B** | [Llama 2 7B](https://huggingface.co/meta-llama/Llama-2-7b) | [OpenLM 7B](https://laion.ai/blog/open-lm/) | [Falcon 7B](https://huggingface.co/tiiuae/falcon-7b) | PaLM 8B |
|
184 |
+
|------------------------|-------------------|---------------------|--------------------|--------------------|------------------|
|
185 |
+
| d_model | 4096 | 4096 | 4096 | 4544 | 4096 |
|
186 |
+
| num heads | 32 | 32 | 32 | 71 | 16 |
|
187 |
+
| num layers | 32 | 32 | 32 | 32 | 32 |
|
188 |
+
| MLP ratio | ~8/3 | ~8/3 | ~8/3 | 4 | 4 |
|
189 |
+
| LayerNorm type | non-parametric LN | RMSNorm | parametric LN | parametric LN | parametric LN |
|
190 |
+
| pos embeddings | RoPE | RoPE | RoPE | RoPE | RoPE |
|
191 |
+
| attention variant | full | GQA | full | MQA | MQA |
|
192 |
+
| biases | none | none | in LN only | in LN only | none |
|
193 |
+
| block type | sequential | sequential | sequential | parallel | parallel |
|
194 |
+
| activation | SwiGLU | SwiGLU | SwiGLU | GeLU | SwiGLU |
|
195 |
+
| sequence length | 2048 | 4096 | 2048 | 2048 | 2048 |
|
196 |
+
| batch size (instances) | 2160 | 1024 | 2048 | 2304 | 512 |
|
197 |
+
| batch size (tokens) | ~4M | ~4M | ~4M | ~4M | ~1M |
|
198 |
+
| weight tying | no | no | no | no | yes |
|
199 |
+
|
200 |
+
|
201 |
+
### Hyperparameters
|
202 |
+
|
203 |
+
AdamW optimizer parameters are shown below.
|
204 |
+
|
205 |
+
| Size | Peak LR | Betas | Epsilon | Weight Decay |
|
206 |
+
|------|------------|-----------------|-------------|--------------|
|
207 |
+
| 1B | 4.0E-4 | (0.9, 0.95) | 1.0E-5 | 0.1 |
|
208 |
+
| 7B | 3.0E-4 | (0.9, 0.99) | 1.0E-5 | 0.1 |
|
209 |
+
|
210 |
+
Optimizer settings comparison with peer models.
|
211 |
+
|
212 |
+
| | **OLMo 7B** | [Llama 2 7B](https://huggingface.co/meta-llama/Llama-2-7b) | [OpenLM 7B](https://laion.ai/blog/open-lm/) | [Falcon 7B](https://huggingface.co/tiiuae/falcon-7b) |
|
213 |
+
|-----------------------|------------------|---------------------|--------------------|--------------------|
|
214 |
+
| warmup steps | 5000 | 2000 | 2000 | 1000 |
|
215 |
+
| peak LR | 3.0E-04 | 3.0E-04 | 3.0E-04 | 6.0E-04 |
|
216 |
+
| minimum LR | 3.0E-05 | 3.0E-05 | 3.0E-05 | 1.2E-05 |
|
217 |
+
| weight decay | 0.1 | 0.1 | 0.1 | 0.1 |
|
218 |
+
| beta1 | 0.9 | 0.9 | 0.9 | 0.99 |
|
219 |
+
| beta2 | 0.95 | 0.95 | 0.95 | 0.999 |
|
220 |
+
| epsilon | 1.0E-05 | 1.0E-05 | 1.0E-05 | 1.0E-05 |
|
221 |
+
| LR schedule | linear | cosine | cosine | cosine |
|
222 |
+
| gradient clipping | global 1.0 | global 1.0 | global 1.0 | global 1.0 |
|
223 |
+
| gradient reduce dtype | FP32 | FP32 | FP32 | BF16 |
|
224 |
+
| optimizer state dtype | FP32 | most likely FP32 | FP32 | FP32 |
|
225 |
+
|
226 |
+
|
227 |
+
|
228 |
+
## Environmental Impact
|
229 |
+
|
230 |
+
OLMo 7B variants were either trained on MI250X GPUs at the LUMI supercomputer, or A100-40GB GPUs provided by MosaicML.
|
231 |
+
A summary of the environmental impact. Further details are available in the paper.
|
232 |
+
|
233 |
+
| | GPU Type | Power Consumption From GPUs | Carbon Intensity (kg CO₂e/KWh) | Carbon Emissions (tCO₂eq) |
|
234 |
+
|-----------|------------|-----------------------------|--------------------------------|---------------------------|
|
235 |
+
| OLMo 7B Twin | MI250X ([LUMI supercomputer](https://www.lumi-supercomputer.eu)) | 135 MWh | 0* | 0* |
|
236 |
+
| OLMo 7B | A100-40GB ([MosaicML](https://www.mosaicml.com)) | 104 MWh | 0.656 | 75.05 |
|
237 |
+
|
238 |
+
## Bias, Risks, and Limitations
|
239 |
+
|
240 |
+
Like any base language model or fine-tuned model without safety filtering, it is relatively easy for a user to prompt these models to generate harmful and generally sensitive content.
|
241 |
+
Such content can also be produced unintentionally, especially in the case of bias, so we recommend users consider the risks of applications of this technology.
|
242 |
+
|
243 |
+
Otherwise, many facts from OLMo or any LLM will often not be true, so they should be checked.
|
244 |
+
|
245 |
+
|
246 |
+
## Citation
|
247 |
+
|
248 |
+
**BibTeX:**
|
249 |
+
|
250 |
+
```
|
251 |
+
@article{Groeneveld2023OLMo,
|
252 |
+
title={OLMo: Accelerating the Science of Language Models},
|
253 |
+
author={Groeneveld, Dirk and Beltagy, Iz and Walsh, Pete and Bhagia, Akshita and Kinney, Rodney and Tafjord, Oyvind and Jha, Ananya Harsh and Ivison, Hamish and Magnusson, Ian and Wang, Yizhong and Arora, Shane and Atkinson, David and Authur, Russell and Chandu, Khyathi and Cohan, Arman and Dumas, Jennifer and Elazar, Yanai and Gu, Yuling and Hessel, Jack and Khot, Tushar and Merrill, William and Morrison, Jacob and Muennighoff, Niklas and Naik, Aakanksha and Nam, Crystal and Peters, Matthew E. and Pyatkin, Valentina and Ravichander, Abhilasha and Schwenk, Dustin and Shah, Saurabh and Smith, Will and Subramani, Nishant and Wortsman, Mitchell and Dasigi, Pradeep and Lambert, Nathan and Richardson, Kyle and Dodge, Jesse and Lo, Kyle and Soldaini, Luca and Smith, Noah A. and Hajishirzi, Hannaneh},
|
254 |
+
journal={Preprint},
|
255 |
+
year={2024}
|
256 |
+
}
|
257 |
+
```
|
258 |
+
|
259 |
+
**APA:**
|
260 |
+
|
261 |
+
Groeneveld, D., Beltagy, I., Walsh, P., Bhagia, A., Kinney, R., Tafjord, O., Jha, A., Ivison, H., Magnusson, I., Wang, Y., Arora, S., Atkinson, D., Authur, R., Chandu, K., Cohan, A., Dumas, J., Elazar, Y., Gu, Y., Hessel, J., Khot, T., Merrill, W., Morrison, J., Muennighoff, N., Naik, A., Nam, C., Peters, M., Pyatkin, V., Ravichander, A., Schwenk, D., Shah, S., Smith, W., Subramani, N., Wortsman, M., Dasigi, P., Lambert, N., Richardson, K., Dodge, J., Lo, K., Soldaini, L., Smith, N., & Hajishirzi, H. (2024). OLMo: Accelerating the Science of Language Models. Preprint.
|
262 |
+
|
263 |
+
## Model Card Contact
|
264 |
+
|
265 |
+
|
266 |
+
For errors in this model card, contact Nathan, `{nathanl} at allenai dot org`.
|
config.json
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"OlmoForCausalLM"
|
4 |
+
],
|
5 |
+
"attention_bias": false,
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"clip_qkv": 8.0,
|
8 |
+
"eos_token_id": 50279,
|
9 |
+
"hidden_act": "silu",
|
10 |
+
"hidden_size": 4096,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"intermediate_size": 11008,
|
13 |
+
"max_position_embeddings": 4096,
|
14 |
+
"model_type": "olmo",
|
15 |
+
"num_attention_heads": 32,
|
16 |
+
"num_hidden_layers": 32,
|
17 |
+
"num_key_value_heads": 32,
|
18 |
+
"pad_token_id": 1,
|
19 |
+
"rope_scaling": null,
|
20 |
+
"rope_theta": 10000.0,
|
21 |
+
"tie_word_embeddings": false,
|
22 |
+
"torch_dtype": "float32",
|
23 |
+
"transformers_version": "4.40.2",
|
24 |
+
"use_cache": true,
|
25 |
+
"vocab_size": 50304
|
26 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"eos_token_id": 50279,
|
4 |
+
"pad_token_id": 1,
|
5 |
+
"transformers_version": "4.40.2"
|
6 |
+
}
|
model-00001-of-00006.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:40558d22ee78eed5362a7afbff4284102155b9fe9d3d3587119f18f3a96a090b
|
3 |
+
size 4938797232
|
model-00002-of-00006.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a888ed700f696250751d15b6608a9af0ab5aa51d3ec80b68785f348ec8029947
|
3 |
+
size 4991226840
|
model-00003-of-00006.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f5462de26e7b49cc84fa4d7a9a3cc095d26aeaaff6365a2423c59b5729c6de55
|
3 |
+
size 4924117904
|
model-00004-of-00006.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:07cc5729511ef6fea8b7defd413b04f3734df2c77deb71836da973ed18c7941b
|
3 |
+
size 4857008920
|
model-00005-of-00006.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:01eb0289a271c1668b056dbee0c5e2e55685fe36871818497b4d860a533951f5
|
3 |
+
size 4857008920
|
model-00006-of-00006.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f67b7bedd422fd3922a49b0ec922315ae3227c8c42beb65d20ae073a29b9467b
|
3 |
+
size 2984249384
|
model.safetensors.index.json
ADDED
@@ -0,0 +1,233 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"metadata": {
|
3 |
+
"total_size": 27552382976
|
4 |
+
},
|
5 |
+
"weight_map": {
|
6 |
+
"lm_head.weight": "model-00006-of-00006.safetensors",
|
7 |
+
"model.embed_tokens.weight": "model-00001-of-00006.safetensors",
|
8 |
+
"model.layers.0.mlp.down_proj.weight": "model-00001-of-00006.safetensors",
|
9 |
+
"model.layers.0.mlp.gate_proj.weight": "model-00001-of-00006.safetensors",
|
10 |
+
"model.layers.0.mlp.up_proj.weight": "model-00001-of-00006.safetensors",
|
11 |
+
"model.layers.0.self_attn.k_proj.weight": "model-00001-of-00006.safetensors",
|
12 |
+
"model.layers.0.self_attn.o_proj.weight": "model-00001-of-00006.safetensors",
|
13 |
+
"model.layers.0.self_attn.q_proj.weight": "model-00001-of-00006.safetensors",
|
14 |
+
"model.layers.0.self_attn.v_proj.weight": "model-00001-of-00006.safetensors",
|
15 |
+
"model.layers.1.mlp.down_proj.weight": "model-00001-of-00006.safetensors",
|
16 |
+
"model.layers.1.mlp.gate_proj.weight": "model-00001-of-00006.safetensors",
|
17 |
+
"model.layers.1.mlp.up_proj.weight": "model-00001-of-00006.safetensors",
|
18 |
+
"model.layers.1.self_attn.k_proj.weight": "model-00001-of-00006.safetensors",
|
19 |
+
"model.layers.1.self_attn.o_proj.weight": "model-00001-of-00006.safetensors",
|
20 |
+
"model.layers.1.self_attn.q_proj.weight": "model-00001-of-00006.safetensors",
|
21 |
+
"model.layers.1.self_attn.v_proj.weight": "model-00001-of-00006.safetensors",
|
22 |
+
"model.layers.10.mlp.down_proj.weight": "model-00002-of-00006.safetensors",
|
23 |
+
"model.layers.10.mlp.gate_proj.weight": "model-00002-of-00006.safetensors",
|
24 |
+
"model.layers.10.mlp.up_proj.weight": "model-00002-of-00006.safetensors",
|
25 |
+
"model.layers.10.self_attn.k_proj.weight": "model-00002-of-00006.safetensors",
|
26 |
+
"model.layers.10.self_attn.o_proj.weight": "model-00002-of-00006.safetensors",
|
27 |
+
"model.layers.10.self_attn.q_proj.weight": "model-00002-of-00006.safetensors",
|
28 |
+
"model.layers.10.self_attn.v_proj.weight": "model-00002-of-00006.safetensors",
|
29 |
+
"model.layers.11.mlp.down_proj.weight": "model-00003-of-00006.safetensors",
|
30 |
+
"model.layers.11.mlp.gate_proj.weight": "model-00003-of-00006.safetensors",
|
31 |
+
"model.layers.11.mlp.up_proj.weight": "model-00003-of-00006.safetensors",
|
32 |
+
"model.layers.11.self_attn.k_proj.weight": "model-00002-of-00006.safetensors",
|
33 |
+
"model.layers.11.self_attn.o_proj.weight": "model-00003-of-00006.safetensors",
|
34 |
+
"model.layers.11.self_attn.q_proj.weight": "model-00002-of-00006.safetensors",
|
35 |
+
"model.layers.11.self_attn.v_proj.weight": "model-00002-of-00006.safetensors",
|
36 |
+
"model.layers.12.mlp.down_proj.weight": "model-00003-of-00006.safetensors",
|
37 |
+
"model.layers.12.mlp.gate_proj.weight": "model-00003-of-00006.safetensors",
|
38 |
+
"model.layers.12.mlp.up_proj.weight": "model-00003-of-00006.safetensors",
|
39 |
+
"model.layers.12.self_attn.k_proj.weight": "model-00003-of-00006.safetensors",
|
40 |
+
"model.layers.12.self_attn.o_proj.weight": "model-00003-of-00006.safetensors",
|
41 |
+
"model.layers.12.self_attn.q_proj.weight": "model-00003-of-00006.safetensors",
|
42 |
+
"model.layers.12.self_attn.v_proj.weight": "model-00003-of-00006.safetensors",
|
43 |
+
"model.layers.13.mlp.down_proj.weight": "model-00003-of-00006.safetensors",
|
44 |
+
"model.layers.13.mlp.gate_proj.weight": "model-00003-of-00006.safetensors",
|
45 |
+
"model.layers.13.mlp.up_proj.weight": "model-00003-of-00006.safetensors",
|
46 |
+
"model.layers.13.self_attn.k_proj.weight": "model-00003-of-00006.safetensors",
|
47 |
+
"model.layers.13.self_attn.o_proj.weight": "model-00003-of-00006.safetensors",
|
48 |
+
"model.layers.13.self_attn.q_proj.weight": "model-00003-of-00006.safetensors",
|
49 |
+
"model.layers.13.self_attn.v_proj.weight": "model-00003-of-00006.safetensors",
|
50 |
+
"model.layers.14.mlp.down_proj.weight": "model-00003-of-00006.safetensors",
|
51 |
+
"model.layers.14.mlp.gate_proj.weight": "model-00003-of-00006.safetensors",
|
52 |
+
"model.layers.14.mlp.up_proj.weight": "model-00003-of-00006.safetensors",
|
53 |
+
"model.layers.14.self_attn.k_proj.weight": "model-00003-of-00006.safetensors",
|
54 |
+
"model.layers.14.self_attn.o_proj.weight": "model-00003-of-00006.safetensors",
|
55 |
+
"model.layers.14.self_attn.q_proj.weight": "model-00003-of-00006.safetensors",
|
56 |
+
"model.layers.14.self_attn.v_proj.weight": "model-00003-of-00006.safetensors",
|
57 |
+
"model.layers.15.mlp.down_proj.weight": "model-00003-of-00006.safetensors",
|
58 |
+
"model.layers.15.mlp.gate_proj.weight": "model-00003-of-00006.safetensors",
|
59 |
+
"model.layers.15.mlp.up_proj.weight": "model-00003-of-00006.safetensors",
|
60 |
+
"model.layers.15.self_attn.k_proj.weight": "model-00003-of-00006.safetensors",
|
61 |
+
"model.layers.15.self_attn.o_proj.weight": "model-00003-of-00006.safetensors",
|
62 |
+
"model.layers.15.self_attn.q_proj.weight": "model-00003-of-00006.safetensors",
|
63 |
+
"model.layers.15.self_attn.v_proj.weight": "model-00003-of-00006.safetensors",
|
64 |
+
"model.layers.16.mlp.down_proj.weight": "model-00003-of-00006.safetensors",
|
65 |
+
"model.layers.16.mlp.gate_proj.weight": "model-00003-of-00006.safetensors",
|
66 |
+
"model.layers.16.mlp.up_proj.weight": "model-00003-of-00006.safetensors",
|
67 |
+
"model.layers.16.self_attn.k_proj.weight": "model-00003-of-00006.safetensors",
|
68 |
+
"model.layers.16.self_attn.o_proj.weight": "model-00003-of-00006.safetensors",
|
69 |
+
"model.layers.16.self_attn.q_proj.weight": "model-00003-of-00006.safetensors",
|
70 |
+
"model.layers.16.self_attn.v_proj.weight": "model-00003-of-00006.safetensors",
|
71 |
+
"model.layers.17.mlp.down_proj.weight": "model-00004-of-00006.safetensors",
|
72 |
+
"model.layers.17.mlp.gate_proj.weight": "model-00004-of-00006.safetensors",
|
73 |
+
"model.layers.17.mlp.up_proj.weight": "model-00004-of-00006.safetensors",
|
74 |
+
"model.layers.17.self_attn.k_proj.weight": "model-00003-of-00006.safetensors",
|
75 |
+
"model.layers.17.self_attn.o_proj.weight": "model-00003-of-00006.safetensors",
|
76 |
+
"model.layers.17.self_attn.q_proj.weight": "model-00003-of-00006.safetensors",
|
77 |
+
"model.layers.17.self_attn.v_proj.weight": "model-00003-of-00006.safetensors",
|
78 |
+
"model.layers.18.mlp.down_proj.weight": "model-00004-of-00006.safetensors",
|
79 |
+
"model.layers.18.mlp.gate_proj.weight": "model-00004-of-00006.safetensors",
|
80 |
+
"model.layers.18.mlp.up_proj.weight": "model-00004-of-00006.safetensors",
|
81 |
+
"model.layers.18.self_attn.k_proj.weight": "model-00004-of-00006.safetensors",
|
82 |
+
"model.layers.18.self_attn.o_proj.weight": "model-00004-of-00006.safetensors",
|
83 |
+
"model.layers.18.self_attn.q_proj.weight": "model-00004-of-00006.safetensors",
|
84 |
+
"model.layers.18.self_attn.v_proj.weight": "model-00004-of-00006.safetensors",
|
85 |
+
"model.layers.19.mlp.down_proj.weight": "model-00004-of-00006.safetensors",
|
86 |
+
"model.layers.19.mlp.gate_proj.weight": "model-00004-of-00006.safetensors",
|
87 |
+
"model.layers.19.mlp.up_proj.weight": "model-00004-of-00006.safetensors",
|
88 |
+
"model.layers.19.self_attn.k_proj.weight": "model-00004-of-00006.safetensors",
|
89 |
+
"model.layers.19.self_attn.o_proj.weight": "model-00004-of-00006.safetensors",
|
90 |
+
"model.layers.19.self_attn.q_proj.weight": "model-00004-of-00006.safetensors",
|
91 |
+
"model.layers.19.self_attn.v_proj.weight": "model-00004-of-00006.safetensors",
|
92 |
+
"model.layers.2.mlp.down_proj.weight": "model-00001-of-00006.safetensors",
|
93 |
+
"model.layers.2.mlp.gate_proj.weight": "model-00001-of-00006.safetensors",
|
94 |
+
"model.layers.2.mlp.up_proj.weight": "model-00001-of-00006.safetensors",
|
95 |
+
"model.layers.2.self_attn.k_proj.weight": "model-00001-of-00006.safetensors",
|
96 |
+
"model.layers.2.self_attn.o_proj.weight": "model-00001-of-00006.safetensors",
|
97 |
+
"model.layers.2.self_attn.q_proj.weight": "model-00001-of-00006.safetensors",
|
98 |
+
"model.layers.2.self_attn.v_proj.weight": "model-00001-of-00006.safetensors",
|
99 |
+
"model.layers.20.mlp.down_proj.weight": "model-00004-of-00006.safetensors",
|
100 |
+
"model.layers.20.mlp.gate_proj.weight": "model-00004-of-00006.safetensors",
|
101 |
+
"model.layers.20.mlp.up_proj.weight": "model-00004-of-00006.safetensors",
|
102 |
+
"model.layers.20.self_attn.k_proj.weight": "model-00004-of-00006.safetensors",
|
103 |
+
"model.layers.20.self_attn.o_proj.weight": "model-00004-of-00006.safetensors",
|
104 |
+
"model.layers.20.self_attn.q_proj.weight": "model-00004-of-00006.safetensors",
|
105 |
+
"model.layers.20.self_attn.v_proj.weight": "model-00004-of-00006.safetensors",
|
106 |
+
"model.layers.21.mlp.down_proj.weight": "model-00004-of-00006.safetensors",
|
107 |
+
"model.layers.21.mlp.gate_proj.weight": "model-00004-of-00006.safetensors",
|
108 |
+
"model.layers.21.mlp.up_proj.weight": "model-00004-of-00006.safetensors",
|
109 |
+
"model.layers.21.self_attn.k_proj.weight": "model-00004-of-00006.safetensors",
|
110 |
+
"model.layers.21.self_attn.o_proj.weight": "model-00004-of-00006.safetensors",
|
111 |
+
"model.layers.21.self_attn.q_proj.weight": "model-00004-of-00006.safetensors",
|
112 |
+
"model.layers.21.self_attn.v_proj.weight": "model-00004-of-00006.safetensors",
|
113 |
+
"model.layers.22.mlp.down_proj.weight": "model-00004-of-00006.safetensors",
|
114 |
+
"model.layers.22.mlp.gate_proj.weight": "model-00004-of-00006.safetensors",
|
115 |
+
"model.layers.22.mlp.up_proj.weight": "model-00004-of-00006.safetensors",
|
116 |
+
"model.layers.22.self_attn.k_proj.weight": "model-00004-of-00006.safetensors",
|
117 |
+
"model.layers.22.self_attn.o_proj.weight": "model-00004-of-00006.safetensors",
|
118 |
+
"model.layers.22.self_attn.q_proj.weight": "model-00004-of-00006.safetensors",
|
119 |
+
"model.layers.22.self_attn.v_proj.weight": "model-00004-of-00006.safetensors",
|
120 |
+
"model.layers.23.mlp.down_proj.weight": "model-00005-of-00006.safetensors",
|
121 |
+
"model.layers.23.mlp.gate_proj.weight": "model-00005-of-00006.safetensors",
|
122 |
+
"model.layers.23.mlp.up_proj.weight": "model-00005-of-00006.safetensors",
|
123 |
+
"model.layers.23.self_attn.k_proj.weight": "model-00004-of-00006.safetensors",
|
124 |
+
"model.layers.23.self_attn.o_proj.weight": "model-00004-of-00006.safetensors",
|
125 |
+
"model.layers.23.self_attn.q_proj.weight": "model-00004-of-00006.safetensors",
|
126 |
+
"model.layers.23.self_attn.v_proj.weight": "model-00004-of-00006.safetensors",
|
127 |
+
"model.layers.24.mlp.down_proj.weight": "model-00005-of-00006.safetensors",
|
128 |
+
"model.layers.24.mlp.gate_proj.weight": "model-00005-of-00006.safetensors",
|
129 |
+
"model.layers.24.mlp.up_proj.weight": "model-00005-of-00006.safetensors",
|
130 |
+
"model.layers.24.self_attn.k_proj.weight": "model-00005-of-00006.safetensors",
|
131 |
+
"model.layers.24.self_attn.o_proj.weight": "model-00005-of-00006.safetensors",
|
132 |
+
"model.layers.24.self_attn.q_proj.weight": "model-00005-of-00006.safetensors",
|
133 |
+
"model.layers.24.self_attn.v_proj.weight": "model-00005-of-00006.safetensors",
|
134 |
+
"model.layers.25.mlp.down_proj.weight": "model-00005-of-00006.safetensors",
|
135 |
+
"model.layers.25.mlp.gate_proj.weight": "model-00005-of-00006.safetensors",
|
136 |
+
"model.layers.25.mlp.up_proj.weight": "model-00005-of-00006.safetensors",
|
137 |
+
"model.layers.25.self_attn.k_proj.weight": "model-00005-of-00006.safetensors",
|
138 |
+
"model.layers.25.self_attn.o_proj.weight": "model-00005-of-00006.safetensors",
|
139 |
+
"model.layers.25.self_attn.q_proj.weight": "model-00005-of-00006.safetensors",
|
140 |
+
"model.layers.25.self_attn.v_proj.weight": "model-00005-of-00006.safetensors",
|
141 |
+
"model.layers.26.mlp.down_proj.weight": "model-00005-of-00006.safetensors",
|
142 |
+
"model.layers.26.mlp.gate_proj.weight": "model-00005-of-00006.safetensors",
|
143 |
+
"model.layers.26.mlp.up_proj.weight": "model-00005-of-00006.safetensors",
|
144 |
+
"model.layers.26.self_attn.k_proj.weight": "model-00005-of-00006.safetensors",
|
145 |
+
"model.layers.26.self_attn.o_proj.weight": "model-00005-of-00006.safetensors",
|
146 |
+
"model.layers.26.self_attn.q_proj.weight": "model-00005-of-00006.safetensors",
|
147 |
+
"model.layers.26.self_attn.v_proj.weight": "model-00005-of-00006.safetensors",
|
148 |
+
"model.layers.27.mlp.down_proj.weight": "model-00005-of-00006.safetensors",
|
149 |
+
"model.layers.27.mlp.gate_proj.weight": "model-00005-of-00006.safetensors",
|
150 |
+
"model.layers.27.mlp.up_proj.weight": "model-00005-of-00006.safetensors",
|
151 |
+
"model.layers.27.self_attn.k_proj.weight": "model-00005-of-00006.safetensors",
|
152 |
+
"model.layers.27.self_attn.o_proj.weight": "model-00005-of-00006.safetensors",
|
153 |
+
"model.layers.27.self_attn.q_proj.weight": "model-00005-of-00006.safetensors",
|
154 |
+
"model.layers.27.self_attn.v_proj.weight": "model-00005-of-00006.safetensors",
|
155 |
+
"model.layers.28.mlp.down_proj.weight": "model-00005-of-00006.safetensors",
|
156 |
+
"model.layers.28.mlp.gate_proj.weight": "model-00005-of-00006.safetensors",
|
157 |
+
"model.layers.28.mlp.up_proj.weight": "model-00005-of-00006.safetensors",
|
158 |
+
"model.layers.28.self_attn.k_proj.weight": "model-00005-of-00006.safetensors",
|
159 |
+
"model.layers.28.self_attn.o_proj.weight": "model-00005-of-00006.safetensors",
|
160 |
+
"model.layers.28.self_attn.q_proj.weight": "model-00005-of-00006.safetensors",
|
161 |
+
"model.layers.28.self_attn.v_proj.weight": "model-00005-of-00006.safetensors",
|
162 |
+
"model.layers.29.mlp.down_proj.weight": "model-00006-of-00006.safetensors",
|
163 |
+
"model.layers.29.mlp.gate_proj.weight": "model-00006-of-00006.safetensors",
|
164 |
+
"model.layers.29.mlp.up_proj.weight": "model-00006-of-00006.safetensors",
|
165 |
+
"model.layers.29.self_attn.k_proj.weight": "model-00005-of-00006.safetensors",
|
166 |
+
"model.layers.29.self_attn.o_proj.weight": "model-00005-of-00006.safetensors",
|
167 |
+
"model.layers.29.self_attn.q_proj.weight": "model-00005-of-00006.safetensors",
|
168 |
+
"model.layers.29.self_attn.v_proj.weight": "model-00005-of-00006.safetensors",
|
169 |
+
"model.layers.3.mlp.down_proj.weight": "model-00001-of-00006.safetensors",
|
170 |
+
"model.layers.3.mlp.gate_proj.weight": "model-00001-of-00006.safetensors",
|
171 |
+
"model.layers.3.mlp.up_proj.weight": "model-00001-of-00006.safetensors",
|
172 |
+
"model.layers.3.self_attn.k_proj.weight": "model-00001-of-00006.safetensors",
|
173 |
+
"model.layers.3.self_attn.o_proj.weight": "model-00001-of-00006.safetensors",
|
174 |
+
"model.layers.3.self_attn.q_proj.weight": "model-00001-of-00006.safetensors",
|
175 |
+
"model.layers.3.self_attn.v_proj.weight": "model-00001-of-00006.safetensors",
|
176 |
+
"model.layers.30.mlp.down_proj.weight": "model-00006-of-00006.safetensors",
|
177 |
+
"model.layers.30.mlp.gate_proj.weight": "model-00006-of-00006.safetensors",
|
178 |
+
"model.layers.30.mlp.up_proj.weight": "model-00006-of-00006.safetensors",
|
179 |
+
"model.layers.30.self_attn.k_proj.weight": "model-00006-of-00006.safetensors",
|
180 |
+
"model.layers.30.self_attn.o_proj.weight": "model-00006-of-00006.safetensors",
|
181 |
+
"model.layers.30.self_attn.q_proj.weight": "model-00006-of-00006.safetensors",
|
182 |
+
"model.layers.30.self_attn.v_proj.weight": "model-00006-of-00006.safetensors",
|
183 |
+
"model.layers.31.mlp.down_proj.weight": "model-00006-of-00006.safetensors",
|
184 |
+
"model.layers.31.mlp.gate_proj.weight": "model-00006-of-00006.safetensors",
|
185 |
+
"model.layers.31.mlp.up_proj.weight": "model-00006-of-00006.safetensors",
|
186 |
+
"model.layers.31.self_attn.k_proj.weight": "model-00006-of-00006.safetensors",
|
187 |
+
"model.layers.31.self_attn.o_proj.weight": "model-00006-of-00006.safetensors",
|
188 |
+
"model.layers.31.self_attn.q_proj.weight": "model-00006-of-00006.safetensors",
|
189 |
+
"model.layers.31.self_attn.v_proj.weight": "model-00006-of-00006.safetensors",
|
190 |
+
"model.layers.4.mlp.down_proj.weight": "model-00001-of-00006.safetensors",
|
191 |
+
"model.layers.4.mlp.gate_proj.weight": "model-00001-of-00006.safetensors",
|
192 |
+
"model.layers.4.mlp.up_proj.weight": "model-00001-of-00006.safetensors",
|
193 |
+
"model.layers.4.self_attn.k_proj.weight": "model-00001-of-00006.safetensors",
|
194 |
+
"model.layers.4.self_attn.o_proj.weight": "model-00001-of-00006.safetensors",
|
195 |
+
"model.layers.4.self_attn.q_proj.weight": "model-00001-of-00006.safetensors",
|
196 |
+
"model.layers.4.self_attn.v_proj.weight": "model-00001-of-00006.safetensors",
|
197 |
+
"model.layers.5.mlp.down_proj.weight": "model-00002-of-00006.safetensors",
|
198 |
+
"model.layers.5.mlp.gate_proj.weight": "model-00002-of-00006.safetensors",
|
199 |
+
"model.layers.5.mlp.up_proj.weight": "model-00002-of-00006.safetensors",
|
200 |
+
"model.layers.5.self_attn.k_proj.weight": "model-00002-of-00006.safetensors",
|
201 |
+
"model.layers.5.self_attn.o_proj.weight": "model-00002-of-00006.safetensors",
|
202 |
+
"model.layers.5.self_attn.q_proj.weight": "model-00001-of-00006.safetensors",
|
203 |
+
"model.layers.5.self_attn.v_proj.weight": "model-00002-of-00006.safetensors",
|
204 |
+
"model.layers.6.mlp.down_proj.weight": "model-00002-of-00006.safetensors",
|
205 |
+
"model.layers.6.mlp.gate_proj.weight": "model-00002-of-00006.safetensors",
|
206 |
+
"model.layers.6.mlp.up_proj.weight": "model-00002-of-00006.safetensors",
|
207 |
+
"model.layers.6.self_attn.k_proj.weight": "model-00002-of-00006.safetensors",
|
208 |
+
"model.layers.6.self_attn.o_proj.weight": "model-00002-of-00006.safetensors",
|
209 |
+
"model.layers.6.self_attn.q_proj.weight": "model-00002-of-00006.safetensors",
|
210 |
+
"model.layers.6.self_attn.v_proj.weight": "model-00002-of-00006.safetensors",
|
211 |
+
"model.layers.7.mlp.down_proj.weight": "model-00002-of-00006.safetensors",
|
212 |
+
"model.layers.7.mlp.gate_proj.weight": "model-00002-of-00006.safetensors",
|
213 |
+
"model.layers.7.mlp.up_proj.weight": "model-00002-of-00006.safetensors",
|
214 |
+
"model.layers.7.self_attn.k_proj.weight": "model-00002-of-00006.safetensors",
|
215 |
+
"model.layers.7.self_attn.o_proj.weight": "model-00002-of-00006.safetensors",
|
216 |
+
"model.layers.7.self_attn.q_proj.weight": "model-00002-of-00006.safetensors",
|
217 |
+
"model.layers.7.self_attn.v_proj.weight": "model-00002-of-00006.safetensors",
|
218 |
+
"model.layers.8.mlp.down_proj.weight": "model-00002-of-00006.safetensors",
|
219 |
+
"model.layers.8.mlp.gate_proj.weight": "model-00002-of-00006.safetensors",
|
220 |
+
"model.layers.8.mlp.up_proj.weight": "model-00002-of-00006.safetensors",
|
221 |
+
"model.layers.8.self_attn.k_proj.weight": "model-00002-of-00006.safetensors",
|
222 |
+
"model.layers.8.self_attn.o_proj.weight": "model-00002-of-00006.safetensors",
|
223 |
+
"model.layers.8.self_attn.q_proj.weight": "model-00002-of-00006.safetensors",
|
224 |
+
"model.layers.8.self_attn.v_proj.weight": "model-00002-of-00006.safetensors",
|
225 |
+
"model.layers.9.mlp.down_proj.weight": "model-00002-of-00006.safetensors",
|
226 |
+
"model.layers.9.mlp.gate_proj.weight": "model-00002-of-00006.safetensors",
|
227 |
+
"model.layers.9.mlp.up_proj.weight": "model-00002-of-00006.safetensors",
|
228 |
+
"model.layers.9.self_attn.k_proj.weight": "model-00002-of-00006.safetensors",
|
229 |
+
"model.layers.9.self_attn.o_proj.weight": "model-00002-of-00006.safetensors",
|
230 |
+
"model.layers.9.self_attn.q_proj.weight": "model-00002-of-00006.safetensors",
|
231 |
+
"model.layers.9.self_attn.v_proj.weight": "model-00002-of-00006.safetensors"
|
232 |
+
}
|
233 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"eos_token": "<|endoftext|>",
|
3 |
+
"pad_token": "<|padding|>"
|
4 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,238 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": false,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"add_prefix_space": false,
|
5 |
+
"added_tokens_decoder": {
|
6 |
+
"0": {
|
7 |
+
"content": "|||IP_ADDRESS|||",
|
8 |
+
"lstrip": false,
|
9 |
+
"normalized": true,
|
10 |
+
"rstrip": false,
|
11 |
+
"single_word": false,
|
12 |
+
"special": false
|
13 |
+
},
|
14 |
+
"1": {
|
15 |
+
"content": "<|padding|>",
|
16 |
+
"lstrip": false,
|
17 |
+
"normalized": false,
|
18 |
+
"rstrip": false,
|
19 |
+
"single_word": false,
|
20 |
+
"special": true
|
21 |
+
},
|
22 |
+
"50254": {
|
23 |
+
"content": " ",
|
24 |
+
"lstrip": false,
|
25 |
+
"normalized": true,
|
26 |
+
"rstrip": false,
|
27 |
+
"single_word": false,
|
28 |
+
"special": false
|
29 |
+
},
|
30 |
+
"50255": {
|
31 |
+
"content": " ",
|
32 |
+
"lstrip": false,
|
33 |
+
"normalized": true,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false,
|
36 |
+
"special": false
|
37 |
+
},
|
38 |
+
"50256": {
|
39 |
+
"content": " ",
|
40 |
+
"lstrip": false,
|
41 |
+
"normalized": true,
|
42 |
+
"rstrip": false,
|
43 |
+
"single_word": false,
|
44 |
+
"special": false
|
45 |
+
},
|
46 |
+
"50257": {
|
47 |
+
"content": " ",
|
48 |
+
"lstrip": false,
|
49 |
+
"normalized": true,
|
50 |
+
"rstrip": false,
|
51 |
+
"single_word": false,
|
52 |
+
"special": false
|
53 |
+
},
|
54 |
+
"50258": {
|
55 |
+
"content": " ",
|
56 |
+
"lstrip": false,
|
57 |
+
"normalized": true,
|
58 |
+
"rstrip": false,
|
59 |
+
"single_word": false,
|
60 |
+
"special": false
|
61 |
+
},
|
62 |
+
"50259": {
|
63 |
+
"content": " ",
|
64 |
+
"lstrip": false,
|
65 |
+
"normalized": true,
|
66 |
+
"rstrip": false,
|
67 |
+
"single_word": false,
|
68 |
+
"special": false
|
69 |
+
},
|
70 |
+
"50260": {
|
71 |
+
"content": " ",
|
72 |
+
"lstrip": false,
|
73 |
+
"normalized": true,
|
74 |
+
"rstrip": false,
|
75 |
+
"single_word": false,
|
76 |
+
"special": false
|
77 |
+
},
|
78 |
+
"50261": {
|
79 |
+
"content": " ",
|
80 |
+
"lstrip": false,
|
81 |
+
"normalized": true,
|
82 |
+
"rstrip": false,
|
83 |
+
"single_word": false,
|
84 |
+
"special": false
|
85 |
+
},
|
86 |
+
"50262": {
|
87 |
+
"content": " ",
|
88 |
+
"lstrip": false,
|
89 |
+
"normalized": true,
|
90 |
+
"rstrip": false,
|
91 |
+
"single_word": false,
|
92 |
+
"special": false
|
93 |
+
},
|
94 |
+
"50263": {
|
95 |
+
"content": " ",
|
96 |
+
"lstrip": false,
|
97 |
+
"normalized": true,
|
98 |
+
"rstrip": false,
|
99 |
+
"single_word": false,
|
100 |
+
"special": false
|
101 |
+
},
|
102 |
+
"50264": {
|
103 |
+
"content": " ",
|
104 |
+
"lstrip": false,
|
105 |
+
"normalized": true,
|
106 |
+
"rstrip": false,
|
107 |
+
"single_word": false,
|
108 |
+
"special": false
|
109 |
+
},
|
110 |
+
"50265": {
|
111 |
+
"content": " ",
|
112 |
+
"lstrip": false,
|
113 |
+
"normalized": true,
|
114 |
+
"rstrip": false,
|
115 |
+
"single_word": false,
|
116 |
+
"special": false
|
117 |
+
},
|
118 |
+
"50266": {
|
119 |
+
"content": " ",
|
120 |
+
"lstrip": false,
|
121 |
+
"normalized": true,
|
122 |
+
"rstrip": false,
|
123 |
+
"single_word": false,
|
124 |
+
"special": false
|
125 |
+
},
|
126 |
+
"50267": {
|
127 |
+
"content": " ",
|
128 |
+
"lstrip": false,
|
129 |
+
"normalized": true,
|
130 |
+
"rstrip": false,
|
131 |
+
"single_word": false,
|
132 |
+
"special": false
|
133 |
+
},
|
134 |
+
"50268": {
|
135 |
+
"content": " ",
|
136 |
+
"lstrip": false,
|
137 |
+
"normalized": true,
|
138 |
+
"rstrip": false,
|
139 |
+
"single_word": false,
|
140 |
+
"special": false
|
141 |
+
},
|
142 |
+
"50269": {
|
143 |
+
"content": " ",
|
144 |
+
"lstrip": false,
|
145 |
+
"normalized": true,
|
146 |
+
"rstrip": false,
|
147 |
+
"single_word": false,
|
148 |
+
"special": false
|
149 |
+
},
|
150 |
+
"50270": {
|
151 |
+
"content": " ",
|
152 |
+
"lstrip": false,
|
153 |
+
"normalized": true,
|
154 |
+
"rstrip": false,
|
155 |
+
"single_word": false,
|
156 |
+
"special": false
|
157 |
+
},
|
158 |
+
"50271": {
|
159 |
+
"content": " ",
|
160 |
+
"lstrip": false,
|
161 |
+
"normalized": true,
|
162 |
+
"rstrip": false,
|
163 |
+
"single_word": false,
|
164 |
+
"special": false
|
165 |
+
},
|
166 |
+
"50272": {
|
167 |
+
"content": " ",
|
168 |
+
"lstrip": false,
|
169 |
+
"normalized": true,
|
170 |
+
"rstrip": false,
|
171 |
+
"single_word": false,
|
172 |
+
"special": false
|
173 |
+
},
|
174 |
+
"50273": {
|
175 |
+
"content": " ",
|
176 |
+
"lstrip": false,
|
177 |
+
"normalized": true,
|
178 |
+
"rstrip": false,
|
179 |
+
"single_word": false,
|
180 |
+
"special": false
|
181 |
+
},
|
182 |
+
"50274": {
|
183 |
+
"content": " ",
|
184 |
+
"lstrip": false,
|
185 |
+
"normalized": true,
|
186 |
+
"rstrip": false,
|
187 |
+
"single_word": false,
|
188 |
+
"special": false
|
189 |
+
},
|
190 |
+
"50275": {
|
191 |
+
"content": " ",
|
192 |
+
"lstrip": false,
|
193 |
+
"normalized": true,
|
194 |
+
"rstrip": false,
|
195 |
+
"single_word": false,
|
196 |
+
"special": false
|
197 |
+
},
|
198 |
+
"50276": {
|
199 |
+
"content": " ",
|
200 |
+
"lstrip": false,
|
201 |
+
"normalized": true,
|
202 |
+
"rstrip": false,
|
203 |
+
"single_word": false,
|
204 |
+
"special": false
|
205 |
+
},
|
206 |
+
"50277": {
|
207 |
+
"content": "|||EMAIL_ADDRESS|||",
|
208 |
+
"lstrip": false,
|
209 |
+
"normalized": true,
|
210 |
+
"rstrip": false,
|
211 |
+
"single_word": false,
|
212 |
+
"special": false
|
213 |
+
},
|
214 |
+
"50278": {
|
215 |
+
"content": "|||PHONE_NUMBER|||",
|
216 |
+
"lstrip": false,
|
217 |
+
"normalized": true,
|
218 |
+
"rstrip": false,
|
219 |
+
"single_word": false,
|
220 |
+
"special": false
|
221 |
+
},
|
222 |
+
"50279": {
|
223 |
+
"content": "<|endoftext|>",
|
224 |
+
"lstrip": false,
|
225 |
+
"normalized": false,
|
226 |
+
"rstrip": false,
|
227 |
+
"single_word": false,
|
228 |
+
"special": true
|
229 |
+
}
|
230 |
+
},
|
231 |
+
"bos_token": null,
|
232 |
+
"clean_up_tokenization_spaces": true,
|
233 |
+
"eos_token": "<|endoftext|>",
|
234 |
+
"model_max_length": 1000000000000000019884624838656,
|
235 |
+
"pad_token": "<|padding|>",
|
236 |
+
"tokenizer_class": "GPTNeoXTokenizer",
|
237 |
+
"unk_token": null
|
238 |
+
}
|