Upload folder using huggingface_hub
Browse files- README.md +27 -0
- config.json +26 -0
- merges.txt +0 -0
- pytorch_model.bin +3 -0
- pytorch_model.bin.index.json +1 -0
- tokenizer.json +0 -0
- tokenizer_config.json +190 -0
- vocab.json +0 -0
README.md
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
datasets:
|
4 |
+
- normster/RealGuardrails
|
5 |
+
base_model:
|
6 |
+
- allenai/OLMo-2-1124-7B
|
7 |
+
---
|
8 |
+
|
9 |
+
# RealGuardrails Models
|
10 |
+
|
11 |
+
This model was trained on the [RealGuardrails](https://huggingface.co/datasets/normster/RealGuardrails) dataset, an instruction-tuning dataset focused on improving system prompt adherence and precedence. In particular, it was trained via SFT on the `simplemix` split of ~150K examples using our custom training library [torchllms](https://github.com/normster/torchllms).
|
12 |
+
|
13 |
+
## Training Hyperparameters
|
14 |
+
|
15 |
+
| Name | Value |
|
16 |
+
| :--- | :--- |
|
17 |
+
| optimizer | AdamW |
|
18 |
+
| batch size | 128 |
|
19 |
+
| learning rate | 2e-5 |
|
20 |
+
| lr scheduler | cosine with 200 warmup steps |
|
21 |
+
| betas | (0.9, 0.999) |
|
22 |
+
| eps | 1e-8 |
|
23 |
+
| weight decay | 0 |
|
24 |
+
| epochs | 1 |
|
25 |
+
| max grad norm | 1.0 |
|
26 |
+
| precision | bf16 |
|
27 |
+
| max length | 4096 |
|
config.json
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"Olmo2ForCausalLM"
|
4 |
+
],
|
5 |
+
"attention_bias": false,
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"eos_token_id": 100257,
|
8 |
+
"hidden_act": "silu",
|
9 |
+
"hidden_size": 4096,
|
10 |
+
"initializer_range": 0.02,
|
11 |
+
"intermediate_size": 11008,
|
12 |
+
"max_position_embeddings": 4096,
|
13 |
+
"model_type": "olmo2",
|
14 |
+
"num_attention_heads": 32,
|
15 |
+
"num_hidden_layers": 32,
|
16 |
+
"num_key_value_heads": 32,
|
17 |
+
"pad_token_id": 100277,
|
18 |
+
"rms_norm_eps": 1e-06,
|
19 |
+
"rope_scaling": null,
|
20 |
+
"rope_theta": 500000,
|
21 |
+
"tie_word_embeddings": false,
|
22 |
+
"torch_dtype": "float32",
|
23 |
+
"transformers_version": "4.47.0.dev0",
|
24 |
+
"use_cache": true,
|
25 |
+
"vocab_size": 100352
|
26 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d646b12c91aa0f91da59a242a92ac3ca4995ecdec30d5addd1939386c718fed6
|
3 |
+
size 14597352910
|
pytorch_model.bin.index.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"weight_map": {"model.embed_tokens.weight": "pytorch_model.bin", "model.layers.0.self_attn.q_proj.weight": "pytorch_model.bin", "model.layers.0.self_attn.k_proj.weight": "pytorch_model.bin", "model.layers.0.self_attn.v_proj.weight": "pytorch_model.bin", "model.layers.0.self_attn.o_proj.weight": "pytorch_model.bin", "model.layers.0.self_attn.q_norm.weight": "pytorch_model.bin", "model.layers.0.self_attn.k_norm.weight": "pytorch_model.bin", "model.layers.0.mlp.gate_proj.weight": "pytorch_model.bin", "model.layers.0.mlp.down_proj.weight": "pytorch_model.bin", "model.layers.0.mlp.up_proj.weight": "pytorch_model.bin", "model.layers.0.post_attention_layernorm.weight": "pytorch_model.bin", "model.layers.0.post_feedforward_layernorm.weight": "pytorch_model.bin", "model.layers.1.self_attn.q_proj.weight": "pytorch_model.bin", "model.layers.1.self_attn.k_proj.weight": "pytorch_model.bin", "model.layers.1.self_attn.v_proj.weight": "pytorch_model.bin", "model.layers.1.self_attn.o_proj.weight": "pytorch_model.bin", "model.layers.1.self_attn.q_norm.weight": "pytorch_model.bin", "model.layers.1.self_attn.k_norm.weight": "pytorch_model.bin", "model.layers.1.mlp.gate_proj.weight": "pytorch_model.bin", "model.layers.1.mlp.down_proj.weight": "pytorch_model.bin", "model.layers.1.mlp.up_proj.weight": "pytorch_model.bin", "model.layers.1.post_attention_layernorm.weight": "pytorch_model.bin", "model.layers.1.post_feedforward_layernorm.weight": "pytorch_model.bin", "model.layers.2.self_attn.q_proj.weight": "pytorch_model.bin", "model.layers.2.self_attn.k_proj.weight": "pytorch_model.bin", "model.layers.2.self_attn.v_proj.weight": "pytorch_model.bin", "model.layers.2.self_attn.o_proj.weight": "pytorch_model.bin", "model.layers.2.self_attn.q_norm.weight": "pytorch_model.bin", "model.layers.2.self_attn.k_norm.weight": "pytorch_model.bin", "model.layers.2.mlp.gate_proj.weight": "pytorch_model.bin", "model.layers.2.mlp.down_proj.weight": "pytorch_model.bin", "model.layers.2.mlp.up_proj.weight": "pytorch_model.bin", "model.layers.2.post_attention_layernorm.weight": "pytorch_model.bin", "model.layers.2.post_feedforward_layernorm.weight": "pytorch_model.bin", "model.layers.3.self_attn.q_proj.weight": "pytorch_model.bin", "model.layers.3.self_attn.k_proj.weight": "pytorch_model.bin", "model.layers.3.self_attn.v_proj.weight": "pytorch_model.bin", "model.layers.3.self_attn.o_proj.weight": "pytorch_model.bin", "model.layers.3.self_attn.q_norm.weight": "pytorch_model.bin", "model.layers.3.self_attn.k_norm.weight": "pytorch_model.bin", "model.layers.3.mlp.gate_proj.weight": "pytorch_model.bin", "model.layers.3.mlp.down_proj.weight": "pytorch_model.bin", "model.layers.3.mlp.up_proj.weight": "pytorch_model.bin", "model.layers.3.post_attention_layernorm.weight": "pytorch_model.bin", "model.layers.3.post_feedforward_layernorm.weight": "pytorch_model.bin", "model.layers.4.self_attn.q_proj.weight": "pytorch_model.bin", "model.layers.4.self_attn.k_proj.weight": "pytorch_model.bin", "model.layers.4.self_attn.v_proj.weight": "pytorch_model.bin", "model.layers.4.self_attn.o_proj.weight": "pytorch_model.bin", "model.layers.4.self_attn.q_norm.weight": "pytorch_model.bin", "model.layers.4.self_attn.k_norm.weight": "pytorch_model.bin", "model.layers.4.mlp.gate_proj.weight": "pytorch_model.bin", "model.layers.4.mlp.down_proj.weight": "pytorch_model.bin", "model.layers.4.mlp.up_proj.weight": "pytorch_model.bin", "model.layers.4.post_attention_layernorm.weight": "pytorch_model.bin", "model.layers.4.post_feedforward_layernorm.weight": "pytorch_model.bin", "model.layers.5.self_attn.q_proj.weight": "pytorch_model.bin", "model.layers.5.self_attn.k_proj.weight": "pytorch_model.bin", "model.layers.5.self_attn.v_proj.weight": "pytorch_model.bin", "model.layers.5.self_attn.o_proj.weight": "pytorch_model.bin", "model.layers.5.self_attn.q_norm.weight": "pytorch_model.bin", "model.layers.5.self_attn.k_norm.weight": "pytorch_model.bin", "model.layers.5.mlp.gate_proj.weight": "pytorch_model.bin", "model.layers.5.mlp.down_proj.weight": "pytorch_model.bin", "model.layers.5.mlp.up_proj.weight": "pytorch_model.bin", "model.layers.5.post_attention_layernorm.weight": "pytorch_model.bin", "model.layers.5.post_feedforward_layernorm.weight": "pytorch_model.bin", "model.layers.6.self_attn.q_proj.weight": "pytorch_model.bin", "model.layers.6.self_attn.k_proj.weight": "pytorch_model.bin", "model.layers.6.self_attn.v_proj.weight": "pytorch_model.bin", "model.layers.6.self_attn.o_proj.weight": "pytorch_model.bin", "model.layers.6.self_attn.q_norm.weight": "pytorch_model.bin", "model.layers.6.self_attn.k_norm.weight": "pytorch_model.bin", "model.layers.6.mlp.gate_proj.weight": "pytorch_model.bin", "model.layers.6.mlp.down_proj.weight": "pytorch_model.bin", "model.layers.6.mlp.up_proj.weight": "pytorch_model.bin", "model.layers.6.post_attention_layernorm.weight": "pytorch_model.bin", "model.layers.6.post_feedforward_layernorm.weight": "pytorch_model.bin", "model.layers.7.self_attn.q_proj.weight": "pytorch_model.bin", "model.layers.7.self_attn.k_proj.weight": "pytorch_model.bin", "model.layers.7.self_attn.v_proj.weight": "pytorch_model.bin", "model.layers.7.self_attn.o_proj.weight": "pytorch_model.bin", "model.layers.7.self_attn.q_norm.weight": "pytorch_model.bin", "model.layers.7.self_attn.k_norm.weight": "pytorch_model.bin", "model.layers.7.mlp.gate_proj.weight": "pytorch_model.bin", "model.layers.7.mlp.down_proj.weight": "pytorch_model.bin", "model.layers.7.mlp.up_proj.weight": "pytorch_model.bin", "model.layers.7.post_attention_layernorm.weight": "pytorch_model.bin", "model.layers.7.post_feedforward_layernorm.weight": "pytorch_model.bin", "model.layers.8.self_attn.q_proj.weight": "pytorch_model.bin", "model.layers.8.self_attn.k_proj.weight": "pytorch_model.bin", "model.layers.8.self_attn.v_proj.weight": "pytorch_model.bin", "model.layers.8.self_attn.o_proj.weight": "pytorch_model.bin", "model.layers.8.self_attn.q_norm.weight": "pytorch_model.bin", "model.layers.8.self_attn.k_norm.weight": "pytorch_model.bin", "model.layers.8.mlp.gate_proj.weight": "pytorch_model.bin", "model.layers.8.mlp.down_proj.weight": "pytorch_model.bin", "model.layers.8.mlp.up_proj.weight": "pytorch_model.bin", "model.layers.8.post_attention_layernorm.weight": "pytorch_model.bin", "model.layers.8.post_feedforward_layernorm.weight": "pytorch_model.bin", "model.layers.9.self_attn.q_proj.weight": "pytorch_model.bin", "model.layers.9.self_attn.k_proj.weight": "pytorch_model.bin", "model.layers.9.self_attn.v_proj.weight": "pytorch_model.bin", "model.layers.9.self_attn.o_proj.weight": "pytorch_model.bin", "model.layers.9.self_attn.q_norm.weight": "pytorch_model.bin", "model.layers.9.self_attn.k_norm.weight": "pytorch_model.bin", "model.layers.9.mlp.gate_proj.weight": "pytorch_model.bin", "model.layers.9.mlp.down_proj.weight": "pytorch_model.bin", "model.layers.9.mlp.up_proj.weight": "pytorch_model.bin", "model.layers.9.post_attention_layernorm.weight": "pytorch_model.bin", "model.layers.9.post_feedforward_layernorm.weight": "pytorch_model.bin", "model.layers.10.self_attn.q_proj.weight": "pytorch_model.bin", "model.layers.10.self_attn.k_proj.weight": "pytorch_model.bin", "model.layers.10.self_attn.v_proj.weight": "pytorch_model.bin", "model.layers.10.self_attn.o_proj.weight": "pytorch_model.bin", "model.layers.10.self_attn.q_norm.weight": "pytorch_model.bin", "model.layers.10.self_attn.k_norm.weight": "pytorch_model.bin", "model.layers.10.mlp.gate_proj.weight": "pytorch_model.bin", "model.layers.10.mlp.down_proj.weight": "pytorch_model.bin", "model.layers.10.mlp.up_proj.weight": "pytorch_model.bin", "model.layers.10.post_attention_layernorm.weight": "pytorch_model.bin", "model.layers.10.post_feedforward_layernorm.weight": "pytorch_model.bin", "model.layers.11.self_attn.q_proj.weight": "pytorch_model.bin", "model.layers.11.self_attn.k_proj.weight": "pytorch_model.bin", "model.layers.11.self_attn.v_proj.weight": "pytorch_model.bin", "model.layers.11.self_attn.o_proj.weight": "pytorch_model.bin", "model.layers.11.self_attn.q_norm.weight": "pytorch_model.bin", "model.layers.11.self_attn.k_norm.weight": "pytorch_model.bin", "model.layers.11.mlp.gate_proj.weight": "pytorch_model.bin", "model.layers.11.mlp.down_proj.weight": "pytorch_model.bin", "model.layers.11.mlp.up_proj.weight": "pytorch_model.bin", "model.layers.11.post_attention_layernorm.weight": "pytorch_model.bin", "model.layers.11.post_feedforward_layernorm.weight": "pytorch_model.bin", "model.layers.12.self_attn.q_proj.weight": "pytorch_model.bin", "model.layers.12.self_attn.k_proj.weight": "pytorch_model.bin", "model.layers.12.self_attn.v_proj.weight": "pytorch_model.bin", "model.layers.12.self_attn.o_proj.weight": "pytorch_model.bin", "model.layers.12.self_attn.q_norm.weight": "pytorch_model.bin", "model.layers.12.self_attn.k_norm.weight": "pytorch_model.bin", "model.layers.12.mlp.gate_proj.weight": "pytorch_model.bin", "model.layers.12.mlp.down_proj.weight": "pytorch_model.bin", "model.layers.12.mlp.up_proj.weight": "pytorch_model.bin", "model.layers.12.post_attention_layernorm.weight": "pytorch_model.bin", "model.layers.12.post_feedforward_layernorm.weight": "pytorch_model.bin", "model.layers.13.self_attn.q_proj.weight": "pytorch_model.bin", "model.layers.13.self_attn.k_proj.weight": "pytorch_model.bin", "model.layers.13.self_attn.v_proj.weight": "pytorch_model.bin", "model.layers.13.self_attn.o_proj.weight": "pytorch_model.bin", "model.layers.13.self_attn.q_norm.weight": "pytorch_model.bin", "model.layers.13.self_attn.k_norm.weight": "pytorch_model.bin", "model.layers.13.mlp.gate_proj.weight": "pytorch_model.bin", "model.layers.13.mlp.down_proj.weight": "pytorch_model.bin", "model.layers.13.mlp.up_proj.weight": "pytorch_model.bin", "model.layers.13.post_attention_layernorm.weight": "pytorch_model.bin", "model.layers.13.post_feedforward_layernorm.weight": "pytorch_model.bin", "model.layers.14.self_attn.q_proj.weight": "pytorch_model.bin", "model.layers.14.self_attn.k_proj.weight": "pytorch_model.bin", "model.layers.14.self_attn.v_proj.weight": "pytorch_model.bin", "model.layers.14.self_attn.o_proj.weight": "pytorch_model.bin", "model.layers.14.self_attn.q_norm.weight": "pytorch_model.bin", "model.layers.14.self_attn.k_norm.weight": "pytorch_model.bin", "model.layers.14.mlp.gate_proj.weight": "pytorch_model.bin", "model.layers.14.mlp.down_proj.weight": "pytorch_model.bin", "model.layers.14.mlp.up_proj.weight": "pytorch_model.bin", "model.layers.14.post_attention_layernorm.weight": "pytorch_model.bin", "model.layers.14.post_feedforward_layernorm.weight": "pytorch_model.bin", "model.layers.15.self_attn.q_proj.weight": "pytorch_model.bin", "model.layers.15.self_attn.k_proj.weight": "pytorch_model.bin", "model.layers.15.self_attn.v_proj.weight": "pytorch_model.bin", "model.layers.15.self_attn.o_proj.weight": "pytorch_model.bin", "model.layers.15.self_attn.q_norm.weight": "pytorch_model.bin", "model.layers.15.self_attn.k_norm.weight": "pytorch_model.bin", "model.layers.15.mlp.gate_proj.weight": "pytorch_model.bin", "model.layers.15.mlp.down_proj.weight": "pytorch_model.bin", "model.layers.15.mlp.up_proj.weight": "pytorch_model.bin", "model.layers.15.post_attention_layernorm.weight": "pytorch_model.bin", "model.layers.15.post_feedforward_layernorm.weight": "pytorch_model.bin", "model.layers.16.self_attn.q_proj.weight": "pytorch_model.bin", "model.layers.16.self_attn.k_proj.weight": "pytorch_model.bin", "model.layers.16.self_attn.v_proj.weight": "pytorch_model.bin", "model.layers.16.self_attn.o_proj.weight": "pytorch_model.bin", "model.layers.16.self_attn.q_norm.weight": "pytorch_model.bin", "model.layers.16.self_attn.k_norm.weight": "pytorch_model.bin", "model.layers.16.mlp.gate_proj.weight": "pytorch_model.bin", "model.layers.16.mlp.down_proj.weight": "pytorch_model.bin", "model.layers.16.mlp.up_proj.weight": "pytorch_model.bin", "model.layers.16.post_attention_layernorm.weight": "pytorch_model.bin", "model.layers.16.post_feedforward_layernorm.weight": "pytorch_model.bin", "model.layers.17.self_attn.q_proj.weight": "pytorch_model.bin", "model.layers.17.self_attn.k_proj.weight": "pytorch_model.bin", "model.layers.17.self_attn.v_proj.weight": "pytorch_model.bin", "model.layers.17.self_attn.o_proj.weight": "pytorch_model.bin", "model.layers.17.self_attn.q_norm.weight": "pytorch_model.bin", "model.layers.17.self_attn.k_norm.weight": "pytorch_model.bin", "model.layers.17.mlp.gate_proj.weight": "pytorch_model.bin", "model.layers.17.mlp.down_proj.weight": "pytorch_model.bin", "model.layers.17.mlp.up_proj.weight": "pytorch_model.bin", "model.layers.17.post_attention_layernorm.weight": "pytorch_model.bin", "model.layers.17.post_feedforward_layernorm.weight": "pytorch_model.bin", "model.layers.18.self_attn.q_proj.weight": "pytorch_model.bin", "model.layers.18.self_attn.k_proj.weight": "pytorch_model.bin", "model.layers.18.self_attn.v_proj.weight": "pytorch_model.bin", "model.layers.18.self_attn.o_proj.weight": "pytorch_model.bin", "model.layers.18.self_attn.q_norm.weight": "pytorch_model.bin", "model.layers.18.self_attn.k_norm.weight": "pytorch_model.bin", "model.layers.18.mlp.gate_proj.weight": "pytorch_model.bin", "model.layers.18.mlp.down_proj.weight": "pytorch_model.bin", "model.layers.18.mlp.up_proj.weight": "pytorch_model.bin", "model.layers.18.post_attention_layernorm.weight": "pytorch_model.bin", "model.layers.18.post_feedforward_layernorm.weight": "pytorch_model.bin", "model.layers.19.self_attn.q_proj.weight": "pytorch_model.bin", "model.layers.19.self_attn.k_proj.weight": "pytorch_model.bin", "model.layers.19.self_attn.v_proj.weight": "pytorch_model.bin", "model.layers.19.self_attn.o_proj.weight": "pytorch_model.bin", "model.layers.19.self_attn.q_norm.weight": "pytorch_model.bin", "model.layers.19.self_attn.k_norm.weight": "pytorch_model.bin", "model.layers.19.mlp.gate_proj.weight": "pytorch_model.bin", "model.layers.19.mlp.down_proj.weight": "pytorch_model.bin", "model.layers.19.mlp.up_proj.weight": "pytorch_model.bin", "model.layers.19.post_attention_layernorm.weight": "pytorch_model.bin", "model.layers.19.post_feedforward_layernorm.weight": "pytorch_model.bin", "model.layers.20.self_attn.q_proj.weight": "pytorch_model.bin", "model.layers.20.self_attn.k_proj.weight": "pytorch_model.bin", "model.layers.20.self_attn.v_proj.weight": "pytorch_model.bin", "model.layers.20.self_attn.o_proj.weight": "pytorch_model.bin", "model.layers.20.self_attn.q_norm.weight": "pytorch_model.bin", "model.layers.20.self_attn.k_norm.weight": "pytorch_model.bin", "model.layers.20.mlp.gate_proj.weight": "pytorch_model.bin", "model.layers.20.mlp.down_proj.weight": "pytorch_model.bin", "model.layers.20.mlp.up_proj.weight": "pytorch_model.bin", "model.layers.20.post_attention_layernorm.weight": "pytorch_model.bin", "model.layers.20.post_feedforward_layernorm.weight": "pytorch_model.bin", "model.layers.21.self_attn.q_proj.weight": "pytorch_model.bin", "model.layers.21.self_attn.k_proj.weight": "pytorch_model.bin", "model.layers.21.self_attn.v_proj.weight": "pytorch_model.bin", "model.layers.21.self_attn.o_proj.weight": "pytorch_model.bin", "model.layers.21.self_attn.q_norm.weight": "pytorch_model.bin", "model.layers.21.self_attn.k_norm.weight": "pytorch_model.bin", "model.layers.21.mlp.gate_proj.weight": "pytorch_model.bin", "model.layers.21.mlp.down_proj.weight": "pytorch_model.bin", "model.layers.21.mlp.up_proj.weight": "pytorch_model.bin", "model.layers.21.post_attention_layernorm.weight": "pytorch_model.bin", "model.layers.21.post_feedforward_layernorm.weight": "pytorch_model.bin", "model.layers.22.self_attn.q_proj.weight": "pytorch_model.bin", "model.layers.22.self_attn.k_proj.weight": "pytorch_model.bin", "model.layers.22.self_attn.v_proj.weight": "pytorch_model.bin", "model.layers.22.self_attn.o_proj.weight": "pytorch_model.bin", "model.layers.22.self_attn.q_norm.weight": "pytorch_model.bin", "model.layers.22.self_attn.k_norm.weight": "pytorch_model.bin", "model.layers.22.mlp.gate_proj.weight": "pytorch_model.bin", "model.layers.22.mlp.down_proj.weight": "pytorch_model.bin", "model.layers.22.mlp.up_proj.weight": "pytorch_model.bin", "model.layers.22.post_attention_layernorm.weight": "pytorch_model.bin", "model.layers.22.post_feedforward_layernorm.weight": "pytorch_model.bin", "model.layers.23.self_attn.q_proj.weight": "pytorch_model.bin", "model.layers.23.self_attn.k_proj.weight": "pytorch_model.bin", "model.layers.23.self_attn.v_proj.weight": "pytorch_model.bin", "model.layers.23.self_attn.o_proj.weight": "pytorch_model.bin", "model.layers.23.self_attn.q_norm.weight": "pytorch_model.bin", "model.layers.23.self_attn.k_norm.weight": "pytorch_model.bin", "model.layers.23.mlp.gate_proj.weight": "pytorch_model.bin", "model.layers.23.mlp.down_proj.weight": "pytorch_model.bin", "model.layers.23.mlp.up_proj.weight": "pytorch_model.bin", "model.layers.23.post_attention_layernorm.weight": "pytorch_model.bin", "model.layers.23.post_feedforward_layernorm.weight": "pytorch_model.bin", "model.layers.24.self_attn.q_proj.weight": "pytorch_model.bin", "model.layers.24.self_attn.k_proj.weight": "pytorch_model.bin", "model.layers.24.self_attn.v_proj.weight": "pytorch_model.bin", "model.layers.24.self_attn.o_proj.weight": "pytorch_model.bin", "model.layers.24.self_attn.q_norm.weight": "pytorch_model.bin", "model.layers.24.self_attn.k_norm.weight": "pytorch_model.bin", "model.layers.24.mlp.gate_proj.weight": "pytorch_model.bin", "model.layers.24.mlp.down_proj.weight": "pytorch_model.bin", "model.layers.24.mlp.up_proj.weight": "pytorch_model.bin", "model.layers.24.post_attention_layernorm.weight": "pytorch_model.bin", "model.layers.24.post_feedforward_layernorm.weight": "pytorch_model.bin", "model.layers.25.self_attn.q_proj.weight": "pytorch_model.bin", "model.layers.25.self_attn.k_proj.weight": "pytorch_model.bin", "model.layers.25.self_attn.v_proj.weight": "pytorch_model.bin", "model.layers.25.self_attn.o_proj.weight": "pytorch_model.bin", "model.layers.25.self_attn.q_norm.weight": "pytorch_model.bin", "model.layers.25.self_attn.k_norm.weight": "pytorch_model.bin", "model.layers.25.mlp.gate_proj.weight": "pytorch_model.bin", "model.layers.25.mlp.down_proj.weight": "pytorch_model.bin", "model.layers.25.mlp.up_proj.weight": "pytorch_model.bin", "model.layers.25.post_attention_layernorm.weight": "pytorch_model.bin", "model.layers.25.post_feedforward_layernorm.weight": "pytorch_model.bin", "model.layers.26.self_attn.q_proj.weight": "pytorch_model.bin", "model.layers.26.self_attn.k_proj.weight": "pytorch_model.bin", "model.layers.26.self_attn.v_proj.weight": "pytorch_model.bin", "model.layers.26.self_attn.o_proj.weight": "pytorch_model.bin", "model.layers.26.self_attn.q_norm.weight": "pytorch_model.bin", "model.layers.26.self_attn.k_norm.weight": "pytorch_model.bin", "model.layers.26.mlp.gate_proj.weight": "pytorch_model.bin", "model.layers.26.mlp.down_proj.weight": "pytorch_model.bin", "model.layers.26.mlp.up_proj.weight": "pytorch_model.bin", "model.layers.26.post_attention_layernorm.weight": "pytorch_model.bin", "model.layers.26.post_feedforward_layernorm.weight": "pytorch_model.bin", "model.layers.27.self_attn.q_proj.weight": "pytorch_model.bin", "model.layers.27.self_attn.k_proj.weight": "pytorch_model.bin", "model.layers.27.self_attn.v_proj.weight": "pytorch_model.bin", "model.layers.27.self_attn.o_proj.weight": "pytorch_model.bin", "model.layers.27.self_attn.q_norm.weight": "pytorch_model.bin", "model.layers.27.self_attn.k_norm.weight": "pytorch_model.bin", "model.layers.27.mlp.gate_proj.weight": "pytorch_model.bin", "model.layers.27.mlp.down_proj.weight": "pytorch_model.bin", "model.layers.27.mlp.up_proj.weight": "pytorch_model.bin", "model.layers.27.post_attention_layernorm.weight": "pytorch_model.bin", "model.layers.27.post_feedforward_layernorm.weight": "pytorch_model.bin", "model.layers.28.self_attn.q_proj.weight": "pytorch_model.bin", "model.layers.28.self_attn.k_proj.weight": "pytorch_model.bin", "model.layers.28.self_attn.v_proj.weight": "pytorch_model.bin", "model.layers.28.self_attn.o_proj.weight": "pytorch_model.bin", "model.layers.28.self_attn.q_norm.weight": "pytorch_model.bin", "model.layers.28.self_attn.k_norm.weight": "pytorch_model.bin", "model.layers.28.mlp.gate_proj.weight": "pytorch_model.bin", "model.layers.28.mlp.down_proj.weight": "pytorch_model.bin", "model.layers.28.mlp.up_proj.weight": "pytorch_model.bin", "model.layers.28.post_attention_layernorm.weight": "pytorch_model.bin", "model.layers.28.post_feedforward_layernorm.weight": "pytorch_model.bin", "model.layers.29.self_attn.q_proj.weight": "pytorch_model.bin", "model.layers.29.self_attn.k_proj.weight": "pytorch_model.bin", "model.layers.29.self_attn.v_proj.weight": "pytorch_model.bin", "model.layers.29.self_attn.o_proj.weight": "pytorch_model.bin", "model.layers.29.self_attn.q_norm.weight": "pytorch_model.bin", "model.layers.29.self_attn.k_norm.weight": "pytorch_model.bin", "model.layers.29.mlp.gate_proj.weight": "pytorch_model.bin", "model.layers.29.mlp.down_proj.weight": "pytorch_model.bin", "model.layers.29.mlp.up_proj.weight": "pytorch_model.bin", "model.layers.29.post_attention_layernorm.weight": "pytorch_model.bin", "model.layers.29.post_feedforward_layernorm.weight": "pytorch_model.bin", "model.layers.30.self_attn.q_proj.weight": "pytorch_model.bin", "model.layers.30.self_attn.k_proj.weight": "pytorch_model.bin", "model.layers.30.self_attn.v_proj.weight": "pytorch_model.bin", "model.layers.30.self_attn.o_proj.weight": "pytorch_model.bin", "model.layers.30.self_attn.q_norm.weight": "pytorch_model.bin", "model.layers.30.self_attn.k_norm.weight": "pytorch_model.bin", "model.layers.30.mlp.gate_proj.weight": "pytorch_model.bin", "model.layers.30.mlp.down_proj.weight": "pytorch_model.bin", "model.layers.30.mlp.up_proj.weight": "pytorch_model.bin", "model.layers.30.post_attention_layernorm.weight": "pytorch_model.bin", "model.layers.30.post_feedforward_layernorm.weight": "pytorch_model.bin", "model.layers.31.self_attn.q_proj.weight": "pytorch_model.bin", "model.layers.31.self_attn.k_proj.weight": "pytorch_model.bin", "model.layers.31.self_attn.v_proj.weight": "pytorch_model.bin", "model.layers.31.self_attn.o_proj.weight": "pytorch_model.bin", "model.layers.31.self_attn.q_norm.weight": "pytorch_model.bin", "model.layers.31.self_attn.k_norm.weight": "pytorch_model.bin", "model.layers.31.mlp.gate_proj.weight": "pytorch_model.bin", "model.layers.31.mlp.down_proj.weight": "pytorch_model.bin", "model.layers.31.mlp.up_proj.weight": "pytorch_model.bin", "model.layers.31.post_attention_layernorm.weight": "pytorch_model.bin", "model.layers.31.post_feedforward_layernorm.weight": "pytorch_model.bin", "model.norm.weight": "pytorch_model.bin", "lm_head.weight": "pytorch_model.bin"}, "metadata": {"total_size": 14597234688}}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,190 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"added_tokens_decoder": {
|
4 |
+
"100256": {
|
5 |
+
"content": "<|extra_id_0|>",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": false,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false,
|
10 |
+
"special": false
|
11 |
+
},
|
12 |
+
"100257": {
|
13 |
+
"content": "<|endoftext|>",
|
14 |
+
"lstrip": false,
|
15 |
+
"normalized": false,
|
16 |
+
"rstrip": false,
|
17 |
+
"single_word": false,
|
18 |
+
"special": true
|
19 |
+
},
|
20 |
+
"100258": {
|
21 |
+
"content": "<|fim_prefix|>",
|
22 |
+
"lstrip": false,
|
23 |
+
"normalized": false,
|
24 |
+
"rstrip": false,
|
25 |
+
"single_word": false,
|
26 |
+
"special": true
|
27 |
+
},
|
28 |
+
"100259": {
|
29 |
+
"content": "<|fim_middle|>",
|
30 |
+
"lstrip": false,
|
31 |
+
"normalized": false,
|
32 |
+
"rstrip": false,
|
33 |
+
"single_word": false,
|
34 |
+
"special": true
|
35 |
+
},
|
36 |
+
"100260": {
|
37 |
+
"content": "<|fim_suffix|>",
|
38 |
+
"lstrip": false,
|
39 |
+
"normalized": false,
|
40 |
+
"rstrip": false,
|
41 |
+
"single_word": false,
|
42 |
+
"special": true
|
43 |
+
},
|
44 |
+
"100261": {
|
45 |
+
"content": "|||PHONE_NUMBER|||",
|
46 |
+
"lstrip": false,
|
47 |
+
"normalized": false,
|
48 |
+
"rstrip": false,
|
49 |
+
"single_word": false,
|
50 |
+
"special": false
|
51 |
+
},
|
52 |
+
"100262": {
|
53 |
+
"content": "|||EMAIL_ADDRESS|||",
|
54 |
+
"lstrip": false,
|
55 |
+
"normalized": false,
|
56 |
+
"rstrip": false,
|
57 |
+
"single_word": false,
|
58 |
+
"special": false
|
59 |
+
},
|
60 |
+
"100263": {
|
61 |
+
"content": "|||IP_ADDRESS|||",
|
62 |
+
"lstrip": false,
|
63 |
+
"normalized": false,
|
64 |
+
"rstrip": false,
|
65 |
+
"single_word": false,
|
66 |
+
"special": false
|
67 |
+
},
|
68 |
+
"100264": {
|
69 |
+
"content": "<|im_start|>",
|
70 |
+
"lstrip": false,
|
71 |
+
"normalized": false,
|
72 |
+
"rstrip": false,
|
73 |
+
"single_word": false,
|
74 |
+
"special": true
|
75 |
+
},
|
76 |
+
"100265": {
|
77 |
+
"content": "<|im_end|>",
|
78 |
+
"lstrip": false,
|
79 |
+
"normalized": false,
|
80 |
+
"rstrip": false,
|
81 |
+
"single_word": false,
|
82 |
+
"special": true
|
83 |
+
},
|
84 |
+
"100266": {
|
85 |
+
"content": "<|extra_id_1|>",
|
86 |
+
"lstrip": false,
|
87 |
+
"normalized": false,
|
88 |
+
"rstrip": false,
|
89 |
+
"single_word": false,
|
90 |
+
"special": false
|
91 |
+
},
|
92 |
+
"100267": {
|
93 |
+
"content": "<|extra_id_2|>",
|
94 |
+
"lstrip": false,
|
95 |
+
"normalized": false,
|
96 |
+
"rstrip": false,
|
97 |
+
"single_word": false,
|
98 |
+
"special": false
|
99 |
+
},
|
100 |
+
"100268": {
|
101 |
+
"content": "<|extra_id_3|>",
|
102 |
+
"lstrip": false,
|
103 |
+
"normalized": false,
|
104 |
+
"rstrip": false,
|
105 |
+
"single_word": false,
|
106 |
+
"special": false
|
107 |
+
},
|
108 |
+
"100269": {
|
109 |
+
"content": "<|extra_id_4|>",
|
110 |
+
"lstrip": false,
|
111 |
+
"normalized": false,
|
112 |
+
"rstrip": false,
|
113 |
+
"single_word": false,
|
114 |
+
"special": false
|
115 |
+
},
|
116 |
+
"100270": {
|
117 |
+
"content": "<|extra_id_5|>",
|
118 |
+
"lstrip": false,
|
119 |
+
"normalized": false,
|
120 |
+
"rstrip": false,
|
121 |
+
"single_word": false,
|
122 |
+
"special": false
|
123 |
+
},
|
124 |
+
"100271": {
|
125 |
+
"content": "<|extra_id_6|>",
|
126 |
+
"lstrip": false,
|
127 |
+
"normalized": false,
|
128 |
+
"rstrip": false,
|
129 |
+
"single_word": false,
|
130 |
+
"special": false
|
131 |
+
},
|
132 |
+
"100272": {
|
133 |
+
"content": "<|extra_id_7|>",
|
134 |
+
"lstrip": false,
|
135 |
+
"normalized": false,
|
136 |
+
"rstrip": false,
|
137 |
+
"single_word": false,
|
138 |
+
"special": false
|
139 |
+
},
|
140 |
+
"100273": {
|
141 |
+
"content": "<|extra_id_8|>",
|
142 |
+
"lstrip": false,
|
143 |
+
"normalized": false,
|
144 |
+
"rstrip": false,
|
145 |
+
"single_word": false,
|
146 |
+
"special": false
|
147 |
+
},
|
148 |
+
"100274": {
|
149 |
+
"content": "<|extra_id_9|>",
|
150 |
+
"lstrip": false,
|
151 |
+
"normalized": false,
|
152 |
+
"rstrip": false,
|
153 |
+
"single_word": false,
|
154 |
+
"special": false
|
155 |
+
},
|
156 |
+
"100275": {
|
157 |
+
"content": "<|extra_id_10|>",
|
158 |
+
"lstrip": false,
|
159 |
+
"normalized": false,
|
160 |
+
"rstrip": false,
|
161 |
+
"single_word": false,
|
162 |
+
"special": false
|
163 |
+
},
|
164 |
+
"100276": {
|
165 |
+
"content": "<|endofprompt|>",
|
166 |
+
"lstrip": false,
|
167 |
+
"normalized": false,
|
168 |
+
"rstrip": false,
|
169 |
+
"single_word": false,
|
170 |
+
"special": true
|
171 |
+
},
|
172 |
+
"100277": {
|
173 |
+
"content": "<|pad|>",
|
174 |
+
"lstrip": false,
|
175 |
+
"normalized": false,
|
176 |
+
"rstrip": false,
|
177 |
+
"single_word": false,
|
178 |
+
"special": true
|
179 |
+
}
|
180 |
+
},
|
181 |
+
"bos_token": "<|endoftext|>",
|
182 |
+
"clean_up_tokenization_spaces": false,
|
183 |
+
"eos_token": "<|endoftext|>",
|
184 |
+
"extra_special_tokens": {},
|
185 |
+
"model_max_length": 1000000000000000019884624838656,
|
186 |
+
"pad_token": "<|pad|>",
|
187 |
+
"tokenizer_class": "GPT2Tokenizer",
|
188 |
+
"unk_token": "<|endoftext|>",
|
189 |
+
"chat_template": "{%- if messages[0][\"role\"] == \"system\" %}\n {%- set system_message = messages[0][\"content\"] %}\n {%- set loop_messages = messages[1:] %}\n{%- else %}\n {%- set loop_messages = messages %}\n{%- endif %}\n\n{{- bos_token }}\n\n{%- if system_message is defined %}\n {{- \"<|system|>\\n\" + system_message.strip() + \"<|endoftext|>\" }}\n{%- endif %}\n\n{%- for message in loop_messages %}\n {%- set content = message[\"content\"].strip() %}\n {%- if message[\"role\"] == \"user\" %}\n {{- \"<|user|>\\n\" + content + \"<|endoftext|>\" }}\n {%- elif message[\"role\"] == \"assistant\" %}\n {{- \"<|assistant|>\\n\" + content + \"<|endoftext|>\" }}\n {%- elif message[\"role\"] == \"tool\" %}\n {{- \"<|tool|>\\n\" + content + \"<|endoftext|>\" }}\n {%- else %}\n {{- raise_exception(\"Unknown message role: \" + message[\"role\"]) }}\n {%- endif %}\n{%- endfor %}\n\n{%- if add_generation_prompt %}\n {{- \"<|assistant|>\\n\" }}\n{%- endif %}"
|
190 |
+
}
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|