MiBo commited on
Commit
531679f
1 Parent(s): cac3d06
Files changed (2) hide show
  1. config.json +52 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "gpt2",
3
+ "activation_function": "gelu_new",
4
+ "architectures": [
5
+ "GPT2ForSequenceClassification"
6
+ ],
7
+ "attn_pdrop": 0.1,
8
+ "bos_token_id": 50256,
9
+ "embd_pdrop": 0.1,
10
+ "eos_token_id": 50256,
11
+ "gradient_checkpointing": false,
12
+ "id2label": {
13
+ "0": "LABEL_0",
14
+ "1": "LABEL_1",
15
+ "2": "LABEL_2",
16
+ "3": "LABEL_3",
17
+ "4": "LABEL_4"
18
+ },
19
+ "initializer_range": 0.02,
20
+ "label2id": {
21
+ "LABEL_0": 0,
22
+ "LABEL_1": 1,
23
+ "LABEL_2": 2,
24
+ "LABEL_3": 3,
25
+ "LABEL_4": 4
26
+ },
27
+ "layer_norm_epsilon": 1e-05,
28
+ "model_type": "gpt2",
29
+ "n_ctx": 1024,
30
+ "n_embd": 768,
31
+ "n_head": 12,
32
+ "n_inner": null,
33
+ "n_layer": 12,
34
+ "n_positions": 1024,
35
+ "pad_token_id": 50256,
36
+ "resid_pdrop": 0.1,
37
+ "scale_attn_weights": true,
38
+ "summary_activation": null,
39
+ "summary_first_dropout": 0.1,
40
+ "summary_proj_to_labels": true,
41
+ "summary_type": "cls_index",
42
+ "summary_use_proj": true,
43
+ "task_specific_params": {
44
+ "text-generation": {
45
+ "do_sample": true,
46
+ "max_length": 50
47
+ }
48
+ },
49
+ "transformers_version": "4.6.1",
50
+ "use_cache": true,
51
+ "vocab_size": 50257
52
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:36fed8de98750d80ecf224414f589328c8e591122d42b487ae3be1e7e6fff4d3
3
+ size 510423876