Upload folder using huggingface_hub
Browse files- README.md +25 -0
- config.json +112 -0
- configuration_olmo.py +1 -0
- model.safetensors +3 -0
- model.safetensors.index.json +395 -0
- modeling_olmo.py +1 -0
- special_tokens_map.json +16 -0
- tokenization_olmo_fast.py +1 -0
- tokenizer.json +0 -0
- tokenizer_config.json +242 -0
README.md
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
license: apache-2.0
|
5 |
+
tags:
|
6 |
+
- mlx
|
7 |
+
datasets:
|
8 |
+
- allenai/dolma
|
9 |
+
---
|
10 |
+
|
11 |
+
# mlx-community/OLMo-7B-hf-4bit-mlx
|
12 |
+
This model was converted to MLX format from [`allenai/OLMo-7B`]().
|
13 |
+
Refer to the [original model card](https://huggingface.co/allenai/OLMo-7B) for more details on the model.
|
14 |
+
## Use with mlx
|
15 |
+
|
16 |
+
```bash
|
17 |
+
pip install mlx-lm
|
18 |
+
```
|
19 |
+
|
20 |
+
```python
|
21 |
+
from mlx_lm import load, generate
|
22 |
+
|
23 |
+
model, tokenizer = load("mlx-community/OLMo-7B-hf-4bit-mlx")
|
24 |
+
response = generate(model, tokenizer, prompt="hello", verbose=True)
|
25 |
+
```
|
config.json
ADDED
@@ -0,0 +1,112 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"return_dict": true,
|
3 |
+
"output_hidden_states": false,
|
4 |
+
"output_attentions": false,
|
5 |
+
"torchscript": false,
|
6 |
+
"torch_dtype": null,
|
7 |
+
"use_bfloat16": false,
|
8 |
+
"tf_legacy_loss": false,
|
9 |
+
"pruned_heads": {},
|
10 |
+
"tie_word_embeddings": true,
|
11 |
+
"chunk_size_feed_forward": 0,
|
12 |
+
"is_encoder_decoder": false,
|
13 |
+
"is_decoder": false,
|
14 |
+
"cross_attention_hidden_size": null,
|
15 |
+
"add_cross_attention": false,
|
16 |
+
"tie_encoder_decoder": false,
|
17 |
+
"max_length": 20,
|
18 |
+
"min_length": 0,
|
19 |
+
"do_sample": false,
|
20 |
+
"early_stopping": false,
|
21 |
+
"num_beams": 1,
|
22 |
+
"num_beam_groups": 1,
|
23 |
+
"diversity_penalty": 0.0,
|
24 |
+
"temperature": 1.0,
|
25 |
+
"top_k": 50,
|
26 |
+
"top_p": 1.0,
|
27 |
+
"typical_p": 1.0,
|
28 |
+
"repetition_penalty": 1.0,
|
29 |
+
"length_penalty": 1.0,
|
30 |
+
"no_repeat_ngram_size": 0,
|
31 |
+
"encoder_no_repeat_ngram_size": 0,
|
32 |
+
"bad_words_ids": null,
|
33 |
+
"num_return_sequences": 1,
|
34 |
+
"output_scores": false,
|
35 |
+
"return_dict_in_generate": false,
|
36 |
+
"forced_bos_token_id": null,
|
37 |
+
"forced_eos_token_id": null,
|
38 |
+
"remove_invalid_values": false,
|
39 |
+
"exponential_decay_length_penalty": null,
|
40 |
+
"suppress_tokens": null,
|
41 |
+
"begin_suppress_tokens": null,
|
42 |
+
"architectures": [
|
43 |
+
"OlmoModelForCausalLM"
|
44 |
+
],
|
45 |
+
"finetuning_task": null,
|
46 |
+
"id2label": {
|
47 |
+
"0": "LABEL_0",
|
48 |
+
"1": "LABEL_1"
|
49 |
+
},
|
50 |
+
"label2id": {
|
51 |
+
"LABEL_0": 0,
|
52 |
+
"LABEL_1": 1
|
53 |
+
},
|
54 |
+
"tokenizer_class": null,
|
55 |
+
"prefix": null,
|
56 |
+
"bos_token_id": null,
|
57 |
+
"pad_token_id": 1,
|
58 |
+
"eos_token_id": 50279,
|
59 |
+
"sep_token_id": null,
|
60 |
+
"decoder_start_token_id": null,
|
61 |
+
"task_specific_params": null,
|
62 |
+
"problem_type": null,
|
63 |
+
"_name_or_path": "OLMo-7B",
|
64 |
+
"transformers_version": "4.37.2",
|
65 |
+
"d_model": 4096,
|
66 |
+
"n_heads": 32,
|
67 |
+
"n_layers": 32,
|
68 |
+
"mlp_ratio": 4,
|
69 |
+
"mlp_hidden_size": 22016,
|
70 |
+
"activation_type": "swiglu",
|
71 |
+
"block_type": "sequential",
|
72 |
+
"block_group_size": 1,
|
73 |
+
"alibi": false,
|
74 |
+
"alibi_bias_max": 8.0,
|
75 |
+
"rope": true,
|
76 |
+
"rope_full_precision": true,
|
77 |
+
"flash_attention": true,
|
78 |
+
"attention_dropout": 0.0,
|
79 |
+
"multi_query_attention": false,
|
80 |
+
"attention_layer_norm": false,
|
81 |
+
"residual_dropout": 0.0,
|
82 |
+
"embedding_dropout": 0.0,
|
83 |
+
"layer_norm_type": "default",
|
84 |
+
"layer_norm_with_affine": false,
|
85 |
+
"attention_layer_norm_with_affine": false,
|
86 |
+
"max_sequence_length": 2048,
|
87 |
+
"include_bias": false,
|
88 |
+
"bias_for_layer_norm": false,
|
89 |
+
"scale_logits": false,
|
90 |
+
"vocab_size": 50280,
|
91 |
+
"embedding_size": 50304,
|
92 |
+
"weight_tying": false,
|
93 |
+
"init_device": "meta",
|
94 |
+
"init_fn": "mitchell",
|
95 |
+
"init_std": 0.02,
|
96 |
+
"init_cutoff_factor": null,
|
97 |
+
"precision": "amp_bf16",
|
98 |
+
"model_type": "olmo",
|
99 |
+
"auto_map": {
|
100 |
+
"AutoConfig": "configuration_olmo.OLMoConfig",
|
101 |
+
"AutoModelForCausalLM": "modeling_olmo.OLMoForCausalLM",
|
102 |
+
"AutoTokenizer": [
|
103 |
+
"tokenization_olmo_fast.OLMoTokenizerFast",
|
104 |
+
"tokenization_olmo_fast.OLMoTokenizerFast"
|
105 |
+
]
|
106 |
+
},
|
107 |
+
"use_cache": true,
|
108 |
+
"quantization": {
|
109 |
+
"group_size": 64,
|
110 |
+
"bits": 4
|
111 |
+
}
|
112 |
+
}
|
configuration_olmo.py
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
from hf_olmo import OLMoConfig
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f89eaa8dfefebce6fa0b42a98cde511f8c5cddadc4fc0ae21b327e103137d93c
|
3 |
+
size 4170789690
|
model.safetensors.index.json
ADDED
@@ -0,0 +1,395 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"metadata": {
|
3 |
+
"total_size": 4170743808
|
4 |
+
},
|
5 |
+
"weight_map": {
|
6 |
+
"model.transformer.blocks.0.att_proj.biases": "model.safetensors",
|
7 |
+
"model.transformer.blocks.0.att_proj.scales": "model.safetensors",
|
8 |
+
"model.transformer.blocks.0.att_proj.weight": "model.safetensors",
|
9 |
+
"model.transformer.blocks.0.attn_out.biases": "model.safetensors",
|
10 |
+
"model.transformer.blocks.0.attn_out.scales": "model.safetensors",
|
11 |
+
"model.transformer.blocks.0.attn_out.weight": "model.safetensors",
|
12 |
+
"model.transformer.blocks.0.ff_out.biases": "model.safetensors",
|
13 |
+
"model.transformer.blocks.0.ff_out.scales": "model.safetensors",
|
14 |
+
"model.transformer.blocks.0.ff_out.weight": "model.safetensors",
|
15 |
+
"model.transformer.blocks.0.ff_proj.biases": "model.safetensors",
|
16 |
+
"model.transformer.blocks.0.ff_proj.scales": "model.safetensors",
|
17 |
+
"model.transformer.blocks.0.ff_proj.weight": "model.safetensors",
|
18 |
+
"model.transformer.blocks.1.att_proj.biases": "model.safetensors",
|
19 |
+
"model.transformer.blocks.1.att_proj.scales": "model.safetensors",
|
20 |
+
"model.transformer.blocks.1.att_proj.weight": "model.safetensors",
|
21 |
+
"model.transformer.blocks.1.attn_out.biases": "model.safetensors",
|
22 |
+
"model.transformer.blocks.1.attn_out.scales": "model.safetensors",
|
23 |
+
"model.transformer.blocks.1.attn_out.weight": "model.safetensors",
|
24 |
+
"model.transformer.blocks.1.ff_out.biases": "model.safetensors",
|
25 |
+
"model.transformer.blocks.1.ff_out.scales": "model.safetensors",
|
26 |
+
"model.transformer.blocks.1.ff_out.weight": "model.safetensors",
|
27 |
+
"model.transformer.blocks.1.ff_proj.biases": "model.safetensors",
|
28 |
+
"model.transformer.blocks.1.ff_proj.scales": "model.safetensors",
|
29 |
+
"model.transformer.blocks.1.ff_proj.weight": "model.safetensors",
|
30 |
+
"model.transformer.blocks.10.att_proj.biases": "model.safetensors",
|
31 |
+
"model.transformer.blocks.10.att_proj.scales": "model.safetensors",
|
32 |
+
"model.transformer.blocks.10.att_proj.weight": "model.safetensors",
|
33 |
+
"model.transformer.blocks.10.attn_out.biases": "model.safetensors",
|
34 |
+
"model.transformer.blocks.10.attn_out.scales": "model.safetensors",
|
35 |
+
"model.transformer.blocks.10.attn_out.weight": "model.safetensors",
|
36 |
+
"model.transformer.blocks.10.ff_out.biases": "model.safetensors",
|
37 |
+
"model.transformer.blocks.10.ff_out.scales": "model.safetensors",
|
38 |
+
"model.transformer.blocks.10.ff_out.weight": "model.safetensors",
|
39 |
+
"model.transformer.blocks.10.ff_proj.biases": "model.safetensors",
|
40 |
+
"model.transformer.blocks.10.ff_proj.scales": "model.safetensors",
|
41 |
+
"model.transformer.blocks.10.ff_proj.weight": "model.safetensors",
|
42 |
+
"model.transformer.blocks.11.att_proj.biases": "model.safetensors",
|
43 |
+
"model.transformer.blocks.11.att_proj.scales": "model.safetensors",
|
44 |
+
"model.transformer.blocks.11.att_proj.weight": "model.safetensors",
|
45 |
+
"model.transformer.blocks.11.attn_out.biases": "model.safetensors",
|
46 |
+
"model.transformer.blocks.11.attn_out.scales": "model.safetensors",
|
47 |
+
"model.transformer.blocks.11.attn_out.weight": "model.safetensors",
|
48 |
+
"model.transformer.blocks.11.ff_out.biases": "model.safetensors",
|
49 |
+
"model.transformer.blocks.11.ff_out.scales": "model.safetensors",
|
50 |
+
"model.transformer.blocks.11.ff_out.weight": "model.safetensors",
|
51 |
+
"model.transformer.blocks.11.ff_proj.biases": "model.safetensors",
|
52 |
+
"model.transformer.blocks.11.ff_proj.scales": "model.safetensors",
|
53 |
+
"model.transformer.blocks.11.ff_proj.weight": "model.safetensors",
|
54 |
+
"model.transformer.blocks.12.att_proj.biases": "model.safetensors",
|
55 |
+
"model.transformer.blocks.12.att_proj.scales": "model.safetensors",
|
56 |
+
"model.transformer.blocks.12.att_proj.weight": "model.safetensors",
|
57 |
+
"model.transformer.blocks.12.attn_out.biases": "model.safetensors",
|
58 |
+
"model.transformer.blocks.12.attn_out.scales": "model.safetensors",
|
59 |
+
"model.transformer.blocks.12.attn_out.weight": "model.safetensors",
|
60 |
+
"model.transformer.blocks.12.ff_out.biases": "model.safetensors",
|
61 |
+
"model.transformer.blocks.12.ff_out.scales": "model.safetensors",
|
62 |
+
"model.transformer.blocks.12.ff_out.weight": "model.safetensors",
|
63 |
+
"model.transformer.blocks.12.ff_proj.biases": "model.safetensors",
|
64 |
+
"model.transformer.blocks.12.ff_proj.scales": "model.safetensors",
|
65 |
+
"model.transformer.blocks.12.ff_proj.weight": "model.safetensors",
|
66 |
+
"model.transformer.blocks.13.att_proj.biases": "model.safetensors",
|
67 |
+
"model.transformer.blocks.13.att_proj.scales": "model.safetensors",
|
68 |
+
"model.transformer.blocks.13.att_proj.weight": "model.safetensors",
|
69 |
+
"model.transformer.blocks.13.attn_out.biases": "model.safetensors",
|
70 |
+
"model.transformer.blocks.13.attn_out.scales": "model.safetensors",
|
71 |
+
"model.transformer.blocks.13.attn_out.weight": "model.safetensors",
|
72 |
+
"model.transformer.blocks.13.ff_out.biases": "model.safetensors",
|
73 |
+
"model.transformer.blocks.13.ff_out.scales": "model.safetensors",
|
74 |
+
"model.transformer.blocks.13.ff_out.weight": "model.safetensors",
|
75 |
+
"model.transformer.blocks.13.ff_proj.biases": "model.safetensors",
|
76 |
+
"model.transformer.blocks.13.ff_proj.scales": "model.safetensors",
|
77 |
+
"model.transformer.blocks.13.ff_proj.weight": "model.safetensors",
|
78 |
+
"model.transformer.blocks.14.att_proj.biases": "model.safetensors",
|
79 |
+
"model.transformer.blocks.14.att_proj.scales": "model.safetensors",
|
80 |
+
"model.transformer.blocks.14.att_proj.weight": "model.safetensors",
|
81 |
+
"model.transformer.blocks.14.attn_out.biases": "model.safetensors",
|
82 |
+
"model.transformer.blocks.14.attn_out.scales": "model.safetensors",
|
83 |
+
"model.transformer.blocks.14.attn_out.weight": "model.safetensors",
|
84 |
+
"model.transformer.blocks.14.ff_out.biases": "model.safetensors",
|
85 |
+
"model.transformer.blocks.14.ff_out.scales": "model.safetensors",
|
86 |
+
"model.transformer.blocks.14.ff_out.weight": "model.safetensors",
|
87 |
+
"model.transformer.blocks.14.ff_proj.biases": "model.safetensors",
|
88 |
+
"model.transformer.blocks.14.ff_proj.scales": "model.safetensors",
|
89 |
+
"model.transformer.blocks.14.ff_proj.weight": "model.safetensors",
|
90 |
+
"model.transformer.blocks.15.att_proj.biases": "model.safetensors",
|
91 |
+
"model.transformer.blocks.15.att_proj.scales": "model.safetensors",
|
92 |
+
"model.transformer.blocks.15.att_proj.weight": "model.safetensors",
|
93 |
+
"model.transformer.blocks.15.attn_out.biases": "model.safetensors",
|
94 |
+
"model.transformer.blocks.15.attn_out.scales": "model.safetensors",
|
95 |
+
"model.transformer.blocks.15.attn_out.weight": "model.safetensors",
|
96 |
+
"model.transformer.blocks.15.ff_out.biases": "model.safetensors",
|
97 |
+
"model.transformer.blocks.15.ff_out.scales": "model.safetensors",
|
98 |
+
"model.transformer.blocks.15.ff_out.weight": "model.safetensors",
|
99 |
+
"model.transformer.blocks.15.ff_proj.biases": "model.safetensors",
|
100 |
+
"model.transformer.blocks.15.ff_proj.scales": "model.safetensors",
|
101 |
+
"model.transformer.blocks.15.ff_proj.weight": "model.safetensors",
|
102 |
+
"model.transformer.blocks.16.att_proj.biases": "model.safetensors",
|
103 |
+
"model.transformer.blocks.16.att_proj.scales": "model.safetensors",
|
104 |
+
"model.transformer.blocks.16.att_proj.weight": "model.safetensors",
|
105 |
+
"model.transformer.blocks.16.attn_out.biases": "model.safetensors",
|
106 |
+
"model.transformer.blocks.16.attn_out.scales": "model.safetensors",
|
107 |
+
"model.transformer.blocks.16.attn_out.weight": "model.safetensors",
|
108 |
+
"model.transformer.blocks.16.ff_out.biases": "model.safetensors",
|
109 |
+
"model.transformer.blocks.16.ff_out.scales": "model.safetensors",
|
110 |
+
"model.transformer.blocks.16.ff_out.weight": "model.safetensors",
|
111 |
+
"model.transformer.blocks.16.ff_proj.biases": "model.safetensors",
|
112 |
+
"model.transformer.blocks.16.ff_proj.scales": "model.safetensors",
|
113 |
+
"model.transformer.blocks.16.ff_proj.weight": "model.safetensors",
|
114 |
+
"model.transformer.blocks.17.att_proj.biases": "model.safetensors",
|
115 |
+
"model.transformer.blocks.17.att_proj.scales": "model.safetensors",
|
116 |
+
"model.transformer.blocks.17.att_proj.weight": "model.safetensors",
|
117 |
+
"model.transformer.blocks.17.attn_out.biases": "model.safetensors",
|
118 |
+
"model.transformer.blocks.17.attn_out.scales": "model.safetensors",
|
119 |
+
"model.transformer.blocks.17.attn_out.weight": "model.safetensors",
|
120 |
+
"model.transformer.blocks.17.ff_out.biases": "model.safetensors",
|
121 |
+
"model.transformer.blocks.17.ff_out.scales": "model.safetensors",
|
122 |
+
"model.transformer.blocks.17.ff_out.weight": "model.safetensors",
|
123 |
+
"model.transformer.blocks.17.ff_proj.biases": "model.safetensors",
|
124 |
+
"model.transformer.blocks.17.ff_proj.scales": "model.safetensors",
|
125 |
+
"model.transformer.blocks.17.ff_proj.weight": "model.safetensors",
|
126 |
+
"model.transformer.blocks.18.att_proj.biases": "model.safetensors",
|
127 |
+
"model.transformer.blocks.18.att_proj.scales": "model.safetensors",
|
128 |
+
"model.transformer.blocks.18.att_proj.weight": "model.safetensors",
|
129 |
+
"model.transformer.blocks.18.attn_out.biases": "model.safetensors",
|
130 |
+
"model.transformer.blocks.18.attn_out.scales": "model.safetensors",
|
131 |
+
"model.transformer.blocks.18.attn_out.weight": "model.safetensors",
|
132 |
+
"model.transformer.blocks.18.ff_out.biases": "model.safetensors",
|
133 |
+
"model.transformer.blocks.18.ff_out.scales": "model.safetensors",
|
134 |
+
"model.transformer.blocks.18.ff_out.weight": "model.safetensors",
|
135 |
+
"model.transformer.blocks.18.ff_proj.biases": "model.safetensors",
|
136 |
+
"model.transformer.blocks.18.ff_proj.scales": "model.safetensors",
|
137 |
+
"model.transformer.blocks.18.ff_proj.weight": "model.safetensors",
|
138 |
+
"model.transformer.blocks.19.att_proj.biases": "model.safetensors",
|
139 |
+
"model.transformer.blocks.19.att_proj.scales": "model.safetensors",
|
140 |
+
"model.transformer.blocks.19.att_proj.weight": "model.safetensors",
|
141 |
+
"model.transformer.blocks.19.attn_out.biases": "model.safetensors",
|
142 |
+
"model.transformer.blocks.19.attn_out.scales": "model.safetensors",
|
143 |
+
"model.transformer.blocks.19.attn_out.weight": "model.safetensors",
|
144 |
+
"model.transformer.blocks.19.ff_out.biases": "model.safetensors",
|
145 |
+
"model.transformer.blocks.19.ff_out.scales": "model.safetensors",
|
146 |
+
"model.transformer.blocks.19.ff_out.weight": "model.safetensors",
|
147 |
+
"model.transformer.blocks.19.ff_proj.biases": "model.safetensors",
|
148 |
+
"model.transformer.blocks.19.ff_proj.scales": "model.safetensors",
|
149 |
+
"model.transformer.blocks.19.ff_proj.weight": "model.safetensors",
|
150 |
+
"model.transformer.blocks.2.att_proj.biases": "model.safetensors",
|
151 |
+
"model.transformer.blocks.2.att_proj.scales": "model.safetensors",
|
152 |
+
"model.transformer.blocks.2.att_proj.weight": "model.safetensors",
|
153 |
+
"model.transformer.blocks.2.attn_out.biases": "model.safetensors",
|
154 |
+
"model.transformer.blocks.2.attn_out.scales": "model.safetensors",
|
155 |
+
"model.transformer.blocks.2.attn_out.weight": "model.safetensors",
|
156 |
+
"model.transformer.blocks.2.ff_out.biases": "model.safetensors",
|
157 |
+
"model.transformer.blocks.2.ff_out.scales": "model.safetensors",
|
158 |
+
"model.transformer.blocks.2.ff_out.weight": "model.safetensors",
|
159 |
+
"model.transformer.blocks.2.ff_proj.biases": "model.safetensors",
|
160 |
+
"model.transformer.blocks.2.ff_proj.scales": "model.safetensors",
|
161 |
+
"model.transformer.blocks.2.ff_proj.weight": "model.safetensors",
|
162 |
+
"model.transformer.blocks.20.att_proj.biases": "model.safetensors",
|
163 |
+
"model.transformer.blocks.20.att_proj.scales": "model.safetensors",
|
164 |
+
"model.transformer.blocks.20.att_proj.weight": "model.safetensors",
|
165 |
+
"model.transformer.blocks.20.attn_out.biases": "model.safetensors",
|
166 |
+
"model.transformer.blocks.20.attn_out.scales": "model.safetensors",
|
167 |
+
"model.transformer.blocks.20.attn_out.weight": "model.safetensors",
|
168 |
+
"model.transformer.blocks.20.ff_out.biases": "model.safetensors",
|
169 |
+
"model.transformer.blocks.20.ff_out.scales": "model.safetensors",
|
170 |
+
"model.transformer.blocks.20.ff_out.weight": "model.safetensors",
|
171 |
+
"model.transformer.blocks.20.ff_proj.biases": "model.safetensors",
|
172 |
+
"model.transformer.blocks.20.ff_proj.scales": "model.safetensors",
|
173 |
+
"model.transformer.blocks.20.ff_proj.weight": "model.safetensors",
|
174 |
+
"model.transformer.blocks.21.att_proj.biases": "model.safetensors",
|
175 |
+
"model.transformer.blocks.21.att_proj.scales": "model.safetensors",
|
176 |
+
"model.transformer.blocks.21.att_proj.weight": "model.safetensors",
|
177 |
+
"model.transformer.blocks.21.attn_out.biases": "model.safetensors",
|
178 |
+
"model.transformer.blocks.21.attn_out.scales": "model.safetensors",
|
179 |
+
"model.transformer.blocks.21.attn_out.weight": "model.safetensors",
|
180 |
+
"model.transformer.blocks.21.ff_out.biases": "model.safetensors",
|
181 |
+
"model.transformer.blocks.21.ff_out.scales": "model.safetensors",
|
182 |
+
"model.transformer.blocks.21.ff_out.weight": "model.safetensors",
|
183 |
+
"model.transformer.blocks.21.ff_proj.biases": "model.safetensors",
|
184 |
+
"model.transformer.blocks.21.ff_proj.scales": "model.safetensors",
|
185 |
+
"model.transformer.blocks.21.ff_proj.weight": "model.safetensors",
|
186 |
+
"model.transformer.blocks.22.att_proj.biases": "model.safetensors",
|
187 |
+
"model.transformer.blocks.22.att_proj.scales": "model.safetensors",
|
188 |
+
"model.transformer.blocks.22.att_proj.weight": "model.safetensors",
|
189 |
+
"model.transformer.blocks.22.attn_out.biases": "model.safetensors",
|
190 |
+
"model.transformer.blocks.22.attn_out.scales": "model.safetensors",
|
191 |
+
"model.transformer.blocks.22.attn_out.weight": "model.safetensors",
|
192 |
+
"model.transformer.blocks.22.ff_out.biases": "model.safetensors",
|
193 |
+
"model.transformer.blocks.22.ff_out.scales": "model.safetensors",
|
194 |
+
"model.transformer.blocks.22.ff_out.weight": "model.safetensors",
|
195 |
+
"model.transformer.blocks.22.ff_proj.biases": "model.safetensors",
|
196 |
+
"model.transformer.blocks.22.ff_proj.scales": "model.safetensors",
|
197 |
+
"model.transformer.blocks.22.ff_proj.weight": "model.safetensors",
|
198 |
+
"model.transformer.blocks.23.att_proj.biases": "model.safetensors",
|
199 |
+
"model.transformer.blocks.23.att_proj.scales": "model.safetensors",
|
200 |
+
"model.transformer.blocks.23.att_proj.weight": "model.safetensors",
|
201 |
+
"model.transformer.blocks.23.attn_out.biases": "model.safetensors",
|
202 |
+
"model.transformer.blocks.23.attn_out.scales": "model.safetensors",
|
203 |
+
"model.transformer.blocks.23.attn_out.weight": "model.safetensors",
|
204 |
+
"model.transformer.blocks.23.ff_out.biases": "model.safetensors",
|
205 |
+
"model.transformer.blocks.23.ff_out.scales": "model.safetensors",
|
206 |
+
"model.transformer.blocks.23.ff_out.weight": "model.safetensors",
|
207 |
+
"model.transformer.blocks.23.ff_proj.biases": "model.safetensors",
|
208 |
+
"model.transformer.blocks.23.ff_proj.scales": "model.safetensors",
|
209 |
+
"model.transformer.blocks.23.ff_proj.weight": "model.safetensors",
|
210 |
+
"model.transformer.blocks.24.att_proj.biases": "model.safetensors",
|
211 |
+
"model.transformer.blocks.24.att_proj.scales": "model.safetensors",
|
212 |
+
"model.transformer.blocks.24.att_proj.weight": "model.safetensors",
|
213 |
+
"model.transformer.blocks.24.attn_out.biases": "model.safetensors",
|
214 |
+
"model.transformer.blocks.24.attn_out.scales": "model.safetensors",
|
215 |
+
"model.transformer.blocks.24.attn_out.weight": "model.safetensors",
|
216 |
+
"model.transformer.blocks.24.ff_out.biases": "model.safetensors",
|
217 |
+
"model.transformer.blocks.24.ff_out.scales": "model.safetensors",
|
218 |
+
"model.transformer.blocks.24.ff_out.weight": "model.safetensors",
|
219 |
+
"model.transformer.blocks.24.ff_proj.biases": "model.safetensors",
|
220 |
+
"model.transformer.blocks.24.ff_proj.scales": "model.safetensors",
|
221 |
+
"model.transformer.blocks.24.ff_proj.weight": "model.safetensors",
|
222 |
+
"model.transformer.blocks.25.att_proj.biases": "model.safetensors",
|
223 |
+
"model.transformer.blocks.25.att_proj.scales": "model.safetensors",
|
224 |
+
"model.transformer.blocks.25.att_proj.weight": "model.safetensors",
|
225 |
+
"model.transformer.blocks.25.attn_out.biases": "model.safetensors",
|
226 |
+
"model.transformer.blocks.25.attn_out.scales": "model.safetensors",
|
227 |
+
"model.transformer.blocks.25.attn_out.weight": "model.safetensors",
|
228 |
+
"model.transformer.blocks.25.ff_out.biases": "model.safetensors",
|
229 |
+
"model.transformer.blocks.25.ff_out.scales": "model.safetensors",
|
230 |
+
"model.transformer.blocks.25.ff_out.weight": "model.safetensors",
|
231 |
+
"model.transformer.blocks.25.ff_proj.biases": "model.safetensors",
|
232 |
+
"model.transformer.blocks.25.ff_proj.scales": "model.safetensors",
|
233 |
+
"model.transformer.blocks.25.ff_proj.weight": "model.safetensors",
|
234 |
+
"model.transformer.blocks.26.att_proj.biases": "model.safetensors",
|
235 |
+
"model.transformer.blocks.26.att_proj.scales": "model.safetensors",
|
236 |
+
"model.transformer.blocks.26.att_proj.weight": "model.safetensors",
|
237 |
+
"model.transformer.blocks.26.attn_out.biases": "model.safetensors",
|
238 |
+
"model.transformer.blocks.26.attn_out.scales": "model.safetensors",
|
239 |
+
"model.transformer.blocks.26.attn_out.weight": "model.safetensors",
|
240 |
+
"model.transformer.blocks.26.ff_out.biases": "model.safetensors",
|
241 |
+
"model.transformer.blocks.26.ff_out.scales": "model.safetensors",
|
242 |
+
"model.transformer.blocks.26.ff_out.weight": "model.safetensors",
|
243 |
+
"model.transformer.blocks.26.ff_proj.biases": "model.safetensors",
|
244 |
+
"model.transformer.blocks.26.ff_proj.scales": "model.safetensors",
|
245 |
+
"model.transformer.blocks.26.ff_proj.weight": "model.safetensors",
|
246 |
+
"model.transformer.blocks.27.att_proj.biases": "model.safetensors",
|
247 |
+
"model.transformer.blocks.27.att_proj.scales": "model.safetensors",
|
248 |
+
"model.transformer.blocks.27.att_proj.weight": "model.safetensors",
|
249 |
+
"model.transformer.blocks.27.attn_out.biases": "model.safetensors",
|
250 |
+
"model.transformer.blocks.27.attn_out.scales": "model.safetensors",
|
251 |
+
"model.transformer.blocks.27.attn_out.weight": "model.safetensors",
|
252 |
+
"model.transformer.blocks.27.ff_out.biases": "model.safetensors",
|
253 |
+
"model.transformer.blocks.27.ff_out.scales": "model.safetensors",
|
254 |
+
"model.transformer.blocks.27.ff_out.weight": "model.safetensors",
|
255 |
+
"model.transformer.blocks.27.ff_proj.biases": "model.safetensors",
|
256 |
+
"model.transformer.blocks.27.ff_proj.scales": "model.safetensors",
|
257 |
+
"model.transformer.blocks.27.ff_proj.weight": "model.safetensors",
|
258 |
+
"model.transformer.blocks.28.att_proj.biases": "model.safetensors",
|
259 |
+
"model.transformer.blocks.28.att_proj.scales": "model.safetensors",
|
260 |
+
"model.transformer.blocks.28.att_proj.weight": "model.safetensors",
|
261 |
+
"model.transformer.blocks.28.attn_out.biases": "model.safetensors",
|
262 |
+
"model.transformer.blocks.28.attn_out.scales": "model.safetensors",
|
263 |
+
"model.transformer.blocks.28.attn_out.weight": "model.safetensors",
|
264 |
+
"model.transformer.blocks.28.ff_out.biases": "model.safetensors",
|
265 |
+
"model.transformer.blocks.28.ff_out.scales": "model.safetensors",
|
266 |
+
"model.transformer.blocks.28.ff_out.weight": "model.safetensors",
|
267 |
+
"model.transformer.blocks.28.ff_proj.biases": "model.safetensors",
|
268 |
+
"model.transformer.blocks.28.ff_proj.scales": "model.safetensors",
|
269 |
+
"model.transformer.blocks.28.ff_proj.weight": "model.safetensors",
|
270 |
+
"model.transformer.blocks.29.att_proj.biases": "model.safetensors",
|
271 |
+
"model.transformer.blocks.29.att_proj.scales": "model.safetensors",
|
272 |
+
"model.transformer.blocks.29.att_proj.weight": "model.safetensors",
|
273 |
+
"model.transformer.blocks.29.attn_out.biases": "model.safetensors",
|
274 |
+
"model.transformer.blocks.29.attn_out.scales": "model.safetensors",
|
275 |
+
"model.transformer.blocks.29.attn_out.weight": "model.safetensors",
|
276 |
+
"model.transformer.blocks.29.ff_out.biases": "model.safetensors",
|
277 |
+
"model.transformer.blocks.29.ff_out.scales": "model.safetensors",
|
278 |
+
"model.transformer.blocks.29.ff_out.weight": "model.safetensors",
|
279 |
+
"model.transformer.blocks.29.ff_proj.biases": "model.safetensors",
|
280 |
+
"model.transformer.blocks.29.ff_proj.scales": "model.safetensors",
|
281 |
+
"model.transformer.blocks.29.ff_proj.weight": "model.safetensors",
|
282 |
+
"model.transformer.blocks.3.att_proj.biases": "model.safetensors",
|
283 |
+
"model.transformer.blocks.3.att_proj.scales": "model.safetensors",
|
284 |
+
"model.transformer.blocks.3.att_proj.weight": "model.safetensors",
|
285 |
+
"model.transformer.blocks.3.attn_out.biases": "model.safetensors",
|
286 |
+
"model.transformer.blocks.3.attn_out.scales": "model.safetensors",
|
287 |
+
"model.transformer.blocks.3.attn_out.weight": "model.safetensors",
|
288 |
+
"model.transformer.blocks.3.ff_out.biases": "model.safetensors",
|
289 |
+
"model.transformer.blocks.3.ff_out.scales": "model.safetensors",
|
290 |
+
"model.transformer.blocks.3.ff_out.weight": "model.safetensors",
|
291 |
+
"model.transformer.blocks.3.ff_proj.biases": "model.safetensors",
|
292 |
+
"model.transformer.blocks.3.ff_proj.scales": "model.safetensors",
|
293 |
+
"model.transformer.blocks.3.ff_proj.weight": "model.safetensors",
|
294 |
+
"model.transformer.blocks.30.att_proj.biases": "model.safetensors",
|
295 |
+
"model.transformer.blocks.30.att_proj.scales": "model.safetensors",
|
296 |
+
"model.transformer.blocks.30.att_proj.weight": "model.safetensors",
|
297 |
+
"model.transformer.blocks.30.attn_out.biases": "model.safetensors",
|
298 |
+
"model.transformer.blocks.30.attn_out.scales": "model.safetensors",
|
299 |
+
"model.transformer.blocks.30.attn_out.weight": "model.safetensors",
|
300 |
+
"model.transformer.blocks.30.ff_out.biases": "model.safetensors",
|
301 |
+
"model.transformer.blocks.30.ff_out.scales": "model.safetensors",
|
302 |
+
"model.transformer.blocks.30.ff_out.weight": "model.safetensors",
|
303 |
+
"model.transformer.blocks.30.ff_proj.biases": "model.safetensors",
|
304 |
+
"model.transformer.blocks.30.ff_proj.scales": "model.safetensors",
|
305 |
+
"model.transformer.blocks.30.ff_proj.weight": "model.safetensors",
|
306 |
+
"model.transformer.blocks.31.att_proj.biases": "model.safetensors",
|
307 |
+
"model.transformer.blocks.31.att_proj.scales": "model.safetensors",
|
308 |
+
"model.transformer.blocks.31.att_proj.weight": "model.safetensors",
|
309 |
+
"model.transformer.blocks.31.attn_out.biases": "model.safetensors",
|
310 |
+
"model.transformer.blocks.31.attn_out.scales": "model.safetensors",
|
311 |
+
"model.transformer.blocks.31.attn_out.weight": "model.safetensors",
|
312 |
+
"model.transformer.blocks.31.ff_out.biases": "model.safetensors",
|
313 |
+
"model.transformer.blocks.31.ff_out.scales": "model.safetensors",
|
314 |
+
"model.transformer.blocks.31.ff_out.weight": "model.safetensors",
|
315 |
+
"model.transformer.blocks.31.ff_proj.biases": "model.safetensors",
|
316 |
+
"model.transformer.blocks.31.ff_proj.scales": "model.safetensors",
|
317 |
+
"model.transformer.blocks.31.ff_proj.weight": "model.safetensors",
|
318 |
+
"model.transformer.blocks.4.att_proj.biases": "model.safetensors",
|
319 |
+
"model.transformer.blocks.4.att_proj.scales": "model.safetensors",
|
320 |
+
"model.transformer.blocks.4.att_proj.weight": "model.safetensors",
|
321 |
+
"model.transformer.blocks.4.attn_out.biases": "model.safetensors",
|
322 |
+
"model.transformer.blocks.4.attn_out.scales": "model.safetensors",
|
323 |
+
"model.transformer.blocks.4.attn_out.weight": "model.safetensors",
|
324 |
+
"model.transformer.blocks.4.ff_out.biases": "model.safetensors",
|
325 |
+
"model.transformer.blocks.4.ff_out.scales": "model.safetensors",
|
326 |
+
"model.transformer.blocks.4.ff_out.weight": "model.safetensors",
|
327 |
+
"model.transformer.blocks.4.ff_proj.biases": "model.safetensors",
|
328 |
+
"model.transformer.blocks.4.ff_proj.scales": "model.safetensors",
|
329 |
+
"model.transformer.blocks.4.ff_proj.weight": "model.safetensors",
|
330 |
+
"model.transformer.blocks.5.att_proj.biases": "model.safetensors",
|
331 |
+
"model.transformer.blocks.5.att_proj.scales": "model.safetensors",
|
332 |
+
"model.transformer.blocks.5.att_proj.weight": "model.safetensors",
|
333 |
+
"model.transformer.blocks.5.attn_out.biases": "model.safetensors",
|
334 |
+
"model.transformer.blocks.5.attn_out.scales": "model.safetensors",
|
335 |
+
"model.transformer.blocks.5.attn_out.weight": "model.safetensors",
|
336 |
+
"model.transformer.blocks.5.ff_out.biases": "model.safetensors",
|
337 |
+
"model.transformer.blocks.5.ff_out.scales": "model.safetensors",
|
338 |
+
"model.transformer.blocks.5.ff_out.weight": "model.safetensors",
|
339 |
+
"model.transformer.blocks.5.ff_proj.biases": "model.safetensors",
|
340 |
+
"model.transformer.blocks.5.ff_proj.scales": "model.safetensors",
|
341 |
+
"model.transformer.blocks.5.ff_proj.weight": "model.safetensors",
|
342 |
+
"model.transformer.blocks.6.att_proj.biases": "model.safetensors",
|
343 |
+
"model.transformer.blocks.6.att_proj.scales": "model.safetensors",
|
344 |
+
"model.transformer.blocks.6.att_proj.weight": "model.safetensors",
|
345 |
+
"model.transformer.blocks.6.attn_out.biases": "model.safetensors",
|
346 |
+
"model.transformer.blocks.6.attn_out.scales": "model.safetensors",
|
347 |
+
"model.transformer.blocks.6.attn_out.weight": "model.safetensors",
|
348 |
+
"model.transformer.blocks.6.ff_out.biases": "model.safetensors",
|
349 |
+
"model.transformer.blocks.6.ff_out.scales": "model.safetensors",
|
350 |
+
"model.transformer.blocks.6.ff_out.weight": "model.safetensors",
|
351 |
+
"model.transformer.blocks.6.ff_proj.biases": "model.safetensors",
|
352 |
+
"model.transformer.blocks.6.ff_proj.scales": "model.safetensors",
|
353 |
+
"model.transformer.blocks.6.ff_proj.weight": "model.safetensors",
|
354 |
+
"model.transformer.blocks.7.att_proj.biases": "model.safetensors",
|
355 |
+
"model.transformer.blocks.7.att_proj.scales": "model.safetensors",
|
356 |
+
"model.transformer.blocks.7.att_proj.weight": "model.safetensors",
|
357 |
+
"model.transformer.blocks.7.attn_out.biases": "model.safetensors",
|
358 |
+
"model.transformer.blocks.7.attn_out.scales": "model.safetensors",
|
359 |
+
"model.transformer.blocks.7.attn_out.weight": "model.safetensors",
|
360 |
+
"model.transformer.blocks.7.ff_out.biases": "model.safetensors",
|
361 |
+
"model.transformer.blocks.7.ff_out.scales": "model.safetensors",
|
362 |
+
"model.transformer.blocks.7.ff_out.weight": "model.safetensors",
|
363 |
+
"model.transformer.blocks.7.ff_proj.biases": "model.safetensors",
|
364 |
+
"model.transformer.blocks.7.ff_proj.scales": "model.safetensors",
|
365 |
+
"model.transformer.blocks.7.ff_proj.weight": "model.safetensors",
|
366 |
+
"model.transformer.blocks.8.att_proj.biases": "model.safetensors",
|
367 |
+
"model.transformer.blocks.8.att_proj.scales": "model.safetensors",
|
368 |
+
"model.transformer.blocks.8.att_proj.weight": "model.safetensors",
|
369 |
+
"model.transformer.blocks.8.attn_out.biases": "model.safetensors",
|
370 |
+
"model.transformer.blocks.8.attn_out.scales": "model.safetensors",
|
371 |
+
"model.transformer.blocks.8.attn_out.weight": "model.safetensors",
|
372 |
+
"model.transformer.blocks.8.ff_out.biases": "model.safetensors",
|
373 |
+
"model.transformer.blocks.8.ff_out.scales": "model.safetensors",
|
374 |
+
"model.transformer.blocks.8.ff_out.weight": "model.safetensors",
|
375 |
+
"model.transformer.blocks.8.ff_proj.biases": "model.safetensors",
|
376 |
+
"model.transformer.blocks.8.ff_proj.scales": "model.safetensors",
|
377 |
+
"model.transformer.blocks.8.ff_proj.weight": "model.safetensors",
|
378 |
+
"model.transformer.blocks.9.att_proj.biases": "model.safetensors",
|
379 |
+
"model.transformer.blocks.9.att_proj.scales": "model.safetensors",
|
380 |
+
"model.transformer.blocks.9.att_proj.weight": "model.safetensors",
|
381 |
+
"model.transformer.blocks.9.attn_out.biases": "model.safetensors",
|
382 |
+
"model.transformer.blocks.9.attn_out.scales": "model.safetensors",
|
383 |
+
"model.transformer.blocks.9.attn_out.weight": "model.safetensors",
|
384 |
+
"model.transformer.blocks.9.ff_out.biases": "model.safetensors",
|
385 |
+
"model.transformer.blocks.9.ff_out.scales": "model.safetensors",
|
386 |
+
"model.transformer.blocks.9.ff_out.weight": "model.safetensors",
|
387 |
+
"model.transformer.blocks.9.ff_proj.biases": "model.safetensors",
|
388 |
+
"model.transformer.blocks.9.ff_proj.scales": "model.safetensors",
|
389 |
+
"model.transformer.blocks.9.ff_proj.weight": "model.safetensors",
|
390 |
+
"model.transformer.ff_out.biases": "model.safetensors",
|
391 |
+
"model.transformer.ff_out.scales": "model.safetensors",
|
392 |
+
"model.transformer.ff_out.weight": "model.safetensors",
|
393 |
+
"model.transformer.wte.weight": "model.safetensors"
|
394 |
+
}
|
395 |
+
}
|
modeling_olmo.py
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
from hf_olmo import OLMoForCausalLM
|
special_tokens_map.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"eos_token": {
|
3 |
+
"content": "<|endoftext|>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"pad_token": {
|
10 |
+
"content": "<|padding|>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
}
|
16 |
+
}
|
tokenization_olmo_fast.py
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
from hf_olmo.tokenization_olmo_fast import OLMoTokenizerFast
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,242 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "|||IP_ADDRESS|||",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": true,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": false
|
10 |
+
},
|
11 |
+
"1": {
|
12 |
+
"content": "<|padding|>",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"50254": {
|
20 |
+
"content": " ",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": true,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": false
|
26 |
+
},
|
27 |
+
"50255": {
|
28 |
+
"content": " ",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": true,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": false
|
34 |
+
},
|
35 |
+
"50256": {
|
36 |
+
"content": " ",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": true,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": false
|
42 |
+
},
|
43 |
+
"50257": {
|
44 |
+
"content": " ",
|
45 |
+
"lstrip": false,
|
46 |
+
"normalized": true,
|
47 |
+
"rstrip": false,
|
48 |
+
"single_word": false,
|
49 |
+
"special": false
|
50 |
+
},
|
51 |
+
"50258": {
|
52 |
+
"content": " ",
|
53 |
+
"lstrip": false,
|
54 |
+
"normalized": true,
|
55 |
+
"rstrip": false,
|
56 |
+
"single_word": false,
|
57 |
+
"special": false
|
58 |
+
},
|
59 |
+
"50259": {
|
60 |
+
"content": " ",
|
61 |
+
"lstrip": false,
|
62 |
+
"normalized": true,
|
63 |
+
"rstrip": false,
|
64 |
+
"single_word": false,
|
65 |
+
"special": false
|
66 |
+
},
|
67 |
+
"50260": {
|
68 |
+
"content": " ",
|
69 |
+
"lstrip": false,
|
70 |
+
"normalized": true,
|
71 |
+
"rstrip": false,
|
72 |
+
"single_word": false,
|
73 |
+
"special": false
|
74 |
+
},
|
75 |
+
"50261": {
|
76 |
+
"content": " ",
|
77 |
+
"lstrip": false,
|
78 |
+
"normalized": true,
|
79 |
+
"rstrip": false,
|
80 |
+
"single_word": false,
|
81 |
+
"special": false
|
82 |
+
},
|
83 |
+
"50262": {
|
84 |
+
"content": " ",
|
85 |
+
"lstrip": false,
|
86 |
+
"normalized": true,
|
87 |
+
"rstrip": false,
|
88 |
+
"single_word": false,
|
89 |
+
"special": false
|
90 |
+
},
|
91 |
+
"50263": {
|
92 |
+
"content": " ",
|
93 |
+
"lstrip": false,
|
94 |
+
"normalized": true,
|
95 |
+
"rstrip": false,
|
96 |
+
"single_word": false,
|
97 |
+
"special": false
|
98 |
+
},
|
99 |
+
"50264": {
|
100 |
+
"content": " ",
|
101 |
+
"lstrip": false,
|
102 |
+
"normalized": true,
|
103 |
+
"rstrip": false,
|
104 |
+
"single_word": false,
|
105 |
+
"special": false
|
106 |
+
},
|
107 |
+
"50265": {
|
108 |
+
"content": " ",
|
109 |
+
"lstrip": false,
|
110 |
+
"normalized": true,
|
111 |
+
"rstrip": false,
|
112 |
+
"single_word": false,
|
113 |
+
"special": false
|
114 |
+
},
|
115 |
+
"50266": {
|
116 |
+
"content": " ",
|
117 |
+
"lstrip": false,
|
118 |
+
"normalized": true,
|
119 |
+
"rstrip": false,
|
120 |
+
"single_word": false,
|
121 |
+
"special": false
|
122 |
+
},
|
123 |
+
"50267": {
|
124 |
+
"content": " ",
|
125 |
+
"lstrip": false,
|
126 |
+
"normalized": true,
|
127 |
+
"rstrip": false,
|
128 |
+
"single_word": false,
|
129 |
+
"special": false
|
130 |
+
},
|
131 |
+
"50268": {
|
132 |
+
"content": " ",
|
133 |
+
"lstrip": false,
|
134 |
+
"normalized": true,
|
135 |
+
"rstrip": false,
|
136 |
+
"single_word": false,
|
137 |
+
"special": false
|
138 |
+
},
|
139 |
+
"50269": {
|
140 |
+
"content": " ",
|
141 |
+
"lstrip": false,
|
142 |
+
"normalized": true,
|
143 |
+
"rstrip": false,
|
144 |
+
"single_word": false,
|
145 |
+
"special": false
|
146 |
+
},
|
147 |
+
"50270": {
|
148 |
+
"content": " ",
|
149 |
+
"lstrip": false,
|
150 |
+
"normalized": true,
|
151 |
+
"rstrip": false,
|
152 |
+
"single_word": false,
|
153 |
+
"special": false
|
154 |
+
},
|
155 |
+
"50271": {
|
156 |
+
"content": " ",
|
157 |
+
"lstrip": false,
|
158 |
+
"normalized": true,
|
159 |
+
"rstrip": false,
|
160 |
+
"single_word": false,
|
161 |
+
"special": false
|
162 |
+
},
|
163 |
+
"50272": {
|
164 |
+
"content": " ",
|
165 |
+
"lstrip": false,
|
166 |
+
"normalized": true,
|
167 |
+
"rstrip": false,
|
168 |
+
"single_word": false,
|
169 |
+
"special": false
|
170 |
+
},
|
171 |
+
"50273": {
|
172 |
+
"content": " ",
|
173 |
+
"lstrip": false,
|
174 |
+
"normalized": true,
|
175 |
+
"rstrip": false,
|
176 |
+
"single_word": false,
|
177 |
+
"special": false
|
178 |
+
},
|
179 |
+
"50274": {
|
180 |
+
"content": " ",
|
181 |
+
"lstrip": false,
|
182 |
+
"normalized": true,
|
183 |
+
"rstrip": false,
|
184 |
+
"single_word": false,
|
185 |
+
"special": false
|
186 |
+
},
|
187 |
+
"50275": {
|
188 |
+
"content": " ",
|
189 |
+
"lstrip": false,
|
190 |
+
"normalized": true,
|
191 |
+
"rstrip": false,
|
192 |
+
"single_word": false,
|
193 |
+
"special": false
|
194 |
+
},
|
195 |
+
"50276": {
|
196 |
+
"content": " ",
|
197 |
+
"lstrip": false,
|
198 |
+
"normalized": true,
|
199 |
+
"rstrip": false,
|
200 |
+
"single_word": false,
|
201 |
+
"special": false
|
202 |
+
},
|
203 |
+
"50277": {
|
204 |
+
"content": "|||EMAIL_ADDRESS|||",
|
205 |
+
"lstrip": false,
|
206 |
+
"normalized": true,
|
207 |
+
"rstrip": false,
|
208 |
+
"single_word": false,
|
209 |
+
"special": false
|
210 |
+
},
|
211 |
+
"50278": {
|
212 |
+
"content": "|||PHONE_NUMBER|||",
|
213 |
+
"lstrip": false,
|
214 |
+
"normalized": true,
|
215 |
+
"rstrip": false,
|
216 |
+
"single_word": false,
|
217 |
+
"special": false
|
218 |
+
},
|
219 |
+
"50279": {
|
220 |
+
"content": "<|endoftext|>",
|
221 |
+
"lstrip": false,
|
222 |
+
"normalized": false,
|
223 |
+
"rstrip": false,
|
224 |
+
"single_word": false,
|
225 |
+
"special": true
|
226 |
+
}
|
227 |
+
},
|
228 |
+
"auto_map": {
|
229 |
+
"AutoConfig": "configuration_olmo.OLMoConfig",
|
230 |
+
"AutoTokenizer": [
|
231 |
+
"tokenization_olmo_fast.OLMoTokenizerFast",
|
232 |
+
"tokenization_olmo_fast.OLMoTokenizerFast"
|
233 |
+
]
|
234 |
+
},
|
235 |
+
"clean_up_tokenization_spaces": true,
|
236 |
+
"eos_token": "<|endoftext|>",
|
237 |
+
"max_length": null,
|
238 |
+
"model_max_length": 1000000000000000019884624838656,
|
239 |
+
"pad_token": "<|padding|>",
|
240 |
+
"tokenizer_class": "OLMoTokenizer",
|
241 |
+
"truncation": "right"
|
242 |
+
}
|