How to use nbroad/ESG-BERT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="nbroad/ESG-BERT")
# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("nbroad/ESG-BERT") model = AutoModelForSequenceClassification.from_pretrained("nbroad/ESG-BERT")
Nice modifications 👍
@nbroad Would it be possible to revert this? We are working on fixing some metadata issues and will then update with a new PR.
Ok I can revert
· Sign up or log in to comment