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

ruri-v3-130m

Date: 2026-11-15Commit: e3114c6Signed: 2DC28CC7B26A283B ✓

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

132M params537MBruri-v3-130msafetensorspermissive
FactsParams132MSize537 MBFormatssafetensorsTasksentence similarityLicenseApache-2.0From sourcepermissive
$ fw get cl-nagoya/ruri-v3-130m
# manifest sha256 b9c59941ae2d… · 537 MB · 46 files
$ fw verify ./ruri-v3-130m cl-nagoya/ruri-v3-130m
From sourceHosted (signed)cl-nagoya/ruri-v3-130mLast check: 2026-11-15 02:31 UTC

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

Works with

Evaluate with

Overview

Size
537 MB
Weights
529 MB (safetensors)
Parameters
132M
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-130m

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:31 UTCpassed

Model card

From the publisher at commit e3114c6. 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-130m", 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, 512]

similarities = F.cosine_similarity(embeddings.unsqueeze(0), embeddings.unsqueeze(1), dim=2)
print(similarities)
# [[1.0000, 0.9564, 0.8183, 0.7000, 0.7108],
#  [0.9564, 1.0000, 0.8112, 0.6994, 0.7117],
#  [0.8183, 0.8112, 1.0000, 0.8788, 0.8514],
#  [0.7000, 0.6994, 0.8788, 1.0000, 0.9448],
#  [0.7108, 0.7117, 0.8514, 0.9448, 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 (this model)|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': 512, '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 · 537 MBWeights 529 MB (safetensors). Sizes and sha256 from the signed manifest.
Show all 46 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
1_Pooling/config.json296 Be2a0d01443aead19eabdc1478d36b71f9f1ac51cc1db115c1d9d036d5106751c
README.md7.94 KB721a4b0d69181869de6c80d23d26144bd647b12ae6099b4ed105d3e969176892
config.json1.32 KBd1dd6fc1235582f38e4d6820d4ca5b4e8e7a118320a9e346dffec162c2793284
config_sentence_transformers.json205 Bda3bacc571a0581d71730e3962684164415dcaeccfde1273b1163702e93f7dd0
model.safetensors529 MB1c342581efc23d0b50b92fb11ac1eeb02719691bcc59bdc0dc0b09a36b4fc6d1
modules.json229 B8f4b264b80206c830bebbdcae377e137925650a433b689343a63bdc9b3145460
results-len512/Classification/scores_amazon_counterfactual_classification.json620 Bf2cf707421d4d817a2a4215c7b3ab942eb475626046e998f7c8f2a8bca06efdd
results-len512/Classification/scores_amazon_review_classification.json584 B5d5f92ddcb1047af90b0d7f4e4689c97ec168acc83a956d77a662820a689c081
results-len512/Classification/scores_massive_intent_classification.json620 Bd2c87e6351864fb7609abe71f301a8d269248ba116eb3db4c866dd8e519d0824
results-len512/Classification/scores_massive_scenario_classification.json618 B1c5df84217be67825ac59ac8269ed5972b9ab7e11126b146b52bca99414e3489
results-len512/Clustering/scores_livedoor_news.json1.31 KBdc290813d39307d201737add659386f2b5fa5e8fcfa21311f00f8c7d7c6425c1
results-len512/Clustering/scores_mewsc16.json1.29 KB7c1cdec6998642faa887b02d9c6c9b44b17df6d5e8c9dbdfb9bc9304a1867a42
results-len512/PairClassification/scores_paws_x_ja.json1.44 KBef6f39d1905eff0dbcc9a733357dab8560397abff71461b3db39c54810ab3d35
results-len512/Reranking/scores_esci.json975 B621685d89f27ea92f734f14275d266bb5d06e4fd3e192eff5d441bbeae2e3c91
results-len512/Retrieval/scores_jagovfaqs_22k.json1.58 KB755186c42bc6119873b64c4a6769696b2525b259523df2db5168d6fb72241161
results-len512/Retrieval/scores_jaqket.json1.58 KB566c28bfd3f3ca56f34575898a11a8612c98a5d3afaec14289b5f162ab160f24
results-len512/Retrieval/scores_mrtydi.json1.59 KB8c202e4dab05d6199ce3705ffa1beb0e41240e8c7a72dac7a3e9b40a8cd4aeab
results-len512/Retrieval/scores_nlp_journal_abs_intro.json1.59 KB52f85b99ef283a4110a1f021a644406dec7ee5fc97476c85eedf723df1e9145e
results-len512/Retrieval/scores_nlp_journal_title_abs.json1.50 KBa399e5203e47afbcca40df63207b227b4d1602da52cab8fc404426e797ac6748
results-len512/Retrieval/scores_nlp_journal_title_intro.json1.58 KB75a615eb4a42d642d4a23f982a03e0b0eb4214943fd1b5202618563c2335ae47
results-len512/STS/scores_jsick.json938 Bdd7d54c29be64cc2d02eb586e825418420d0d394ba4f7e64f116fe925d69ac50
results-len512/STS/scores_jsts.json937 B546acde3c5ee4610fba28770699b8d0e8394262d257bcb27b62d1d0e857e0094
results-len512/summary.json1.51 KB537486336b52b59e2ee9fa42e6cce413da437389f883a30907301ba37fd81df6
results/Classification/scores_amazon_counterfactual_classification.json620 Bf2cf707421d4d817a2a4215c7b3ab942eb475626046e998f7c8f2a8bca06efdd
results/Classification/scores_amazon_review_classification.json584 Bf70664a2e642744117a79b36c978de1d1bac79b8540cc0dfe26ea41025bceffd
results/Classification/scores_massive_intent_classification.json620 Bd2c87e6351864fb7609abe71f301a8d269248ba116eb3db4c866dd8e519d0824
results/Classification/scores_massive_scenario_classification.json618 B1c5df84217be67825ac59ac8269ed5972b9ab7e11126b146b52bca99414e3489
results/Clustering/scores_livedoor_news.json1.31 KB457e95e32327524bca66b64cc6a26b6862328b137d8787718eea945b6a876104
results/Clustering/scores_mewsc16.json1.29 KB02ce2fb335a8139d0e2d27a953cc584db64d86ccac112033027951c579b8db78
results/PairClassification/scores_paws_x_ja.json1.44 KBef6f39d1905eff0dbcc9a733357dab8560397abff71461b3db39c54810ab3d35
results/Reranking/scores_esci.json973 Bf9078248507dc2e2d1814a12856e38045ae88dd0e370e5813ef0f80cbde1b9cb
results/Retrieval/scores_jagovfaqs_22k.json1.59 KBdbe92b7c4dd2600861c9ab521b75306ab6e5322bbeffc26c313dc66a014cf647
results/Retrieval/scores_jaqket.json1.59 KB488bb3d7a893cab00ca82539d544998cba2e8948e9bfb3e5d13239cc4323748a
results/Retrieval/scores_mrtydi.json1.59 KBd5be49879b5571283480042591cfc779a42981027fe8f86255513f1ff4c9045e
results/Retrieval/scores_nlp_journal_abs_intro.json1.40 KB8d4c6ff8f850f305ce7b4d282257fb6e284c114eb2758cd804a1d16395e92bdb
results/Retrieval/scores_nlp_journal_title_abs.json1.50 KBa399e5203e47afbcca40df63207b227b4d1602da52cab8fc404426e797ac6748
results/Retrieval/scores_nlp_journal_title_intro.json1.57 KBd24e46685f156997b921bde2a763d27401943ff129246ea7cdcde8795339a4eb
results/STS/scores_jsick.json938 Bdd7d54c29be64cc2d02eb586e825418420d0d394ba4f7e64f116fe925d69ac50
results/STS/scores_jsts.json937 B546acde3c5ee4610fba28770699b8d0e8394262d257bcb27b62d1d0e857e0094
results/summary.json1.51 KBf02276538fd8c3692c567fd554a5ed3d16c8b14aa597a9949f559f1917b6160f
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
e3114c6ee1 pinned now2026-11-15 02:31 UTC46 files · 537 MB

