Instructions to use botryan96/GeoBERT_NER with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use botryan96/GeoBERT_NER with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="botryan96/GeoBERT_NER")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("botryan96/GeoBERT_NER") model = AutoModelForTokenClassification.from_pretrained("botryan96/GeoBERT_NER") - Notebooks
- Google Colab
- Kaggle
remove the "s" from "model = models"
#1
by MedAdh42 - opened
The pretrained model is assigned in the variable model (ligne 59), hence to pass the model to the pipline (ligne 63) use "model = models"