George-Ogden commited on
Commit
a38bef0
1 Parent(s): ded571b

Upload GPT2ForSequenceClassification

Browse files
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-base-finetuned-mnli",
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
+ "finetuning_task": "mnli",
12
+ "id2label": {
13
+ "0": "entailment",
14
+ "1": "neutral",
15
+ "2": "contradiction"
16
+ },
17
+ "initializer_range": 0.02,
18
+ "label2id": {
19
+ "contradiction": 2,
20
+ "entailment": 0,
21
+ "neutral": 1
22
+ },
23
+ "layer_norm_epsilon": 1e-05,
24
+ "model_type": "gpt2",
25
+ "n_ctx": 1024,
26
+ "n_embd": 768,
27
+ "n_head": 12,
28
+ "n_inner": null,
29
+ "n_layer": 12,
30
+ "n_positions": 1024,
31
+ "pad_token_id": 50256,
32
+ "problem_type": "single_label_classification",
33
+ "reorder_and_upcast_attn": false,
34
+ "resid_pdrop": 0.1,
35
+ "scale_attn_by_inverse_layer_idx": false,
36
+ "scale_attn_weights": true,
37
+ "summary_activation": null,
38
+ "summary_first_dropout": 0.1,
39
+ "summary_proj_to_labels": true,
40
+ "summary_type": "cls_index",
41
+ "summary_use_proj": true,
42
+ "task_specific_params": {
43
+ "text-generation": {
44
+ "do_sample": true,
45
+ "max_length": 50
46
+ }
47
+ },
48
+ "torch_dtype": "float32",
49
+ "transformers_version": "4.31.0.dev0",
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:4f247b2aa2c07fdfc533db1af71fb22e3a4ff9b676202d60025a53653895bd74
3
+ size 497814561