KoichiYasuoka commited on
Commit
70162d0
·
1 Parent(s): 391513a

dependency-parsing

Browse files
Files changed (1) hide show
  1. README.md +13 -1
README.md CHANGED
@@ -18,7 +18,7 @@ widget:
18
 
19
  ## Model Description
20
 
21
- This is a GPT-2 model for POS-tagging, derived from [gpt2-base-japanese-v2](https://huggingface.co/ClassCat/gpt2-base-japanese-v2). Every short-unit-word is tagged by [UPOS](https://universaldependencies.org/u/pos/) (Universal Part-Of-Speech) and [FEATS](https://universaldependencies.org/u/feat/).
22
 
23
  ## How to Use
24
 
@@ -28,3 +28,15 @@ nlp=pipeline("upos","KoichiYasuoka/gpt2-base-japanese-upos",trust_remote_code=Tr
28
  print(nlp("国境の長いトンネルを抜けると雪国であった。"))
29
  ```
30
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
 
19
  ## Model Description
20
 
21
+ This is a GPT-2 model for POS-tagging and dependency-parsing, derived from [gpt2-base-japanese-v2](https://huggingface.co/ClassCat/gpt2-base-japanese-v2). Every short-unit-word is tagged by [UPOS](https://universaldependencies.org/u/pos/) (Universal Part-Of-Speech) and [FEATS](https://universaldependencies.org/u/feat/).
22
 
23
  ## How to Use
24
 
 
28
  print(nlp("国境の長いトンネルを抜けると雪国であった。"))
29
  ```
30
 
31
+ or
32
+
33
+ ```py
34
+ import esupar
35
+ nlp=esupar.load("KoichiYasuoka/gpt2-base-japanese-upos")
36
+ print(nlp("国境の長いトンネルを抜けると雪国であった。"))
37
+ ```
38
+
39
+ ## See Also
40
+
41
+ [esupar](https://github.com/KoichiYasuoka/esupar): Tokenizer POS-tagger and Dependency-parser with BERT/RoBERTa/DeBERTa models
42
+