Token Classification
Transformers
PyTorch
Safetensors
English
bert
toponym detection
language model
geospatial understanding
geolm
Instructions to use knowledge-computing/geolm-base-toponym-recognition with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
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") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -30,5 +30,5 @@
|
|
| 30 |
"Other": 0,
|
| 31 |
"B-topo": 1,
|
| 32 |
"I-topo": 2
|
| 33 |
-
}
|
| 34 |
}
|
|
|
|
| 30 |
"Other": 0,
|
| 31 |
"B-topo": 1,
|
| 32 |
"I-topo": 2
|
| 33 |
+
}
|
| 34 |
}
|