Instructions to use climatebert/distilroberta-base-climate-sentiment with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use climatebert/distilroberta-base-climate-sentiment with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="climatebert/distilroberta-base-climate-sentiment")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("climatebert/distilroberta-base-climate-sentiment") model = AutoModelForSequenceClassification.from_pretrained("climatebert/distilroberta-base-climate-sentiment", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (50a52245d9cb070c1e6f967826e9484b2702fdf4) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>e9f9a94
-
Update README.md
6268134
-
Update README.md
23461fe -
Create README.md
139e8e0
-
Update tokenizer based on new language model
ab8553a -
Update model based on new language model and new training samples
8f6c031
-
Update model based on new language model and new training samples
e5b43ce
-
update labels
ef5272a
-
add tokenizer
274e822 -
add model
6d00272
-
initial commit
d5a974f