BERTweet with correct label mapping
Browse files- README.md +8 -8
- config.json +10 -10
- model.safetensors +1 -1
- training_args.bin +1 -1
README.md
CHANGED
|
@@ -18,10 +18,10 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 18 |
|
| 19 |
This model is a fine-tuned version of [vinai/bertweet-large](https://huggingface.co/vinai/bertweet-large) on an unknown dataset.
|
| 20 |
It achieves the following results on the evaluation set:
|
| 21 |
-
- Loss: 0.
|
| 22 |
-
- Accuracy: 0.
|
| 23 |
-
- F1 Macro: 0.
|
| 24 |
-
- F1 Weighted: 0.
|
| 25 |
|
| 26 |
## Model description
|
| 27 |
|
|
@@ -46,7 +46,7 @@ The following hyperparameters were used during training:
|
|
| 46 |
- seed: 42
|
| 47 |
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 48 |
- lr_scheduler_type: linear
|
| 49 |
-
- lr_scheduler_warmup_steps:
|
| 50 |
- num_epochs: 2
|
| 51 |
- mixed_precision_training: Native AMP
|
| 52 |
|
|
@@ -54,13 +54,13 @@ The following hyperparameters were used during training:
|
|
| 54 |
|
| 55 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Macro | F1 Weighted |
|
| 56 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:--------:|:-----------:|
|
| 57 |
-
| 0.
|
| 58 |
-
| 0.
|
| 59 |
|
| 60 |
|
| 61 |
### Framework versions
|
| 62 |
|
| 63 |
- Transformers 5.0.0
|
| 64 |
-
- Pytorch 2.
|
| 65 |
- Datasets 4.0.0
|
| 66 |
- Tokenizers 0.22.2
|
|
|
|
| 18 |
|
| 19 |
This model is a fine-tuned version of [vinai/bertweet-large](https://huggingface.co/vinai/bertweet-large) on an unknown dataset.
|
| 20 |
It achieves the following results on the evaluation set:
|
| 21 |
+
- Loss: 0.5607
|
| 22 |
+
- Accuracy: 0.7885
|
| 23 |
+
- F1 Macro: 0.7817
|
| 24 |
+
- F1 Weighted: 0.7885
|
| 25 |
|
| 26 |
## Model description
|
| 27 |
|
|
|
|
| 46 |
- seed: 42
|
| 47 |
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 48 |
- lr_scheduler_type: linear
|
| 49 |
+
- lr_scheduler_warmup_steps: 300
|
| 50 |
- num_epochs: 2
|
| 51 |
- mixed_precision_training: Native AMP
|
| 52 |
|
|
|
|
| 54 |
|
| 55 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Macro | F1 Weighted |
|
| 56 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:--------:|:-----------:|
|
| 57 |
+
| 0.5943 | 1.0 | 1540 | 0.5735 | 0.7708 | 0.7592 | 0.7708 |
|
| 58 |
+
| 0.3951 | 2.0 | 3080 | 0.5607 | 0.7885 | 0.7817 | 0.7885 |
|
| 59 |
|
| 60 |
|
| 61 |
### Framework versions
|
| 62 |
|
| 63 |
- Transformers 5.0.0
|
| 64 |
+
- Pytorch 2.10.0+cu128
|
| 65 |
- Datasets 4.0.0
|
| 66 |
- Tokenizers 0.22.2
|
config.json
CHANGED
|
@@ -13,21 +13,21 @@
|
|
| 13 |
"hidden_dropout_prob": 0.1,
|
| 14 |
"hidden_size": 1024,
|
| 15 |
"id2label": {
|
| 16 |
-
"0": "
|
| 17 |
-
"1": "
|
| 18 |
-
"2": "
|
| 19 |
-
"3": "
|
| 20 |
-
"4": "
|
| 21 |
},
|
| 22 |
"initializer_range": 0.02,
|
| 23 |
"intermediate_size": 4096,
|
| 24 |
"is_decoder": false,
|
| 25 |
"label2id": {
|
| 26 |
-
"Argumentative":
|
| 27 |
-
"Expressive":
|
| 28 |
-
"Informational":
|
| 29 |
-
"Neutral":
|
| 30 |
-
"Opinion":
|
| 31 |
},
|
| 32 |
"layer_norm_eps": 1e-05,
|
| 33 |
"max_position_embeddings": 514,
|
|
|
|
| 13 |
"hidden_dropout_prob": 0.1,
|
| 14 |
"hidden_size": 1024,
|
| 15 |
"id2label": {
|
| 16 |
+
"0": "Neutral",
|
| 17 |
+
"1": "Opinion",
|
| 18 |
+
"2": "Argumentative",
|
| 19 |
+
"3": "Expressive",
|
| 20 |
+
"4": "Informational"
|
| 21 |
},
|
| 22 |
"initializer_range": 0.02,
|
| 23 |
"intermediate_size": 4096,
|
| 24 |
"is_decoder": false,
|
| 25 |
"label2id": {
|
| 26 |
+
"Argumentative": 2,
|
| 27 |
+
"Expressive": 3,
|
| 28 |
+
"Informational": 4,
|
| 29 |
+
"Neutral": 0,
|
| 30 |
+
"Opinion": 1
|
| 31 |
},
|
| 32 |
"layer_norm_eps": 1e-05,
|
| 33 |
"max_position_embeddings": 514,
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1421507660
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:39ab1084b0f9a628d6656528e490667561772d8ca0a389e5923e6a745357e1bf
|
| 3 |
size 1421507660
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 5265
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3f03248de6d4f0df254777fc607cccfd915f4a794a519828ee4735e4eaaa7958
|
| 3 |
size 5265
|