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