Text Classification
Transformers
TensorBoard
Safetensors
bert
Generated from Trainer
text-embeddings-inference
Instructions to use SergioParra/my_awesome_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SergioParra/my_awesome_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="SergioParra/my_awesome_model")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("SergioParra/my_awesome_model") model = AutoModelForSequenceClassification.from_pretrained("SergioParra/my_awesome_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse files
README.md
CHANGED
|
@@ -5,6 +5,7 @@ tags:
|
|
| 5 |
- generated_from_trainer
|
| 6 |
metrics:
|
| 7 |
- accuracy
|
|
|
|
| 8 |
model-index:
|
| 9 |
- name: my_awesome_model
|
| 10 |
results: []
|
|
@@ -17,8 +18,9 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 17 |
|
| 18 |
This model is a fine-tuned version of [dccuchile/bert-base-spanish-wwm-cased](https://huggingface.co/dccuchile/bert-base-spanish-wwm-cased) on the None dataset.
|
| 19 |
It achieves the following results on the evaluation set:
|
| 20 |
-
- Loss: 0.
|
| 21 |
-
- Accuracy:
|
|
|
|
| 22 |
|
| 23 |
## Model description
|
| 24 |
|
|
@@ -43,17 +45,15 @@ The following hyperparameters were used during training:
|
|
| 43 |
- seed: 42
|
| 44 |
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 45 |
- lr_scheduler_type: linear
|
| 46 |
-
- num_epochs:
|
| 47 |
|
| 48 |
### Training results
|
| 49 |
|
| 50 |
-
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 51 |
-
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 52 |
-
| No log | 1.0 |
|
| 53 |
-
| No log | 2.0 |
|
| 54 |
-
| No log | 3.0 |
|
| 55 |
-
| No log | 4.0 | 56 | 0.0026 | 1.0 |
|
| 56 |
-
| No log | 5.0 | 70 | 0.0019 | 1.0 |
|
| 57 |
|
| 58 |
|
| 59 |
### Framework versions
|
|
|
|
| 5 |
- generated_from_trainer
|
| 6 |
metrics:
|
| 7 |
- accuracy
|
| 8 |
+
- f1
|
| 9 |
model-index:
|
| 10 |
- name: my_awesome_model
|
| 11 |
results: []
|
|
|
|
| 18 |
|
| 19 |
This model is a fine-tuned version of [dccuchile/bert-base-spanish-wwm-cased](https://huggingface.co/dccuchile/bert-base-spanish-wwm-cased) on the None dataset.
|
| 20 |
It achieves the following results on the evaluation set:
|
| 21 |
+
- Loss: 0.2001
|
| 22 |
+
- Accuracy: 0.9464
|
| 23 |
+
- F1: 0.9403
|
| 24 |
|
| 25 |
## Model description
|
| 26 |
|
|
|
|
| 45 |
- seed: 42
|
| 46 |
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 47 |
- lr_scheduler_type: linear
|
| 48 |
+
- num_epochs: 3
|
| 49 |
|
| 50 |
### Training results
|
| 51 |
|
| 52 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|
| 53 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
|
| 54 |
+
| No log | 1.0 | 66 | 0.2467 | 0.9272 | 0.9201 |
|
| 55 |
+
| No log | 2.0 | 132 | 0.2089 | 0.9464 | 0.9400 |
|
| 56 |
+
| No log | 3.0 | 198 | 0.2001 | 0.9464 | 0.9403 |
|
|
|
|
|
|
|
| 57 |
|
| 58 |
|
| 59 |
### Framework versions
|