Model reference · open weights

ruri

Embeddings cl-nagoya Embeddings 5 builds Open weights 426k dl/mo

ruri is an open-weight embedding model from cl-nagoya. ruri-v3-130m (FP32) weighs 264 MB; the smallest configuration that runs it is RTX 3060 12 GB.

  • Ruri v3 is a Japanese text embedding model developed by cl-nagoya for sentence-similarity tasks.
  • It features 315M parameters, supports a context length of 8192 tokens, and uses a 768-dimensional output.
  • The model is licensed under Apache 2.0.

Summary of the cl-nagoya/ruri-v3-310m model card, 2026-10-01. The estimate below is for another build of the family.

What it is

Released bycl-nagoya
Released2025-04-09
Parameters315M
VRAM264 MB for the weights

What it runs on

Memory and cards for ruri-v3-130m (FP32)

264 MBweights, file size
1.1 GBruntime overhead
CardRunsMemory
RTX 3060 12 GBfits11.6 GB
RTX 4060 Ti 16 GBfits15.4 GB
RTX 3090 24 GBfits23.4 GB
RTX 4090 24 GBfits23.4 GB
RTX 5090 32 GBfits31.0 GB
L40S 48 GBfits44.0 GB
A100 80 GBfits78.2 GB
H100 80 GBfits78.1 GB
RTX PRO 6000 Blackwell 96 GBfits93.8 GB
DGX Spark (GB10) 128 GB unifiedfits107 GB
H200 141 GBfits138 GB
B200 180 GBfits176 GB

Builds

Sizes, precisions & builds

BuildParamsPrecisionWeightsSmallest setup
ruri-v3-310m ↗ 315MFP32 629 MBRTX 3060 12 GB
ruri-v3-30m ↗ 37MFP32 73 MBRTX 3060 12 GB
ruri-v3-130m (above) ↗ 132MFP32 264 MBRTX 3060 12 GB
ruri-v3-70m ↗ 70MFP32 140 MBRTX 3060 12 GB
ruri-base ↗ 111MBF16 222 MBRTX 3060 12 GB

From the model card

What cl-nagoya says about ruri

Read the model card

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.#LayersAvg. JMTEB
cl-nagoya/ruri-v3-30m37M10M2561074.51
cl-nagoya/ruri-v3-70m70M31M3841375.48
cl-nagoya/ruri-v3-130m132M80M5121976.55
cl-nagoya/ruri-v3-310m315M236M7682577.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.RetrievalSTSClassfificationRerankingClusteringPairClassification
Ruri-v3-30m37M74.5178.0882.4874.8093.0052.1262.40
Ruri-v3-70m70M75.4879.9679.8276.9793.2752.7061.75
Ruri-v3-130m132M76.5581.8979.2577.1693.3155.3662.26
Ruri-v3-310m(this model)315M77.2481.8981.2278.6693.4355.6962.60
sbintuitions/sarashina-embedding-v1-1b1.22B75.5077.6182.7178.3793.7453.8662.00
PLaMo-Embedding-1B1.05B76.1079.9483.1477.2093.5753.4762.37
OpenAI/text-embedding-ada-002-69.4864.3879.0269.7593.0448.3062.40
OpenAI/text-embedding-3-small-70.8666.3979.4673.0692.9251.0662.27
OpenAI/text-embedding-3-large-73.9774.4882.5277.5893.5853.3262.35
pkshatech/GLuCoSE-base-ja133M70.4459.0278.7176.8291.9049.7866.39
pkshatech/GLuCoSE-base-ja-v2133M72.2373.3682.9674.2193.0148.6562.37
retrieva-jp/amber-base130M72.1273.4077.8176.1493.2748.0564.03
retrieva-jp/amber-large315M73.2275.4079.3277.1493.5448.7360.97
sentence-transformers/LaBSE472M64.7040.1276.5672.6691.6344.8862.33
intfloat/multilingual-e5-small118M69.5267.2780.0767.6293.0346.9162.19
intfloat/multilingual-e5-base278M70.1268.2179.8469.3092.8548.2662.26
intfloat/multilingual-e5-large560M71.6570.9879.7072.8992.9651.2462.15
Ruri-Small68M71.5369.4182.7976.2293.0051.1962.11
Ruri-Small v268M73.3073.9482.9176.1793.2051.5862.32
Ruri-Base111M71.9169.8282.8775.5892.9154.1662.38
Ruri-Base v2111M72.4872.3383.0375.3493.1751.3862.35
Ruri-Large337M73.3173.0283.1377.4392.9951.8262.29
[Ruri-Large v2](https

Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms