CoolFace
Modelpublic

nguyen599/ViBERT-ESG-base

sourceHugging Faceapache-2.0updated 1y agoView on Hugging Face
0likes17downloads
Model Card

ESG analysis can help investors determine a business' long-term sustainability and identify associated risks. ViBERT-ESG-base is a google-bert/bert-base-multilingual-cased model fine-tuned on ViEn-ESG-100 dataset, include 100,000 annotated sentences from Vietnam, English news and ESG reports.

Input: A financial text.

Output: Environmental, Social, Governance or None.

Language support: English, Vietnamese

How to use

You can use this model with Transformers pipeline for ESG classification.

python
# tested in transformers==4.51.0 
from transformers import AutoTokenizer, AutoModelForSequenceClassification, pipeline

esgbert = AutoModelForSequenceClassification.from_pretrained('nguyen599/ViBERT-ESG-base',num_labels=4)
tokenizer = AutoTokenizer.from_pretrained('nguyen599/ViBERT-ESG-base')
nlp = pipeline("text-classification", model=esgbert, tokenizer=tokenizer)
results = nlp('Over three chapters, it covers a range of topics from energy efficiency and renewable energy to the circular economy and sustainable transportation.')
print(results) # [{'label': 'Environment', 'score': 0.9206041026115417}]

Benchmark

F1 scores of models on each ESG category in the English ViEn-ESG-100 dataset.

<div align="center">

**Model****Backbone****Param****E****S****G****N**
SEC-BERT-ftSEC-BERT-base109M83.1266.7766.5360.30
FinBERT-ESGFinBERT109M92.6784.9086.2587.26
FinBERT-ESG-9-classFinBERT109M92.1689.0191.3586.89
ESGifyMPNet-base109M67.7230.2050.7643.44
EnvironmentBERTDistilRoBERTa82M92.15--92.76
SocialBERTDistilRoBERTa82M-76.81-81.23
GovernanceBERTDistilRoBERTa82M--64.4680.06
ViBERT-ESG(Our)BERT-base-cased168M93.7694.5394.9894.15
ViRoBERTa-ESG(Our)RoBERTa-base124M95.4394.0695.0191.32
ViXLMRoBERTa-ESG(Our)XLM-RoBERTa-base278M95.0095.0095.4792.19
ViDeBERTa-ESG(Our)DeBERTa-v3-base184M95.5094.4994.8191.48
ViDeBERTa-small-ESG(Our)DeBERTa-v3-small141M94.5594.8594.5890.19
ViDistilBERT-ESG(Our)DistilBERT-base-cased135M95.1595.1994.3391.75
ViBERT-Env(Our)BERT-base-cased168M94.62--92.13
ViBERT-Soc(Our)BERT-base-cased168M-94.86-92.22
ViBERT-Gov(Our)BERT-base-cased168M--93.4793.82

</div>

F1 scores of models on each ESG category in the Vietnamese ViEn-ESG-100 dataset.

<div align="center">

**Model****Backbone****Param****E****S****G****N**
ViBERT-ESGBERT-base-cased168M93.5089.7391.7791.78
ViRoBERTa-ESGRoBERTa-base124M93.4191.4989.9384.32
ViXLMRoBERTa-ESGXLM-RoBERTa-base278M93.4591.0291.6990.41
ViDeBERTa-ESGDeBERTa-v3-base184M95.2489.3693.1885.23
ViDeBERTa-small-ESGDeBERTa-v3-small141M92.9087.7990.6381.48
ViDistilBERT-ESGDistilBERT-base-cased135M93.8791.9890.6387.17
ViBERT-EnvBERT-base-cased168M94.87--91.15
ViBERT-SocBERT-base-cased168M-91.07-90.29
ViBERT-GovBERT-base-cased168M--92.6290.11

</div>