Instructions to use caitlinhamer23/roberta-base-dirQ with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use caitlinhamer23/roberta-base-dirQ with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="caitlinhamer23/roberta-base-dirQ")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("caitlinhamer23/roberta-base-dirQ") model = AutoModelForTokenClassification.from_pretrained("caitlinhamer23/roberta-base-dirQ", device_map="auto") - Notebooks
- Google Colab
- Kaggle
roberta-base-dirQ
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.2508
- Precision: 0.8017
- Recall: 0.8815
- F1: 0.8397
- Accuracy: 0.9281
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: 5e-05
- train_batch_size: 8
- eval_batch_size: 8
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 3
Training results
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|---|---|---|---|---|---|---|---|
| 0.2621 | 1.0 | 1952 | 0.2558 | 0.7920 | 0.8601 | 0.8247 | 0.9245 |
| 0.2295 | 2.0 | 3904 | 0.2462 | 0.7832 | 0.8885 | 0.8325 | 0.9255 |
| 0.1777 | 3.0 | 5856 | 0.2508 | 0.8017 | 0.8815 | 0.8397 | 0.9281 |
Framework versions
- Transformers 4.42.4
- Pytorch 2.3.1+cu121
- Datasets 2.20.0
- Tokenizers 0.19.1
- Downloads last month
- 208
Model tree for caitlinhamer23/roberta-base-dirQ
Base model
FacebookAI/roberta-base