climatebert / distilroberta-base-climate-sentiment

huggingface.co
Total runs: 820
24-hour runs: 14
7-day runs: 139
30-day runs: -52
Model's Last Updated: June 02 2023
text-classification

Introduction of distilroberta-base-climate-sentiment

Model Details of distilroberta-base-climate-sentiment

Model Card for distilroberta-base-climate-sentiment

Model Description

This is the fine-tuned ClimateBERT language model with a classification head for classifying climate-related paragraphs into the climate-related sentiment classes opportunity, neutral, or risk.

Using the climatebert/distilroberta-base-climate-f language model as starting point, the distilroberta-base-climate-sentiment model is fine-tuned on our climatebert/climate_sentiment dataset.

Note: This model is trained on paragraphs. It may not perform well on sentences.

Citation Information
@techreport{bingler2023cheaptalk,
    title={How Cheap Talk in Climate Disclosures Relates to Climate Initiatives, Corporate Emissions, and Reputation Risk},
    author={Bingler, Julia and Kraus, Mathias and Leippold, Markus and Webersinke, Nicolas},
    type={Working paper},
    institution={Available at SSRN 3998435},
    year={2023}
}
How to Get Started With the Model

You can use the model with a pipeline for text classification:

from transformers import AutoModelForSequenceClassification, AutoTokenizer, pipeline
from transformers.pipelines.pt_utils import KeyDataset
import datasets
from tqdm.auto import tqdm

dataset_name = "climatebert/climate_sentiment"
model_name = "climatebert/distilroberta-base-climate-sentiment"

# If you want to use your own data, simply load them as 🤗 Datasets dataset, see https://huggingface.co/docs/datasets/loading
dataset = datasets.load_dataset(dataset_name, split="test")

model = AutoModelForSequenceClassification.from_pretrained(model_name)
tokenizer = AutoTokenizer.from_pretrained(model_name, max_len=512)

pipe = pipeline("text-classification", model=model, tokenizer=tokenizer, device=0)

# See https://huggingface.co/docs/transformers/main_classes/pipelines#transformers.pipeline
for out in tqdm(pipe(KeyDataset(dataset, "text"), padding=True, truncation=True)):
   print(out)

Runs of climatebert distilroberta-base-climate-sentiment on huggingface.co

820
Total runs
14
24-hour runs
83
3-day runs
139
7-day runs
-52
30-day runs

More Information About distilroberta-base-climate-sentiment huggingface.co Model

More distilroberta-base-climate-sentiment license Visit here:

https://choosealicense.com/licenses/apache-2.0

distilroberta-base-climate-sentiment huggingface.co

distilroberta-base-climate-sentiment huggingface.co is an AI model on huggingface.co that provides distilroberta-base-climate-sentiment's model effect (), which can be used instantly with this climatebert distilroberta-base-climate-sentiment model. huggingface.co supports a free trial of the distilroberta-base-climate-sentiment model, and also provides paid use of the distilroberta-base-climate-sentiment. Support call distilroberta-base-climate-sentiment model through api, including Node.js, Python, http.

distilroberta-base-climate-sentiment huggingface.co Url

https://huggingface.co/climatebert/distilroberta-base-climate-sentiment

climatebert distilroberta-base-climate-sentiment online free

distilroberta-base-climate-sentiment huggingface.co is an online trial and call api platform, which integrates distilroberta-base-climate-sentiment's modeling effects, including api services, and provides a free online trial of distilroberta-base-climate-sentiment, you can try distilroberta-base-climate-sentiment online for free by clicking the link below.

climatebert distilroberta-base-climate-sentiment online free url in huggingface.co:

https://huggingface.co/climatebert/distilroberta-base-climate-sentiment

distilroberta-base-climate-sentiment install

distilroberta-base-climate-sentiment is an open source model from GitHub that offers a free installation service, and any user can find distilroberta-base-climate-sentiment on GitHub to install. At the same time, huggingface.co provides the effect of distilroberta-base-climate-sentiment install, users can directly use distilroberta-base-climate-sentiment installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

distilroberta-base-climate-sentiment install url in huggingface.co:

https://huggingface.co/climatebert/distilroberta-base-climate-sentiment

Url of distilroberta-base-climate-sentiment

distilroberta-base-climate-sentiment huggingface.co Url

Provider of distilroberta-base-climate-sentiment huggingface.co

climatebert
ORGANIZATIONS

Other API from climatebert