Update model card.
Browse files- README.md +8 -10
- config.json +9 -11
- export/onnx/config.json +9 -11
- export/onnx/model.onnx +2 -2
- export/torchscript/model.pt +2 -2
- model.safetensors +2 -2
- training_args.bin +1 -1
README.md
CHANGED
@@ -20,12 +20,12 @@ should probably proofread and complete it, then remove this comment. -->
|
|
20 |
|
21 |
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the tweet_eval dataset.
|
22 |
It achieves the following results on the evaluation set:
|
23 |
-
- Loss: 0.
|
24 |
-
- Accuracy: 0.
|
25 |
-
- Precision: 0.
|
26 |
-
- Recall: 0.
|
27 |
-
- F1: 0.
|
28 |
-
- Auroc: 0.
|
29 |
|
30 |
## Model description
|
31 |
|
@@ -56,10 +56,8 @@ The following hyperparameters were used during training:
|
|
56 |
|
57 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 | Auroc |
|
58 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|:------:|
|
59 |
-
| 0.
|
60 |
-
| 0.
|
61 |
-
| 0.192 | 7.5 | 750 | 0.2599 | 0.9151 | 0.9333 | 0.7091 | 0.7871 | 0.9500 |
|
62 |
-
| 0.1502 | 10.0 | 1000 | 0.2519 | 0.9212 | 0.9333 | 0.7424 | 0.8138 | 0.9510 |
|
63 |
|
64 |
|
65 |
### Framework versions
|
|
|
20 |
|
21 |
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the tweet_eval dataset.
|
22 |
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 0.6404
|
24 |
+
- Accuracy: 0.6529
|
25 |
+
- Precision: 0.8110
|
26 |
+
- Recall: 0.6529
|
27 |
+
- F1: 0.6507
|
28 |
+
- Auroc: 0.9184
|
29 |
|
30 |
## Model description
|
31 |
|
|
|
56 |
|
57 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 | Auroc |
|
58 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|:------:|
|
59 |
+
| 0.7228 | 0.55 | 500 | 0.7232 | 0.6030 | 0.5625 | 0.6030 | 0.5760 | 0.8937 |
|
60 |
+
| 0.64 | 1.1 | 1000 | 0.6404 | 0.6529 | 0.8110 | 0.6529 | 0.6507 | 0.9184 |
|
|
|
|
|
61 |
|
62 |
|
63 |
### Framework versions
|
config.json
CHANGED
@@ -9,26 +9,24 @@
|
|
9 |
"dropout": 0.1,
|
10 |
"hidden_dim": 3072,
|
11 |
"id2label": {
|
12 |
-
"0": "
|
13 |
-
"1": "
|
14 |
-
"2": "
|
15 |
-
"3": "
|
16 |
-
"4": "religion"
|
17 |
},
|
18 |
"initializer_range": 0.02,
|
19 |
"label2id": {
|
20 |
-
"
|
21 |
-
"
|
22 |
-
"
|
23 |
-
"
|
24 |
-
"violence": 0
|
25 |
},
|
26 |
"max_position_embeddings": 512,
|
27 |
"model_type": "distilbert",
|
28 |
"n_heads": 12,
|
29 |
"n_layers": 6,
|
30 |
"pad_token_id": 0,
|
31 |
-
"problem_type": "
|
32 |
"qa_dropout": 0.1,
|
33 |
"seq_classif_dropout": 0.2,
|
34 |
"sinusoidal_pos_embds": false,
|
|
|
9 |
"dropout": 0.1,
|
10 |
"hidden_dim": 3072,
|
11 |
"id2label": {
|
12 |
+
"0": "anger",
|
13 |
+
"1": "joy",
|
14 |
+
"2": "optimism",
|
15 |
+
"3": "sadness"
|
|
|
16 |
},
|
17 |
"initializer_range": 0.02,
|
18 |
"label2id": {
|
19 |
+
"anger": 0,
|
20 |
+
"joy": 1,
|
21 |
+
"optimism": 2,
|
22 |
+
"sadness": 3
|
|
|
23 |
},
|
24 |
"max_position_embeddings": 512,
|
25 |
"model_type": "distilbert",
|
26 |
"n_heads": 12,
|
27 |
"n_layers": 6,
|
28 |
"pad_token_id": 0,
|
29 |
+
"problem_type": "single_label_classification",
|
30 |
"qa_dropout": 0.1,
|
31 |
"seq_classif_dropout": 0.2,
|
32 |
"sinusoidal_pos_embds": false,
|
export/onnx/config.json
CHANGED
@@ -9,26 +9,24 @@
|
|
9 |
"dropout": 0.1,
|
10 |
"hidden_dim": 3072,
|
11 |
"id2label": {
|
12 |
-
"0": "
|
13 |
-
"1": "
|
14 |
-
"2": "
|
15 |
-
"3": "
|
16 |
-
"4": "religion"
|
17 |
},
|
18 |
"initializer_range": 0.02,
|
19 |
"label2id": {
|
20 |
-
"
|
21 |
-
"
|
22 |
-
"
|
23 |
-
"
|
24 |
-
"violence": 0
|
25 |
},
|
26 |
"max_position_embeddings": 512,
|
27 |
"model_type": "distilbert",
|
28 |
"n_heads": 12,
|
29 |
"n_layers": 6,
|
30 |
"pad_token_id": 0,
|
31 |
-
"problem_type": "
|
32 |
"qa_dropout": 0.1,
|
33 |
"seq_classif_dropout": 0.2,
|
34 |
"sinusoidal_pos_embds": false,
|
|
|
9 |
"dropout": 0.1,
|
10 |
"hidden_dim": 3072,
|
11 |
"id2label": {
|
12 |
+
"0": "anger",
|
13 |
+
"1": "joy",
|
14 |
+
"2": "optimism",
|
15 |
+
"3": "sadness"
|
|
|
16 |
},
|
17 |
"initializer_range": 0.02,
|
18 |
"label2id": {
|
19 |
+
"anger": 0,
|
20 |
+
"joy": 1,
|
21 |
+
"optimism": 2,
|
22 |
+
"sadness": 3
|
|
|
23 |
},
|
24 |
"max_position_embeddings": 512,
|
25 |
"model_type": "distilbert",
|
26 |
"n_heads": 12,
|
27 |
"n_layers": 6,
|
28 |
"pad_token_id": 0,
|
29 |
+
"problem_type": "single_label_classification",
|
30 |
"qa_dropout": 0.1,
|
31 |
"seq_classif_dropout": 0.2,
|
32 |
"sinusoidal_pos_embds": false,
|
export/onnx/model.onnx
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8e7e47d4b2db0a1b4604cfbfd3f4505bf98c478556bed71735c89654a600275b
|
3 |
+
size 267961864
|
export/torchscript/model.pt
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:82fde495d92087ebe2f13180eff62dbaf912edcadefaff21c28798dfd684b381
|
3 |
+
size 268003261
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6d754ee892cceb8b16d6f2ff45bd15a754375f5a741fc97d5ff7ed657d2aecd8
|
3 |
+
size 267838720
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4728
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a9f3d8455d06dfa06cbae98a26fceafd4199b8e74d7fb2af3666be8918c88e10
|
3 |
size 4728
|