KoichiYasuoka commited on
Commit
e0c6c34
1 Parent(s): 6543a2c

dependency-parsing

Browse files
Files changed (1) hide show
  1. README.md +15 -1
README.md CHANGED
@@ -5,6 +5,7 @@ tags:
5
  - "japanese"
6
  - "token-classification"
7
  - "pos"
 
8
  datasets:
9
  - "universal_dependencies"
10
  license: "cc-by-sa-4.0"
@@ -17,7 +18,7 @@ widget:
17
 
18
  ## Model Description
19
 
20
- This is a RoBERTa model pre-trained on Japanese 青空文庫 texts for POS-tagging, derived from [roberta-base-japanese-aozora](https://huggingface.co/KoichiYasuoka/roberta-base-japanese-aozora). Every long-unit-word is tagged by [UPOS](https://universaldependencies.org/u/pos/) (Universal Part-Of-Speech).
21
 
22
  ## How to Use
23
 
@@ -30,3 +31,16 @@ nlp=lambda x:[(x[t["start"]:t["end"]],t["entity_group"]) for t in pipeline(x)]
30
  print(nlp("国境の長いトンネルを抜けると雪国であった。"))
31
  ```
32
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  - "japanese"
6
  - "token-classification"
7
  - "pos"
8
+ - "dependency-parsing"
9
  datasets:
10
  - "universal_dependencies"
11
  license: "cc-by-sa-4.0"
 
18
 
19
  ## Model Description
20
 
21
+ This is a RoBERTa model pre-trained on Japanese 青空文庫 texts for POS-tagging and dependency-parsing, derived from [roberta-base-japanese-aozora](https://huggingface.co/KoichiYasuoka/roberta-base-japanese-aozora). Every long-unit-word is tagged by [UPOS](https://universaldependencies.org/u/pos/) (Universal Part-Of-Speech).
22
 
23
  ## How to Use
24
 
 
31
  print(nlp("国境の長いトンネルを抜けると雪国であった。"))
32
  ```
33
 
34
+ or
35
+
36
+
37
+ ```py
38
+ import esupar
39
+ nlp=esupar.load("KoichiYasuoka/roberta-base-japanese-luw-upos")
40
+ print(nlp("国境の長いトンネルを抜けると雪国であった。"))
41
+ ```
42
+
43
+ ## See Also
44
+
45
+ [esupar](https://github.com/KoichiYasuoka/esupar): Tokenizer POS-tagger and Dependency-parser with BERT/RoBERTa models
46
+