FpOliveira commited on
Commit
75815cf
1 Parent(s): 0cd6b50

Upload GPT2ForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +69 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "tupi-gpt2-small-multiclass-multilabel",
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": "ageism",
13
+ "1": "aporophobia",
14
+ "2": "body_shame",
15
+ "3": "capacitism",
16
+ "4": "lgbtphobia",
17
+ "5": "political",
18
+ "6": "racism",
19
+ "7": "religious_intolerance",
20
+ "8": "misogyny",
21
+ "9": "xenophobia",
22
+ "10": "other",
23
+ "11": "not_hate"
24
+ },
25
+ "initializer_range": 0.02,
26
+ "label2id": {
27
+ "ageism": 0,
28
+ "aporophobia": 1,
29
+ "body_shame": 2,
30
+ "capacitism": 3,
31
+ "lgbtphobia": 4,
32
+ "misogyny": 8,
33
+ "not_hate": 11,
34
+ "other": 10,
35
+ "political": 5,
36
+ "racism": 6,
37
+ "religious_intolerance": 7,
38
+ "xenophobia": 9
39
+ },
40
+ "layer_norm_epsilon": 1e-05,
41
+ "model_type": "gpt2",
42
+ "n_ctx": 1024,
43
+ "n_embd": 768,
44
+ "n_head": 12,
45
+ "n_inner": null,
46
+ "n_layer": 12,
47
+ "n_positions": 1024,
48
+ "pad_token_id": 50256,
49
+ "problem_type": "single_label_classification",
50
+ "reorder_and_upcast_attn": false,
51
+ "resid_pdrop": 0.1,
52
+ "scale_attn_by_inverse_layer_idx": false,
53
+ "scale_attn_weights": true,
54
+ "summary_activation": null,
55
+ "summary_first_dropout": 0.1,
56
+ "summary_proj_to_labels": true,
57
+ "summary_type": "cls_index",
58
+ "summary_use_proj": true,
59
+ "task_specific_params": {
60
+ "text-generation": {
61
+ "do_sample": true,
62
+ "max_length": 50
63
+ }
64
+ },
65
+ "torch_dtype": "float32",
66
+ "transformers_version": "4.35.2",
67
+ "use_cache": true,
68
+ "vocab_size": 50257
69
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:30bc5a8543e717af9993b7528a4e0914e5bafea4f529de65d1fdb55184c30d49
3
+ size 497811152