Red-8/NER_Gujarati_data
Updated • 13
How to use Red-8/Gujarati_NER with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="Red-8/Gujarati_NER") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("Red-8/Gujarati_NER")
model = AutoModelForTokenClassification.from_pretrained("Red-8/Gujarati_NER")# Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("Red-8/Gujarati_NER")
model = AutoModelForTokenClassification.from_pretrained("Red-8/Gujarati_NER")
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="Red-8/Gujarati_NER")