KoichiYasuoka
commited on
Commit
·
285ab14
1
Parent(s):
1abffbe
esupar included
Browse files- README.md +13 -1
- supar.model +3 -0
README.md
CHANGED
@@ -5,6 +5,7 @@ tags:
|
|
5 |
- "serbian"
|
6 |
- "token-classification"
|
7 |
- "pos"
|
|
|
8 |
base_model: jerteh/gpt2-vrabac
|
9 |
datasets:
|
10 |
- "universal_dependencies"
|
@@ -19,7 +20,7 @@ widget:
|
|
19 |
|
20 |
## Model Description
|
21 |
|
22 |
-
This is a GPT-2 model in Serbian (Cyrillic and Latin) for POS-tagging, derived from [gpt2-vrabac](https://huggingface.co/jerteh/gpt2-vrabac). Every word is tagged by [UPOS](https://universaldependencies.org/u/pos/) (Universal Part-Of-Speech) and [FEATS](https://universaldependencies.org/u/feat/).
|
23 |
|
24 |
## How to Use
|
25 |
|
@@ -28,3 +29,14 @@ from transformers import pipeline
|
|
28 |
nlp=pipeline("upos","KoichiYasuoka/gpt2-small-serbian-upos",trust_remote_code=True,aggregation_strategy="simple")
|
29 |
```
|
30 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
- "serbian"
|
6 |
- "token-classification"
|
7 |
- "pos"
|
8 |
+
- "dependency-parsing"
|
9 |
base_model: jerteh/gpt2-vrabac
|
10 |
datasets:
|
11 |
- "universal_dependencies"
|
|
|
20 |
|
21 |
## Model Description
|
22 |
|
23 |
+
This is a GPT-2 model in Serbian (Cyrillic and Latin) for POS-tagging and dependency-parsing, derived from [gpt2-vrabac](https://huggingface.co/jerteh/gpt2-vrabac). Every word is tagged by [UPOS](https://universaldependencies.org/u/pos/) (Universal Part-Of-Speech) and [FEATS](https://universaldependencies.org/u/feat/).
|
24 |
|
25 |
## How to Use
|
26 |
|
|
|
29 |
nlp=pipeline("upos","KoichiYasuoka/gpt2-small-serbian-upos",trust_remote_code=True,aggregation_strategy="simple")
|
30 |
```
|
31 |
|
32 |
+
or
|
33 |
+
|
34 |
+
```py
|
35 |
+
import esupar
|
36 |
+
nlp=esupar.load("KoichiYasuoka/gpt2-small-serbian-upos")
|
37 |
+
```
|
38 |
+
|
39 |
+
## See Also
|
40 |
+
|
41 |
+
[esupar](https://github.com/KoichiYasuoka/esupar): Tokenizer POS-tagger and Dependency-parser with BERT/RoBERTa/DeBERTa/GPT models
|
42 |
+
|
supar.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5b48aef483c9714b9657efc7724c8423088407655138b460fef96b5ca899a55d
|
3 |
+
size 548477506
|