Downloads · 30 days
6
0% of all-time downloads
lumilogic/climateBUG-LM
climateBUG-LM is a text classification model from lumilogic. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as apache-2.0.
climateBUG-LM is a deep learning language model fine-tuned for analyzing bank reports in the context of climate change and sustainability. It leverages a unique annotated corpus, climateBUG-Data, which consists of sta…
Downloads · 30 days
6
0% of all-time downloads
All-time downloads
1.2K
Public
Repo size
658 MB
Likes
0
Public
Click a slice to open those files.
.bin329 MB · 99%
From the Hugging Face model README
climateBUG-LM is a deep learning language model fine-tuned for analyzing bank reports in the context of climate change and sustainability. It leverages a unique annotated corpus, climateBUG-Data, which consists of statements from EU banks' annual and sustainability reports, focusing on climate change and finance. This model aims to classify statements as relevant or irrelevant to climate-related subjects, offering enhanced performance due to its domain-specific training.
The model is ideal for:
Here is an example of how to use the climateBUG-LM model for classifying text as climate-related or not:
from transformers import AutoModelForSequenceClassification, AutoTokenizer, pipeline
tokenizer_name = "lumilogic/climateBUG-LM"
model_name = "lumilogic/climateBUG-LM"
model = AutoModelForSequenceClassification.from_pretrained(model_name)
tokenizer = AutoTokenizer.from_pretrained(tokenizer_name, max_len=512)
pipe = pipeline("text-classification", model=model,
tokenizer=tokenizer, device_map='auto')
# Climate related text
text = 'This issue represents around 10% of the outstanding volume of green sovereign bonds and will used to finance Germany’s climate and environmental strategy.'
output = pipe(text)
print(output) # [{'label': 'LABEL_1', 'score': 0.9974282383918762}]
# Non-climate related text
text = 'Our model, based on a customer-centric universal banking relationship, therefore demonstrated its resilience and usefulness for all stakeholders in all our regions.'
output = pipe(text)
print(output) # [{'label': 'LABEL_0', 'score': 0.9931207299232483}]
Please cite this model as follows:
Yu, Y., Scheidegger, S., Elliott, J., & Löfgren, Å. (2024). climateBUG: A data-driven framework for analyzing bank reporting through a climate lens. Expert Systems With Applications, 239, 122162.
@article{yu2024climatebug,
title = {climateBUG : A data-driven framework for analyzing bank reporting through a climate lens},
journal = {Expert Systems with Applications},
volume = {239},
pages = {122162},
year = {2024},
author = {Yinan Yu and Samuel Scheidegger and Jasmine Elliott and Åsa Löfgren}
}
For support, additional information, or inquiries, please reach out through [email protected] or visit the climateBUG project page.