Text Classification
Transformers
TensorBoard
Safetensors
bert
Generated from Trainer
text-embeddings-inference
Instructions to use macayla-ts/hi-roberta with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use macayla-ts/hi-roberta with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="macayla-ts/hi-roberta")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("macayla-ts/hi-roberta") model = AutoModelForSequenceClassification.from_pretrained("macayla-ts/hi-roberta", device_map="auto") - Notebooks
- Google Colab
- Kaggle
hi-roberta
This model is a fine-tuned version of roberta-base on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.1410
- Accuracy: 0.9681
- Precision: 0.9633
- Recall: 0.9681
- F1: 0.9648
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 1e-05
- train_batch_size: 8
- eval_batch_size: 8
- seed: 42
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- lr_scheduler_warmup_steps: 500
- num_epochs: 5
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
|---|---|---|---|---|---|---|---|
| 0.1385 | 1.0 | 471 | 0.1976 | 0.9633 | 0.9280 | 0.9633 | 0.9453 |
| 0.0068 | 2.0 | 942 | 0.1814 | 0.9633 | 0.9280 | 0.9633 | 0.9453 |
| 0.015 | 3.0 | 1413 | 0.1410 | 0.9681 | 0.9633 | 0.9681 | 0.9648 |
| 0.0858 | 4.0 | 1884 | 0.1734 | 0.9697 | 0.9641 | 0.9697 | 0.9632 |
| 0.0017 | 5.0 | 2355 | 0.1600 | 0.9713 | 0.9667 | 0.9713 | 0.9674 |
Framework versions
- Transformers 4.51.1
- Pytorch 2.4.1.post300
- Datasets 2.15.0
- Tokenizers 0.21.1
- Downloads last month
- 6
Model tree for macayla-ts/hi-roberta
Base model
FacebookAI/roberta-base