Run this model with HF Jobs
Run fishytorts/roberta-large-peft-lora-hate-checker 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/fishytorts/roberta-large-peft-lora-hate-checker. 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/fishytorts/roberta-large-peft-lora-hate-checker 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 fishytorts/roberta-large-peft-lora-hate-checker with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use fishytorts/roberta-large-peft-lora-hate-checker with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("roberta-large") model = PeftModel.from_pretrained(base_model, "fishytorts/roberta-large-peft-lora-hate-checker") - Notebooks
- Google Colab
- Kaggle
Dataset procedure
- Dataset used: /tweets_hate_speech_detection
- size: 3196 (only 10% of dataset used)
- batch_size = 32
- num_epochs = 20
- learning_rate = 3e-4
- num_warmup_steps = 0.06 * (3196 * num_epochs)
- num_training_steps = (3196 * num_epochs)
Training procedure
LoraConfig procedure
r=8, #attention heads
lora_alpha=16, #alpha scaling
lora_dropout=0.1,
bias="none",
task_type="SEQ_CLS" # set this for CLM or Seq2Seq
Framework versions
- PEFT 0.6.0.dev0
- Downloads last month
- 2
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support