karthid commited on
Commit
b03ed43
·
1 Parent(s): 04b6065

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +0 -17
README.md CHANGED
@@ -35,25 +35,8 @@ model-index:
35
  | **License** | n/a |
36
  | **Author** | Karthi Dhayalan |
37
 
38
- ## Intended uses & limitations
39
 
40
- #### How to use
41
 
42
- You can use this model with Transformers *pipeline* for NER.
43
-
44
- ```python
45
- from transformers import AutoTokenizer, AutoModelForTokenClassification
46
- from transformers import pipeline
47
-
48
- tokenizer = AutoTokenizer.from_pretrained("karthid/ta_Tamil_NER")
49
- model = AutoModelForTokenClassification.from_pretrained("karthid/ta_Tamil_NER")
50
-
51
- nlp = pipeline("ner", model=model, tokenizer=tokenizer)
52
- example = "கென்யாவின் புதிய அரசுத்தலைவராக வில்லியம் ரூட்டோ தேர்ந்தெடுக்கப்பட்டார்."
53
-
54
- ner_results = nlp(example)
55
- print(ner_results)
56
- ```
57
 
58
 
59
  ### Label Scheme
 
35
  | **License** | n/a |
36
  | **Author** | Karthi Dhayalan |
37
 
 
38
 
 
39
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
 
41
 
42
  ### Label Scheme