Instructions to use AIWizards/MultiPRIDE-LGBT-Pretrain-es with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AIWizards/MultiPRIDE-LGBT-Pretrain-es with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="AIWizards/MultiPRIDE-LGBT-Pretrain-es")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("AIWizards/MultiPRIDE-LGBT-Pretrain-es") model = AutoModelForSequenceClassification.from_pretrained("AIWizards/MultiPRIDE-LGBT-Pretrain-es") - Notebooks
- Google Colab
- Kaggle
Luca Tedeschini commited on
MultiPRIDE-LGBT-Pretrain-es
Browse files- README.md +16 -11
- model.safetensors +1 -1
- training_args.bin +1 -1
README.md
CHANGED
|
@@ -20,11 +20,11 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 20 |
|
| 21 |
This model is a fine-tuned version of [cardiffnlp/twitter-xlm-roberta-base-hate-spanish](https://huggingface.co/cardiffnlp/twitter-xlm-roberta-base-hate-spanish) on the None dataset.
|
| 22 |
It achieves the following results on the evaluation set:
|
| 23 |
-
- Loss: 0.
|
| 24 |
-
- Accuracy: 0.
|
| 25 |
-
- F1: 0.
|
| 26 |
-
- Precision: 0.
|
| 27 |
-
- Recall: 0.
|
| 28 |
|
| 29 |
## Model description
|
| 30 |
|
|
@@ -46,7 +46,7 @@ The following hyperparameters were used during training:
|
|
| 46 |
- learning_rate: 2e-05
|
| 47 |
- train_batch_size: 8
|
| 48 |
- eval_batch_size: 8
|
| 49 |
-
- seed:
|
| 50 |
- optimizer: Use adamw_torch_fused with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 51 |
- lr_scheduler_type: linear
|
| 52 |
- num_epochs: 10
|
|
@@ -55,11 +55,16 @@ The following hyperparameters were used during training:
|
|
| 55 |
|
| 56 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
|
| 57 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|
|
| 58 |
-
| 0.
|
| 59 |
-
| 0.
|
| 60 |
-
| 0.
|
| 61 |
-
| 0.
|
| 62 |
-
| 0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 63 |
|
| 64 |
|
| 65 |
### Framework versions
|
|
|
|
| 20 |
|
| 21 |
This model is a fine-tuned version of [cardiffnlp/twitter-xlm-roberta-base-hate-spanish](https://huggingface.co/cardiffnlp/twitter-xlm-roberta-base-hate-spanish) on the None dataset.
|
| 22 |
It achieves the following results on the evaluation set:
|
| 23 |
+
- Loss: 0.9596
|
| 24 |
+
- Accuracy: 0.8258
|
| 25 |
+
- F1: 0.8553
|
| 26 |
+
- Precision: 0.8395
|
| 27 |
+
- Recall: 0.8718
|
| 28 |
|
| 29 |
## Model description
|
| 30 |
|
|
|
|
| 46 |
- learning_rate: 2e-05
|
| 47 |
- train_batch_size: 8
|
| 48 |
- eval_batch_size: 8
|
| 49 |
+
- seed: 150
|
| 50 |
- optimizer: Use adamw_torch_fused with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 51 |
- lr_scheduler_type: linear
|
| 52 |
- num_epochs: 10
|
|
|
|
| 55 |
|
| 56 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
|
| 57 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|
|
| 58 |
+
| 0.6373 | 1.0 | 77 | 0.6966 | 0.6894 | 0.6772 | 0.8776 | 0.5513 |
|
| 59 |
+
| 0.501 | 2.0 | 154 | 0.5357 | 0.7576 | 0.8095 | 0.7556 | 0.8718 |
|
| 60 |
+
| 0.4767 | 3.0 | 231 | 0.5615 | 0.7727 | 0.7945 | 0.8529 | 0.7436 |
|
| 61 |
+
| 0.3971 | 4.0 | 308 | 0.5905 | 0.8030 | 0.8194 | 0.8939 | 0.7564 |
|
| 62 |
+
| 0.1834 | 5.0 | 385 | 0.5565 | 0.8333 | 0.8590 | 0.8590 | 0.8590 |
|
| 63 |
+
| 0.247 | 6.0 | 462 | 0.7815 | 0.8182 | 0.8442 | 0.8553 | 0.8333 |
|
| 64 |
+
| 0.2188 | 7.0 | 539 | 0.9196 | 0.8182 | 0.8481 | 0.8375 | 0.8590 |
|
| 65 |
+
| 0.0572 | 8.0 | 616 | 1.0110 | 0.8409 | 0.8712 | 0.8353 | 0.9103 |
|
| 66 |
+
| 0.0413 | 9.0 | 693 | 1.0312 | 0.8182 | 0.8519 | 0.8214 | 0.8846 |
|
| 67 |
+
| 0.0276 | 10.0 | 770 | 0.9596 | 0.8258 | 0.8553 | 0.8395 | 0.8718 |
|
| 68 |
|
| 69 |
|
| 70 |
### Framework versions
|
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:fb967e24b3beca2a54fd23ee74f7fb45059b306325540c5c6edf82bd0ca621f2
|
| 3 |
size 1112205008
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 5969
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f3b0b46fd2978ea9064d3426527924972ce182a4d2f5e5484cfeca47a0210b97
|
| 3 |
size 5969
|