Transformers How to use priyabrat/Category_of_article_bert_new with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="priyabrat/Category_of_article_bert_new") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("priyabrat/Category_of_article_bert_new")
model = AutoModelForSequenceClassification.from_pretrained("priyabrat/Category_of_article_bert_new")