Emergency Text to Text Checkpoints
Collection
3 items • Updated
How to use UDA-LIDI/roberta_emergency_classification with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="UDA-LIDI/roberta_emergency_classification") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("UDA-LIDI/roberta_emergency_classification")
model = AutoModelForSequenceClassification.from_pretrained("UDA-LIDI/roberta_emergency_classification")This model is a fine-tuned version of bertin-project/bertin-roberta-base-spanish. It achieves the following results on the evaluation set:
This checkpoint classifies emergency transcribed calls into 3 labels: [CLAVE ROJA, CLAVE NARANJA, CLAVE AMARILLA]. Add some text to see the checkpoint's responses.
Under privacy agreement.
Training data used has been provided by the ECU 911 service under a strict confidentiality agreement.
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 0.6674 | 1.0 | 559 | 0.6323 | 0.7630 |
| 0.5059 | 2.0 | 1118 | 0.6280 | 0.7773 |
Base model
bertin-project/bertin-roberta-base-spanish