File size: 1,340 Bytes
0ef6f8e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7ae0e00
 
03069b4
7ae0e00
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---
language:
- "ja"
tags:
- "japanese"
- "pos"
- "dependency-parsing"
- "modernbert"
base_model: KoichiYasuoka/modernbert-base-japanese-aozora-upos
datasets:
- "universal_dependencies"
license: "apache-2.0"
pipeline_tag: "token-classification"
widget:
- text: "全学年にわたって小学校の国語の教科書に挿し絵が用いられている"
---

# modernbert-base-japanese-aozora-ud-triangular

## Model Description

This is a ModernBERT model pretrained for POS-tagging and dependency-parsing (using `goeswith` for subwords), derived from [modernbert-base-japanese-aozora-upos](https://huggingface.co/KoichiYasuoka/modernbert-base-japanese-aozora-upos) and [UD_Japanese-GSDLUW](https://github.com/UniversalDependencies/UD_Japanese-GSDLUW).

## How to Use

```py
from transformers import pipeline
nlp=pipeline("universal-dependencies","KoichiYasuoka/modernbert-base-japanese-aozora-ud-triangular",trust_remote_code=True,aggregation_strategy="simple")
print(nlp("全学年にわたって小学校の国語の教科書に挿し絵が用いられている"))
```

### Reference

安岡孝一: [青空文庫ModernBERTモデルによる国語研長単位係り受け解析](http://hdl.handle.net/2433/291645), 情報処理学会研究報告, Vol.2025-CH-137『人文科学とコンピュータ』, No.10 (2025年2月8日), pp.1-7.