Instructions to use admation/ESG-BERT-Reddit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use admation/ESG-BERT-Reddit with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="admation/ESG-BERT-Reddit", trust_remote_code=True)# Load model directly from transformers import AutoModelForSequenceClassification model = AutoModelForSequenceClassification.from_pretrained("admation/ESG-BERT-Reddit", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
The model is under construction.
It is mainly built on FinBERT-ESG(Huang et al.,2022). That is it succeeded the representation from FinBERT-ESG(Huang et al.,2022) and fine-tuned on Reddit posts related to ESG.
You can use this model with the following code:
from transformers import AutoModelForSequenceClassification
model = AutoModelForSequenceClassification.from_pretrained("admation/ESG-BERT-Reddit")
Reference
Huang, Allen H., Hui Wang, and Yi Yang. "FinBERT: A Large Language Model for Extracting Information from Financial Text." Contemporary Accounting Research (2022).
- Downloads last month
- 5