How to use optimum/bert-base-NER with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="optimum/bert-base-NER")
# Load model directly from transformers import AutoModelForTokenClassification model = AutoModelForTokenClassification.from_pretrained("optimum/bert-base-NER", dtype="auto")
The community tab is the place to discuss and collaborate with the HF community!