How to use from the
Use from the
Transformers library
# 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, device_map="auto")
Quick Links

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
3
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support