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 -0
config.json
CHANGED
|
@@ -18,6 +18,7 @@
|
|
| 18 |
"position_embedding_type": "absolute",
|
| 19 |
"transformers_version": "4.26.0",
|
| 20 |
"type_vocab_size": 2,
|
|
|
|
| 21 |
"use_cache": true,
|
| 22 |
"use_spatial_spatial_distance_embedding":true,
|
| 23 |
"vocab_size": 28996
|
|
|
|
| 18 |
"position_embedding_type": "absolute",
|
| 19 |
"transformers_version": "4.26.0",
|
| 20 |
"type_vocab_size": 2,
|
| 21 |
+
"num_labels":3,
|
| 22 |
"use_cache": true,
|
| 23 |
"use_spatial_spatial_distance_embedding":true,
|
| 24 |
"vocab_size": 28996
|