How to use AnanthZeke/NER-indic-bert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="AnanthZeke/NER-indic-bert")
# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("AnanthZeke/NER-indic-bert") model = AutoModelForTokenClassification.from_pretrained("AnanthZeke/NER-indic-bert")
How to fix it?