Text Classification
Transformers
Safetensors
roberta
Generated from Trainer
text-embeddings-inference
Instructions to use ActiveYixiao/roberta-large-ToM6 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ActiveYixiao/roberta-large-ToM6 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ActiveYixiao/roberta-large-ToM6")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ActiveYixiao/roberta-large-ToM6") model = AutoModelForSequenceClassification.from_pretrained("ActiveYixiao/roberta-large-ToM6", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse filesFiles changed (2)
- README.mdAdded+71
- model.safetensors+1-1
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071---library_name: transformerslicense: mitbase_model: roberta-largetags:- generated_from_trainermetrics:- accuracy- f1- precision- recallmodel-index:- name: roberta-large-ToM6 results: []---
<!-- This model card has been generated automatically according to the information the Trainer had access to. Youshould probably proofread and complete it, then remove this comment. -->
# roberta-large-ToM6
This model is a fine-tuned version of [roberta-large](https://huggingface.co/roberta-large) on the None dataset.It achieves the following results on the evaluation set:- Loss: 0.2003- Accuracy: 0.9368- F1: 0.9060- Precision: 0.9298- Recall: 0.8833
## 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: 2e-05- train_batch_size: 16- eval_batch_size: 16- seed: 2015- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments- lr_scheduler_type: linear- num_epochs: 5
### Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall ||:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|| 0.6542 | 1.0 | 93 | 0.3393 | 0.8846 | 0.8696 | 0.7895 | 0.9677 || 0.2542 | 2.0 | 186 | 0.2763 | 0.9359 | 0.9231 | 0.8824 | 0.9677 || 0.1448 | 3.0 | 279 | 0.3087 | 0.8718 | 0.8571 | 0.7692 | 0.9677 || 0.1303 | 4.0 | 372 | 0.2598 | 0.9487 | 0.9355 | 0.9355 | 0.9355 || 0.0777 | 5.0 | 465 | 0.3035 | 0.9487 | 0.9355 | 0.9355 | 0.9355 |
### Framework versions
- Transformers 4.56.0- Pytorch 2.8.0+cu126- Datasets 4.0.0- Tokenizers 0.22.0123version https://git-lfs.github.com/spec/v1oid sha256:792534bf796be9ecd6f51cafd64a259eb18685a37969213ee82b83a50e575e57size 1421495416123version https://git-lfs.github.com/spec/v1oid sha256:c00afc68832790d7232822c199da468a7e297c3f8709f773ac0f839aee7d135bsize 1421495416
README.mdAdded+71
model.safetensors+1-1