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