Upload model
Browse files- config.json +48 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "../../best_models/troberta-large-tweet-hate/best_model/",
|
3 |
+
"architectures": [
|
4 |
+
"RobertaModel"
|
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": 1024,
|
13 |
+
"id2label": {
|
14 |
+
"0": "hate_gender",
|
15 |
+
"1": "hate_race",
|
16 |
+
"2": "hate_sexuality",
|
17 |
+
"3": "hate_religion",
|
18 |
+
"4": "hate_origin",
|
19 |
+
"5": "hate_disability",
|
20 |
+
"6": "hate_age",
|
21 |
+
"7": "not_hate"
|
22 |
+
},
|
23 |
+
"initializer_range": 0.02,
|
24 |
+
"intermediate_size": 4096,
|
25 |
+
"label2id": {
|
26 |
+
"hate_age": 6,
|
27 |
+
"hate_disability": 5,
|
28 |
+
"hate_gender": 0,
|
29 |
+
"hate_origin": 4,
|
30 |
+
"hate_race": 1,
|
31 |
+
"hate_religion": 3,
|
32 |
+
"hate_sexuality": 2,
|
33 |
+
"not_hate": 7
|
34 |
+
},
|
35 |
+
"layer_norm_eps": 1e-05,
|
36 |
+
"max_position_embeddings": 514,
|
37 |
+
"model_type": "roberta",
|
38 |
+
"num_attention_heads": 16,
|
39 |
+
"num_hidden_layers": 24,
|
40 |
+
"pad_token_id": 1,
|
41 |
+
"position_embedding_type": "absolute",
|
42 |
+
"problem_type": "single_label_classification",
|
43 |
+
"torch_dtype": "float32",
|
44 |
+
"transformers_version": "4.35.0",
|
45 |
+
"type_vocab_size": 1,
|
46 |
+
"use_cache": true,
|
47 |
+
"vocab_size": 50265
|
48 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:55852a0883d5a37397e69d6a0263369f9add4674722050feb1c2bc92b1eb3b8e
|
3 |
+
size 1421483904
|