Mountain NER Model
This repository contains a NER model for recognizing mountain names in text.
The model was trained on a custom learning dataset https://huggingface.co/datasets/slavik-ua/mountain_ner_dataset.
π¦ Model Weights
- The model weights are stored in this repository.
- You can load the model using the Hugging Face
transformerslibrary.
π Inference Example
from transformers import pipeline
MODEL_DIR = "your_username/mountain-ner-model"
nlp = pipeline(
"ner",
model=MODEL_DIR,
tokenizer=MODEL_DIR,
aggregation_strategy="simple"
)
sentence = "Mount Everest towers majestically over the Himalayas, attracting climbers from all over the world."
print(nlp(sentence))
π Wikipedia Attribution (Required by CC BY-SA 4.0)
This model was trained using mountain names extracted from the Wikipedia page βList of mountains by elevationβ (CC BY-SA 4.0). Β© Wikipedia contributors. Content is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License.
π Notes
- The model is incomplete and intended only for learning and experimentation only.
- Downloads last month
- 5
Inference Providers NEW
This model isn't deployed by any Inference Provider. π Ask for provider support