Commit ·
6b4a432
1
Parent(s): 0329da1
Update README.md
Browse files
README.md
CHANGED
|
@@ -47,8 +47,8 @@ Example
|
|
| 47 |
```py
|
| 48 |
from transformers import AutoTokenizer, AutoModelForTokenClassification
|
| 49 |
from transformers import pipeline
|
| 50 |
-
tokenizer = AutoTokenizer.from_pretrained("Ambareeshkumar/
|
| 51 |
-
model = AutoModelForTokenClassification.from_pretrained("Ambareeshkumar/
|
| 52 |
nlp = pipeline("ner", model=model, tokenizer=tokenizer)
|
| 53 |
example = "இந்திய"
|
| 54 |
ner_results = nlp(example)
|
|
|
|
| 47 |
```py
|
| 48 |
from transformers import AutoTokenizer, AutoModelForTokenClassification
|
| 49 |
from transformers import pipeline
|
| 50 |
+
tokenizer = AutoTokenizer.from_pretrained("Ambareeshkumar/BERT-Tamil")
|
| 51 |
+
model = AutoModelForTokenClassification.from_pretrained("Ambareeshkumar/BERT-Tamil")
|
| 52 |
nlp = pipeline("ner", model=model, tokenizer=tokenizer)
|
| 53 |
example = "இந்திய"
|
| 54 |
ner_results = nlp(example)
|