KoichiYasuoka's picture
bug fix
15a62db
|
raw
history blame
No virus
1.25 kB
---
language:
- "ain"
tags:
- "ainu"
- "token-classification"
- "pos"
- "dependency-parsing"
license: "cc-by-sa-4.0"
pipeline_tag: "token-classification"
widget:
- text: "itak=as awa pon rupne aynu ene itaki"
- text: "イタカㇱ アワ ポン ルㇷ゚ネ アイヌ エネ イタキ"
- text: "итак ас ава пон рубне айну эне итакі"
---
# deberta-base-ainu-upos
## Model Description
This is a DeBERTa(V2) model pre-trained on Ainu texts (in カタカナ, Roman, and Кириллица) for POS-tagging and dependency-parsing, derived from [deberta-base-ainu](https://huggingface.co/KoichiYasuoka/deberta-base-ainu). Every word is tagged by [UPOS](https://universaldependencies.org/u/pos/) (Universal Part-Of-Speech).
## How to Use
```py
from transformers import AutoTokenizer,AutoModelForTokenClassification
tokenizer=AutoTokenizer.from_pretrained("KoichiYasuoka/deberta-base-ainu-upos")
model=AutoModelForTokenClassification.from_pretrained("KoichiYasuoka/deberta-base-ainu-upos")
```
or
```py
import esupar
nlp=esupar.load("KoichiYasuoka/deberta-base-ainu-upos")
```
## See Also
[esupar](https://github.com/KoichiYasuoka/esupar): Tokenizer POS-tagger and Dependency-parser with BERT/RoBERTa/DeBERTa models