add tokenizer 5f42382
Xin Lian commited on
How to use DoyyingFace/doyying_bert_first_again with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="DoyyingFace/doyying_bert_first_again") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("DoyyingFace/doyying_bert_first_again")
model = AutoModelForSequenceClassification.from_pretrained("DoyyingFace/doyying_bert_first_again")