Instructions to use tweettemposhift/hate-hate_balance_random3_seed2-roberta-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tweettemposhift/hate-hate_balance_random3_seed2-roberta-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="tweettemposhift/hate-hate_balance_random3_seed2-roberta-base")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("tweettemposhift/hate-hate_balance_random3_seed2-roberta-base") model = AutoModelForSequenceClassification.from_pretrained("tweettemposhift/hate-hate_balance_random3_seed2-roberta-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
6b5363c | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:93d3ec7c4795e4399daa285fab485980a5b8db4d7438a1fa65d8afe2811d4419
size 4536
|