Instructions to use erfansadraiye/ClassifyOffensiveTasks with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use erfansadraiye/ClassifyOffensiveTasks with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="erfansadraiye/ClassifyOffensiveTasks")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("erfansadraiye/ClassifyOffensiveTasks") model = AutoModelForSequenceClassification.from_pretrained("erfansadraiye/ClassifyOffensiveTasks", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from erfansadraiye/ClassifyOffensiveTasks: direct link, hf CLI and curl.
- Browser
- Download file 264 Bytes
-
https://huggingface.co/erfansadraiye/ClassifyOffensiveTasks/resolve/main/README.md
- Command line
-
hf download hf://erfansadraiye/ClassifyOffensiveTasks/README.md
-
curl -L -o README.md https://huggingface.co/erfansadraiye/ClassifyOffensiveTasks/resolve/main/README.md
264 Bytes