Text Classification
Transformers
TensorBoard
Safetensors
roberta
Generated from Trainer
text-embeddings-inference
Instructions to use frett/distilroberta-base_task2-2_macrof1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use frett/distilroberta-base_task2-2_macrof1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="frett/distilroberta-base_task2-2_macrof1")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("frett/distilroberta-base_task2-2_macrof1") model = AutoModelForSequenceClassification.from_pretrained("frett/distilroberta-base_task2-2_macrof1") - Notebooks
- Google Colab
- Kaggle
| license: apache-2.0 | |
| base_model: distilroberta-base | |
| tags: | |
| - generated_from_trainer | |
| model-index: | |
| - name: distilroberta-base_task2-2_macrof1 | |
| results: [] | |
| <!-- This model card has been generated automatically according to the information the Trainer had access to. You | |
| should probably proofread and complete it, then remove this comment. --> | |
| # distilroberta-base_task2-2_macrof1 | |
| This model is a fine-tuned version of [distilroberta-base](https://huggingface.co/distilroberta-base) on an unknown dataset. | |
| It achieves the following results on the evaluation set: | |
| - Loss: 0.6203 | |
| - Macro F1: 0.3090 | |
| ## 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-06 | |
| - train_batch_size: 10 | |
| - eval_batch_size: 8 | |
| - seed: 42 | |
| - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 | |
| - lr_scheduler_type: linear | |
| - lr_scheduler_warmup_steps: 500 | |
| - num_epochs: 10 | |
| ### Training results | |
| | Training Loss | Epoch | Step | Validation Loss | Macro F1 | | |
| |:-------------:|:-----:|:----:|:---------------:|:--------:| | |
| | 0.6541 | 1.0 | 553 | 0.6474 | 0.2768 | | |
| | 0.7044 | 2.0 | 1106 | 0.6376 | 0.2768 | | |
| | 0.6615 | 3.0 | 1659 | 0.6390 | 0.2768 | | |
| | 0.6289 | 4.0 | 2212 | 0.6355 | 0.2768 | | |
| | 0.5047 | 5.0 | 2765 | 0.6372 | 0.2841 | | |
| | 0.5894 | 6.0 | 3318 | 0.6296 | 0.2983 | | |
| | 0.5401 | 7.0 | 3871 | 0.6203 | 0.3090 | | |
| | 0.7215 | 8.0 | 4424 | 0.6263 | 0.3080 | | |
| | 0.6368 | 9.0 | 4977 | 0.6370 | 0.3033 | | |
| | 0.4872 | 10.0 | 5530 | 0.6349 | 0.3024 | | |
| ### Framework versions | |
| - Transformers 4.41.1 | |
| - Pytorch 2.3.0+cu121 | |
| - Datasets 2.19.1 | |
| - Tokenizers 0.19.1 | |