{"id":20106144,"url":"https://github.com/himkt/awesome-bert-japanese","last_synced_at":"2026-03-09T14:32:57.843Z","repository":{"id":37640812,"uuid":"282674155","full_name":"himkt/awesome-bert-japanese","owner":"himkt","description":"📝 A list of pre-trained BERT models for Japanese with word/subword tokenization + vocabulary construction algorithm information","archived":false,"fork":false,"pushed_at":"2023-03-15T09:51:23.000Z","size":39,"stargazers_count":131,"open_issues_count":7,"forks_count":7,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-10-18T10:07:47.820Z","etag":null,"topics":["bert","bert-models","japanese","natural-language-processing","nlp"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/himkt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-07-26T15:07:29.000Z","updated_at":"2025-06-27T11:41:53.000Z","dependencies_parsed_at":"2024-01-13T15:01:04.590Z","dependency_job_id":null,"html_url":"https://github.com/himkt/awesome-bert-japanese","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/himkt/awesome-bert-japanese","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himkt%2Fawesome-bert-japanese","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himkt%2Fawesome-bert-japanese/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himkt%2Fawesome-bert-japanese/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himkt%2Fawesome-bert-japanese/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/himkt","download_url":"https://codeload.github.com/himkt/awesome-bert-japanese/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himkt%2Fawesome-bert-japanese/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30299084,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T13:46:43.843Z","status":"ssl_error","status_checked_at":"2026-03-09T13:46:42.821Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bert","bert-models","japanese","natural-language-processing","nlp"],"created_at":"2024-11-13T17:49:13.070Z","updated_at":"2026-03-09T14:32:57.820Z","avatar_url":"https://github.com/himkt.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# awesome-bert-japanese\n\n日本語の学習済み BERT は文から単語への分かち書き，単語からサブワードへの分割の処理にいくつかの選択肢が存在します．\nまた，単語をサブワードに分割する際に利用する語彙についても構築方法に数種類のバリエーションがあります．\n\n本リポジトリでは，公開されている学習済み BERT モデルについて，\n分かち書き・サブワード分割・語彙構築アルゴリズムそれぞれどのアルゴリズムが採用されているかを表にまとめています．\n\nA list of pre-trained BERT models for Japanese.\nJapanese is a complicated language; which doesn't have any word boundaries and has many kind of characters.\nTherefore, it requires word segmentation before tokenizing word into subwords.\nI summarize pretrained BERT models for Japanese by `word segmentation algorithm`, `subword tokenization algorithm`, and `algorithm for constructing vocabulary used in subword tokenization`.\n\n\n## Model\n\n\n| Model                      | Sentence -\u003e Words                                                                                                                                    | Word -\u003e Subword                           | Algorithm for constructing vocabulary used in subword tokenization     |\n| :------------------------- | :----------------                                                                                                                                    | :---------------------------------------- | :--------------------------------------------------------------------- |\n| Google (Multilingual BERT) | Whitespace                                                                                                                                           | WordPiece                                 | BPE?                                                                   |\n| Kikuta                     | --                                                                                                                                                   | Sentencepiece (without word segmentation) | Sentencepiece (model_type=unigram)                                     |\n| Hotto Link Inc.            | --                                                                                                                                                   | Sentencepiece (without word segmentation) | Sentencepiece (model_type=unigram)                                     |\n| Kyoto University           | Juman++ (JUMANDIC?)                                                                                                                                  | WordPiece                                 | subword-nmt (BPE)                                                      |\n| Stockmark Inc. (a)         | MeCab (mecab-ipadic-neologd)                                                                                                                         | --                                        | --                                                                     |\n| Tohoku University (a)      | MeCab (mecab-ipadic)                                                                                                                                 | WordPiece                                 | Sentencepiece (model_type=bpe)                                         |\n| Tohoku University (b)      | MeCab (mecab-ipadic)                                                                                                                                 | Character                                 | Sentencepiece (model_type=character)                                   |\n| NICT (a)                   | MeCab (mecab-jumandic)                                                                                                                               | WordPiece                                 | subword-nmt (BPE)                                                      |\n| NICT (b)                   | MeCab (mecab-jumandic)                                                                                                                               | ---                                       | ---                                                                    |\n| akirakubo (a)              | MeCab (unidic-cwj) for Wikipedia and Aozora bunko written in `新仮名` + MeCab (unidic_qkana) for Aozora bunko written in `旧仮名`                      | WordPiece                                 | subword-nmt (BPE)                                                      |\n| akirakubo (b)              | SudachiPy (SudachiDict_core + A mode) for Wikipedia and Aozora bunko written in `新仮名` + MeCab (unidic_qkana) for Aozora bunko written in `旧仮名`   | WordPiece                                 | subword-nmt (BPE)                                                      |\n| The University of Tokyo    | MeCab (mecab-ipadic-neologd + user dic (J-MeDic)                                                                                                     | WordPiece                                 | ? (BPE)                                                                |\n| Laboro.AI Inc.             | --                                                                                                                                                   | Sentencepiece (without word segmentation) | Sentencepiece (model_type=unigram)                                     |\n| Bandai Namco Research Inc. | MeCab (mecab-ipadic)                                                                                                                                 | WordPiece                                 | Sentencepiece (model_type=bpe)                                         |\n| Retrieva, Inc.             | MeCab (mecab-ipadic)                                                                                                                                 | WordPiece                                 | Sentencepiece (model_type=bpe)                                         |\n| Waseda University          | Juman++ (JUMANDIC)                                                                                                                                   | WordPiece                                 | Sentencepiece (model_type=unigram)                                     |\n| LINE Corp.                 | MeCab (mecab-unidic)                                                                                                                                 | WordPiece                                 | Sentencepiece (model_type=bpe)                                         |\n| Stockmark Inc. (b)         | MeCab (mecab-ipadic-neologd)                                                                                                                         | WordPiece                                 | Sentencepiece (model_type=?)                                           |\n\n* NICT: National Institute of Information and Communications Technology\n* `without word segmentation`: 文を単語に分割せず直接サブワードへ分割する\n* For models by Tohoku University, MeCab+mecab-ipadic-neologd is used for sentence segmentation (thanks [@ikuyamada](https://github.com/ikuyamada) san!)\n* For models by akirakubo, documents in Aozora bunko are classified into two categories. It is based on types of kana spelling. (thanks [@kkadowa](https://github.com/kkadowa) san and [@akirakubo](https://github.com/akirakubo) san!\n  * See also: https://github.com/akirakubo/bert-japanese-aozora/issues/1#issuecomment-667495267\n* For DistilBERT (by Bandai Namco Resean Inc.), the same word segmentation and algorithm for constructing vocabulary are used both for teacher/studen models.\n\n\n## Reference\n\n- Google (Multilingual BERT) (2018/11): https://github.com/google-research/bert/blob/master/multilingual.md\n- Kikuta (2019/01): https://yoheikikuta.github.io/bert-japanese/\n- Hotto Link Inc. (2019/03): https://www.hottolink.co.jp/blog/20190311_101674/\n- Kyoto University (2019/03): [http://nlp.ist.i.kyoto-u.ac.jp/bert](http://nlp.ist.i.kyoto-u.ac.jp/index.php?BERT%E6%97%A5%E6%9C%AC%E8%AA%9EPretrained%E3%83%A2%E3%83%87%E3%83%AB)\n- Stockmark Inc. (a) (2019/04): https://qiita.com/mkt3/items/3c1278339ff1bcc0187f\n- Tohoku University (a,b) (2019/12): https://github.com/cl-tohoku/bert-japanese\n- NICT (2020/03): https://alaginrc.nict.go.jp/nict-bert/index.html\n- akirakubo (2020/03): https://github.com/akirakubo/bert-japanese-aozora\n- The University of Tokyo (2020/03): https://ai-health.m.u-tokyo.ac.jp/uth-ber\n- Laboro.AI Inc. (2020/04): https://laboro.ai/column/laboro-bert/\n- Bandai Namco Research Inc. (2020/04): https://github.com/BandaiNamcoResearchInc/DistilBERT-base-jp\n- Retrieva, Inc. (2021/04): https://tech.retrieva.jp/entry/2021/04/01/114943\n- Waseda University (2021/12): https://huggingface.co/nlp-waseda/roberta-base-japanese\n- LINE Corp. (2023/03): https://engineering.linecorp.com/ja/blog/line-distilbert-high-performance-fast-lightweight-japanese-language-model\n- Stockmark Inc. (b) (2020/02): https://qiita.com/mkt3/items/b41dcf0185e5873f5f75\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhimkt%2Fawesome-bert-japanese","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhimkt%2Fawesome-bert-japanese","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhimkt%2Fawesome-bert-japanese/lists"}