tsmatz commited on
Commit
37df51c
1 Parent(s): 768d0d8

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -1
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