alt.freeweights.embed / ruri-v3-30m
From: cl-nagoya <huggingface.co/cl-nagoya>Newsgroups: alt.freeweights.embedSubject:

ruri-v3-30m

Date: 2026-11-15Commit: 24899e5Signed: 2DC28CC7B26A283B ✓

Sentence similarity model with 37M parameters. Safetensors weights, 155 MB in all. Published by cl-nagoya under Apache-2.0.

37M params155MBruri-v3-30msafetensorspermissive
FactsParams37MSize155 MBFormatssafetensorsTasksentence similarityLicenseApache-2.0From sourcepermissive
$ fw get cl-nagoya/ruri-v3-30m
# manifest sha256 97f3c1c3c82c… · 155 MB · 46 files
$ fw verify ./ruri-v3-30m cl-nagoya/ruri-v3-30m
From sourceHosted (signed)cl-nagoya/ruri-v3-30mLast check: 2026-11-15 02:30 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Works with

Evaluate with

Overview

Size
155 MB
Weights
147 MB (safetensors)
Parameters
37M
Formats
safetensors
Task
sentence similarity
License
Apache-2.0 (permissive)
Files
46, each with a sha256
Publisher
cl-nagoya
Added
2026-11-15
Section
alt.freeweights.embed
Lineage

Original release from the publisher.

Base model: cl-nagoya/ruri-v3-pt-30m

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 02:30 UTCpassed

Model card

From the publisher at commit 24899e5. Shown as plain text with links; images open at the publisher.

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-30m", 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, 256]

similarities = F.cosine_similarity(embeddings.unsqueeze(0), embeddings.unsqueeze(1), dim=2)
print(similarities)
# [[1.0000, 0.9540, 0.8512, 0.7322, 0.7274],
#  [0.9540, 1.0000, 0.8531, 0.7437, 0.7305],
#  [0.8512, 0.8531, 1.0000, 0.8910, 0.8649],
#  [0.7322, 0.7437, 0.8910, 1.0000, 0.9479],
#  [0.7274, 0.7305, 0.8649, 0.9479, 1.0000]]

Benchmarks#

JMTEB#

Evaluated with JMTEB.

|Model|#Param.|Avg.|Retrieval|STS|Classfification|Reranking|Clustering|PairClassification|

|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|

||||||||||

