Views
No views yet
transformers library as follows:1from transformers import pipeline
2
3# Load the NER pipeline
4ner = pipeline("ner", model="bishaldpande/Ner-xlm-roberta-base")
5
6# Example input
7text = "सगरमाथा विश्वको अग्लो हिमाल हो।"
8
9# Perform NER
10entities = ner(text)
11print(entities)1@InProceedings{10.1007/978-3-031-36822-6_8,
2author="Pande, Bishal Debb
3and Shakya, Aman
4and Panday, Sanjeeb Prasad
5and Joshi, Basanta",
6editor="Fujita, Hamido
7and Wang, Yinglin
8and Xiao, Yanghua
9and Moonis, Ali",
10title="Named Entity Recognition for Nepali Using BERT Based Models",
11booktitle="Advances and Trends in Artificial Intelligence. Theory and Applications",
12year="2023",
13publisher="Springer Nature Switzerland",
14address="Cham",
15pages="93--104",
16isbn="978-3-031-36822-6"
17}