Use it

$ fw get cl-nagoya/ruri-v3-130m
# manifest sha256 b9c59941ae2d… · 537 MB · 46 files
$ fw verify ./ruri-v3-130m cl-nagoya/ruri-v3-130m
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-130m.json --dir ./ruri-v3-130m $ python3 fw.py verify ./ruri-v3-130m ./cl-nagoya__ruri-v3-130m.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download cl-nagoya/ruri-v3-130m --revision e3114c6ee10dbab8b4b235fbc6dcf9dd4d5ac1a6 --local-dir ./ruri-v3-130m
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-130m", revision="e3114c6ee10dbab8b4b235fbc6dcf9dd4d5ac1a6") model = AutoModel.from_pretrained("cl-nagoya/ruri-v3-130m", revision="e3114c6ee10dbab8b4b235fbc6dcf9dd4d5ac1a6", 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-130m", revision="e3114c6ee10dbab8b4b235fbc6dcf9dd4d5ac1a6") 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
721a4b0d69181869de6c80d23d26144bd647b12ae6099b4ed105d3e969176892
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-130mDate: 2026-11-15Commit: e3114c6Signed: 2DC28CC7B26A283B ✓
Upstream
cl-nagoya/ruri-v3-130m
Pinned commit
e3114c6ee10dbab8b4b235fbc6dcf9dd4d5ac1a6
Manifest
ruri-v3-130m.json · .minisig
Manifest sha256
b9c59941ae2d18b9174eefc34c3f09232288d1f66e26c14cbda7acf48e7ae4ca
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:31 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/cl-nagoya/ruri-v3-130m.json $ curl -O https://freeweights.allternit.com/manifests/cl-nagoya/ruri-v3-130m.json.minisig $ minisign -Vm ruri-v3-130m.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-130m (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-130m
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-130m.json. Provenance. Takedown history: none.

Variants

1 quantized or adapter build of ruri-v3-130m. 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