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