AI SeedbankHelp preserve open and free AI for humanity's future

← All models

rinna_japanese-gpt-neox-small

rinna · View on Hugging Face ↗

Get this model

Download TorrentMagnet Link

Seeders: · Leechers:

Model card

The complete upstream card, rendered from this payload's README.md — the same hash-verified bytes the torrent distributes. Images and off-site links are removed; the original card on Hugging Face carries them.


language: ja thumbnail: https://github.com/rinnakk/japanese-pretrained-models/blob/master/rinna.png tags:

  • gpt-neox
  • text-generation
  • lm
  • nlp license: mit datasets:
  • cc100
  • Wikipedia
  • mc4 inference: false

japanese-gpt-neox-small

This repository provides a small-sized Japanese GPT-NeoX model. The model was trained using code based on EleutherAI/gpt-neox.

Update log

  • 2023/03/20 Update the model weight and config files such that it can be loaded via Huggingface's official GPT-NeoX implementation.

How to use the model

from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("rinna/japanese-gpt-neox-small", use_fast=False)
model = GPTNeoXForCausalLM.from_pretrained("rinna/japanese-gpt-neox-small")

Model architecture

A 12-layer, 768-hidden-size transformer-based language model.

Training

The model was trained on Japanese CC-100, Japanese C4, and Japanese Wikipedia to optimize a traditional language modelling objective.

Tokenization

The model uses a sentencepiece-based tokenizer.

A toy prefix-tuning weight file

Along with pretrained model, we also release a prefix-tuning weight file named smileface_suffix.task0.weight for demonstration. The toy prefix-tuning weights here is trained to encourage the model to end every generated sentence with a smiling face emoji 😃. Find the training/inference code for prefix-tuning at our Github repo prefix-tuning-gpt.

Here are a few samples generated with and without the toy prefix weights, respectively.

3 samples without the prefix weights

  1. 「きっとそれは絶対間違ってないね。 わたしには5か国語に4つの外国語の意味なんてわからない。 でも、とりあえずこの簡単な英文がどんな意味を持つのか知りたいよね!」
  2. 25分頃に公園に着いて、ベンチに座って待っていると、またしてもS先生から連絡が入りました。 確か、午後の礼拝の時に自分の持ってきたお弁当を食べた記憶が鮮明に残っています。 後でインターネットで検索したら、S先生のブログに飛びました。 今日の晩ごはんは焼きナスを作ってみました! * 上の写真は昨日の朝焼けです。
  3. CTで歯形ができて、その後さらにその歯形が再び噛めるようになるのは、何が原因だろう? 虫歯になった原因も、口臭かな? それとも歯周病かな? 歯石がとれるまで、、、もうちょっとかかりそう。 子供の虫歯って、なかなか治らないですよね。親兄弟で何度か。 子供の歯根は、親のものになります。 そして自分のものだったり、知らない間に抜いたりし、生えてきたりもします。 大人になって親からみた場合は、白い歯に変わってきて、金属のようーでも悪くなく、親からのむし歯の心配はないですよね。

3 samples with the prefix weights:

  1. ※海外ブランド品の場合は、返品・返金等はお受け致しかねますので予めご了承願います。 ※ 商品発送後、お客様へ商品返送完了までのスピードを重視する方は海外ブランド品を先に送り付けさせて頂く ケースがございます。 😃
  2. 私は過去に持っていた不動産を、中古住宅として売却していましたが、その後の私の状況はどうだったのでしょうか? 😃 結果としては、投資物件として売却を考えていますが、今までの相場も読んでいただけばわかると思います。 😃 今まで、物件に対しての投資は非常に控えめにしてきたのですが、今回の提案を読んで、実際に物件を購入する際にはきちんと確認をしようと思います。 😃
  3. この写真集の表紙をこの台紙にしている作家さんは、まるで誰かの指示を受けて行動している人物のように見える、というのが、この作品をやぶにらんだ「殺し屋集団」の描いている作品であるように思 います。 😃

Inference with FasterTransformer

After version 5.1, NVIDIA FasterTransformer now supports both inference for GPT-NeoX and a variety of soft prompts (including prefix-tuning). The released pretrained model and prefix weights in this repo have been verified to work with FasterTransformer 5.1.

Release date

September 5, 2022

How to cite

