Text Classification
Transformers
PyTorch
TensorBoard
roberta
Generated from Trainer
text-embeddings-inference
Run this model with HF Jobs
Run mnavas/roberta-finetuned-WebClassification on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/mnavas/roberta-finetuned-WebClassification. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/mnavas/roberta-finetuned-WebClassification on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use mnavas/roberta-finetuned-WebClassification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mnavas/roberta-finetuned-WebClassification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="mnavas/roberta-finetuned-WebClassification")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("mnavas/roberta-finetuned-WebClassification") model = AutoModelForSequenceClassification.from_pretrained("mnavas/roberta-finetuned-WebClassification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
María Navas Loro commited on
Commit ·
093afa1
1
Parent(s): 87a8bb5
update model card README.md
Browse files1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374---license: mittags:- generated_from_trainermetrics:- accuracy- f1- precision- recallmodel-index:- name: roberta-finetuned-WebClassification 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-finetuned-WebClassification
This model is a fine-tuned version of [xlm-roberta-base](https://huggingface.co/xlm-roberta-base) on the None dataset.It achieves the following results on the evaluation set:- Loss: 0.3473- Accuracy: 0.9504- F1: 0.9504- Precision: 0.9504- Recall: 0.9504
## 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: 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: 10
### Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall ||:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|| No log | 1.0 | 141 | 0.9315 | 0.8617 | 0.8617 | 0.8617 | 0.8617 || No log | 2.0 | 282 | 0.4956 | 0.9007 | 0.9007 | 0.9007 | 0.9007 || No log | 3.0 | 423 | 0.4142 | 0.9184 | 0.9184 | 0.9184 | 0.9184 || 0.9036 | 4.0 | 564 | 0.3998 | 0.9255 | 0.9255 | 0.9255 | 0.9255 || 0.9036 | 5.0 | 705 | 0.3235 | 0.9397 | 0.9397 | 0.9397 | 0.9397 || 0.9036 | 6.0 | 846 | 0.3631 | 0.9397 | 0.9397 | 0.9397 | 0.9397 || 0.9036 | 7.0 | 987 | 0.3705 | 0.9362 | 0.9362 | 0.9362 | 0.9362 || 0.0898 | 8.0 | 1128 | 0.3469 | 0.9468 | 0.9468 | 0.9468 | 0.9468 || 0.0898 | 9.0 | 1269 | 0.3657 | 0.9326 | 0.9326 | 0.9326 | 0.9326 || 0.0898 | 10.0 | 1410 | 0.3473 | 0.9504 | 0.9504 | 0.9504 | 0.9504 |
### Framework versions
- Transformers 4.16.2- Pytorch 1.9.1- Datasets 1.18.4- Tokenizers 0.11.6README.mdAdded+74