Update README.md
Browse files
README.md
CHANGED
|
@@ -22,7 +22,7 @@ It achieves the following results on the evaluation set:
|
|
| 22 |
|
| 23 |
## Model description
|
| 24 |
|
| 25 |
-
|
| 26 |
from transformers import AutoTokenizer, AutoModelForTokenClassification
|
| 27 |
from transformers import pipeline
|
| 28 |
|
|
@@ -37,8 +37,7 @@ print(ner_results)
|
|
| 37 |
[{'entity_group': 'PER', 'score': 0.99686015, 'word': ' Tao Jin', 'start': 11, 'end': 18}, {'entity_group': 'LOC', 'score': 0.9996836, 'word': ' Canada', 'start': 31, 'end': 37}]
|
| 38 |
|
| 39 |
|
| 40 |
-
|
| 41 |
-
'''
|
| 42 |
|
| 43 |
## Intended uses & limitations
|
| 44 |
|
|
|
|
| 22 |
|
| 23 |
## Model description
|
| 24 |
|
| 25 |
+
```python
|
| 26 |
from transformers import AutoTokenizer, AutoModelForTokenClassification
|
| 27 |
from transformers import pipeline
|
| 28 |
|
|
|
|
| 37 |
[{'entity_group': 'PER', 'score': 0.99686015, 'word': ' Tao Jin', 'start': 11, 'end': 18}, {'entity_group': 'LOC', 'score': 0.9996836, 'word': ' Canada', 'start': 31, 'end': 37}]
|
| 38 |
|
| 39 |
|
| 40 |
+
```
|
|
|
|
| 41 |
|
| 42 |
## Intended uses & limitations
|
| 43 |
|