fancyzhx/ag_news
Viewer • Updated • 128k • 104k • 190
How to use AyoubChLin/news-ESG-Bert with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="AyoubChLin/news-ESG-Bert") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("AyoubChLin/news-ESG-Bert")
model = AutoModelForSequenceClassification.from_pretrained("AyoubChLin/news-ESG-Bert")This modelcard aims to be a base template for new models. It has been generated using this raw template.
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
Use the code below to get started with the model.
[More Information Needed]
(AyoubChLin/20NewsGroup-AgNews-CnnNews)[https://huggingface.co/datasets/AyoubChLin/20NewsGroup-AgNews-CnnNews]
Accuracy