|Ruri-v3-30m (this model)|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|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#
Full Model Architecture#
SentenceTransformer(
  (0): Transformer({'max_seq_length': 8192, 'do_lower_case': False}) with Transformer model: ModernBertModel 
  (1): Pooling({'word_embedding_dimension': 256, '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.

Files

46 files · 155 MBWeights 147 MB (safetensors). Sizes and sha256 from the signed manifest.
Show all 46 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
1_Pooling/config.json296 B38d3f4705824ec41c63a0b14e19870d59c7e16eac9c0aac3378be1ce548bc313
README.md7.94 KB99ed37d027742a41691a862a1646ece9be68ff63d1184ad3bb7c0bfc0844c414
config.json1.32 KB3230a8666ce50d245a0e68f5bff4682c419c541f1212ba001a497f327fb7a9e5
config_sentence_transformers.json205 Bda3bacc571a0581d71730e3962684164415dcaeccfde1273b1163702e93f7dd0
model.safetensors147 MBe94155e342cbfc33280c345c6e2912905fb5de6e1a3adeb938f395aafd2f8832
modules.json229 B8f4b264b80206c830bebbdcae377e137925650a433b689343a63bdc9b3145460
results-len512/Classification/scores_amazon_counterfactual_classification.json620 B670969a9d5b504cb2c9b7c42d0a5bd7762e08e1444df586691801781255d8f2b
results-len512/Classification/scores_amazon_review_classification.json584 B66274d010984a99398211cf7240fd537d4d794d2d9eae1365718fc7eb8eee34a
results-len512/Classification/scores_massive_intent_classification.json620 B5aead18036f703ccf5525f38cc86114223415ff2b46b0b7b3bf8f5c30a8dcf34
results-len512/Classification/scores_massive_scenario_classification.json619 B8e4fafc85a4df51cc25c4b8720be634845cff2c482297b7d7f31c8ac3f2d49c2
results-len512/Clustering/scores_livedoor_news.json1.31 KB431b82c653c55d42cdfd0cc94a02e0f6b1cdc5d101c745fdb925df3f5f693395
results-len512/Clustering/scores_mewsc16.json1.33 KBf3de16717f1971061df8f3770e3ca2cafd90d09567b7493b2ebb0f49f4b574e5
results-len512/PairClassification/scores_paws_x_ja.json1.46 KB1af621218d62debffb6442c94c55a43d59a824c867d95c9e72bf59d7b1df7e75
results-len512/Reranking/scores_esci.json973 B0ce18c36af7fc9432f6b3b2ba4b7242dc9380f622661ea7adf1f2a8a8cee647a
results-len512/Retrieval/scores_jagovfaqs_22k.json1.59 KB6341753b7568701034205b01ce0ea10c592eef8b4cc2cec219fea94197f517dc
results-len512/Retrieval/scores_jaqket.json1.59 KBa6330331c29f219c81d28cfb986af13b888aa6327027a4fffba36c15bfc1080d
results-len512/Retrieval/scores_mrtydi.json1.56 KB55f6da3940241b752369ddd02945641fc20eba2d8c4db5bfc702e1113c97688d
results-len512/Retrieval/scores_nlp_journal_abs_intro.json1.57 KB8b73dd9ab0c74f10a14c426154e0f9c6192dfcf22ecc1fc31e6710b24b99552c
results-len512/Retrieval/scores_nlp_journal_title_abs.json1.52 KB2f3ddcff81e682bdd72ca803878901faa47d6be655b0b01e0e4ab85a0dd4a319
results-len512/Retrieval/scores_nlp_journal_title_intro.json1.59 KBadf8efdd1f93a8754d6d837f17ba7415dbc0a7badfbf46e4e3407fde290e3a8d
results-len512/STS/scores_jsick.json937 B0f1a47921cfb21d9ef62166290563a6768417c8e0cfabcdb572bb23dc7ece604
results-len512/STS/scores_jsts.json940 Bdfeae68df44665a539f4e5cbde4a9d20bfc6b5a1450fa4e92de834733526ca49
results-len512/summary.json1.51 KB62781ac6d3de04a694198b720241970ed96ddbae9cfeae29bdcda2f920a062f0
results/Classification/scores_amazon_counterfactual_classification.json620 B670969a9d5b504cb2c9b7c42d0a5bd7762e08e1444df586691801781255d8f2b
results/Classification/scores_amazon_review_classification.json583 Bb404c89e36c614b67a5201be0d9623b33994ebc5df9d18acd500c9f7c7aaec7a
results/Classification/scores_massive_intent_classification.json620 B5aead18036f703ccf5525f38cc86114223415ff2b46b0b7b3bf8f5c30a8dcf34
results/Classification/scores_massive_scenario_classification.json619 B8e4fafc85a4df51cc25c4b8720be634845cff2c482297b7d7f31c8ac3f2d49c2
results/Clustering/scores_livedoor_news.json1.31 KBd6c5cf99bae2218a50c3966f981d140e56611a2f6e9c14a3c5d28d3725dde382
results/Clustering/scores_mewsc16.json1.33 KBd380ce31f53d060d7228f2efc199dda7a372b6a6c225a02249df826e719eec68
results/PairClassification/scores_paws_x_ja.json1.46 KB1af621218d62debffb6442c94c55a43d59a824c867d95c9e72bf59d7b1df7e75
results/Reranking/scores_esci.json970 Bdc9530373809f485718748055e92c155c067c1ce3e9a9ba4f58a42e607a74d18
results/Retrieval/scores_jagovfaqs_22k.json1.59 KB003e1e3d8ea20e7e388821521e86ac7748ff6a44f462a21eecf9ea6e5f44cf89
results/Retrieval/scores_jaqket.json1.59 KB31a51ffb857387e3c395c87f177a1ea0216378819af307899a2e3724ce58ce47
results/Retrieval/scores_mrtydi.json1.58 KB8043bb2f1e8b31dabdae71d5b3818777a314e357c96c28c72bc9ac5df6186e08
results/Retrieval/scores_nlp_journal_abs_intro.json1.45 KBd1a72c16b888c1baec1854ccb3d8c257c899c324c93c99fe298ead2e046fafc7
results/Retrieval/scores_nlp_journal_title_abs.json1.52 KB2f3ddcff81e682bdd72ca803878901faa47d6be655b0b01e0e4ab85a0dd4a319
results/Retrieval/scores_nlp_journal_title_intro.json1.51 KBd51fc6a339ec2a09a207949365f0e907287b53ac452f9d81d357c64850833fa8
results/STS/scores_jsick.json937 B0f1a47921cfb21d9ef62166290563a6768417c8e0cfabcdb572bb23dc7ece604
results/STS/scores_jsts.json940 Bdfeae68df44665a539f4e5cbde4a9d20bfc6b5a1450fa4e92de834733526ca49
results/summary.json1.51 KB85d9a0208f52fc63f87e3b5363e3989b30487d85c10c23abb8a74a0c6401160f
sentence_bert_config.json54 Beb9b44b13c0f52a3b3685c3b1cbdea1ba8b04bea123b98f61610048940776eb1
special_tokens_map.json968 B30bf8256f9a1eb3287af2a9b7940465e29a38aad4a459a3e773bb3a14bd34c0f
tokenizer.json6.72 MB0a94ac9a0a02c067bdef25b72ae9f4ee33f48f552e55988d444f6d25eeb1d062
tokenizer.model1.83 MB008293028e1a9d9a1038d9b63d989a2319797dfeaa03f171093a57b33a3a8277
tokenizer_config.json3.78 KB34004511993472f15c7202074284c57788c161fb6567de164b8e0c0266f155e4
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
24899e5de3 pinned now2026-11-15 02:30 UTC46 files · 155 MB

Use it

$ fw get cl-nagoya/ruri-v3-30m
# manifest sha256 97f3c1c3c82c… · 155 MB · 46 files
$ fw verify ./ruri-v3-30m cl-nagoya/ruri-v3-30m
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/cl-nagoya/ruri-v3-30m.json --dir ./ruri-v3-30m $ python3 fw.py verify ./ruri-v3-30m ./cl-nagoya__ruri-v3-30m.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download cl-nagoya/ruri-v3-30m --revision 24899e5de370b56d179604a007c0d727bf144504 --local-dir ./ruri-v3-30m
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModel, AutoTokenizer tok = AutoTokenizer.from_pretrained("cl-nagoya/ruri-v3-30m", revision="24899e5de370b56d179604a007c0d727bf144504") model = AutoModel.from_pretrained("cl-nagoya/ruri-v3-30m", revision="24899e5de370b56d179604a007c0d727bf144504", device_map="auto")
sentence-transformersEmbed text with sentence-transformers.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from sentence_transformers import SentenceTransformer model = SentenceTransformer("cl-nagoya/ruri-v3-30m", revision="24899e5de370b56d179604a007c0d727bf144504") vectors = model.encode(["Hello"])

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
99ed37d027742a41691a862a1646ece9be68ff63d1184ad3bb7c0bfc0844c414
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: cl-nagoya <huggingface.co/cl-nagoya>Newsgroups: alt.freeweights.embedSubject: ruri-v3-30mDate: 2026-11-15Commit: 24899e5Signed: 2DC28CC7B26A283B ✓
Upstream
cl-nagoya/ruri-v3-30m
Pinned commit
24899e5de370b56d179604a007c0d727bf144504
Manifest
ruri-v3-30m.json · .minisig
Manifest sha256
97f3c1c3c82cf214c31048491970458f81c2ae4161627e2af14ff677c615c52c
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:30 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/cl-nagoya/ruri-v3-30m.json $ curl -O https://freeweights.allternit.com/manifests/cl-nagoya/ruri-v3-30m.json.minisig $ minisign -Vm ruri-v3-30m.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

Parent

cl-nagoya/ruri-v3-pt-30m (not in this catalog) · this model is a finetune of it

1 model in the catalog name this one as their parent.

Quantizations
1
Quantizations 1
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download cl-nagoya/ruri-v3-30m
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. ruri-v3-30m.json. Provenance. Takedown history: none.

Variants

1 quantized or adapter build of ruri-v3-30m. Each has its own license check and page.

From: sentence-transformers <huggingface.co/sentence-transformers>Subject: all-MiniLM-L6-v1
From: unsloth <huggingface.co/unsloth>Subject: all-MiniLM-L6-v2
From: mlx-community <huggingface.co/mlx-community>Subject: all-MiniLM-L6-v2-4bit
From: sentence-transformers <huggingface.co/sentence-transformers>Subject: all-mpnet-base-v1
From: sentence-transformers <huggingface.co/sentence-transformers>Subject: allenai-specter
From: sentence-transformers <huggingface.co/sentence-transformers>Subject: bert-base-nli-max-tokens