debabrata-ai commited on
Commit
5246c82
·
1 Parent(s): d94d1a2

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -2
README.md CHANGED
@@ -12,12 +12,13 @@ tags:
12
  - Base Model: DistilBERT
13
  - Model Description: NepNER is a fine-tuned NER model for the Nepali language based on the DistilBERT architecture. It is designed to identify and classify named entities within Nepali text,
14
 
15
- Usage:
16
- ```py
17
  from transformers import AutoTokenizer, AutoModelForTokenClassification
18
  from transformers import pipeline
19
 
20
  tokenizer = AutoTokenizer.from_pretrained("debabrata-ai/NepNER")
 
21
  model = AutoModelForTokenClassification.from_pretrained("debabrata-ai/NepNER")
22
 
23
  ner_pipeline = pipeline("ner", model=model, tokenizer=tokenizer)
 
12
  - Base Model: DistilBERT
13
  - Model Description: NepNER is a fine-tuned NER model for the Nepali language based on the DistilBERT architecture. It is designed to identify and classify named entities within Nepali text,
14
 
15
+ #Usage#
16
+
17
  from transformers import AutoTokenizer, AutoModelForTokenClassification
18
  from transformers import pipeline
19
 
20
  tokenizer = AutoTokenizer.from_pretrained("debabrata-ai/NepNER")
21
+
22
  model = AutoModelForTokenClassification.from_pretrained("debabrata-ai/NepNER")
23
 
24
  ner_pipeline = pipeline("ner", model=model, tokenizer=tokenizer)