Upload XLMRobertaForSequenceClassification
Browse files- README.md +2 -2
- config.json +8 -1
- model.safetensors +1 -1
README.md
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
---
|
2 |
base_model: cardiffnlp/twitter-xlm-roberta-base-sentiment
|
3 |
-
tags:
|
4 |
-
- generated_from_trainer
|
5 |
metrics:
|
6 |
- accuracy
|
|
|
|
|
7 |
model-index:
|
8 |
- name: unfortified_xlm
|
9 |
results: []
|
|
|
1 |
---
|
2 |
base_model: cardiffnlp/twitter-xlm-roberta-base-sentiment
|
|
|
|
|
3 |
metrics:
|
4 |
- accuracy
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
model-index:
|
8 |
- name: unfortified_xlm
|
9 |
results: []
|
config.json
CHANGED
@@ -11,8 +11,16 @@
|
|
11 |
"hidden_act": "gelu",
|
12 |
"hidden_dropout_prob": 0.1,
|
13 |
"hidden_size": 768,
|
|
|
|
|
|
|
|
|
14 |
"initializer_range": 0.02,
|
15 |
"intermediate_size": 3072,
|
|
|
|
|
|
|
|
|
16 |
"layer_norm_eps": 1e-05,
|
17 |
"max_position_embeddings": 514,
|
18 |
"model_type": "xlm-roberta",
|
@@ -21,7 +29,6 @@
|
|
21 |
"output_past": true,
|
22 |
"pad_token_id": 1,
|
23 |
"position_embedding_type": "absolute",
|
24 |
-
"problem_type": "single_label_classification",
|
25 |
"torch_dtype": "float32",
|
26 |
"transformers_version": "4.42.2",
|
27 |
"type_vocab_size": 1,
|
|
|
11 |
"hidden_act": "gelu",
|
12 |
"hidden_dropout_prob": 0.1,
|
13 |
"hidden_size": 768,
|
14 |
+
"id2label": {
|
15 |
+
"0": "Negative",
|
16 |
+
"1": "Positive"
|
17 |
+
},
|
18 |
"initializer_range": 0.02,
|
19 |
"intermediate_size": 3072,
|
20 |
+
"label2id": {
|
21 |
+
"Negative": 0,
|
22 |
+
"Positive": 1
|
23 |
+
},
|
24 |
"layer_norm_eps": 1e-05,
|
25 |
"max_position_embeddings": 514,
|
26 |
"model_type": "xlm-roberta",
|
|
|
29 |
"output_past": true,
|
30 |
"pad_token_id": 1,
|
31 |
"position_embedding_type": "absolute",
|
|
|
32 |
"torch_dtype": "float32",
|
33 |
"transformers_version": "4.42.2",
|
34 |
"type_vocab_size": 1,
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 1112205008
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4630ade2001309c79d9b10949cd452654e707e6743be278a313b5877ceed373b
|
3 |
size 1112205008
|