Update README.md
Browse files
README.md
CHANGED
@@ -50,7 +50,8 @@ model_name = "tsmatz/xlm-roberta-ner-ja"
|
|
50 |
model = AutoModelForTokenClassification.from_pretrained(model_name)
|
51 |
|
52 |
classifier = pipeline("token-classification", model=model_name)
|
53 |
-
classifier("鈴木は4月の陽気の良い日に、鈴をつけて熊本県の阿蘇山に登った")
|
|
|
54 |
```
|
55 |
|
56 |
## Training procedure
|
|
|
50 |
model = AutoModelForTokenClassification.from_pretrained(model_name)
|
51 |
|
52 |
classifier = pipeline("token-classification", model=model_name)
|
53 |
+
result = classifier("鈴木は4月の陽気の良い日に、鈴をつけて熊本県の阿蘇山に登った")
|
54 |
+
print(result)
|
55 |
```
|
56 |
|
57 |
## Training procedure
|