Update README.md
Browse files
README.md
CHANGED
|
@@ -66,8 +66,9 @@ Fine-tuned [myanmar-pos-model](https://huggingface.co/chuuhtetnaing/myanmar-pos-
|
|
| 66 |
```python
|
| 67 |
from transformers import pipeline
|
| 68 |
|
| 69 |
-
|
| 70 |
-
result =
|
|
|
|
| 71 |
```
|
| 72 |
|
| 73 |
## NER Labels
|
|
|
|
| 66 |
```python
|
| 67 |
from transformers import pipeline
|
| 68 |
|
| 69 |
+
ner = pipeline("token-classification", model="chuuhtetnaing/myanmar-ner-model", grouped_entities=True)
|
| 70 |
+
result = ner("ααα―αα±α¬ααΊαααΊαααΊαα―ααΊααΌαα―α·ααα―α·αα½α¬αΈαααΊα") # Ko Maung went to Yangon city
|
| 71 |
+
print(result)
|
| 72 |
```
|
| 73 |
|
| 74 |
## NER Labels
|