@misc{rinna-japanese-gpt-neox-small,
    title = {rinna/japanese-gpt-neox-small},
    author = {Zhao, Tianyu and Sawada, Kei},
    url = {https://huggingface.co/rinna/japanese-gpt-neox-small}
}

@inproceedings{sawada2024release,
    title = {Release of Pre-Trained Models for the {J}apanese Language},
    author = {Sawada, Kei and Zhao, Tianyu and Shing, Makoto and Mitsui, Kentaro and Kaga, Akio and Hono, Yukiya and Wakatsuki, Toshiaki and Mitsuda, Koh},
    booktitle = {Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024)},
    month = {5},
    year = {2024},
    pages = {13898--13905},
    url = {https://aclanthology.org/2024.lrec-main.1213},
    note = {\url{https://arxiv.org/abs/2404.01657}}
}

Licenese

The MIT license

Magnet link

Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:

magnet:?xt=urn:btih:7ea64db59c1fe7991fa2b2b51a427732e8273751&dn=rinna_japanese-gpt-neox-small

Open magnet in torrent client · infohash 7ea64db59c1fe7991fa2b2b51a427732e8273751

Files & hashes

PathSizesha1sha256
README.md5.6 KB (5,749 B)cf34eec45ca64637a82d924fec1806357d1a7ff72aae2b4c813886e06123b7a95e5fa4c7886810aa1d1b82d943fdeba897a351f2
config.json569 B (569 B)82f561d3b302dd07d021c5ecf36ae76f5cd4b633c4924736dfee47236d4245eb46ff33d879113801d0878992c095a8ee4b082c0b
model.safetensors632.7 MB (663,470,088 B)b1b8fe74e198b4ba1f22c7e54e8fbf5b4cf4e976f99fd1a9d490ca7225f56bb313263a2f7e22e02e96eafc2b7d512621040efbcc
pytorch_model.bin632.8 MB (663,506,641 B)37c21c31001466fc24f64b54e01bbc745660462758e3f25be62e0e5e860b36a4e9b1ef0bd9299378a488c1dafb48526222076d5b
rinna.png58.9 KB (60,349 B)d0f007efdb690e637bbd955389e411a381839042bf81b8c108850c6db015683c86b256063125f909fc796f7d42bc929ffba171ab
smileface_suffix.task0.weight720.7 KB (738,027 B)7419f4991f015b3239878acefb34ee68a4e2ebdf523ca2ed66d6018592a8e4bef850a274eb46ca499870597f76a717f0575db64f
special_tokens_map.json153 B (153 B)6d5b0586c7f14b79819e62dedd4b0d73728b8703a4fdf54099a0e4b6d81bff96557662ef8ef3ccd9e5a5fbdb8117b33fe1c608b5
spiece.model1021.0 KB (1,045,480 B)068829a33ea35874e6aa81bb4b91897bda7cdb87fa7a52f74800c7382e72a29e11bf95eb53cd9960a5d181bb37cc4482de43ebfb
tokenizer_config.json283 B (283 B)abf7e7f3d9834074a1a528e20e8cf810675e2d7f8d490533a5090352a28de03ceb569f5b4c3f42d87abcc56985e1d2f164323c33

Cite this release

Canonical URL
https://aiseedbank.org/models/rinna_japanese-gpt-neox-small/
Slug
rinna_japanese-gpt-neox-small
Infohash
7ea64db59c1fe7991fa2b2b51a427732e8273751
License
mit
Signing key fingerprint
85a3b32c3712427b

Every file carries a locally computed sha256 — verify a download against the signed sums: rinna_japanese-gpt-neox-small.SHA256SUMS (+ minisign signature).

Provenance

Upstream repositoryrinna/japanese-gpt-neox-small
Revision (pinned)84d18c0fa8c9940a61cfc4e25bd9a5686898bac1
Fetched at2026-09-04T05:33:11Z
License at fetchmit
Snapshot toolhuggingface · seedbank 0.1.0

Trackers

✓ verified · rehash-vs-hf-metadata at 2026-09-04T05:33:23Z

mit1.24 GB (1,328,827,339 bytes)transformerspytorchsafetensorsgpt_neoxtext-generationgpt-neoxnlptext-generation-inference2 languages (lm, ja)paper: 2101.00190paper: 2404.01657