Waseem AlShikh commited on
Commit
86b46ed
1 Parent(s): bd6e8b2
README.md CHANGED
@@ -1,3 +1,131 @@
1
  ---
2
- license: bigscience-bloom-rail-1.0
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ language:
3
+ - en
4
+ tags:
5
+ - text generation
6
+ - pytorch
7
+ - causal-lm
8
+ license: cc-by-4.0
9
+ pipeline_tag: text-generation
10
+ library_name: transformers
11
  ---
12
+ # Writer-5B
13
+
14
+ <style>
15
+ img {
16
+ display: inline;
17
+ }
18
+ </style>
19
+
20
+ |[![Model architecture](https://img.shields.io/badge/Model%20Arch-Transformer%20Decoder-green)](#model-architecture)|[![Model size](https://img.shields.io/badge/Params-5B-green)](#model-architecture)|[![Language](https://img.shields.io/badge/Language-en--US-lightgrey#model-badge)](#datasets)
21
+
22
+
23
+ ## Model Description
24
+
25
+ Model description
26
+ Writer LLM base was primarily pretrained with English text, 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, Writer LLM base is a member of the same family of models that only contain a decoder. As a result, it was pretrained utilizing the objective of self-supervised causal language modeling.
27
+ Writer LLM base uses the prompts and general experimental setup from GPT-3 in order to conduct its evaluation in accordance with GPT-3. Read the official paper if you want more information about this.
28
+
29
+ ## Getting started
30
+
31
+ ### Step 1: Install NeMo and dependencies
32
+
33
+ You will need to install NVIDIA Apex and NeMo.
34
+
35
+ ```
36
+ git clone https://github.com/ericharper/apex.git
37
+ cd apex
38
+ git checkout nm_v1.11.0
39
+ pip install -v --disable-pip-version-check --no-cache-dir --global-option="--cpp_ext" --global-option="--cuda_ext" --global-option="--fast_layer_norm" --global-option="--distributed_adam" --global-option="--deprecated_fused_adam" ./
40
+ ```
41
+
42
+ ```
43
+ pip install nemo_toolkit['nlp']==1.11.0
44
+ ```
45
+
46
+ ### Step 2: Launch eval server
47
+
48
+ **Note.** The example below launches a model variant with Tensor Parallelism (TP) of 4 and Pipeline Parallelism (PP) of 1 on two GPUs.
49
+
50
+
51
+ ```
52
+ git clone https://github.com/NVIDIA/NeMo.git
53
+ cd NeMo/examples/nlp/language_modeling
54
+ git checkout v1.11.0
55
+ python megatron_gpt_eval.py gpt_model_file=palmyara_gpt_5b.nemo server=True tensor_model_parallel_size=4 trainer.devices=4
56
+ ```
57
+
58
+ ### Step 3: Send prompts to your model!
59
+ ```python
60
+ import json
61
+ import requests
62
+
63
+ port_num = 5555
64
+ headers = {"Content-Type": "application/json"}
65
+
66
+ def request_data(data):
67
+ resp = requests.put('http://localhost:{}/generate'.format(port_num),
68
+ data=json.dumps(data),
69
+ headers=headers)
70
+ sentences = resp.json()['sentences']
71
+ return sentences
72
+
73
+
74
+ data = {
75
+ "sentences": ["Tell me an interesting fact about space travel."]*1,
76
+ "tokens_to_generate": 50,
77
+ "temperature": 1.0,
78
+ "add_BOS": True,
79
+ "top_k": 0,
80
+ "top_p": 0.9,
81
+ "greedy": False,
82
+ "all_probs": False,
83
+ "repetition_penalty": 1.2,
84
+ "min_tokens_to_generate": 2,
85
+ }
86
+
87
+ sentences = request_data(data)
88
+ print(sentences)
89
+ ```
90
+
91
+
92
+ ## Training Data
93
+
94
+ | part | MassiveText (sampling) | tokens (B) | sampling ratio |
95
+ |:---------------|-----------------------:|:----------:| --------------:|
96
+ | mc4 filtered | MassiveWeb (48%) | 1331 | 58% |
97
+ | TrustedWeb | - | - | - |
98
+ | realnews | News (10%) | 21 | 10% |
99
+ | c4 | c4 (10%) | - | - |
100
+ | wikipedia-40B | wikipedia (2%) | 2 | 5% |
101
+ | github | github (3%) | - | - |
102
+ | books | books (27%) | 24 | 27% |
103
+ | youtube | - | - | - |
104
+
105
+
106
+
107
+ ## Evaluation results
108
+
109
+ *Zero-shot performance.* Evaluated using [LM Evaluation Test Suite from AI21](https://github.com/AI21Labs/lm-evaluation)
110
+
111
+ | ARC-Challenge | ARC-Easy | RACE-middle | RACE-high | Winogrande | RTE | BoolQA | HellaSwag | PiQA |
112
+ | ------------- | -------- | ----------- | --------- | ---------- | --- | ------ | --------- | ---- |
113
+ | 0.3976 | 0.5566 | 0.5007 | 0.4171 | 0.6133 | 0.5812 | 0.6356 | 0.6298 | 0.7492 |
114
+
115
+ ## Limitations
116
+
117
+ The model was trained on the data originally crawled from the Internet. This data contains toxic language and societal biases. Therefore, the model may amplify those biases and return toxic responses especially when prompted with toxic prompts.
118
+
119
+ ## References
120
+
121
+ [1] [Improving Language Understanding by Generative Pre-Training](https://s3-us-west-2.amazonaws.com/openai-assets/research-covers/language-unsupervised/language_understanding_paper.pdf)
122
+
123
+ [2] [Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelism](https://arxiv.org/pdf/1909.08053.pdf)
124
+
125
+ [3] [NVIDIA NeMo Toolkit](https://github.com/NVIDIA/NeMo)
126
+
127
+ [4] [The Pile: An 800GB Dataset of Diverse Text for Language Modeling](https://arxiv.org/abs/2101.00027)
128
+
129
+ ## Licence
130
+
131
+ License to use this model is covered by the [CC-BY-4.0](https://creativecommons.org/licenses/by/4.0/). By downloading the public and release version of the model, you accept the terms and conditions of the [CC-BY-4.0](https://creativecommons.org/licenses/by/4.0/) license.
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.24.0",
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:460fb533573809670588cad8539eb50863af11063823696f63a182d4cb58cd67
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:30e07d2adb75b5d7e592c435850ed219130dfb95408a78364a5b9a341976caaa
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