Text Classification
Transformers
Safetensors
English
roberta
sentiment-analysis
finance
climate
esg
sustainability
green-finance
distilroberta
Eval Results (legacy)
text-embeddings-inference
Instructions to use peyterho/climatebert-macro-sentiment with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use peyterho/climatebert-macro-sentiment with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="peyterho/climatebert-macro-sentiment")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("peyterho/climatebert-macro-sentiment") model = AutoModelForSequenceClassification.from_pretrained("peyterho/climatebert-macro-sentiment") - Notebooks
- Google Colab
- Kaggle
| { | |
| "add_prefix_space": false, | |
| "backend": "tokenizers", | |
| "bos_token": "<s>", | |
| "cls_token": "<s>", | |
| "eos_token": "</s>", | |
| "errors": "replace", | |
| "is_local": false, | |
| "local_files_only": false, | |
| "mask_token": "<mask>", | |
| "max_length": 512, | |
| "model_max_length": 512, | |
| "pad_token": "<pad>", | |
| "sep_token": "</s>", | |
| "stride": 0, | |
| "tokenizer_class": "RobertaTokenizer", | |
| "trim_offsets": true, | |
| "truncation_side": "right", | |
| "truncation_strategy": "longest_first", | |
| "unk_token": "<unk>" | |
| } | |