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