saraestevez
commited on
Commit
•
347a1c9
1
Parent(s):
384cda4
Update model
Browse files- config.json +2 -10
- pytorch_model.bin +1 -1
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "/
|
3 |
"architectures": [
|
4 |
"XLMRobertaForSequenceClassification"
|
5 |
],
|
@@ -10,16 +10,8 @@
|
|
10 |
"hidden_act": "gelu",
|
11 |
"hidden_dropout_prob": 0.1,
|
12 |
"hidden_size": 768,
|
13 |
-
"id2label": {
|
14 |
-
"0": "toxic",
|
15 |
-
"1": "very toxic"
|
16 |
-
},
|
17 |
"initializer_range": 0.02,
|
18 |
"intermediate_size": 3072,
|
19 |
-
"label2id": {
|
20 |
-
"toxic": 0,
|
21 |
-
"very toxic": 1
|
22 |
-
},
|
23 |
"layer_norm_eps": 1e-05,
|
24 |
"max_position_embeddings": 514,
|
25 |
"model_type": "xlm-roberta",
|
@@ -30,7 +22,7 @@
|
|
30 |
"position_embedding_type": "absolute",
|
31 |
"problem_type": "multi_label_classification",
|
32 |
"torch_dtype": "float32",
|
33 |
-
"transformers_version": "4.
|
34 |
"type_vocab_size": 1,
|
35 |
"use_cache": true,
|
36 |
"vocab_size": 250002
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "/home/ubuntu/bertran_sara/hugging_face/",
|
3 |
"architectures": [
|
4 |
"XLMRobertaForSequenceClassification"
|
5 |
],
|
|
|
10 |
"hidden_act": "gelu",
|
11 |
"hidden_dropout_prob": 0.1,
|
12 |
"hidden_size": 768,
|
|
|
|
|
|
|
|
|
13 |
"initializer_range": 0.02,
|
14 |
"intermediate_size": 3072,
|
|
|
|
|
|
|
|
|
15 |
"layer_norm_eps": 1e-05,
|
16 |
"max_position_embeddings": 514,
|
17 |
"model_type": "xlm-roberta",
|
|
|
22 |
"position_embedding_type": "absolute",
|
23 |
"problem_type": "multi_label_classification",
|
24 |
"torch_dtype": "float32",
|
25 |
+
"transformers_version": "4.11.3",
|
26 |
"type_vocab_size": 1,
|
27 |
"use_cache": true,
|
28 |
"vocab_size": 250002
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 1112263341
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f6170c691150f180feb6348499db607817a57bce69ae4871724eeb77158b5372
|
3 |
size 1112263341
|