leonvanbokhorst commited on
Commit
d84166f
1 Parent(s): 67999e5

Upload GPT2ForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +17 -1
  2. model.safetensors +2 -2
config.json CHANGED
@@ -2,13 +2,29 @@
2
  "_name_or_path": "gpt2",
3
  "activation_function": "gelu_new",
4
  "architectures": [
5
- "GPT2LMHeadModel"
6
  ],
7
  "attn_pdrop": 0.1,
8
  "bos_token_id": 50256,
9
  "embd_pdrop": 0.1,
10
  "eos_token_id": 50256,
 
 
 
 
 
 
 
 
11
  "initializer_range": 0.02,
 
 
 
 
 
 
 
 
12
  "layer_norm_epsilon": 1e-05,
13
  "model_type": "gpt2",
14
  "n_ctx": 1024,
 
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
+ "id2label": {
12
+ "0": "LABEL_0",
13
+ "1": "LABEL_1",
14
+ "2": "LABEL_2",
15
+ "3": "LABEL_3",
16
+ "4": "LABEL_4",
17
+ "5": "LABEL_5"
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
+ "LABEL_5": 5
27
+ },
28
  "layer_norm_epsilon": 1e-05,
29
  "model_type": "gpt2",
30
  "n_ctx": 1024,
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7593bdcdfabf9ee262b9f47f5ac63738b0a1483e6ca3a985d8661835803dfd1e
3
- size 497774208
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3af864fffbbb4e02cc22c3a7bed3b7f8caf1d472285e840bb9a0eee8d44d5655
3
+ size 497792720