pinthoz commited on
Commit
d02d4f0
·
verified ·
1 Parent(s): 407d197

GPT-2 GUS-Net model (causal attention)

Browse files
config.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "gpt2",
3
+ "activation_function": "gelu_new",
4
+ "architectures": [
5
+ "GPT2ForTokenClassification"
6
+ ],
7
+ "attn_pdrop": 0.1,
8
+ "bos_token_id": 50256,
9
+ "embd_pdrop": 0.1,
10
+ "eos_token_id": 50256,
11
+ "id2label": {
12
+ "0": "O",
13
+ "1": "B-STEREO",
14
+ "2": "I-STEREO",
15
+ "3": "B-GEN",
16
+ "4": "I-GEN",
17
+ "5": "B-UNFAIR",
18
+ "6": "I-UNFAIR"
19
+ },
20
+ "initializer_range": 0.02,
21
+ "label2id": {
22
+ "B-GEN": 3,
23
+ "B-STEREO": 1,
24
+ "B-UNFAIR": 5,
25
+ "I-GEN": 4,
26
+ "I-STEREO": 2,
27
+ "I-UNFAIR": 6,
28
+ "O": 0
29
+ },
30
+ "layer_norm_epsilon": 1e-05,
31
+ "model_type": "gpt2",
32
+ "n_ctx": 1024,
33
+ "n_embd": 768,
34
+ "n_head": 12,
35
+ "n_inner": null,
36
+ "n_layer": 12,
37
+ "n_positions": 1024,
38
+ "pad_token_id": 50256,
39
+ "reorder_and_upcast_attn": false,
40
+ "resid_pdrop": 0.1,
41
+ "scale_attn_by_inverse_layer_idx": false,
42
+ "scale_attn_weights": true,
43
+ "summary_activation": null,
44
+ "summary_first_dropout": 0.1,
45
+ "summary_proj_to_labels": true,
46
+ "summary_type": "cls_index",
47
+ "summary_use_proj": true,
48
+ "task_specific_params": {
49
+ "text-generation": {
50
+ "do_sample": true,
51
+ "max_length": 50
52
+ }
53
+ },
54
+ "torch_dtype": "float32",
55
+ "transformers_version": "4.28.1",
56
+ "use_cache": true,
57
+ "vocab_size": 50257
58
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:34a1177001eab45aed2a3e9039bfd8c9198b8b34e6bb7a3795a9a97b74560b1e
3
+ size 510420891
special_tokens_map.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<|endoftext|>",
3
+ "eos_token": "<|endoftext|>",
4
+ "pad_token": "<|endoftext|>",
5
+ "unk_token": "<|endoftext|>"
6
+ }
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": true,
3
+ "bos_token": "<|endoftext|>",
4
+ "clean_up_tokenization_spaces": true,
5
+ "eos_token": "<|endoftext|>",
6
+ "model_max_length": 1024,
7
+ "tokenizer_class": "GPT2Tokenizer",
8
+ "unk_token": "<|endoftext|>"
9
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff