Instructions to use climatebert/distilroberta-base-climate-commitment with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use climatebert/distilroberta-base-climate-commitment with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="climatebert/distilroberta-base-climate-commitment")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("climatebert/distilroberta-base-climate-commitment") model = AutoModelForSequenceClassification.from_pretrained("climatebert/distilroberta-base-climate-commitment", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (fdd929c66dabdf124ab641827675ee054bbaf936) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>17337c3
-
Update README.md
beadeb9
-
Create README.md
ddb8c11
-
Update tokenizer based on new language model
7b9f411 -
Update model based on new language model and new training samples
0021872
-
Update model based on new language model and new training samples
43266cf
-
add tokenizer
5ff62c0 -
add model
ffd0a3f
-
initial commit
962ad88