kiranr commited on
Commit
b871d8b
1 Parent(s): 35b41c3

add model files

Browse files
README.md CHANGED
@@ -16,7 +16,7 @@ library_name: transformers
16
  license: cc-by-4.0
17
 
18
 
19
- # Palmyra long 3B (8k tokens)
20
 
21
  <style>
22
  img {
@@ -24,46 +24,41 @@ img {
24
  }
25
  </style>
26
 
27
- |[![Model architecture](https://img.shields.io/badge/Model%20Arch-Transformer%20Decoder-green)](#model-architecture)|[![Model size](https://img.shields.io/badge/Params-128M-green)](#model-architecture)|[![Language](https://img.shields.io/badge/Language-en--US-lightgrey#model-badge)](#datasets)
28
 
29
 
30
  ## Model Description
31
 
32
- Palmyra Small was primarily pre-trained with English text. Note that there is still a trace amount of non-English data present within the training corpus that was accessed through CommonCrawl. A causal language modeling (CLM) objective was utilized during the process of the model's pretraining. Similar to GPT-3, Palmyra Small is a member of the same family of models that only contain a decoder. As a result, it was pre-trained utilizing the objective of self-supervised causal language modeling. Palmyra Small uses the prompts and general experimental setup from GPT-3 in order to conduct its evaluation per GPT-3.
33
 
34
  ## Use case
35
- Palmyra Small is the fastest of Writer’s LLMs and can perform important tasks such as text parsing, simple classification, address correction, and keyword recognition. Providing more context drives even better performance.
36
 
37
 
38
  ## Training data
39
 
40
- Palmyra long (3B) was trained on Writer’s custom dataset.
41
 
42
  ## Intended Use and Limitations
43
 
44
- Palmyra Small learns an inner representation of the English language that can be used to extract features useful for downstream tasks. However, the model is best at what it was pre-trained for which is generating text from a prompt.
45
 
46
  ### How to use
47
 
48
  This model can be easily loaded using the `AutoModelForCausalLM` functionality:
49
 
50
  ```python
51
-
52
- import torch
53
  from transformers import AutoModelForCausalLM, AutoTokenizer
54
 
55
  model = AutoModelForCausalLM.from_pretrained("Writer/palmyra-long")
56
-
57
  tokenizer = AutoTokenizer.from_pretrained("Writer/palmyra-long")
58
-
59
-
60
  ```
61
 
62
  ### Limitations and Biases
63
 
64
- Palmyra Small’s core functionality is to take a string of text and predict the next token. While language models are widely used for other tasks, there are many unknowns in this work. When prompting Palmyra, keep in mind that the next statistically likely token is not always the token that produces the most "accurate" text. Never rely on Palmyra Small to produce factually correct results.
65
 
66
- Palmyra Small was trained on Writer’s custom data. As with all language models, it is difficult to predict how Palmyra Small will respond to specific prompts, and offensive content may appear unexpectedly. We recommend that the outputs be curated or filtered by humans before they are released, both to censor undesirable content and to improve the quality of the results.
67
 
68
 
69
  ## Citation and Related Information
@@ -76,7 +71,7 @@ To cite this model:
76
  title = {{Palmyra-Long Parameter Autoregressive Language Model}},
77
  howpublished = {\url{https://dev.writer.com}},
78
  year = 2023,
79
- month = February
80
  }
81
  ```
82
 
 
16
  license: cc-by-4.0
17
 
18
 
19
+ # Palmyra Long 3B (8k tokens)
20
 
21
  <style>
22
  img {
 
24
  }
25
  </style>
26
 
27
+ |[![Model architecture](https://img.shields.io/badge/Model%20Arch-Transformer%20Decoder-green)](#model-architecture)|[![Model size](https://img.shields.io/badge/Params-3b-green)](#model-architecture)|[![Language](https://img.shields.io/badge/Language-en--US-lightgrey#model-badge)](#datasets)
28
 
29
 
30
  ## Model Description
31
 
32
+ Palmyra Long was primarily pre-trained with English text. Note that there is still a trace amount of non-English data present within the training corpus that was accessed through CommonCrawl. A causal language modeling (CLM) objective was utilized during the process of the model's pretraining. Similar to GPT-3, Palmyra Long is a member of the same family of models that only contain a decoder. As a result, it was pre-trained utilizing the objective of self-supervised causal language modeling. Palmyra Long uses the prompts and general experimental setup from GPT-3 in order to conduct its evaluation per GPT-3.
33
 
34
  ## Use case
35
+ Palmyra Long is the fastest of Writer’s LLMs and can perform important tasks such as text parsing, simple classification, address correction, and keyword recognition. Providing more context drives even better performance.
36
 
37
 
38
  ## Training data
39
 
40
+ Palmyra Long (3b) was trained on Writer’s custom dataset.
41
 
42
  ## Intended Use and Limitations
43
 
44
+ Palmyra Long learns an inner representation of the English language that can be used to extract features useful for downstream tasks. However, the model is best at what it was pre-trained for which is generating text from a prompt.
45
 
46
  ### How to use
47
 
48
  This model can be easily loaded using the `AutoModelForCausalLM` functionality:
49
 
50
  ```python
 
 
51
  from transformers import AutoModelForCausalLM, AutoTokenizer
52
 
53
  model = AutoModelForCausalLM.from_pretrained("Writer/palmyra-long")
 
54
  tokenizer = AutoTokenizer.from_pretrained("Writer/palmyra-long")
 
 
55
  ```
56
 
57
  ### Limitations and Biases
58
 
59
+ Palmyra Long’s core functionality is to take a string of text and predict the next token. While language models are widely used for other tasks, there are many unknowns in this work. When prompting Palmyra, keep in mind that the next statistically likely token is not always the token that produces the most "accurate" text. Never rely on Palmyra Long to produce factually correct results.
60
 
61
+ Palmyra Long was trained on Writer’s custom data. As with all language models, it is difficult to predict how Palmyra Long will respond to specific prompts, and offensive content may appear unexpectedly. We recommend that the outputs be curated or filtered by humans before they are released, both to censor undesirable content and to improve the quality of the results.
62
 
63
 
64
  ## Citation and Related Information
 
71
  title = {{Palmyra-Long Parameter Autoregressive Language Model}},
72
  howpublished = {\url{https://dev.writer.com}},
73
  year = 2023,
74
+ month = March
75
  }
76
  ```
77
 
config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_function": "gelu",
3
+ "architectures": [
4
+ "GPT2LMHeadModel"
5
+ ],
6
+ "attn_pdrop": 0.1,
7
+ "bos_token_id": 50256,
8
+ "embd_pdrop": 0.1,
9
+ "eos_token_id": 50256,
10
+ "initializer_range": 0.01,
11
+ "layer_norm_epsilon": 1e-05,
12
+ "model_type": "gpt2",
13
+ "n_embd": 4096,
14
+ "n_head": 32,
15
+ "n_inner": 16384,
16
+ "n_layer": 24,
17
+ "n_positions": 2048,
18
+ "reorder_and_upcast_attn": false,
19
+ "resid_pdrop": 0.1,
20
+ "scale_attn_by_inverse_layer_idx": false,
21
+ "scale_attn_weights": true,
22
+ "summary_activation": null,
23
+ "summary_first_dropout": 0.1,
24
+ "summary_proj_to_labels": true,
25
+ "summary_type": "cls_index",
26
+ "summary_use_proj": true,
27
+ "torch_dtype": "bfloat16",
28
+ "transformers_version": "4.21.2",
29
+ "use_cache": true,
30
+ "vocab_size": 50257
31
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
pytorch_model-00001-of-00002.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:40aa5e232cfc03edc98c570e5feab7241ed0c947ca7a0fd29cb0184992cda418
3
+ size 9994100913
pytorch_model-00002-of-00002.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aabdc046aed8da5563876ca72db0145ea6ce7798dbd52ce20c3d59d15fc7f777
3
+ size 713781205
pytorch_model.bin.index.json ADDED
@@ -0,0 +1,348 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "total_size": 10707763248
4
+ },
5
+ "weight_map": {
6
+ "lm_head.weight": "pytorch_model-00002-of-00002.bin",
7
+ "transformer.h.0.attn.bias": "pytorch_model-00001-of-00002.bin",
8
+ "transformer.h.0.attn.c_attn.bias": "pytorch_model-00001-of-00002.bin",
9
+ "transformer.h.0.attn.c_attn.weight": "pytorch_model-00001-of-00002.bin",
10
+ "transformer.h.0.attn.c_proj.bias": "pytorch_model-00001-of-00002.bin",
11
+ "transformer.h.0.attn.c_proj.weight": "pytorch_model-00001-of-00002.bin",
12
+ "transformer.h.0.attn.masked_bias": "pytorch_model-00001-of-00002.bin",
13
+ "transformer.h.0.ln_1.bias": "pytorch_model-00001-of-00002.bin",
14
+ "transformer.h.0.ln_1.weight": "pytorch_model-00001-of-00002.bin",
15
+ "transformer.h.0.ln_2.bias": "pytorch_model-00001-of-00002.bin",
16
+ "transformer.h.0.ln_2.weight": "pytorch_model-00001-of-00002.bin",
17
+ "transformer.h.0.mlp.c_fc.bias": "pytorch_model-00001-of-00002.bin",
18
+ "transformer.h.0.mlp.c_fc.weight": "pytorch_model-00001-of-00002.bin",
19
+ "transformer.h.0.mlp.c_proj.bias": "pytorch_model-00001-of-00002.bin",
20
+ "transformer.h.0.mlp.c_proj.weight": "pytorch_model-00001-of-00002.bin",
21
+ "transformer.h.1.attn.bias": "pytorch_model-00001-of-00002.bin",
22
+ "transformer.h.1.attn.c_attn.bias": "pytorch_model-00001-of-00002.bin",
23
+ "transformer.h.1.attn.c_attn.weight": "pytorch_model-00001-of-00002.bin",
24
+ "transformer.h.1.attn.c_proj.bias": "pytorch_model-00001-of-00002.bin",
25
+ "transformer.h.1.attn.c_proj.weight": "pytorch_model-00001-of-00002.bin",
26
+ "transformer.h.1.attn.masked_bias": "pytorch_model-00001-of-00002.bin",
27
+ "transformer.h.1.ln_1.bias": "pytorch_model-00001-of-00002.bin",
28
+ "transformer.h.1.ln_1.weight": "pytorch_model-00001-of-00002.bin",
29
+ "transformer.h.1.ln_2.bias": "pytorch_model-00001-of-00002.bin",
30
+ "transformer.h.1.ln_2.weight": "pytorch_model-00001-of-00002.bin",
31
+ "transformer.h.1.mlp.c_fc.bias": "pytorch_model-00001-of-00002.bin",
32
+ "transformer.h.1.mlp.c_fc.weight": "pytorch_model-00001-of-00002.bin",
33
+ "transformer.h.1.mlp.c_proj.bias": "pytorch_model-00001-of-00002.bin",
34
+ "transformer.h.1.mlp.c_proj.weight": "pytorch_model-00001-of-00002.bin",
35
+ "transformer.h.10.attn.bias": "pytorch_model-00001-of-00002.bin",
36
+ "transformer.h.10.attn.c_attn.bias": "pytorch_model-00001-of-00002.bin",
37
+ "transformer.h.10.attn.c_attn.weight": "pytorch_model-00001-of-00002.bin",
38
+ "transformer.h.10.attn.c_proj.bias": "pytorch_model-00001-of-00002.bin",
39
+ "transformer.h.10.attn.c_proj.weight": "pytorch_model-00001-of-00002.bin",
40
+ "transformer.h.10.attn.masked_bias": "pytorch_model-00001-of-00002.bin",
41
+ "transformer.h.10.ln_1.bias": "pytorch_model-00001-of-00002.bin",
42
+ "transformer.h.10.ln_1.weight": "pytorch_model-00001-of-00002.bin",
43
+ "transformer.h.10.ln_2.bias": "pytorch_model-00001-of-00002.bin",
44
+ "transformer.h.10.ln_2.weight": "pytorch_model-00001-of-00002.bin",
45
+ "transformer.h.10.mlp.c_fc.bias": "pytorch_model-00001-of-00002.bin",
46
+ "transformer.h.10.mlp.c_fc.weight": "pytorch_model-00001-of-00002.bin",
47
+ "transformer.h.10.mlp.c_proj.bias": "pytorch_model-00001-of-00002.bin",
48
+ "transformer.h.10.mlp.c_proj.weight": "pytorch_model-00001-of-00002.bin",
49
+ "transformer.h.11.attn.bias": "pytorch_model-00001-of-00002.bin",
50
+ "transformer.h.11.attn.c_attn.bias": "pytorch_model-00001-of-00002.bin",
51
+ "transformer.h.11.attn.c_attn.weight": "pytorch_model-00001-of-00002.bin",
52
+ "transformer.h.11.attn.c_proj.bias": "pytorch_model-00001-of-00002.bin",
53
+ "transformer.h.11.attn.c_proj.weight": "pytorch_model-00001-of-00002.bin",
54
+ "transformer.h.11.attn.masked_bias": "pytorch_model-00001-of-00002.bin",
55
+ "transformer.h.11.ln_1.bias": "pytorch_model-00001-of-00002.bin",
56
+ "transformer.h.11.ln_1.weight": "pytorch_model-00001-of-00002.bin",
57
+ "transformer.h.11.ln_2.bias": "pytorch_model-00001-of-00002.bin",
58
+ "transformer.h.11.ln_2.weight": "pytorch_model-00001-of-00002.bin",
59
+ "transformer.h.11.mlp.c_fc.bias": "pytorch_model-00001-of-00002.bin",
60
+ "transformer.h.11.mlp.c_fc.weight": "pytorch_model-00001-of-00002.bin",
61
+ "transformer.h.11.mlp.c_proj.bias": "pytorch_model-00001-of-00002.bin",
62
+ "transformer.h.11.mlp.c_proj.weight": "pytorch_model-00001-of-00002.bin",
63
+ "transformer.h.12.attn.bias": "pytorch_model-00001-of-00002.bin",
64
+ "transformer.h.12.attn.c_attn.bias": "pytorch_model-00001-of-00002.bin",
65
+ "transformer.h.12.attn.c_attn.weight": "pytorch_model-00001-of-00002.bin",
66
+ "transformer.h.12.attn.c_proj.bias": "pytorch_model-00001-of-00002.bin",
67
+ "transformer.h.12.attn.c_proj.weight": "pytorch_model-00001-of-00002.bin",
68
+ "transformer.h.12.attn.masked_bias": "pytorch_model-00001-of-00002.bin",
69
+ "transformer.h.12.ln_1.bias": "pytorch_model-00001-of-00002.bin",
70
+ "transformer.h.12.ln_1.weight": "pytorch_model-00001-of-00002.bin",
71
+ "transformer.h.12.ln_2.bias": "pytorch_model-00001-of-00002.bin",
72
+ "transformer.h.12.ln_2.weight": "pytorch_model-00001-of-00002.bin",
73
+ "transformer.h.12.mlp.c_fc.bias": "pytorch_model-00001-of-00002.bin",
74
+ "transformer.h.12.mlp.c_fc.weight": "pytorch_model-00001-of-00002.bin",
75
+ "transformer.h.12.mlp.c_proj.bias": "pytorch_model-00001-of-00002.bin",
76
+ "transformer.h.12.mlp.c_proj.weight": "pytorch_model-00001-of-00002.bin",
77
+ "transformer.h.13.attn.bias": "pytorch_model-00001-of-00002.bin",
78
+ "transformer.h.13.attn.c_attn.bias": "pytorch_model-00001-of-00002.bin",
79
+ "transformer.h.13.attn.c_attn.weight": "pytorch_model-00001-of-00002.bin",
80
+ "transformer.h.13.attn.c_proj.bias": "pytorch_model-00001-of-00002.bin",
81
+ "transformer.h.13.attn.c_proj.weight": "pytorch_model-00001-of-00002.bin",
82
+ "transformer.h.13.attn.masked_bias": "pytorch_model-00001-of-00002.bin",
83
+ "transformer.h.13.ln_1.bias": "pytorch_model-00001-of-00002.bin",
84
+ "transformer.h.13.ln_1.weight": "pytorch_model-00001-of-00002.bin",
85
+ "transformer.h.13.ln_2.bias": "pytorch_model-00001-of-00002.bin",
86
+ "transformer.h.13.ln_2.weight": "pytorch_model-00001-of-00002.bin",
87
+ "transformer.h.13.mlp.c_fc.bias": "pytorch_model-00001-of-00002.bin",
88
+ "transformer.h.13.mlp.c_fc.weight": "pytorch_model-00001-of-00002.bin",
89
+ "transformer.h.13.mlp.c_proj.bias": "pytorch_model-00001-of-00002.bin",
90
+ "transformer.h.13.mlp.c_proj.weight": "pytorch_model-00001-of-00002.bin",
91
+ "transformer.h.14.attn.bias": "pytorch_model-00001-of-00002.bin",
92
+ "transformer.h.14.attn.c_attn.bias": "pytorch_model-00001-of-00002.bin",
93
+ "transformer.h.14.attn.c_attn.weight": "pytorch_model-00001-of-00002.bin",
94
+ "transformer.h.14.attn.c_proj.bias": "pytorch_model-00001-of-00002.bin",
95
+ "transformer.h.14.attn.c_proj.weight": "pytorch_model-00001-of-00002.bin",
96
+ "transformer.h.14.attn.masked_bias": "pytorch_model-00001-of-00002.bin",
97
+ "transformer.h.14.ln_1.bias": "pytorch_model-00001-of-00002.bin",
98
+ "transformer.h.14.ln_1.weight": "pytorch_model-00001-of-00002.bin",
99
+ "transformer.h.14.ln_2.bias": "pytorch_model-00001-of-00002.bin",
100
+ "transformer.h.14.ln_2.weight": "pytorch_model-00001-of-00002.bin",
101
+ "transformer.h.14.mlp.c_fc.bias": "pytorch_model-00001-of-00002.bin",
102
+ "transformer.h.14.mlp.c_fc.weight": "pytorch_model-00001-of-00002.bin",
103
+ "transformer.h.14.mlp.c_proj.bias": "pytorch_model-00001-of-00002.bin",
104
+ "transformer.h.14.mlp.c_proj.weight": "pytorch_model-00001-of-00002.bin",
105
+ "transformer.h.15.attn.bias": "pytorch_model-00001-of-00002.bin",
106
+ "transformer.h.15.attn.c_attn.bias": "pytorch_model-00001-of-00002.bin",
107
+ "transformer.h.15.attn.c_attn.weight": "pytorch_model-00001-of-00002.bin",
108
+ "transformer.h.15.attn.c_proj.bias": "pytorch_model-00001-of-00002.bin",
109
+ "transformer.h.15.attn.c_proj.weight": "pytorch_model-00001-of-00002.bin",
110
+ "transformer.h.15.attn.masked_bias": "pytorch_model-00001-of-00002.bin",
111
+ "transformer.h.15.ln_1.bias": "pytorch_model-00001-of-00002.bin",
112
+ "transformer.h.15.ln_1.weight": "pytorch_model-00001-of-00002.bin",
113
+ "transformer.h.15.ln_2.bias": "pytorch_model-00001-of-00002.bin",
114
+ "transformer.h.15.ln_2.weight": "pytorch_model-00001-of-00002.bin",
115
+ "transformer.h.15.mlp.c_fc.bias": "pytorch_model-00001-of-00002.bin",
116
+ "transformer.h.15.mlp.c_fc.weight": "pytorch_model-00001-of-00002.bin",
117
+ "transformer.h.15.mlp.c_proj.bias": "pytorch_model-00001-of-00002.bin",
118
+ "transformer.h.15.mlp.c_proj.weight": "pytorch_model-00001-of-00002.bin",
119
+ "transformer.h.16.attn.bias": "pytorch_model-00001-of-00002.bin",
120
+ "transformer.h.16.attn.c_attn.bias": "pytorch_model-00001-of-00002.bin",
121
+ "transformer.h.16.attn.c_attn.weight": "pytorch_model-00001-of-00002.bin",
122
+ "transformer.h.16.attn.c_proj.bias": "pytorch_model-00001-of-00002.bin",
123
+ "transformer.h.16.attn.c_proj.weight": "pytorch_model-00001-of-00002.bin",
124
+ "transformer.h.16.attn.masked_bias": "pytorch_model-00001-of-00002.bin",
125
+ "transformer.h.16.ln_1.bias": "pytorch_model-00001-of-00002.bin",
126
+ "transformer.h.16.ln_1.weight": "pytorch_model-00001-of-00002.bin",
127
+ "transformer.h.16.ln_2.bias": "pytorch_model-00001-of-00002.bin",
128
+ "transformer.h.16.ln_2.weight": "pytorch_model-00001-of-00002.bin",
129
+ "transformer.h.16.mlp.c_fc.bias": "pytorch_model-00001-of-00002.bin",
130
+ "transformer.h.16.mlp.c_fc.weight": "pytorch_model-00001-of-00002.bin",
131
+ "transformer.h.16.mlp.c_proj.bias": "pytorch_model-00001-of-00002.bin",
132
+ "transformer.h.16.mlp.c_proj.weight": "pytorch_model-00001-of-00002.bin",
133
+ "transformer.h.17.attn.bias": "pytorch_model-00001-of-00002.bin",
134
+ "transformer.h.17.attn.c_attn.bias": "pytorch_model-00001-of-00002.bin",
135
+ "transformer.h.17.attn.c_attn.weight": "pytorch_model-00001-of-00002.bin",
136
+ "transformer.h.17.attn.c_proj.bias": "pytorch_model-00001-of-00002.bin",
137
+ "transformer.h.17.attn.c_proj.weight": "pytorch_model-00001-of-00002.bin",
138
+ "transformer.h.17.attn.masked_bias": "pytorch_model-00001-of-00002.bin",
139
+ "transformer.h.17.ln_1.bias": "pytorch_model-00001-of-00002.bin",
140
+ "transformer.h.17.ln_1.weight": "pytorch_model-00001-of-00002.bin",
141
+ "transformer.h.17.ln_2.bias": "pytorch_model-00001-of-00002.bin",
142
+ "transformer.h.17.ln_2.weight": "pytorch_model-00001-of-00002.bin",
143
+ "transformer.h.17.mlp.c_fc.bias": "pytorch_model-00001-of-00002.bin",
144
+ "transformer.h.17.mlp.c_fc.weight": "pytorch_model-00001-of-00002.bin",
145
+ "transformer.h.17.mlp.c_proj.bias": "pytorch_model-00001-of-00002.bin",
146
+ "transformer.h.17.mlp.c_proj.weight": "pytorch_model-00001-of-00002.bin",
147
+ "transformer.h.18.attn.bias": "pytorch_model-00001-of-00002.bin",
148
+ "transformer.h.18.attn.c_attn.bias": "pytorch_model-00001-of-00002.bin",
149
+ "transformer.h.18.attn.c_attn.weight": "pytorch_model-00001-of-00002.bin",
150
+ "transformer.h.18.attn.c_proj.bias": "pytorch_model-00001-of-00002.bin",
151
+ "transformer.h.18.attn.c_proj.weight": "pytorch_model-00001-of-00002.bin",
152
+ "transformer.h.18.attn.masked_bias": "pytorch_model-00001-of-00002.bin",
153
+ "transformer.h.18.ln_1.bias": "pytorch_model-00001-of-00002.bin",
154
+ "transformer.h.18.ln_1.weight": "pytorch_model-00001-of-00002.bin",
155
+ "transformer.h.18.ln_2.bias": "pytorch_model-00001-of-00002.bin",
156
+ "transformer.h.18.ln_2.weight": "pytorch_model-00001-of-00002.bin",
157
+ "transformer.h.18.mlp.c_fc.bias": "pytorch_model-00001-of-00002.bin",
158
+ "transformer.h.18.mlp.c_fc.weight": "pytorch_model-00001-of-00002.bin",
159
+ "transformer.h.18.mlp.c_proj.bias": "pytorch_model-00001-of-00002.bin",
160
+ "transformer.h.18.mlp.c_proj.weight": "pytorch_model-00001-of-00002.bin",
161
+ "transformer.h.19.attn.bias": "pytorch_model-00001-of-00002.bin",
162
+ "transformer.h.19.attn.c_attn.bias": "pytorch_model-00001-of-00002.bin",
163
+ "transformer.h.19.attn.c_attn.weight": "pytorch_model-00001-of-00002.bin",
164
+ "transformer.h.19.attn.c_proj.bias": "pytorch_model-00001-of-00002.bin",
165
+ "transformer.h.19.attn.c_proj.weight": "pytorch_model-00001-of-00002.bin",
166
+ "transformer.h.19.attn.masked_bias": "pytorch_model-00001-of-00002.bin",
167
+ "transformer.h.19.ln_1.bias": "pytorch_model-00001-of-00002.bin",
168
+ "transformer.h.19.ln_1.weight": "pytorch_model-00001-of-00002.bin",
169
+ "transformer.h.19.ln_2.bias": "pytorch_model-00001-of-00002.bin",
170
+ "transformer.h.19.ln_2.weight": "pytorch_model-00001-of-00002.bin",
171
+ "transformer.h.19.mlp.c_fc.bias": "pytorch_model-00001-of-00002.bin",
172
+ "transformer.h.19.mlp.c_fc.weight": "pytorch_model-00001-of-00002.bin",
173
+ "transformer.h.19.mlp.c_proj.bias": "pytorch_model-00001-of-00002.bin",
174
+ "transformer.h.19.mlp.c_proj.weight": "pytorch_model-00001-of-00002.bin",
175
+ "transformer.h.2.attn.bias": "pytorch_model-00001-of-00002.bin",
176
+ "transformer.h.2.attn.c_attn.bias": "pytorch_model-00001-of-00002.bin",
177
+ "transformer.h.2.attn.c_attn.weight": "pytorch_model-00001-of-00002.bin",
178
+ "transformer.h.2.attn.c_proj.bias": "pytorch_model-00001-of-00002.bin",
179
+ "transformer.h.2.attn.c_proj.weight": "pytorch_model-00001-of-00002.bin",
180
+ "transformer.h.2.attn.masked_bias": "pytorch_model-00001-of-00002.bin",
181
+ "transformer.h.2.ln_1.bias": "pytorch_model-00001-of-00002.bin",
182
+ "transformer.h.2.ln_1.weight": "pytorch_model-00001-of-00002.bin",
183
+ "transformer.h.2.ln_2.bias": "pytorch_model-00001-of-00002.bin",
184
+ "transformer.h.2.ln_2.weight": "pytorch_model-00001-of-00002.bin",
185
+ "transformer.h.2.mlp.c_fc.bias": "pytorch_model-00001-of-00002.bin",
186
+ "transformer.h.2.mlp.c_fc.weight": "pytorch_model-00001-of-00002.bin",
187
+ "transformer.h.2.mlp.c_proj.bias": "pytorch_model-00001-of-00002.bin",
188
+ "transformer.h.2.mlp.c_proj.weight": "pytorch_model-00001-of-00002.bin",
189
+ "transformer.h.20.attn.bias": "pytorch_model-00001-of-00002.bin",
190
+ "transformer.h.20.attn.c_attn.bias": "pytorch_model-00001-of-00002.bin",
191
+ "transformer.h.20.attn.c_attn.weight": "pytorch_model-00001-of-00002.bin",
192
+ "transformer.h.20.attn.c_proj.bias": "pytorch_model-00001-of-00002.bin",
193
+ "transformer.h.20.attn.c_proj.weight": "pytorch_model-00001-of-00002.bin",
194
+ "transformer.h.20.attn.masked_bias": "pytorch_model-00001-of-00002.bin",
195
+ "transformer.h.20.ln_1.bias": "pytorch_model-00001-of-00002.bin",
196
+ "transformer.h.20.ln_1.weight": "pytorch_model-00001-of-00002.bin",
197
+ "transformer.h.20.ln_2.bias": "pytorch_model-00001-of-00002.bin",
198
+ "transformer.h.20.ln_2.weight": "pytorch_model-00001-of-00002.bin",
199
+ "transformer.h.20.mlp.c_fc.bias": "pytorch_model-00001-of-00002.bin",
200
+ "transformer.h.20.mlp.c_fc.weight": "pytorch_model-00001-of-00002.bin",
201
+ "transformer.h.20.mlp.c_proj.bias": "pytorch_model-00001-of-00002.bin",
202
+ "transformer.h.20.mlp.c_proj.weight": "pytorch_model-00001-of-00002.bin",
203
+ "transformer.h.21.attn.bias": "pytorch_model-00001-of-00002.bin",
204
+ "transformer.h.21.attn.c_attn.bias": "pytorch_model-00001-of-00002.bin",
205
+ "transformer.h.21.attn.c_attn.weight": "pytorch_model-00001-of-00002.bin",
206
+ "transformer.h.21.attn.c_proj.bias": "pytorch_model-00001-of-00002.bin",
207
+ "transformer.h.21.attn.c_proj.weight": "pytorch_model-00001-of-00002.bin",
208
+ "transformer.h.21.attn.masked_bias": "pytorch_model-00001-of-00002.bin",
209
+ "transformer.h.21.ln_1.bias": "pytorch_model-00001-of-00002.bin",
210
+ "transformer.h.21.ln_1.weight": "pytorch_model-00001-of-00002.bin",
211
+ "transformer.h.21.ln_2.bias": "pytorch_model-00001-of-00002.bin",
212
+ "transformer.h.21.ln_2.weight": "pytorch_model-00001-of-00002.bin",
213
+ "transformer.h.21.mlp.c_fc.bias": "pytorch_model-00001-of-00002.bin",
214
+ "transformer.h.21.mlp.c_fc.weight": "pytorch_model-00001-of-00002.bin",
215
+ "transformer.h.21.mlp.c_proj.bias": "pytorch_model-00001-of-00002.bin",
216
+ "transformer.h.21.mlp.c_proj.weight": "pytorch_model-00001-of-00002.bin",
217
+ "transformer.h.22.attn.bias": "pytorch_model-00001-of-00002.bin",
218
+ "transformer.h.22.attn.c_attn.bias": "pytorch_model-00001-of-00002.bin",
219
+ "transformer.h.22.attn.c_attn.weight": "pytorch_model-00001-of-00002.bin",
220
+ "transformer.h.22.attn.c_proj.bias": "pytorch_model-00001-of-00002.bin",
221
+ "transformer.h.22.attn.c_proj.weight": "pytorch_model-00001-of-00002.bin",
222
+ "transformer.h.22.attn.masked_bias": "pytorch_model-00001-of-00002.bin",
223
+ "transformer.h.22.ln_1.bias": "pytorch_model-00001-of-00002.bin",
224
+ "transformer.h.22.ln_1.weight": "pytorch_model-00001-of-00002.bin",
225
+ "transformer.h.22.ln_2.bias": "pytorch_model-00001-of-00002.bin",
226
+ "transformer.h.22.ln_2.weight": "pytorch_model-00001-of-00002.bin",
227
+ "transformer.h.22.mlp.c_fc.bias": "pytorch_model-00001-of-00002.bin",
228
+ "transformer.h.22.mlp.c_fc.weight": "pytorch_model-00001-of-00002.bin",
229
+ "transformer.h.22.mlp.c_proj.bias": "pytorch_model-00001-of-00002.bin",
230
+ "transformer.h.22.mlp.c_proj.weight": "pytorch_model-00001-of-00002.bin",
231
+ "transformer.h.23.attn.bias": "pytorch_model-00001-of-00002.bin",
232
+ "transformer.h.23.attn.c_attn.bias": "pytorch_model-00001-of-00002.bin",
233
+ "transformer.h.23.attn.c_attn.weight": "pytorch_model-00001-of-00002.bin",
234
+ "transformer.h.23.attn.c_proj.bias": "pytorch_model-00002-of-00002.bin",
235
+ "transformer.h.23.attn.c_proj.weight": "pytorch_model-00002-of-00002.bin",
236
+ "transformer.h.23.attn.masked_bias": "pytorch_model-00001-of-00002.bin",
237
+ "transformer.h.23.ln_1.bias": "pytorch_model-00001-of-00002.bin",
238
+ "transformer.h.23.ln_1.weight": "pytorch_model-00001-of-00002.bin",
239
+ "transformer.h.23.ln_2.bias": "pytorch_model-00002-of-00002.bin",
240
+ "transformer.h.23.ln_2.weight": "pytorch_model-00002-of-00002.bin",
241
+ "transformer.h.23.mlp.c_fc.bias": "pytorch_model-00002-of-00002.bin",
242
+ "transformer.h.23.mlp.c_fc.weight": "pytorch_model-00002-of-00002.bin",
243
+ "transformer.h.23.mlp.c_proj.bias": "pytorch_model-00002-of-00002.bin",
244
+ "transformer.h.23.mlp.c_proj.weight": "pytorch_model-00002-of-00002.bin",
245
+ "transformer.h.3.attn.bias": "pytorch_model-00001-of-00002.bin",
246
+ "transformer.h.3.attn.c_attn.bias": "pytorch_model-00001-of-00002.bin",
247
+ "transformer.h.3.attn.c_attn.weight": "pytorch_model-00001-of-00002.bin",
248
+ "transformer.h.3.attn.c_proj.bias": "pytorch_model-00001-of-00002.bin",
249
+ "transformer.h.3.attn.c_proj.weight": "pytorch_model-00001-of-00002.bin",
250
+ "transformer.h.3.attn.masked_bias": "pytorch_model-00001-of-00002.bin",
251
+ "transformer.h.3.ln_1.bias": "pytorch_model-00001-of-00002.bin",
252
+ "transformer.h.3.ln_1.weight": "pytorch_model-00001-of-00002.bin",
253
+ "transformer.h.3.ln_2.bias": "pytorch_model-00001-of-00002.bin",
254
+ "transformer.h.3.ln_2.weight": "pytorch_model-00001-of-00002.bin",
255
+ "transformer.h.3.mlp.c_fc.bias": "pytorch_model-00001-of-00002.bin",
256
+ "transformer.h.3.mlp.c_fc.weight": "pytorch_model-00001-of-00002.bin",
257
+ "transformer.h.3.mlp.c_proj.bias": "pytorch_model-00001-of-00002.bin",
258
+ "transformer.h.3.mlp.c_proj.weight": "pytorch_model-00001-of-00002.bin",
259
+ "transformer.h.4.attn.bias": "pytorch_model-00001-of-00002.bin",
260
+ "transformer.h.4.attn.c_attn.bias": "pytorch_model-00001-of-00002.bin",
261
+ "transformer.h.4.attn.c_attn.weight": "pytorch_model-00001-of-00002.bin",
262
+ "transformer.h.4.attn.c_proj.bias": "pytorch_model-00001-of-00002.bin",
263
+ "transformer.h.4.attn.c_proj.weight": "pytorch_model-00001-of-00002.bin",
264
+ "transformer.h.4.attn.masked_bias": "pytorch_model-00001-of-00002.bin",
265
+ "transformer.h.4.ln_1.bias": "pytorch_model-00001-of-00002.bin",
266
+ "transformer.h.4.ln_1.weight": "pytorch_model-00001-of-00002.bin",
267
+ "transformer.h.4.ln_2.bias": "pytorch_model-00001-of-00002.bin",
268
+ "transformer.h.4.ln_2.weight": "pytorch_model-00001-of-00002.bin",
269
+ "transformer.h.4.mlp.c_fc.bias": "pytorch_model-00001-of-00002.bin",
270
+ "transformer.h.4.mlp.c_fc.weight": "pytorch_model-00001-of-00002.bin",
271
+ "transformer.h.4.mlp.c_proj.bias": "pytorch_model-00001-of-00002.bin",
272
+ "transformer.h.4.mlp.c_proj.weight": "pytorch_model-00001-of-00002.bin",
273
+ "transformer.h.5.attn.bias": "pytorch_model-00001-of-00002.bin",
274
+ "transformer.h.5.attn.c_attn.bias": "pytorch_model-00001-of-00002.bin",
275
+ "transformer.h.5.attn.c_attn.weight": "pytorch_model-00001-of-00002.bin",
276
+ "transformer.h.5.attn.c_proj.bias": "pytorch_model-00001-of-00002.bin",
277
+ "transformer.h.5.attn.c_proj.weight": "pytorch_model-00001-of-00002.bin",
278
+ "transformer.h.5.attn.masked_bias": "pytorch_model-00001-of-00002.bin",
279
+ "transformer.h.5.ln_1.bias": "pytorch_model-00001-of-00002.bin",
280
+ "transformer.h.5.ln_1.weight": "pytorch_model-00001-of-00002.bin",
281
+ "transformer.h.5.ln_2.bias": "pytorch_model-00001-of-00002.bin",
282
+ "transformer.h.5.ln_2.weight": "pytorch_model-00001-of-00002.bin",
283
+ "transformer.h.5.mlp.c_fc.bias": "pytorch_model-00001-of-00002.bin",
284
+ "transformer.h.5.mlp.c_fc.weight": "pytorch_model-00001-of-00002.bin",
285
+ "transformer.h.5.mlp.c_proj.bias": "pytorch_model-00001-of-00002.bin",
286
+ "transformer.h.5.mlp.c_proj.weight": "pytorch_model-00001-of-00002.bin",
287
+ "transformer.h.6.attn.bias": "pytorch_model-00001-of-00002.bin",
288
+ "transformer.h.6.attn.c_attn.bias": "pytorch_model-00001-of-00002.bin",
289
+ "transformer.h.6.attn.c_attn.weight": "pytorch_model-00001-of-00002.bin",
290
+ "transformer.h.6.attn.c_proj.bias": "pytorch_model-00001-of-00002.bin",
291
+ "transformer.h.6.attn.c_proj.weight": "pytorch_model-00001-of-00002.bin",
292
+ "transformer.h.6.attn.masked_bias": "pytorch_model-00001-of-00002.bin",
293
+ "transformer.h.6.ln_1.bias": "pytorch_model-00001-of-00002.bin",
294
+ "transformer.h.6.ln_1.weight": "pytorch_model-00001-of-00002.bin",
295
+ "transformer.h.6.ln_2.bias": "pytorch_model-00001-of-00002.bin",
296
+ "transformer.h.6.ln_2.weight": "pytorch_model-00001-of-00002.bin",
297
+ "transformer.h.6.mlp.c_fc.bias": "pytorch_model-00001-of-00002.bin",
298
+ "transformer.h.6.mlp.c_fc.weight": "pytorch_model-00001-of-00002.bin",
299
+ "transformer.h.6.mlp.c_proj.bias": "pytorch_model-00001-of-00002.bin",
300
+ "transformer.h.6.mlp.c_proj.weight": "pytorch_model-00001-of-00002.bin",
301
+ "transformer.h.7.attn.bias": "pytorch_model-00001-of-00002.bin",
302
+ "transformer.h.7.attn.c_attn.bias": "pytorch_model-00001-of-00002.bin",
303
+ "transformer.h.7.attn.c_attn.weight": "pytorch_model-00001-of-00002.bin",
304
+ "transformer.h.7.attn.c_proj.bias": "pytorch_model-00001-of-00002.bin",
305
+ "transformer.h.7.attn.c_proj.weight": "pytorch_model-00001-of-00002.bin",
306
+ "transformer.h.7.attn.masked_bias": "pytorch_model-00001-of-00002.bin",
307
+ "transformer.h.7.ln_1.bias": "pytorch_model-00001-of-00002.bin",
308
+ "transformer.h.7.ln_1.weight": "pytorch_model-00001-of-00002.bin",
309
+ "transformer.h.7.ln_2.bias": "pytorch_model-00001-of-00002.bin",
310
+ "transformer.h.7.ln_2.weight": "pytorch_model-00001-of-00002.bin",
311
+ "transformer.h.7.mlp.c_fc.bias": "pytorch_model-00001-of-00002.bin",
312
+ "transformer.h.7.mlp.c_fc.weight": "pytorch_model-00001-of-00002.bin",
313
+ "transformer.h.7.mlp.c_proj.bias": "pytorch_model-00001-of-00002.bin",
314
+ "transformer.h.7.mlp.c_proj.weight": "pytorch_model-00001-of-00002.bin",
315
+ "transformer.h.8.attn.bias": "pytorch_model-00001-of-00002.bin",
316
+ "transformer.h.8.attn.c_attn.bias": "pytorch_model-00001-of-00002.bin",
317
+ "transformer.h.8.attn.c_attn.weight": "pytorch_model-00001-of-00002.bin",
318
+ "transformer.h.8.attn.c_proj.bias": "pytorch_model-00001-of-00002.bin",
319
+ "transformer.h.8.attn.c_proj.weight": "pytorch_model-00001-of-00002.bin",
320
+ "transformer.h.8.attn.masked_bias": "pytorch_model-00001-of-00002.bin",
321
+ "transformer.h.8.ln_1.bias": "pytorch_model-00001-of-00002.bin",
322
+ "transformer.h.8.ln_1.weight": "pytorch_model-00001-of-00002.bin",
323
+ "transformer.h.8.ln_2.bias": "pytorch_model-00001-of-00002.bin",
324
+ "transformer.h.8.ln_2.weight": "pytorch_model-00001-of-00002.bin",
325
+ "transformer.h.8.mlp.c_fc.bias": "pytorch_model-00001-of-00002.bin",
326
+ "transformer.h.8.mlp.c_fc.weight": "pytorch_model-00001-of-00002.bin",
327
+ "transformer.h.8.mlp.c_proj.bias": "pytorch_model-00001-of-00002.bin",
328
+ "transformer.h.8.mlp.c_proj.weight": "pytorch_model-00001-of-00002.bin",
329
+ "transformer.h.9.attn.bias": "pytorch_model-00001-of-00002.bin",
330
+ "transformer.h.9.attn.c_attn.bias": "pytorch_model-00001-of-00002.bin",
331
+ "transformer.h.9.attn.c_attn.weight": "pytorch_model-00001-of-00002.bin",
332
+ "transformer.h.9.attn.c_proj.bias": "pytorch_model-00001-of-00002.bin",
333
+ "transformer.h.9.attn.c_proj.weight": "pytorch_model-00001-of-00002.bin",
334
+ "transformer.h.9.attn.masked_bias": "pytorch_model-00001-of-00002.bin",
335
+ "transformer.h.9.ln_1.bias": "pytorch_model-00001-of-00002.bin",
336
+ "transformer.h.9.ln_1.weight": "pytorch_model-00001-of-00002.bin",
337
+ "transformer.h.9.ln_2.bias": "pytorch_model-00001-of-00002.bin",
338
+ "transformer.h.9.ln_2.weight": "pytorch_model-00001-of-00002.bin",
339
+ "transformer.h.9.mlp.c_fc.bias": "pytorch_model-00001-of-00002.bin",
340
+ "transformer.h.9.mlp.c_fc.weight": "pytorch_model-00001-of-00002.bin",
341
+ "transformer.h.9.mlp.c_proj.bias": "pytorch_model-00001-of-00002.bin",
342
+ "transformer.h.9.mlp.c_proj.weight": "pytorch_model-00001-of-00002.bin",
343
+ "transformer.ln_f.bias": "pytorch_model-00002-of-00002.bin",
344
+ "transformer.ln_f.weight": "pytorch_model-00002-of-00002.bin",
345
+ "transformer.wpe.weight": "pytorch_model-00001-of-00002.bin",
346
+ "transformer.wte.weight": "pytorch_model-00001-of-00002.bin"
347
+ }
348
+ }
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,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "bos_token": "<|endoftext|>",
4
+ "eos_token": "<|endoftext|>",
5
+ "model_max_length": 1024,
6
+ "name_or_path": "gpt2",
7
+ "special_tokens_map_file": null,
8
+ "tokenizer_class": "GPT2Tokenizer",
9
+ "unk_token": "<|endoftext|>"
10
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff