update model card README.md d5b175d
Sohns commited on
How to use Bennet1996/finetuning-ESG-sentiment-model-bert_new_data with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Bennet1996/finetuning-ESG-sentiment-model-bert_new_data") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Bennet1996/finetuning-ESG-sentiment-model-bert_new_data")
model = AutoModelForSequenceClassification.from_pretrained("Bennet1996/finetuning-ESG-sentiment-model-bert_new_data")