KoichiYasuoka
commited on
Commit
•
958e2a7
1
Parent(s):
23f6235
initial release
Browse files- README.md +42 -0
- config.json +0 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +1 -0
- spm.model +3 -0
- supar.model +3 -0
- tokenizer.json +0 -0
- tokenizer_config.json +1 -0
README.md
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- "cop"
|
4 |
+
tags:
|
5 |
+
- "coptic"
|
6 |
+
- "token-classification"
|
7 |
+
- "pos"
|
8 |
+
- "dependency-parsing"
|
9 |
+
datasets:
|
10 |
+
- "universal_dependencies"
|
11 |
+
license: "cc-by-sa-4.0"
|
12 |
+
pipeline_tag: "token-classification"
|
13 |
+
widget:
|
14 |
+
- text: "ⲧⲉⲛⲟⲩⲇⲉⲛ̄ⲟⲩⲟⲉⲓⲛϩ︤ⲙ︥ⲡϫⲟⲉⲓⲥ·"
|
15 |
+
- text: "ⲙⲟⲟϣⲉϩⲱⲥϣⲏⲣⲉⲙ̄ⲡⲟⲩⲟⲉⲓⲛ·"
|
16 |
+
---
|
17 |
+
|
18 |
+
# deberta-small-coptic-upos
|
19 |
+
|
20 |
+
## Model Description
|
21 |
+
|
22 |
+
This is a DeBERTa(V2) model pre-trained with [UD_Coptic](https://universaldependencies.org/cop/) for POS-tagging and dependency-parsing, derived from [deberta-small-coptic](https://huggingface.co/KoichiYasuoka/deberta-small-coptic). Every word is tagged by [UPOS](https://universaldependencies.org/u/pos/) (Universal Part-Of-Speech).
|
23 |
+
|
24 |
+
## How to Use
|
25 |
+
|
26 |
+
```py
|
27 |
+
from transformers import AutoTokenizer,AutoModelForTokenClassification
|
28 |
+
tokenizer=AutoTokenizer.from_pretrained("KoichiYasuoka/deberta-small-coptic-upos")
|
29 |
+
model=AutoModelForTokenClassification.from_pretrained("KoichiYasuoka/deberta-small-coptic-upos")
|
30 |
+
```
|
31 |
+
|
32 |
+
or
|
33 |
+
|
34 |
+
```
|
35 |
+
import esupar
|
36 |
+
nlp=esupar.load("KoichiYasuoka/deberta-small-coptic-upos")
|
37 |
+
```
|
38 |
+
|
39 |
+
## See Also
|
40 |
+
|
41 |
+
[esupar](https://github.com/KoichiYasuoka/esupar): Tokenizer POS-tagger and Dependency-parser with BERT/RoBERTa models
|
42 |
+
|
config.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9188a0dbd64a8791d26c915414f3eaae4d7ca2775cccf6b24b53222ad1de3c44
|
3 |
+
size 36982067
|
special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"bos_token": "[CLS]", "eos_token": "[SEP]", "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
|
spm.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b
|
3 |
+
size 1
|
supar.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6bc9d98e70beb155dba25e732981384c528d11bf0ab60c501effc77128208f55
|
3 |
+
size 80429547
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"do_lower_case": false, "bos_token": "[CLS]", "eos_token": "[SEP]", "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "split_by_punct": true, "keep_accents": false, "model_max_length": 128, "tokenizer_class": "DebertaV2TokenizerFast"}
|