antypasd commited on
Commit
c55d702
1 Parent(s): 7f87064

Upload RobertaForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +46 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "./latest_models_troberta154/model_all_multilabel/best_model",
3
+ "architectures": [
4
+ "RobertaForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "eos_token_id": 2,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "sexism",
15
+ "1": "racism",
16
+ "2": "disability",
17
+ "3": "sexual_orientation",
18
+ "4": "religion",
19
+ "5": "other",
20
+ "6": "not-hate"
21
+ },
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 3072,
24
+ "label2id": {
25
+ "disability": 2,
26
+ "not-hate": 6,
27
+ "other": 5,
28
+ "racism": 1,
29
+ "religion": 4,
30
+ "sexism": 0,
31
+ "sexual_orientation": 3
32
+ },
33
+ "layer_norm_eps": 1e-05,
34
+ "max_position_embeddings": 514,
35
+ "model_type": "roberta",
36
+ "num_attention_heads": 12,
37
+ "num_hidden_layers": 12,
38
+ "pad_token_id": 1,
39
+ "position_embedding_type": "absolute",
40
+ "problem_type": "single_label_classification",
41
+ "torch_dtype": "float32",
42
+ "transformers_version": "4.29.2",
43
+ "type_vocab_size": 1,
44
+ "use_cache": true,
45
+ "vocab_size": 50265
46
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4491f472b2591d0e1907f2f0996c0a84ef4f0324b0145c2f8a08f1bdec5c70a9
3
+ size 498674613