max-gartz commited on
Commit
d070cd4
1 Parent(s): adec9d3

Update model card.

Browse files
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.2519
24
- - Accuracy: 0.9212
25
- - Precision: 0.9333
26
- - Recall: 0.7424
27
- - F1: 0.8138
28
- - Auroc: 0.9510
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.4845 | 2.5 | 250 | 0.4243 | 0.8061 | 0.2000 | 0.0500 | 0.0800 | 0.9209 |
60
- | 0.2692 | 5.0 | 500 | 0.2946 | 0.9151 | 0.9333 | 0.7091 | 0.7871 | 0.9469 |
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": "violence",
13
- "1": "gender",
14
- "2": "race",
15
- "3": "sexual_orientation",
16
- "4": "religion"
17
  },
18
  "initializer_range": 0.02,
19
  "label2id": {
20
- "gender": 1,
21
- "race": 2,
22
- "religion": 4,
23
- "sexual_orientation": 3,
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": "multi_label_classification",
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": "violence",
13
- "1": "gender",
14
- "2": "race",
15
- "3": "sexual_orientation",
16
- "4": "religion"
17
  },
18
  "initializer_range": 0.02,
19
  "label2id": {
20
- "gender": 1,
21
- "race": 2,
22
- "religion": 4,
23
- "sexual_orientation": 3,
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": "multi_label_classification",
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:1223642bb3128a04fab445eb2b87cd4c571ec315637acbb93b660cd942656ff0
3
- size 267964940
 
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:a1c0c8ebcb7d7b113e56f33f84f64e283303a2d939bcf1a134c66802cd75fe06
3
- size 268006333
 
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:1cc767fc7f1f76694a71152a0eed8643bbe52e5f642616ab200de87988f3b3e9
3
- size 267841796
 
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:ebfaeb725b056cf6d3a5a10ab103fe1149f27e538107b04a2862d8e0fd1441f6
3
  size 4728
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a9f3d8455d06dfa06cbae98a26fceafd4199b8e74d7fb2af3666be8918c88e10
3
  size 4728