Run this model with HF Jobs
Run l3cube-pune/me-hate-roberta 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/l3cube-pune/me-hate-roberta. 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/l3cube-pune/me-hate-roberta 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 l3cube-pune/me-hate-roberta with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use l3cube-pune/me-hate-roberta with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="l3cube-pune/me-hate-roberta")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("l3cube-pune/me-hate-roberta") model = AutoModelForSequenceClassification.from_pretrained("l3cube-pune/me-hate-roberta", device_map="auto") - Notebooks
- Google Colab
- Kaggle
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("l3cube-pune/me-hate-roberta")
model = AutoModelForSequenceClassification.from_pretrained("l3cube-pune/me-hate-roberta", device_map="auto")MeHate-RoBERTa
MeHate-RoBERTa is a MeRoBERTa-Mixed model fine-tuned on L3Cube-MeHate, a codemixed Marathi-English hate speech identification dataset.
[dataset link] (https://github.com/l3cube-pune/MarathiNLP)
LABEL_0 = Non-Hate, LABEL_1 = Hate
More details on the dataset, models, and baseline results can be found in our [paper] (https://arxiv.org/abs/2306.14030)
Other models from the MeBERT family:
MeBERT
MeRoBERTa
MeBERT-Mixed
MeBERT-Mixed-v2
MeRoBERTa-Mixed
MeLID-RoBERTa
MeHate-RoBERTa
MeSent-RoBERTa
MeHate-BERT
MeLID-BERT
Citing:
@article{chavan2023my,
title={My Boli: Code-mixed Marathi-English Corpora, Pretrained Language Models and Evaluation Benchmarks},
author={Chavan, Tanmay and Gokhale, Omkar and Kane, Aditya and Patankar, Shantanu and Joshi, Raviraj},
journal={arXiv preprint arXiv:2306.14030},
year={2023}
}
- Downloads last month
- 9
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="l3cube-pune/me-hate-roberta")