sbintuitions/modernbert-ja-130m のベース部分のみ取り出したもの。
sbintuitions/modernbert-ja-130m は ModernBertForMaskedLM ですが、これは単語予測するヘッドがない ModernBertForModel です。
import torch
from transformers import (
AutoModelForMaskedLM,
)
model = AutoModelForMaskedLM.from_pretrained(
"sbintuitions/modernbert-ja-130m", torch_dtype=torch.bfloat16
)
# model.model をアップしただけ
model.model.push_to_hub("p1atdev/sbintuitions-modernbert-ja-130m-base")
Have the files? Publish a torrent.
Publish a torrentHave the complete files and permission to share them? Replace the example folder path. The script checks the files, makes a torrent and submits its magnet and checksums. Keep your torrent client seeding. Get your community key from your settings, and read the script before running it.
curl -fsSL https://pirateface.co/package.sh | bash -s -- --repo p1atdev/sbintuitions-modernbert-ja-130m-base ./model-folder