Instructions to use Aerei/offensive_text with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Aerei/offensive_text with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Aerei/offensive_text")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Aerei/offensive_text") model = AutoModelForSequenceClassification.from_pretrained("Aerei/offensive_text", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download training_args.bin from Aerei/offensive_text: direct link, hf CLI and curl.
- Browser
- Download file 5.11 kB
-
https://huggingface.co/Aerei/offensive_text/resolve/main/training_args.bin
- Command line
-
hf download hf://Aerei/offensive_text/training_args.bin
-
curl -L -o training_args.bin https://huggingface.co/Aerei/offensive_text/resolve/main/training_args.bin
5.11 kB
- Xet hash:
- a5cd047b95b644fbc7d15aa4e7ef9968f1df15b97bc58ff99b4a5c807911c42d
- Size of remote file:
- 5.11 kB
- SHA256:
- a0f6baf1e3dfb4eb5fa97f988311aceb3e12112a0669e3749d518fcc58658ea7
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.