|
--- |
|
language: |
|
- "ja" |
|
tags: |
|
- "japanese" |
|
- "masked-lm" |
|
- "modernbert" |
|
datasets: |
|
- "globis-university/aozorabunko-clean" |
|
license: "apache-2.0" |
|
pipeline_tag: "fill-mask" |
|
mask_token: "[MASK]" |
|
widget: |
|
- text: "日本に着いたら[MASK]を訪ねなさい。" |
|
--- |
|
|
|
# modernbert-large-japanese-aozora |
|
|
|
## Model Description |
|
|
|
This is a ModernBERT model pre-trained on 青空文庫 texts. NVIDIA A100-SXM4-40GB×8 took 10 hours 5 minutes for training. You can fine-tune `modernbert-large-japanese-aozora` for downstream tasks, such as POS-tagging, dependency-parsing, and so on. |
|
|
|
## How to Use |
|
|
|
```py |
|
from transformers import AutoTokenizer,AutoModelForMaskedLM |
|
tokenizer=AutoTokenizer.from_pretrained("KoichiYasuoka/modernbert-large-japanese-aozora") |
|
model=AutoModelForMaskedLM.from_pretrained("KoichiYasuoka/modernbert-large-japanese-aozora",trust_remote_code=True) |
|
``` |
|
|
|
|