mBERT-B-offensive
Browse files- README.md +21 -21
- config.json +2 -3
- model.safetensors +2 -2
- runs/Jul21_12-17-59_c71e73600a1c/events.out.tfevents.1721564280.c71e73600a1c.2763.0 +3 -0
- runs/Jul21_12-17-59_c71e73600a1c/events.out.tfevents.1721568656.c71e73600a1c.2763.1 +3 -0
- tokenizer_config.json +1 -1
- training_args.bin +1 -1
- vocab.txt +0 -0
README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
---
|
| 2 |
-
license:
|
| 3 |
-
base_model:
|
| 4 |
tags:
|
| 5 |
- generated_from_trainer
|
| 6 |
metrics:
|
|
@@ -17,13 +17,13 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 17 |
|
| 18 |
# content
|
| 19 |
|
| 20 |
-
This model is a fine-tuned version of [
|
| 21 |
It achieves the following results on the evaluation set:
|
| 22 |
-
- Loss: 0.
|
| 23 |
-
- Accuracy: 0.
|
| 24 |
-
- F1-score: 0.
|
| 25 |
-
- Recall: 0.
|
| 26 |
-
- Precision: 0.
|
| 27 |
|
| 28 |
## Model description
|
| 29 |
|
|
@@ -54,19 +54,19 @@ The following hyperparameters were used during training:
|
|
| 54 |
|
| 55 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1-score | Recall | Precision |
|
| 56 |
|:-------------:|:------:|:----:|:---------------:|:--------:|:--------:|:------:|:---------:|
|
| 57 |
-
| 0.
|
| 58 |
-
| 0.
|
| 59 |
-
| 0.
|
| 60 |
-
| 0.
|
| 61 |
-
| 0.
|
| 62 |
-
| 0.
|
| 63 |
-
| 0.
|
| 64 |
-
| 0.
|
| 65 |
-
| 0.
|
| 66 |
-
| 0.
|
| 67 |
-
| 0.
|
| 68 |
-
| 0.
|
| 69 |
-
| 0.
|
| 70 |
|
| 71 |
|
| 72 |
### Framework versions
|
|
|
|
| 1 |
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model: google-bert/bert-base-multilingual-cased
|
| 4 |
tags:
|
| 5 |
- generated_from_trainer
|
| 6 |
metrics:
|
|
|
|
| 17 |
|
| 18 |
# content
|
| 19 |
|
| 20 |
+
This model is a fine-tuned version of [google-bert/bert-base-multilingual-cased](https://huggingface.co/google-bert/bert-base-multilingual-cased) on an unknown dataset.
|
| 21 |
It achieves the following results on the evaluation set:
|
| 22 |
+
- Loss: 0.4643
|
| 23 |
+
- Accuracy: 0.7959
|
| 24 |
+
- F1-score: 0.7686
|
| 25 |
+
- Recall: 0.8062
|
| 26 |
+
- Precision: 0.7343
|
| 27 |
|
| 28 |
## Model description
|
| 29 |
|
|
|
|
| 54 |
|
| 55 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1-score | Recall | Precision |
|
| 56 |
|:-------------:|:------:|:----:|:---------------:|:--------:|:--------:|:------:|:---------:|
|
| 57 |
+
| 0.5842 | 0.3814 | 500 | 0.5475 | 0.7275 | 0.7439 | 0.8704 | 0.6496 |
|
| 58 |
+
| 0.5066 | 0.7628 | 1000 | 0.5066 | 0.7527 | 0.7544 | 0.8351 | 0.6879 |
|
| 59 |
+
| 0.4702 | 1.1442 | 1500 | 0.5164 | 0.7524 | 0.7611 | 0.8672 | 0.6781 |
|
| 60 |
+
| 0.4287 | 1.5256 | 2000 | 0.4908 | 0.7902 | 0.7760 | 0.7992 | 0.7542 |
|
| 61 |
+
| 0.428 | 1.9069 | 2500 | 0.5179 | 0.7553 | 0.7643 | 0.8722 | 0.6801 |
|
| 62 |
+
| 0.368 | 2.2883 | 3000 | 0.5774 | 0.7476 | 0.7377 | 0.7804 | 0.6994 |
|
| 63 |
+
| 0.3507 | 2.6697 | 3500 | 0.5190 | 0.7770 | 0.7784 | 0.8609 | 0.7103 |
|
| 64 |
+
| 0.3285 | 3.0511 | 4000 | 0.6028 | 0.7745 | 0.7684 | 0.8225 | 0.7209 |
|
| 65 |
+
| 0.2697 | 3.4325 | 4500 | 0.5910 | 0.7725 | 0.7745 | 0.8590 | 0.7051 |
|
| 66 |
+
| 0.2697 | 3.8139 | 5000 | 0.5870 | 0.7679 | 0.7554 | 0.7879 | 0.7254 |
|
| 67 |
+
| 0.2274 | 4.1953 | 5500 | 0.7693 | 0.7690 | 0.7558 | 0.7860 | 0.7279 |
|
| 68 |
+
| 0.2076 | 4.5767 | 6000 | 0.7267 | 0.7676 | 0.7535 | 0.7810 | 0.7279 |
|
| 69 |
+
| 0.2057 | 4.9580 | 6500 | 0.7228 | 0.7653 | 0.7494 | 0.7716 | 0.7285 |
|
| 70 |
|
| 71 |
|
| 72 |
### Framework versions
|
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "
|
| 3 |
"architectures": [
|
| 4 |
"BertForSequenceClassification"
|
| 5 |
],
|
|
@@ -16,7 +16,6 @@
|
|
| 16 |
"model_type": "bert",
|
| 17 |
"num_attention_heads": 12,
|
| 18 |
"num_hidden_layers": 12,
|
| 19 |
-
"output_past": true,
|
| 20 |
"pad_token_id": 0,
|
| 21 |
"pooler_fc_size": 768,
|
| 22 |
"pooler_num_attention_heads": 12,
|
|
@@ -29,5 +28,5 @@
|
|
| 29 |
"transformers_version": "4.42.4",
|
| 30 |
"type_vocab_size": 2,
|
| 31 |
"use_cache": true,
|
| 32 |
-
"vocab_size":
|
| 33 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "google-bert/bert-base-multilingual-cased",
|
| 3 |
"architectures": [
|
| 4 |
"BertForSequenceClassification"
|
| 5 |
],
|
|
|
|
| 16 |
"model_type": "bert",
|
| 17 |
"num_attention_heads": 12,
|
| 18 |
"num_hidden_layers": 12,
|
|
|
|
| 19 |
"pad_token_id": 0,
|
| 20 |
"pooler_fc_size": 768,
|
| 21 |
"pooler_num_attention_heads": 12,
|
|
|
|
| 28 |
"transformers_version": "4.42.4",
|
| 29 |
"type_vocab_size": 2,
|
| 30 |
"use_cache": true,
|
| 31 |
+
"vocab_size": 119547
|
| 32 |
}
|
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:c33091dc8209b6f5f8c5ec6e98fd00024b740f822eee53117c73768684cfd1d7
|
| 3 |
+
size 711443456
|
runs/Jul21_12-17-59_c71e73600a1c/events.out.tfevents.1721564280.c71e73600a1c.2763.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:124a12445c0f59b89d9a591cd5cfea4c344c1d4fdf8e91556246e0f6598a9c22
|
| 3 |
+
size 14348
|
runs/Jul21_12-17-59_c71e73600a1c/events.out.tfevents.1721568656.c71e73600a1c.2763.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3a7822185f1096037d6cfdb6fa7cb7d7d164d90b9162cee40a58cbec80b14f05
|
| 3 |
+
size 1044
|
tokenizer_config.json
CHANGED
|
@@ -46,7 +46,7 @@
|
|
| 46 |
"do_basic_tokenize": true,
|
| 47 |
"do_lower_case": false,
|
| 48 |
"mask_token": "[MASK]",
|
| 49 |
-
"model_max_length":
|
| 50 |
"never_split": null,
|
| 51 |
"pad_token": "[PAD]",
|
| 52 |
"sep_token": "[SEP]",
|
|
|
|
| 46 |
"do_basic_tokenize": true,
|
| 47 |
"do_lower_case": false,
|
| 48 |
"mask_token": "[MASK]",
|
| 49 |
+
"model_max_length": 512,
|
| 50 |
"never_split": null,
|
| 51 |
"pad_token": "[PAD]",
|
| 52 |
"sep_token": "[SEP]",
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 5112
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5dfb155b50fb3b974ed6cb6eef52c91e5ec03b9cd631dada2baa392b95fc4e3c
|
| 3 |
size 5112
|
vocab.txt
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|