File size: 1,064 Bytes
c37cd91 945b0c6 c37cd91 |
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 |
---
language:
- "ja"
tags:
- "japanese"
- "masked-lm"
- "modernbert"
datasets:
- "globis-university/aozorabunko-clean"
- "wikimedia/wikipedia"
license: "apache-2.0"
pipeline_tag: "fill-mask"
mask_token: "[MASK]"
widget:
- text: "日本に着いたら[MASK]を訪ねなさい。"
---
# modernbert-small-japanese-char
## Model Description
This is a ModernBERT model pre-trained on Japanese Wikipedia and 青空文庫 texts. NVIDIA A100-SXM4-40GB×8 took 33 hours 20 minutes for training. You can fine-tune `modernbert-small-japanese-char` for downstream tasks, such as [POS-tagging](https://huggingface.co/KoichiYasuoka/modernbert-small-japanese-char-upos), [dependency-parsing](https://huggingface.co/KoichiYasuoka/modernbert-small-japanese-char-ud-triangular), and so on.
## How to Use
```py
from transformers import AutoTokenizer,AutoModelForMaskedLM
tokenizer=AutoTokenizer.from_pretrained("KoichiYasuoka/modernbert-small-japanese-char")
model=AutoModelForMaskedLM.from_pretrained("KoichiYasuoka/modernbert-small-japanese-char",trust_remote_code=True)
```
|