Instructions to use emptor/distilgender-es-2M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use emptor/distilgender-es-2M with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="emptor/distilgender-es-2M")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("emptor/distilgender-es-2M") model = AutoModelForSequenceClassification.from_pretrained("emptor/distilgender-es-2M", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -5,9 +5,38 @@ datasets:
|
|
| 5 |
language:
|
| 6 |
- es
|
| 7 |
metrics:
|
| 8 |
-
- accuracy
|
| 9 |
-
pipeline_tag: text-classification
|
| 10 |
widget:
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
language:
|
| 6 |
- es
|
| 7 |
metrics:
|
| 8 |
+
- accuracy: 0.9951
|
|
|
|
| 9 |
widget:
|
| 10 |
+
- text: AGATA
|
| 11 |
+
- text: GABRIEL
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
## Model Card
|
| 15 |
+
|
| 16 |
+
### Overview
|
| 17 |
+
|
| 18 |
+
This model card provides details about a trained model, its training process, and evaluation metrics. This information ensures transparency and assists users in understanding the model's performance and behavior.
|
| 19 |
+
|
| 20 |
+
### Training Details
|
| 21 |
+
|
| 22 |
+
- **Training Epochs**: The model was trained for 2 epochs.
|
| 23 |
+
- **Training Steps**: The model underwent 1856 training steps.
|
| 24 |
+
- **Training Runtime**: The model's training runtime was approximately 2680.184 seconds.
|
| 25 |
+
- **Training Speed**: The model trained at a rate of 0.692 steps per second and processed approximately 1417.813 samples per second.
|
| 26 |
+
- **Learning Rate**: The learning rate during training was approximately 0.0000095905.
|
| 27 |
+
- **Training Loss**: The average training loss recorded was approximately 0.0184, with a specific loss value of 0.023423514232553285.
|
| 28 |
+
|
| 29 |
+
### Evaluation Details
|
| 30 |
+
|
| 31 |
+
- **Evaluation Loss**: The model achieved an evaluation loss of 0.017659155651926994.
|
| 32 |
+
- **Evaluation Runtime**: The evaluation process took approximately 23.8414 seconds.
|
| 33 |
+
- **Evaluation Speed**: The model was evaluated at a rate of 2.055 steps per second, processing approximately 4194.378 samples per second.
|
| 34 |
+
|
| 35 |
+
### Performance Metrics
|
| 36 |
+
|
| 37 |
+
- **Accuracy**: The model achieved an accuracy of 0.9951 during evaluation.
|
| 38 |
+
- **Precision**: The precision of the model is approximately 0.9957234121187588.
|
| 39 |
+
- **Recall**: The model's recall is approximately 0.9956533216014078.
|
| 40 |
+
- **F1-Score**: The F1-Score for the model is approximately 0.995688365626595.
|
| 41 |
+
|
| 42 |
+
|