How to use knowledge-computing/geolm-base-toponym-recognition with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="knowledge-computing/geolm-base-toponym-recognition")
# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("knowledge-computing/geolm-base-toponym-recognition") model = AutoModelForTokenClassification.from_pretrained("knowledge-computing/geolm-base-toponym-recognition")
What is a pickle import?