ESG analysis can help investors determine a business' long-term sustainability and identify associated risks. FinBERT-ESG is a FinBERT model fine-tuned on 2,000 manually annotated sentences from firms' ESG reports and annual reports.
Input
: A financial text.
Output
: Environmental, Social, Governance or None.
How to use
You can use this model with Transformers pipeline for ESG classification.
# tested in transformers==4.18.0 from transformers import BertTokenizer, BertForSequenceClassification, pipeline
finbert = BertForSequenceClassification.from_pretrained('yiyanghkust/finbert-esg',num_labels=4)
tokenizer = BertTokenizer.from_pretrained('yiyanghkust/finbert-esg')
nlp = pipeline("text-classification", model=finbert, tokenizer=tokenizer)
results = nlp('Rhonda has been volunteering for several years for a variety of charitable community programs.')
print(results) # [{'label': 'Social', 'score': 0.9906041026115417}]
Visit
FinBERT.AI
for more details on the recent development of FinBERT.
If you use the model in your academic work, please cite the following paper:
Huang, Allen H., Hui Wang, and Yi Yang. "FinBERT: A Large Language Model for Extracting Information from Financial Text."
Contemporary Accounting Research
(2022).
Runs of yiyanghkust finbert-esg on huggingface.co
115.3K
Total runs
0
24-hour runs
-53
3-day runs
198
7-day runs
49.7K
30-day runs
More Information About finbert-esg huggingface.co Model
finbert-esg huggingface.co
finbert-esg huggingface.co is an AI model on huggingface.co that provides finbert-esg's model effect (), which can be used instantly with this yiyanghkust finbert-esg model. huggingface.co supports a free trial of the finbert-esg model, and also provides paid use of the finbert-esg. Support call finbert-esg model through api, including Node.js, Python, http.
finbert-esg huggingface.co is an online trial and call api platform, which integrates finbert-esg's modeling effects, including api services, and provides a free online trial of finbert-esg, you can try finbert-esg online for free by clicking the link below.
yiyanghkust finbert-esg online free url in huggingface.co:
finbert-esg is an open source model from GitHub that offers a free installation service, and any user can find finbert-esg on GitHub to install. At the same time, huggingface.co provides the effect of finbert-esg install, users can directly use finbert-esg installed effect in huggingface.co for debugging and trial. It also supports api for free installation.