Umarpreet commited on
Commit
af7b602
1 Parent(s): 7b52c7f

Upload GPT2ForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +57 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/scratch/j/jcaunedo/umar1/gpt2_final/",
3
+ "activation_function": "gelu_new",
4
+ "architectures": [
5
+ "GPT2ForSequenceClassification"
6
+ ],
7
+ "attn_pdrop": 0.5,
8
+ "bos_token_id": 50256,
9
+ "embd_pdrop": 0.5,
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,
31
+ "n_embd": 1280,
32
+ "n_head": 20,
33
+ "n_inner": null,
34
+ "n_layer": 36,
35
+ "n_positions": 1024,
36
+ "pad_token_id": 50256,
37
+ "problem_type": "single_label_classification",
38
+ "reorder_and_upcast_attn": false,
39
+ "resid_pdrop": 0.5,
40
+ "scale_attn_by_inverse_layer_idx": false,
41
+ "scale_attn_weights": true,
42
+ "summary_activation": null,
43
+ "summary_first_dropout": 0.1,
44
+ "summary_proj_to_labels": true,
45
+ "summary_type": "cls_index",
46
+ "summary_use_proj": true,
47
+ "task_specific_params": {
48
+ "text-generation": {
49
+ "do_sample": true,
50
+ "max_length": 50
51
+ }
52
+ },
53
+ "torch_dtype": "float32",
54
+ "transformers_version": "4.24.0",
55
+ "use_cache": false,
56
+ "vocab_size": 50257
57
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:45a2d4c4ee777943d3d004b6a2801bbe4038830862bcabd40a1f0b62f69bd2de
3
+ size 3134055303