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