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
Update README.md
Browse files9 unmodified lines1011121314151 unmodified line171819202122233 unmodified lines27282930313233343536373839404129 unmodified lines717273749 unmodified linesmodel-index:- name: roberta-finetuned-WebClassificationresults: []---<!-- This model card has been generated automatically according to the information the Trainer had access to. You1 unmodified line# roberta-finetuned-WebClassificationThis 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.95043 unmodified lines## Model descriptionMore information needed## Intended uses & limitationsMore information needed## Training and evaluation dataMore information needed## Training procedure29 unmodified lines- Transformers 4.16.2- Pytorch 1.9.1- Datasets 1.18.4- Tokenizers 0.11.69 unmodified lines101112131415161 unmodified line181920212223243 unmodified lines2829303132333435363738394041424344454647484950515253545556575829 unmodified lines888990919 unmodified linesmodel-index:- name: roberta-finetuned-WebClassificationresults: []pipeline_tag: text-classification---<!-- This model card has been generated automatically according to the information the Trainer had access to. You1 unmodified line# roberta-finetuned-WebClassificationThis model is a fine-tuned version of [xlm-roberta-base](https://huggingface.co/xlm-roberta-base) on the [Web Classification Dataset](https://www.kaggle.com/datasets/hetulmehta/website-classification).It achieves the following results on the evaluation set:- Loss: 0.3473- Accuracy: 0.95043 unmodified lines## Model descriptionThe model classifies websites into the following categories:- "0": "Adult",- "1": "Business/Corporate",- "2": "Computers and Technology",- "3": "E-Commerce",- "4": "Education",- "5": "Food",- "6": "Forums",- "7": "Games",- "8": "Health and Fitness",- "9": "Law and Government",- "10": "News",- "11": "Photography",- "12": "Social Networking and Messaging",- "13": "Sports",- "14": "Streaming Services",- "15": "Travel"## Intended uses & limitationsWeb classification in English (for now).## Training and evaluation dataTrained and tested on a 80/20 split of the [Web Classification Dataset](https://www.kaggle.com/datasets/hetulmehta/website-classification).## Training procedure29 unmodified lines- Transformers 4.16.2- Pytorch 1.9.1- Datasets 1.18.4- Tokenizers 0.11.6
README.md+22-5