Text Classification
Transformers
PyTorch
Danish
bert
climate change
climate-classifier
political quotes
klimabert
text-embeddings-inference
Instructions to use jonahank/KlimaBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jonahank/KlimaBERT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="jonahank/KlimaBERT")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("jonahank/KlimaBERT") model = AutoModelForSequenceClassification.from_pretrained("jonahank/KlimaBERT", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model
This is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.bf1252e
-
Update README.md
011cffe
-
Update README.md
8391026
-
Update README.md
4c92286 -
Update README.md
9c5d669
-
Update README.md
b2cfe8f -
Update README.md
1a047ea -
Update README.md
fca5267 -
Update README.md
6c5b066 -
Update README.md
d361bd9 -
Create README.md
7e2b96d -
Upload vocab.txt
1751af9 -
Upload training_args.bin
2caa682 -
Upload tokenizer_config.json
4dfc0a7 -
Upload tokenizer.json
730bd9b -
Upload special_tokens_map.json
de34156 -
Upload pytorch_model.bin
fc5975c -
Upload config.json
0d2cb67 -
initial commit
3a26d62