Text Classification
Transformers
TensorBoard
Safetensors
roberta
Generated from Trainer
text-embeddings-inference
Instructions to use V12X-ksr/FOCALtrain with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use V12X-ksr/FOCALtrain with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="V12X-ksr/FOCALtrain")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("V12X-ksr/FOCALtrain") model = AutoModelForSequenceClassification.from_pretrained("V12X-ksr/FOCALtrain") - Notebooks
- Google Colab
- Kaggle
| license: mit | |
| base_model: roberta-base | |
| tags: | |
| - generated_from_trainer | |
| model-index: | |
| - name: FOCALtrain | |
| 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. --> | |
| # FOCALtrain | |
| This model is a fine-tuned version of [roberta-base](https://huggingface.co/roberta-base) on the None dataset. | |
| It achieves the following results on the evaluation set: | |
| - Loss: 1.2758 | |
| ## 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 | |
| - lr_scheduler_warmup_steps: 500 | |
| - num_epochs: 8 | |
| ### Training results | |
| | Training Loss | Epoch | Step | Validation Loss | | |
| |:-------------:|:-----:|:----:|:---------------:| | |
| | 1.3121 | 1.0 | 474 | 1.3494 | | |
| | 0.9964 | 2.0 | 948 | 1.3077 | | |
| | 1.0453 | 3.0 | 1422 | 1.2758 | | |
| | 0.6379 | 4.0 | 1896 | 1.5232 | | |
| | 0.765 | 5.0 | 2370 | 1.5891 | | |
| | 0.2287 | 6.0 | 2844 | 2.2163 | | |
| | 0.1243 | 7.0 | 3318 | 2.5331 | | |
| | 0.1699 | 8.0 | 3792 | 2.7521 | | |
| ### Framework versions | |
| - Transformers 4.35.2 | |
| - Pytorch 2.1.0+cu121 | |
| - Datasets 2.17.0 | |
| - Tokenizers 0.15.1 | |