cl-nagoya_ruri-v3-reranker-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 library_name: sentence-transformers tags:
- sentence-transformers
- feature-extraction base_model: cl-nagoya/ruri-v3-pt-310m widget: [] pipeline_tag: text-ranking license: apache-2.0 datasets:
- cl-nagoya/ruri-v3-dataset-reranker
Ruri-Reranker: Japanese General Reranker
Ruri-v3 Reranker is a general-purpose Japanese reranker model built on top of ModernBERT-Ja. Ruri v3 offers several key technical advantages:
- State-of-the-art performance with good robustness for vaious domains
- Supports sequence lengths up to 8192 tokens
- Expanded vocabulary of 100K tokens, compared to 32K in v1 and v2
- Integrated FlashAttention, following ModernBERT's architecture
- Tokenizer based solely on SentencePiece
How to Use
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
Example Usage (Sentence Transformers)
from sentence_transformers import CrossEncoder
# Download from the 🤗 Hub
model = CrossEncoder("cl-nagoya/ruri-v3-reranker-310m")
inputs = [
[
"瑠璃色はどんな色?",
"瑠璃色(るりいろ)は、紫みを帯びた濃い青。名は、半貴石の瑠璃(ラピスラズリ、英: lapis lazuli)による。JIS慣用色名では「こい紫みの青」(略号 dp-pB)と定義している[1][2]。",
],
[
"瑠璃色 なに",
"瑠璃色(るりいろ)は、紫みを帯びた濃い青。名は、半貴石の瑠璃(ラピスラズリ、英: lapis lazuli)による。JIS慣用色名では「こい紫みの青」(略号 dp-pB)と定義している[1][2]。",
],
[
"瑠璃色はどんな色?",
"ワシ、タカ、ハゲワシ、ハヤブサ、コンドル、フクロウが代表的である。これらの猛禽類はリンネ前後の時代(17~18世紀)には鷲類・鷹類・隼類及び梟類に分類された。ちなみにリンネは狩りをする鳥を単一の目(もく)にまとめ、vultur(コンドル、ハゲワシ)、falco(ワシ、タカ、ハヤブサなど)、strix(フクロウ)、lanius(モズ)の4属を含めている。",
],
[
"ワシやタカのように、鋭いくちばしと爪を持った大型の鳥類を総称して「何類」というでしょう?",
"ワシ、タカ、ハゲワシ、ハヤブサ、コンドル、フクロウが代表的である。これらの猛禽類はリンネ前後の時代(17~18世紀)には鷲類・鷹類・隼類及び梟類に分類された。ちなみにリンネは狩りをする鳥を単一の目(もく)にまとめ、vultur(コンドル、ハゲワシ)、falco(ワシ、タカ、ハヤブサなど)、strix(フクロウ)、lanius(モズ)の4属を含めている。",
],
[
"ワシやタカのように、鋭いくちばしと爪を持った大型の鳥類を総称して「何類」というでしょう?",
"瑠璃色(るりいろ)は、紫みを帯びた濃い青。名は、半貴石の瑠璃(ラピスラズリ、英: lapis lazuli)による。JIS慣用色名では「こい紫みの青」(略号 dp-pB)と定義している[1][2]。",
],
]
scores = model.predict(inputs)
print(scores)
# [
# 0.9999963,
# 0.9996056,
# 0.00035428265,
# 0.9672038,
# 0.00002276988,
# ]
result = model.rank(
query="瑠璃色はどんな色?",
documents=[
"ワシ、タカ、ハゲワシ、ハヤブサ、コンドル、フクロウが代表的である。これらの猛禽類はリンネ前後の時代(17~18世紀)には鷲類・鷹類・隼類及び梟類に分類された。ちなみにリンネは狩りをする鳥を単一の目(もく)にまとめ、vultur(コンドル、ハゲワシ)、falco(ワシ、タカ、ハヤブサなど)、strix(フクロウ)、lanius(モズ)の4属を含めている。",
"瑠璃、または琉璃(るり)は、仏教の七宝の一つ。サンスクリットの vaiḍūrya またはそのプラークリット形の音訳である。金緑石のこととも、ラピスラズリであるともいう[1]。",
"瑠璃色(るりいろ)は、紫みを帯びた濃い青。名は、半貴石の瑠璃(ラピスラズリ、英: lapis lazuli)による。JIS慣用色名では「こい紫みの青」(略号 dp-pB)と定義している[1][2]。",
],
)
print(result)
# [
# {'corpus_id': 2, 'score': 0.9999963},
# {'corpus_id': 1, 'score': 0.07984412},
# {'corpus_id': 0, 'score': 0.00035577847},
# ]
Benchmarks
| Model | #Param.(w/o Emb.) | JQaRA nDCG@10 |
JaCWIR MAP@10 |
MIRACL Recall@30 |
|---|---|---|---|---|
| Ruri-v3-reranker-310m | 315M (236M) | 86.9 | 95.4 | 97.3 |
| hotchpotch/japanese-reranker-cross-encoder-xsmall-v1 | 107M (11M) | 61.4 | 93.8 | 90.6 |
| hotchpotch/japanese-reranker-cross-encoder-small-v1 | 118M (21M) | 62.5 | 93.9 | 92.2 |
| hotchpotch/japanese-reranker-cross-encoder-base-v1 | 111M (86M) | 67.1 | 93.4 | 93.3 |
| hotchpotch/japanese-reranker-cross-encoder-large-v1 | 337M (303M) | 71.0 | 93.6 | 91.5 |
| hotchpotch/japanese-bge-reranker-v2-m3-v1 | 568M (303M) | 69.2 | 93.7 | 94.7 |
| BAAI/bge-reranker-v2-m3 | 568M (303M) | 67.3 | 93.4 | 94.9 |
| Ruri-Reranker-Small | 68M (43M) | 64.5 | 92.6 | 92.3 |
| Ruri-Reranker-Base | 111M (86M) | 74.3 | 93.5 | 95.6 |
| Ruri-Reranker-Large | 337M (303M) | 77.1 | 94.1 | 96.1 |
Model Details
Model Description
- Model Type: Sentence Transformer
- Base model: cl-nagoya/ruri-v3-pt-310m
- Maximum Sequence Length: 8192 tokens
- Language: Japanese
- License: Apache 2.0
- Paper: https://arxiv.org/abs/2409.07737
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:2b3615b17760316da5fc0f316762e29fe702bc23&dn=cl-nagoya_ruri-v3-reranker-310mOpen magnet in torrent client · infohash 2b3615b17760316da5fc0f316762e29fe702bc23
Files & hashes
| Path | Size | sha1 | sha256 |
|---|---|---|---|
| README.md | 6.9 KB (7,046 B) | f66599b7d896f75b8dd241c80eb4b3560695c993 | 269ec889c1d7b985ad1cc1b9baf62b6a4917701389f38fea0704f7185df3c2af |
| config.json | 1.3 KB (1,377 B) | 82201a3b509a24b115f50867c7d187cad644fc3c | 62216cae7ea4b690db21aa8c4086a88f26af6173f2795d4c1a807755f3a899a8 |
| model.safetensors | 1.17 GB (1,260,829,436 B) | bdf55d5f03d1415ea1b5e1e41293736b464f4d7f | 9f747a085a0adba9490205357be306ba3234bc958a30a19baa6b0bb14e9e83fe |
| 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-reranker-310m/
- Slug
- cl-nagoya_ruri-v3-reranker-310m
- Infohash
- 2b3615b17760316da5fc0f316762e29fe702bc23
- 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-reranker-310m.SHA256SUMS (+ minisign signature).
Provenance
| Upstream repository | cl-nagoya/ruri-v3-reranker-310m |
|---|---|
| Revision (pinned) | bb46934ee9ed09f850b9fcff17501b3ef7ddb2b3 |
| Fetched at | 2026-09-03T21:21:00Z |
| 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:16Z
apache-2.01.18 GB (1,269,399,358 bytes)sentence-transformerssafetensorsmodernbertfeature-extractiontext-rankingtext-embeddings-inferenceendpoints_compatible1 language (ja)paper: 2409.07737