climatebert / renewable

huggingface.co
Total runs: 36
24-hour runs: 0
7-day runs: -16
30-day runs: -190
Model's Last Updated: July 18 2023
text-classification

Introduction of renewable

Model Details of renewable

Model Card for renewable

Model Description

This is the fine-tuned ClimateBERT language model with a classification head for detecting sentences that are related to renewable energy. Using the climatebert/distilroberta-base-climate-f language model as starting point, the distilroberta-base-climate-detector model is fine-tuned on our human-annotated dataset.

Citation Information
@article{deng2023war,
  title={War and Policy: Investor Expectations on the Net-Zero Transition},
  author={Deng, Ming and Leippold, Markus and Wagner, Alexander F and Wang, Qian},
  journal={Swiss Finance Institute Research Paper},
  number={22-29},
  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"
tokenizer_name = “"climatebert/distilroberta-base-climate-detector"
model_name = "climatebert/renewable"
 
# 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(tokenizer_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 renewable on huggingface.co

36
Total runs
0
24-hour runs
-1
3-day runs
-16
7-day runs
-190
30-day runs

More Information About renewable huggingface.co Model

More renewable license Visit here:

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

renewable huggingface.co

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

climatebert renewable online free

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

climatebert renewable online free url in huggingface.co:

https://huggingface.co/climatebert/renewable

renewable install

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

renewable install url in huggingface.co:

https://huggingface.co/climatebert/renewable

Url of renewable

Provider of renewable huggingface.co

climatebert
ORGANIZATIONS

Other API from climatebert