climatebert / distilroberta-base-climate-detector

huggingface.co
Total runs: 1.7K
24-hour runs: 0
7-day runs: 197
30-day runs: 136
Model's Last Updated: June 21 2023
text-classification

Introduction of distilroberta-base-climate-detector

Model Details of distilroberta-base-climate-detector

Model Card for distilroberta-base-climate-detector

Model Description

This is the fine-tuned ClimateBERT language model with a classification head for detecting climate-related paragraphs.

Using the climatebert/distilroberta-base-climate-f language model as starting point, the distilroberta-base-climate-detector model is fine-tuned on our climatebert/climate_detection 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_detection"
model_name = "climatebert/distilroberta-base-climate-detector"

# 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-detector on huggingface.co

1.7K
Total runs
0
24-hour runs
-46
3-day runs
197
7-day runs
136
30-day runs

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

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

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

distilroberta-base-climate-detector huggingface.co

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

distilroberta-base-climate-detector huggingface.co Url

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

climatebert distilroberta-base-climate-detector online free

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

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

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

distilroberta-base-climate-detector install

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

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

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

Url of distilroberta-base-climate-detector

distilroberta-base-climate-detector huggingface.co Url

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

climatebert
ORGANIZATIONS

Other API from climatebert