cl-nagoya_ruri-v3-310m
cl-nagoya · View on Hugging Face ↗
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 tags:
- sentence-similarity
- feature-extraction base_model: cl-nagoya/ruri-v3-pt-310m widget: [] pipeline_tag: sentence-similarity license: apache-2.0 datasets:
- cl-nagoya/ruri-v3-dataset-ft
Ruri: Japanese General Text Embeddings
Ruri v3 is a general-purpose Japanese text embedding model built on top of ModernBERT-Ja. Ruri v3 offers several key technical advantages:
- State-of-the-art performance for Japanese text embedding tasks.
- Supports sequence lengths up to 8192 tokens
- Previous versions of Ruri (v1, v2) were limited to 512.
- Expanded vocabulary of 100K tokens, compared to 32K in v1 and v2
- The larger vocabulary make input sequences shorter, improving efficiency.
- Integrated FlashAttention, following ModernBERT's architecture
- Enables faster inference and fine-tuning.
- Tokenizer based solely on SentencePiece
- Unlike previous versions, which relied on Japanese-specific BERT tokenizers and required pre-tokenized input, Ruri v3 performs tokenization with SentencePiece only—no external word segmentation tool is required.
Model Series
We provide Ruri-v3 in several model sizes. Below is a summary of each model.
| ID | #Param. | #Param. w/o Emb. |
Dim. | #Layers | Avg. JMTEB |
|---|---|---|---|---|---|
| cl-nagoya/ruri-v3-30m | 37M | 10M | 256 | 10 | 74.51 |
| cl-nagoya/ruri-v3-70m | 70M | 31M | 384 | 13 | 75.48 |
| cl-nagoya/ruri-v3-130m | 132M | 80M | 512 | 19 | 76.55 |
| cl-nagoya/ruri-v3-310m | 315M | 236M | 768 | 25 | 77.24 |
Usage
You can use our models directly with the transformers library v4.48.0 or higher:
pip install -U "transformers>=4.48.0" sentence-transformers
Additionally, if your GPUs support Flash Attention 2, we recommend using our models with Flash Attention 2.
pip install flash-attn --no-build-isolation
Then you can load this model and run inference.
import torch
import torch.nn.functional as F
from sentence_transformers import SentenceTransformer
# Download from the 🤗 Hub
device = "cuda" if torch.cuda.is_available() else "cpu"
model = SentenceTransformer("cl-nagoya/ruri-v3-310m", device=device)
# Ruri v3 employs a 1+3 prefix scheme to distinguish between different types of text inputs:
# "" (empty string) is used for encoding semantic meaning.
# "トピック: " is used for classification, clustering, and encoding topical information.
# "検索クエリ: " is used for queries in retrieval tasks.
# "検索文書: " is used for documents to be retrieved.
sentences = [
"川べりでサーフボードを持った人たちがいます",
"サーファーたちが川べりに立っています",
"トピック: 瑠璃色のサーファー",
"検索クエリ: 瑠璃色はどんな色?",
"検索文書: 瑠璃色(るりいろ)は、紫みを帯びた濃い青。名は、半貴石の瑠璃(ラピスラズリ、英: lapis lazuli)による。JIS慣用色名では「こい紫みの青」(略号 dp-pB)と定義している[1][2]。",
]
embeddings = model.encode(sentences, convert_to_tensor=True)
print(embeddings.size())
# [5, 768]
similarities = F.cosine_similarity(embeddings.unsqueeze(0), embeddings.unsqueeze(1), dim=2)
print(similarities)
# [[1.0000, 0.9603, 0.8157, 0.7074, 0.6916],
# [0.9603, 1.0000, 0.8192, 0.7014, 0.6819],
# [0.8157, 0.8192, 1.0000, 0.8701, 0.8470],
# [0.7074, 0.7014, 0.8701, 1.0000, 0.9746],
# [0.6916, 0.6819, 0.8470, 0.9746, 1.0000]]
Benchmarks
JMTEB
Evaluated with JMTEB.
| Model | #Param. | Avg. | Retrieval | STS | Classfification | Reranking | Clustering | PairClassification |
|---|---|---|---|---|---|---|---|---|
| Ruri-v3-30m | 37M | 74.51 | 78.08 | 82.48 | 74.80 | 93.00 | 52.12 | 62.40 |
| Ruri-v3-70m | 70M | 75.48 | 79.96 | 79.82 | 76.97 | 93.27 | 52.70 | 61.75 |
| Ruri-v3-130m | 132M | 76.55 | 81.89 | 79.25 | 77.16 | 93.31 | 55.36 | 62.26 |
| Ruri-v3-310m (this model) |
315M | 77.24 | 81.89 | 81.22 | 78.66 | 93.43 | 55.69 | 62.60 |
| sbintuitions/sarashina-embedding-v1-1b | 1.22B | 75.50 | 77.61 | 82.71 | 78.37 | 93.74 | 53.86 | 62.00 |
| PLaMo-Embedding-1B | 1.05B | 76.10 | 79.94 | 83.14 | 77.20 | 93.57 | 53.47 | 62.37 |
| OpenAI/text-embedding-ada-002 | - | 69.48 | 64.38 | 79.02 | 69.75 | 93.04 | 48.30 | 62.40 |
| OpenAI/text-embedding-3-small | - | 70.86 | 66.39 | 79.46 | 73.06 | 92.92 | 51.06 | 62.27 |
| OpenAI/text-embedding-3-large | - | 73.97 | 74.48 | 82.52 | 77.58 | 93.58 | 53.32 | 62.35 |
| pkshatech/GLuCoSE-base-ja | 133M | 70.44 | 59.02 | 78.71 | 76.82 | 91.90 | 49.78 | 66.39 |
| pkshatech/GLuCoSE-base-ja-v2 | 133M | 72.23 | 73.36 | 82.96 | 74.21 | 93.01 | 48.65 | 62.37 |
| retrieva-jp/amber-base | 130M | 72.12 | 73.40 | 77.81 | 76.14 | 93.27 | 48.05 | 64.03 |
| retrieva-jp/amber-large | 315M | 73.22 | 75.40 | 79.32 | 77.14 | 93.54 | 48.73 | 60.97 |
| sentence-transformers/LaBSE | 472M | 64.70 | 40.12 | 76.56 | 72.66 | 91.63 | 44.88 | 62.33 |
| intfloat/multilingual-e5-small | 118M | 69.52 | 67.27 | 80.07 | 67.62 | 93.03 | 46.91 | 62.19 |
| intfloat/multilingual-e5-base | 278M | 70.12 | 68.21 | 79.84 | 69.30 | 92.85 | 48.26 | 62.26 |
| intfloat/multilingual-e5-large | 560M | 71.65 | 70.98 | 79.70 | 72.89 | 92.96 | 51.24 | 62.15 |
| Ruri-Small | 68M | 71.53 | 69.41 | 82.79 | 76.22 | 93.00 | 51.19 | 62.11 |
| Ruri-Small v2 | 68M | 73.30 | 73.94 | 82.91 | 76.17 | 93.20 | 51.58 | 62.32 |
| Ruri-Base | 111M | 71.91 | 69.82 | 82.87 | 75.58 | 92.91 | 54.16 | 62.38 |
| Ruri-Base v2 | 111M | 72.48 | 72.33 | 83.03 | 75.34 | 93.17 | 51.38 | 62.35 |
| Ruri-Large | 337M | 73.31 | 73.02 | 83.13 | 77.43 | 92.99 | 51.82 | 62.29 |
| Ruri-Large v2 | 337M | 74.55 | 76.34 | 83.17 | 77.18 | 93.21 | 52.14 | 62.27 |
Model Details
Model Description
- Model Type: Sentence Transformer
- Base model: cl-nagoya/ruri-v3-pt-310m
- Maximum Sequence Length: 8192 tokens
- Output Dimensionality: 768
- Similarity Function: Cosine Similarity
- Language: Japanese
- License: Apache 2.0
- Paper: https://arxiv.org/abs/2409.07737
Full Model Architecture
SentenceTransformer(
(0): Transformer({'max_seq_length': 8192, 'do_lower_case': False}) with Transformer model: ModernBertModel
(1): Pooling({'word_embedding_dimension': 768, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': True, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
)
Citation
@misc{
Ruri,
title={{Ruri: Japanese General Text Embeddings}},
author={Hayato Tsukagoshi and Ryohei Sasano},
year={2024},
eprint={2409.07737},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2409.07737},
}
License
This model is published under the Apache License, Version 2.0.
Magnet link
Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:
magnet:?xt=urn:btih:047f502a15c9f93caef626dd6ee64b80e09588d5&dn=cl-nagoya_ruri-v3-310mOpen magnet in torrent client · infohash 047f502a15c9f93caef626dd6ee64b80e09588d5
Files & hashes
| Path | Size | sha1 | sha256 |
|---|---|---|---|
| 1_Pooling/config.json | 296 B (296 B) | 9213783a33aa495a3c2d3791c7c5888d90607a4e | 1c8bc7bd750c5c20d8707f1c5c578f5d69bb3d1d5ebcf4b2fde5128de154ec1c |
| README.md | 7.8 KB (7,940 B) | 4f4778606a56fde5141fe30170b968e8e5c43a15 | 3f1195e5003fe8daa6bf5fa8be804d45665044f9e8daa22eb38ae17bb5789813 |
| config.json | 1.3 KB (1,325 B) | 834719977705a2b386f16dd869872e0f0028c88e | 0f4eee1ac5634e11b095441246c59adc54818872e18478622338c61bc67847f8 |
| config_sentence_transformers.json | 205 B (205 B) | a5861d6986d85dd65a8caa53f08b4bd5408a4d3f | da3bacc571a0581d71730e3962684164415dcaeccfde1273b1163702e93f7dd0 |
| model.safetensors | 1.17 GB (1,258,462,760 B) | 00430ee6a8808d52ccc9785cb935aabf3696498b | 8229a6c3bbb16aa1a563eb62df60855af75b5e6e9c586f2ae571d3ab30df2804 |
| modules.json | 229 B (229 B) | f7640f94e81bb7f4f04daf1668850b38763a13d9 | 8f4b264b80206c830bebbdcae377e137925650a433b689343a63bdc9b3145460 |
| results-len512/Classification/scores_amazon_counterfactual_classification.json | 618 B (618 B) | 7b15257ff6d5b0dfea0465a9fc5647016ae9fe33 | e78046f5741b80525a884514a007977c36acd15b3b101d6b37096c2acbf7cca1 |
| results-len512/Classification/scores_amazon_review_classification.json | 584 B (584 B) | 30b8dbfd2f2c826733c1ca3f2d3e09dce456acc5 | 4accd497c8b7e52e89da803048f56bb23cc871a52f0eef2b901e41ad1de65809 |
| results-len512/Classification/scores_massive_intent_classification.json | 618 B (618 B) | bb0f80ea2dce1fb06fb3ec4bdd0a39647f3f9c50 | 6b03629cd44d6de17956b207c9be9f50c2119e453c77ec7fde7119de5c6cddc2 |
| results-len512/Classification/scores_massive_scenario_classification.json | 619 B (619 B) | d7198d3e5cab2eb6cf9d2d6f1b0b9c586d2b802d | 7092e9d5c07b0ac4f13e71d4814ac7ad92b71946d5fc71d3cb96f909638e8fde |
| results-len512/Clustering/scores_livedoor_news.json | 1.3 KB (1,315 B) | 2b85b82f4d7a7f63897f8af74d87c02623e4cf23 | a83de2279fc78332311a18c9100c044fcd3328b402717a71af408210397cabe4 |
| results-len512/Clustering/scores_mewsc16.json | 1.3 KB (1,296 B) | d383a47f033adfb420a438881bec80699e8220bb | e4b0b860482b803ef25ad06e84b2e860b8050c9de98bb2fb6d07fbc2d66c9d72 |
| results-len512/PairClassification/scores_paws_x_ja.json | 1.4 KB (1,453 B) | b7455b19c02d51ab575a8379cc9a0873938b40e6 | 6bc8ddfaa0b318a528d050cf41d16f1920b74f83b884b1a8588ee99d1c525eaa |
| results-len512/Reranking/scores_esci.json | 968 B (968 B) | 468a703240cecbb02bf51b5efd7298b11aab50fe | 1c8ddf455d19316bc7c97e56692da20c02b2039b1b7f9271a4dd19ba6ec8ab47 |
| results-len512/Retrieval/scores_jagovfaqs_22k.json | 1.5 KB (1,583 B) | ece95b332986fd413f804ae02e5b418611b2de51 | aed2633154c52eb684f59d3257e93601d5cb382428c7338611e12b5d4dc29536 |
| results-len512/Retrieval/scores_jaqket.json | 1.5 KB (1,582 B) | 72b49444fc4dc0d87d29025146467cbf20ec5779 | 6aa90b4b07d32b5f9b390b2b90be010cd6a151a24ddd6ab11b2c9837bac78ae7 |
| results-len512/Retrieval/scores_mrtydi.json | 1.5 KB (1,583 B) | d8ecb6540f6212b0fd26fb443e33814137864aea | d0d893fe429b97d5a6dba3ce47750f85ad4cf63c3ce06cc8138e6f776bb4d38e |
| results-len512/Retrieval/scores_nlp_journal_abs_intro.json | 1.5 KB (1,584 B) | df46837872197e070660b9d6406b5103cc886ec0 | 12ef143bfd867fe0ea6e63b080d0271a63e75dd9437ce00bd02ae21da158cec2 |
| results-len512/Retrieval/scores_nlp_journal_title_abs.json | 1.5 KB (1,538 B) | c9d1f8f96ef8b1b61462fe6f15f8f39659a30917 | b6c8194badf6addf325275de8ca68abdb0e3214f51510d4ad789cd0b44378508 |
| results-len512/Retrieval/scores_nlp_journal_title_intro.json | 1.5 KB (1,584 B) | e0c32e1367e7314416952cf62e317f5169e3711d | f2e565127ac733f65a1846d8e3fd602e3c1aafcba52863bc459cf74a4fbe2cac |
| results-len512/STS/scores_jsick.json | 939 B (939 B) | 3fdef7333da88c5acef1233d944fc3e23b7eb29f | 7908d778e7cd0500abb0f2b1e7f8efa7d99060c38bf8e20cabb3e1cf93a5bb6f |
| results-len512/STS/scores_jsts.json | 937 B (937 B) | c71b77c89797e1feba43ac99b3de3980b861a8c9 | dc21fc460bef40346c78bb5125f620e6d89aa546d7a58b52ae98a27854e9f19c |
| results-len512/summary.json | 1.5 KB (1,512 B) | 0a39080499f05242936f640675c3c0e216a1ba96 | eabc54e8e0ceb727c589d8816bcbc5d333b4f5a9e8e637f197dcfaa59bb6ba71 |
| results/Classification/scores_amazon_counterfactual_classification.json | 618 B (618 B) | 7b15257ff6d5b0dfea0465a9fc5647016ae9fe33 | e78046f5741b80525a884514a007977c36acd15b3b101d6b37096c2acbf7cca1 |
| results/Classification/scores_amazon_review_classification.json | 583 B (583 B) | ee92d4fbfc3c5d7835e4ec387eac2ff8d1664c69 | 5a1b36177403a19e7283e0804d1aa78202ff1f9b311cd03c947f7d26f748bad5 |
| results/Classification/scores_massive_intent_classification.json | 618 B (618 B) | bb0f80ea2dce1fb06fb3ec4bdd0a39647f3f9c50 | 6b03629cd44d6de17956b207c9be9f50c2119e453c77ec7fde7119de5c6cddc2 |
| results/Classification/scores_massive_scenario_classification.json | 619 B (619 B) | d7198d3e5cab2eb6cf9d2d6f1b0b9c586d2b802d | 7092e9d5c07b0ac4f13e71d4814ac7ad92b71946d5fc71d3cb96f909638e8fde |
| results/Clustering/scores_livedoor_news.json | 1.3 KB (1,313 B) | 161e63587de36fd9ed6cff762dd029edc9852ed3 | ff81c65ab20d857f52ab55a2cd60f6dbfb6c03b28930a8bc22c34e77f29eeec1 |
| results/Clustering/scores_mewsc16.json | 1.3 KB (1,294 B) | cfdc33652a90585130061a8e7099d907a00e4af3 | 42d7263e0945e53ef2b7cebd85d8a33c6a77983a4a704ab7d6379cbac3fbe562 |
| results/PairClassification/scores_paws_x_ja.json | 1.4 KB (1,453 B) | b7455b19c02d51ab575a8379cc9a0873938b40e6 | 6bc8ddfaa0b318a528d050cf41d16f1920b74f83b884b1a8588ee99d1c525eaa |
| results/Reranking/scores_esci.json | 973 B (973 B) | 0cca2ff5e963ea4647e6843bb9e1200bc51abf17 | 17a3a7672aeb84828459af35c592079b0187cb0cc62e43c04c5539143aca9024 |
| results/Retrieval/scores_jagovfaqs_22k.json | 1.5 KB (1,580 B) | 19bc90ac9482fbb69d57e8669687e9bded495558 | 5a68e751181e6fd4a6bca55b3fc4876da807548618ae29fef541bf52e7057798 |
| results/Retrieval/scores_jaqket.json | 1.5 KB (1,587 B) | 8eff1e0b58dccd1bf0bf0785f1df76ea03593555 | 4ce055b7efcaa1e8d5b0a3f6f3c0e118a9fb510c29e21133df08816077467ce2 |
| results/Retrieval/scores_mrtydi.json | 1.5 KB (1,583 B) | 569e4394150a3cbb08cbb72a1e1e247baadea081 | 838eec192e6efbce6d141a8aa1b88b4ef2336afb6791687dec2dfb0ad59101ef |
| results/Retrieval/scores_nlp_journal_abs_intro.json | 1.3 KB (1,375 B) | 8d1ffe6ce969d68fee6740c810260b4c00461738 | cfab40777748d67e00ebaf5d3241cee7e990f8bd360bd3d567eef17f52861778 |
| results/Retrieval/scores_nlp_journal_title_abs.json | 1.5 KB (1,538 B) | c9d1f8f96ef8b1b61462fe6f15f8f39659a30917 | b6c8194badf6addf325275de8ca68abdb0e3214f51510d4ad789cd0b44378508 |
| results/Retrieval/scores_nlp_journal_title_intro.json | 1.5 KB (1,583 B) | f4cdc0b5dfa966dd5b7653652efad7d6ff5690ed | 3545c572039b4a8f21b5a82922410da7d05124613a54a91bd178b6994b7f79d5 |
| results/STS/scores_jsick.json | 939 B (939 B) | 3fdef7333da88c5acef1233d944fc3e23b7eb29f | 7908d778e7cd0500abb0f2b1e7f8efa7d99060c38bf8e20cabb3e1cf93a5bb6f |
| results/STS/scores_jsts.json | 937 B (937 B) | c71b77c89797e1feba43ac99b3de3980b861a8c9 | dc21fc460bef40346c78bb5125f620e6d89aa546d7a58b52ae98a27854e9f19c |
| results/summary.json | 1.5 KB (1,512 B) | ac898aeac4ef16b01b9c73fa212a9736a212869f | 5373d41823d6851b7e12a754aae6045cc623ed05ab0db01531a5ffc2f5326ae9 |
| sentence_bert_config.json | 54 B (54 B) | 0140ba1eac83a3c9b857d64baba91969d988624b | eb9b44b13c0f52a3b3685c3b1cbdea1ba8b04bea123b98f61610048940776eb1 |
| special_tokens_map.json | 968 B (968 B) | 5b2990c23a7b26649482db1fdd447b0aee8b14d3 | 30bf8256f9a1eb3287af2a9b7940465e29a38aad4a459a3e773bb3a14bd34c0f |
| tokenizer.json | 6.4 MB (6,724,873 B) | 8289cb63738c88756e373156923ca5c6de4518d0 | 0a94ac9a0a02c067bdef25b72ae9f4ee33f48f552e55988d444f6d25eeb1d062 |
| tokenizer.model | 1.7 MB (1,831,879 B) | a7174bcb30a823fc9b2e2962d997296ce6751c6d | 008293028e1a9d9a1038d9b63d989a2319797dfeaa03f171093a57b33a3a8277 |
| tokenizer_config.json | 3.7 KB (3,779 B) | c3048587f403be5134d92a477ba807cd5d763a72 | 34004511993472f15c7202074284c57788c161fb6567de164b8e0c0266f155e4 |
Cite this release
- Canonical URL
- https://aiseedbank.org/models/cl-nagoya_ruri-v3-310m/
- Slug
- cl-nagoya_ruri-v3-310m
- Infohash
- 047f502a15c9f93caef626dd6ee64b80e09588d5
- License
- apache-2.0
- Signing key fingerprint
- 85a3b32c3712427b
Every file carries a locally computed sha256 — verify a download against the signed sums: cl-nagoya_ruri-v3-310m.SHA256SUMS (+ minisign signature).
Provenance
| Upstream repository | cl-nagoya/ruri-v3-310m |
|---|---|
| Revision (pinned) | 18b60fb8c2b9df296fb4212bb7d23ef94e579cd3 |
| Fetched at | 2026-09-03T21:20:42Z |
| License at fetch | apache-2.0 |
| Snapshot tool | huggingface · seedbank 0.1.0 |
Trackers
- udp://announce.aitorrent.org:6969/announce
- http://announce.aitorrent.org:7070/announce
- udp://announce2.aitorrent.org:6970/announce
- http://announce2.aitorrent.org:7071/announce
- udp://tracker.opentrackr.org:1337/announce
- udp://open.demonii.com:1337/announce
- udp://open.stealth.si:80/announce
- udp://exodus.desync.com:6969/announce
- udp://tracker.torrent.eu.org:451/announce
✓ verified · rehash-vs-hf-metadata at 2026-09-03T21:21:00Z
apache-2.01.18 GB (1,267,074,726 bytes)safetensorsmodernbertsentence-similarityfeature-extraction1 language (ja)paper: 2409.07737