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