Upload model
Browse files- README.md +59 -0
- config.json +96 -0
- gitattributes +34 -0
- model.safetensors +3 -0
- model.safetensors.index.json +1 -0
- special_tokens_map.json +5 -0
- tokenizer.json +0 -0
- tokenizer_config.json +9 -0
README.md
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: agpl-3.0
|
3 |
+
language:
|
4 |
+
- en
|
5 |
+
thumbnail:
|
6 |
+
tags:
|
7 |
+
- text generation
|
8 |
+
- conversational
|
9 |
+
inference: false
|
10 |
+
|
11 |
+
---
|
12 |
+
|
13 |
+
# Pygmalion 1.3B
|
14 |
+
|
15 |
+
## Model description
|
16 |
+
|
17 |
+
Pymalion 1.3B is a proof-of-concept dialogue model based on EleutherAI's [pythia-1.3b-deduped](https://huggingface.co/EleutherAI/pythia-1.3b-deduped).
|
18 |
+
|
19 |
+
**Warning:** This model is **NOT** suitable for use by minors. It **will** output X-rated content under certain circumstances.
|
20 |
+
|
21 |
+
## Training data
|
22 |
+
|
23 |
+
The fine-tuning dataset consisted of 56MB of dialogue data gathered from multiple sources, which includes both real _and_ partially machine-generated conversations.
|
24 |
+
|
25 |
+
## Training procedure
|
26 |
+
|
27 |
+
Fine-tuning was done using [ColossalAI](https://github.com/hpcaitech/ColossalAI) (specifically, with a slightly modified version of their [OPT fine-tune example](https://github.com/hpcaitech/ColossalAI/blob/78509124d32b63b7fc36f6508e0576a326d51422/examples/language/opt/run_clm.py)) for around 11.4 million tokens over 5440 steps on a single 24GB GPU. The run took just under 21 hours.
|
28 |
+
|
29 |
+
## Intended use
|
30 |
+
|
31 |
+
### The easy way
|
32 |
+
|
33 |
+
We provide a notebook with a Gradio UI for playing around with the model without having to manually format inputs. This notebook can be found [here](https://github.com/PygmalionAI/gradio-ui/blob/master/notebooks/GPU.ipynb).
|
34 |
+
|
35 |
+
### The manual way
|
36 |
+
|
37 |
+
The model can be used as a regular text generation model, but it'll perform best if the input prompt adheres to the following format:
|
38 |
+
|
39 |
+
```
|
40 |
+
[CHARACTER]'s Persona: [A few sentences about the character you want the model to play]
|
41 |
+
|
42 |
+
[DIALOGUE HISTORY]
|
43 |
+
You: [Your input message here]
|
44 |
+
[CHARACTER]:
|
45 |
+
```
|
46 |
+
|
47 |
+
Where `[CHARACTER] `is, as you can probably guess, the name of the character you want the model to portray, and `[DIALOGUE HISTORY]` is chat history so the model can have some conversational context to draw from. Ideally it'll be pairs of messages like:
|
48 |
+
|
49 |
+
```
|
50 |
+
[CHARACTER]: [some dialogue here]
|
51 |
+
You: [your response to the dialogue above]
|
52 |
+
```
|
53 |
+
|
54 |
+
Apart from chat history, you can also just add example conversations in `[DIALOGUE HISTORY]` to show how the character should speak - ideally at the beginning, so it doesn't get confused as to what's conversation history vs. character definition.
|
55 |
+
|
56 |
+
## Known issues
|
57 |
+
|
58 |
+
- The model can get stuck repeating certain phrases, or sometimes even entire sentences.
|
59 |
+
- We believe this is due to that behavior being present in the training data itself, and plan to investigate and adjust accordingly for future versions.
|
config.json
ADDED
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "EleutherAI/pythia-1.3b-deduped",
|
3 |
+
"architectures": [
|
4 |
+
"GPTNeoXForCausalLM"
|
5 |
+
],
|
6 |
+
"bad_words_ids": [
|
7 |
+
[
|
8 |
+
434,
|
9 |
+
15694,
|
10 |
+
66,
|
11 |
+
27,
|
12 |
+
209
|
13 |
+
],
|
14 |
+
[
|
15 |
+
15362
|
16 |
+
],
|
17 |
+
[
|
18 |
+
1713
|
19 |
+
],
|
20 |
+
[
|
21 |
+
1713,
|
22 |
+
64
|
23 |
+
],
|
24 |
+
[
|
25 |
+
1713,
|
26 |
+
876
|
27 |
+
],
|
28 |
+
[
|
29 |
+
2016,
|
30 |
+
251,
|
31 |
+
857,
|
32 |
+
75,
|
33 |
+
9194,
|
34 |
+
35478
|
35 |
+
],
|
36 |
+
[
|
37 |
+
2391
|
38 |
+
],
|
39 |
+
[
|
40 |
+
20340
|
41 |
+
],
|
42 |
+
[
|
43 |
+
33021
|
44 |
+
],
|
45 |
+
[
|
46 |
+
2391,
|
47 |
+
1051
|
48 |
+
],
|
49 |
+
[
|
50 |
+
5638
|
51 |
+
],
|
52 |
+
[
|
53 |
+
2391,
|
54 |
+
20340
|
55 |
+
],
|
56 |
+
[
|
57 |
+
5638,
|
58 |
+
537
|
59 |
+
],
|
60 |
+
[
|
61 |
+
1559,
|
62 |
+
2345
|
63 |
+
],
|
64 |
+
[
|
65 |
+
1559,
|
66 |
+
7849
|
67 |
+
],
|
68 |
+
[
|
69 |
+
1559,
|
70 |
+
17379
|
71 |
+
],
|
72 |
+
[
|
73 |
+
25321,
|
74 |
+
4611
|
75 |
+
]
|
76 |
+
],
|
77 |
+
"bos_token_id": 0,
|
78 |
+
"eos_token_id": 0,
|
79 |
+
"hidden_act": "gelu",
|
80 |
+
"hidden_size": 2048,
|
81 |
+
"initializer_range": 0.02,
|
82 |
+
"intermediate_size": 8192,
|
83 |
+
"layer_norm_eps": 1e-05,
|
84 |
+
"max_position_embeddings": 2048,
|
85 |
+
"model_type": "gpt_neox",
|
86 |
+
"num_attention_heads": 16,
|
87 |
+
"num_hidden_layers": 24,
|
88 |
+
"rotary_emb_base": 10000,
|
89 |
+
"rotary_pct": 0.25,
|
90 |
+
"tie_word_embeddings": false,
|
91 |
+
"torch_dtype": "float16",
|
92 |
+
"transformers_version": "4.25.1",
|
93 |
+
"use_cache": true,
|
94 |
+
"use_parallel_residual": true,
|
95 |
+
"vocab_size": 50304
|
96 |
+
}
|
gitattributes
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
28 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
29 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
30 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
31 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
32 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
33 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
34 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c09c32c69cfc9430deeebc8acd6c18a3f8420c90d267737ce217e442f9673576
|
3 |
+
size 2930002184
|
model.safetensors.index.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"weight_map": {"pytorch_model-00001-of-340.safetensors": ["model.embed_tokens.weight", "model.layers.0.self_attn.q_proj.weight", "model.layers.0.self_attn.q_proj.bias", "model.layers.0.self_attn.k_proj.weight", "model.layers.0.self_attn.k_proj.bias", "model.layers.0.self_attn.v_proj.weight", "model.layers.0.self_attn.v_proj.bias", "model.layers.0.self_attn.o_proj.weight", "model.layers.0.mlp.gate_proj.weight", "model.layers.0.mlp.up_proj.weight", "model.layers.0.mlp.down_proj.weight", "model.layers.0.input_layernorm.weight", "model.layers.0.input_layernorm.bias", "model.layers.0.post_attention_layernorm.weight", "model.layers.0.post_attention_layernorm.bias", "model.layers.1.self_attn.q_proj.weight", "model.layers.1.self_attn.q_proj.bias", "model.layers.1.self_attn.k_proj.weight", "model.layers.1.self_attn.k_proj.bias", "model.layers.1.self_attn.v_proj.weight", "model.layers.1.self_attn.v_proj.bias", "model.layers.1.self_attn.o_proj.weight", "model.layers.1.mlp.gate_proj.weight", "model.layers.1.mlp.up_proj.weight", "model.layers.1.mlp.down_proj.weight", "model.layers.1.input_layernorm.weight", "model.layers.1.input_layernorm.bias", "model.layers.1.post_attention_layernorm.weight", "model.layers.1.post_attention_layernorm.bias", "model.layers.2.self_attn.q_proj.weight", "model.layers.2.self_attn.q_proj.bias", "model.layers.2.self_attn.k_proj.weight", "model.layers.2.self_attn.k_proj.bias", "model.layers.2.self_attn.v_proj.weight", "model.layers.2.self_attn.v_proj.bias", "model.layers.2.self_attn.o_proj.weight", "model.layers.2.mlp.gate_proj.weight", "model.layers.2.mlp.up_proj.weight", "model.layers.2.mlp.down_proj.weight", "model.layers.2.input_layernorm.weight", "model.layers.2.input_layernorm.bias", "model.layers.2.post_attention_layernorm.weight", "model.layers.2.post_attention_layernorm.bias", "model.layers.3.self_attn.q_proj.weight", "model.layers.3.self_attn.q_proj.bias", "model.layers.3.self_attn.k_proj.weight", "model.layers.3.self_attn.k_proj.bias", "model.layers.3.self_attn.v_proj.weight", "model.layers.3.self_attn.v_proj.bias", "model.layers.3.self_attn.o_proj.weight", "model.layers.3.mlp.gate_proj.weight", "model.layers.3.mlp.up_proj.weight", "model.layers.3.mlp.down_proj.weight", "model.layers.3.input_layernorm.weight", "model.layers.3.input_layernorm.bias", "model.layers.3.post_attention_layernorm.weight", "model.layers.3.post_attention_layernorm.bias", "model.layers.4.self_attn.q_proj.weight", "model.layers.4.self_attn.q_proj.bias", "model.layers.4.self_attn.k_proj.weight", "model.layers.4.self_attn.k_proj.bias", "model.layers.4.self_attn.v_proj.weight", "model.layers.4.self_attn.v_proj.bias", "model.layers.4.self_attn.o_proj.weight", "model.layers.4.mlp.gate_proj.weight", "model.layers.4.mlp.up_proj.weight", "model.layers.4.mlp.down_proj.weight", "model.layers.4.input_layernorm.weight", "model.layers.4.input_layernorm.bias", "model.layers.4.post_attention_layernorm.weight", "model.layers.4.post_attention_layernorm.bias", "model.layers.5.self_attn.q_proj.weight", "model.layers.5.self_attn.q_proj.bias", "model.layers.5.self_attn.k_proj.weight", "model.layers.5.self_attn.k_proj.bias", "model.layers.5.self_attn.v_proj.weight", "model.layers.5.self_attn.v_proj.bias", "model.layers.5.self_attn.o_proj.weight", "model.layers.5.mlp.gate_proj.weight", "model.layers.5.mlp.up_proj.weight", "model.layers.5.mlp.down_proj.weight", "model.layers.5.input_layernorm.weight", "model.layers.5.input_layernorm.bias", "model.layers.5.post_attention_layernorm.weight", "model.layers.5.post_attention_layernorm.bias", "model.layers.6.self_attn.q_proj.weight", "model.layers.6.self_attn.q_proj.bias", "model.layers.6.self_attn.k_proj.weight", "model.layers.6.self_attn.k_proj.bias", "model.layers.6.self_attn.v_proj.weight", "model.layers.6.self_attn.v_proj.bias", "model.layers.6.self_attn.o_proj.weight", "model.layers.6.mlp.gate_proj.weight", "model.layers.6.mlp.up_proj.weight", "model.layers.6.mlp.down_proj.weight", "model.layers.6.input_layernorm.weight", "model.layers.6.input_layernorm.bias", "model.layers.6.post_attention_layernorm.weight", "model.layers.6.post_attention_layernorm.bias", "model.layers.7.self_attn.q_proj.weight", "model.layers.7.self_attn.q_proj.bias", "model.layers.7.self_attn.k_proj.weight", "model.layers.7.self_attn.k_proj.bias", "model.layers.7.self_attn.v_proj.weight", "model.layers.7.self_attn.v_proj.bias", "model.layers.7.self_attn.o_proj.weight", "model.layers.7.mlp.gate_proj.weight", "model.layers.7.mlp.up_proj.weight", "model.layers.7.mlp.down_proj.weight", "model.layers.7.input_layernorm.weight", "model.layers.7.input_layernorm.bias", "model.layers.7.post_attention_layernorm.weight", "model.layers.7.post_attention_layernorm.bias", "model.layers.8.self_attn.q_proj.weight", "model.layers.8.self_attn.q_proj.bias", "model.layers.8.self_attn.k_proj.weight", "model.layers.8.self_attn.k_proj.bias", "model.layers.8.self_attn.v_proj.weight", "model.layers.8.self_attn.v_proj.bias", "model.layers.8.self_attn.o_proj.weight", "model.layers.8.mlp.gate_proj.weight", "model.layers.8.mlp.up_proj.weight", "model.layers.8.mlp.down_proj.weight", "model.layers.8.input_layernorm.weight", "model.layers.8.input_layernorm.bias", "model.layers.8.post_attention_layernorm.weight", "model.layers.8.post_attention_layernorm.bias", "model.layers.9.self_attn.q_proj.weight", "model.layers.9.self_attn.q_proj.bias", "model.layers.9.self_attn.k_proj.weight", "model.layers.9.self_attn.k_proj.bias", "model.layers.9.self_attn.v_proj.weight", "model.layers.9.self_attn.v_proj.bias", "model.layers.9.self_attn.o_proj.weight", "model.layers.9.mlp.gate_proj.weight", "model.layers.9.mlp.up_proj.weight", "model.layers.9.mlp.down_proj.weight", "model.layers.9.input_layernorm.weight", "model.layers.9.input_layernorm.bias", "model.layers.9.post_attention_layernorm.weight", "model.layers.9.post_attention_layernorm.bias", "model.layers.10.self_attn.q_proj.weight", "model.layers.10.self_attn.q_proj.bias", "model.layers.10.self_attn.k_proj.weight", "model.layers.10.self_attn.k_proj.bias", "model.layers.10.self_attn.v_proj.weight", "model.layers.10.self_attn.v_proj.bias", "model.layers.10.self_attn.o_proj.weight", "model.layers.10.mlp.gate_proj.weight", "model.layers.10.mlp.up_proj.weight", "model.layers.10.mlp.down_proj.weight", "model.layers.10.input_layernorm.weight", "model.layers.10.input_layernorm.bias", "model.layers.10.post_attention_layernorm.weight", "model.layers.10.post_attention_layernorm.bias", "model.layers.11.self_attn.q_proj.weight", "model.layers.11.self_attn.q_proj.bias", "model.layers.11.self_attn.k_proj.weight", "model.layers.11.self_attn.k_proj.bias", "model.layers.11.self_attn.v_proj.weight", "model.layers.11.self_attn.v_proj.bias", "model.layers.11.self_attn.o_proj.weight", "model.layers.11.mlp.gate_proj.weight", "model.layers.11.mlp.up_proj.weight", "model.layers.11.mlp.down_proj.weight", "model.layers.11.input_layernorm.weight", "model.layers.11.input_layernorm.bias", "model.layers.11.post_attention_layernorm.weight", "model.layers.11.post_attention_layernorm.bias", "model.layers.12.self_attn.q_proj.weight", "model.layers.12.self_attn.q_proj.bias", "model.layers.12.self_attn.k_proj.weight", "model.layers.12.self_attn.k_proj.bias", "model.layers.12.self_attn.v_proj.weight", "model.layers.12.self_attn.v_proj.bias", "model.layers.12.self_attn.o_proj.weight", "model.layers.12.mlp.gate_proj.weight", "model.layers.12.mlp.up_proj.weight", "model.layers.12.mlp.down_proj.weight", "model.layers.12.input_layernorm.weight", "model.layers.12.input_layernorm.bias", "model.layers.12.post_attention_layernorm.weight", "model.layers.12.post_attention_layernorm.bias", "model.layers.13.self_attn.q_proj.weight", "model.layers.13.self_attn.q_proj.bias", "model.layers.13.self_attn.k_proj.weight", "model.layers.13.self_attn.k_proj.bias", "model.layers.13.self_attn.v_proj.weight", "model.layers.13.self_attn.v_proj.bias", "model.layers.13.self_attn.o_proj.weight", "model.layers.13.mlp.gate_proj.weight", "model.layers.13.mlp.up_proj.weight", "model.layers.13.mlp.down_proj.weight", "model.layers.13.input_layernorm.weight", "model.layers.13.input_layernorm.bias", "model.layers.13.post_attention_layernorm.weight", "model.layers.13.post_attention_layernorm.bias", "model.layers.14.self_attn.q_proj.weight", "model.layers.14.self_attn.q_proj.bias", "model.layers.14.self_attn.k_proj.weight", "model.layers.14.self_attn.k_proj.bias", "model.layers.14.self_attn.v_proj.weight", "model.layers.14.self_attn.v_proj.bias", "model.layers.14.self_attn.o_proj.weight", "model.layers.14.mlp.gate_proj.weight", "model.layers.14.mlp.up_proj.weight", "model.layers.14.mlp.down_proj.weight", "model.layers.14.input_layernorm.weight", "model.layers.14.input_layernorm.bias", "model.layers.14.post_attention_layernorm.weight", "model.layers.14.post_attention_layernorm.bias", "model.layers.15.self_attn.q_proj.weight", "model.layers.15.self_attn.q_proj.bias", "model.layers.15.self_attn.k_proj.weight", "model.layers.15.self_attn.k_proj.bias", "model.layers.15.self_attn.v_proj.weight", "model.layers.15.self_attn.v_proj.bias", "model.layers.15.self_attn.o_proj.weight", "model.layers.15.mlp.gate_proj.weight", "model.layers.15.mlp.up_proj.weight", "model.layers.15.mlp.down_proj.weight", "model.layers.15.input_layernorm.weight", "model.layers.15.input_layernorm.bias", "model.layers.15.post_attention_layernorm.weight", "model.layers.15.post_attention_layernorm.bias", "model.layers.16.self_attn.q_proj.weight", "model.layers.16.self_attn.q_proj.bias", "model.layers.16.self_attn.k_proj.weight", "model.layers.16.self_attn.k_proj.bias", "model.layers.16.self_attn.v_proj.weight", "model.layers.16.self_attn.v_proj.bias", "model.layers.16.self_attn.o_proj.weight", "model.layers.16.mlp.gate_proj.weight", "model.layers.16.mlp.up_proj.weight", "model.layers.16.mlp.down_proj.weight", "model.layers.16.input_layernorm.weight", "model.layers.16.input_layernorm.bias", "model.layers.16.post_attention_layernorm.weight", "model.layers.16.post_attention_layernorm.bias", "model.layers.17.self_attn.q_proj.weight", "model.layers.17.self_attn.q_proj.bias", "model.layers.17.self_attn.k_proj.weight", "model.layers.17.self_attn.k_proj.bias", "model.layers.17.self_attn.v_proj.weight", "model.layers.17.self_attn.v_proj.bias", "model.layers.17.self_attn.o_proj.weight", "model.layers.17.mlp.gate_proj.weight", "model.layers.17.mlp.up_proj.weight", "model.layers.17.mlp.down_proj.weight", "model.layers.17.input_layernorm.weight", "model.layers.17.input_layernorm.bias", "model.layers.17.post_attention_layernorm.weight", "model.layers.17.post_attention_layernorm.bias", "model.layers.18.self_attn.q_proj.weight", "model.layers.18.self_attn.q_proj.bias", "model.layers.18.self_attn.k_proj.weight", "model.layers.18.self_attn.k_proj.bias", "model.layers.18.self_attn.v_proj.weight", "model.layers.18.self_attn.v_proj.bias", "model.layers.18.self_attn.o_proj.weight", "model.layers.18.mlp.gate_proj.weight", "model.layers.18.mlp.up_proj.weight", "model.layers.18.mlp.down_proj.weight", "model.layers.18.input_layernorm.weight", "model.layers.18.input_layernorm.bias", "model.layers.18.post_attention_layernorm.weight", "model.layers.18.post_attention_layernorm.bias", "model.layers.19.self_attn.q_proj.weight", "model.layers.19.self_attn.q_proj.bias", "model.layers.19.self_attn.k_proj.weight", "model.layers.19.self_attn.k_proj.bias", "model.layers.19.self_attn.v_proj.weight", "model.layers.19.self_attn.v_proj.bias", "model.layers.19.self_attn.o_proj.weight", "model.layers.19.mlp.gate_proj.weight", "model.layers.19.mlp.up_proj.weight", "model.layers.19.mlp.down_proj.weight", "model.layers.19.input_layernorm.weight", "model.layers.19.input_layernorm.bias", "model.layers.19.post_attention_layernorm.weight", "model.layers.19.post_attention_layernorm.bias", "model.layers.20.self_attn.q_proj.weight", "model.layers.20.self_attn.q_proj.bias", "model.layers.20.self_attn.k_proj.weight", "model.layers.20.self_attn.k_proj.bias", "model.layers.20.self_attn.v_proj.weight", "model.layers.20.self_attn.v_proj.bias", "model.layers.20.self_attn.o_proj.weight", "model.layers.20.mlp.gate_proj.weight", "model.layers.20.mlp.up_proj.weight", "model.layers.20.mlp.down_proj.weight", "model.layers.20.input_layernorm.weight", "model.layers.20.input_layernorm.bias", "model.layers.20.post_attention_layernorm.weight", "model.layers.20.post_attention_layernorm.bias", "model.layers.21.self_attn.q_proj.weight", "model.layers.21.self_attn.q_proj.bias", "model.layers.21.self_attn.k_proj.weight", "model.layers.21.self_attn.k_proj.bias", "model.layers.21.self_attn.v_proj.weight", "model.layers.21.self_attn.v_proj.bias", "model.layers.21.self_attn.o_proj.weight", "model.layers.21.mlp.gate_proj.weight", "model.layers.21.mlp.up_proj.weight", "model.layers.21.mlp.down_proj.weight", "model.layers.21.input_layernorm.weight", "model.layers.21.input_layernorm.bias", "model.layers.21.post_attention_layernorm.weight", "model.layers.21.post_attention_layernorm.bias", "model.layers.22.self_attn.q_proj.weight", "model.layers.22.self_attn.q_proj.bias", "model.layers.22.self_attn.k_proj.weight", "model.layers.22.self_attn.k_proj.bias", "model.layers.22.self_attn.v_proj.weight", "model.layers.22.self_attn.v_proj.bias", "model.layers.22.self_attn.o_proj.weight", "model.layers.22.mlp.gate_proj.weight", "model.layers.22.mlp.up_proj.weight", "model.layers.22.mlp.down_proj.weight", "model.layers.22.input_layernorm.weight", "model.layers.22.input_layernorm.bias", "model.layers.22.post_attention_layernorm.weight", "model.layers.22.post_attention_layernorm.bias", "model.layers.23.self_attn.q_proj.weight", "model.layers.23.self_attn.q_proj.bias", "model.layers.23.self_attn.k_proj.weight", "model.layers.23.self_attn.k_proj.bias", "model.layers.23.self_attn.v_proj.weight", "model.layers.23.self_attn.v_proj.bias", "model.layers.23.self_attn.o_proj.weight", "model.layers.23.mlp.gate_proj.weight", "model.layers.23.mlp.up_proj.weight", "model.layers.23.mlp.down_proj.weight", "model.layers.23.input_layernorm.weight", "model.layers.23.input_layernorm.bias", "model.layers.23.post_attention_layernorm.weight", "model.layers.23.post_attention_layernorm.bias", "model.norm.weight", "model.norm.bias", "lm_head.weight"]}, "metadata": {"total_size": 3289030656}}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<|endoftext|>",
|
3 |
+
"eos_token": "<|endoftext|>",
|
4 |
+
"unk_token": "<|endoftext|>"
|
5 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"bos_token": "<|endoftext|>",
|
4 |
+
"eos_token": "<|endoftext|>",
|
5 |
+
"name_or_path": "EleutherAI/gpt-neox-20b",
|
6 |
+
"special_tokens_map_file": "/fsx/home-hailey/.cache/huggingface/hub/models--EleutherAI--gpt-neox-20b/snapshots/3523781c8df75f7741687a4284f6f70e1afa12f4/special_tokens_map.json",
|
7 |
+
"tokenizer_class": "GPTNeoXTokenizer",
|
8 |
+
"unk_token": "<|endoftext|>"
|
9 |
+
}
|