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

ruri-v3-310m

Date: 2026-11-15Commit: 18b60fbSigned: 2DC28CC7B26A283B ✓

Sentence similarity model with 315M parameters. Safetensors weights, 1.27 GB in all. Published by cl-nagoya under Apache-2.0.

315M params1.27GBruri-v3-310msafetensorspermissive
FactsParams315MSize1.27 GBFormatssafetensorsTasksentence similarityLicenseApache-2.0From sourcepermissive
$ fw get cl-nagoya/ruri-v3-310m
# manifest sha256 ee7fb134b2d1… · 1.27 GB · 46 files
$ fw verify ./ruri-v3-310m cl-nagoya/ruri-v3-310m
From sourceHosted (signed)cl-nagoya/ruri-v3-310mLast check: 2026-11-15 02:26 UTC

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

Works with

Evaluate with

Overview

Size
1.27 GB
Weights
1.26 GB (safetensors)
Parameters
315M
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-310m

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

Model card

From the publisher at commit 18b60fb. 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-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#
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.

Files

46 files · 1.27 GBWeights 1.26 GB (safetensors). Sizes and sha256 from the signed manifest.
Show all 46 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
1_Pooling/config.json296 B1c8bc7bd750c5c20d8707f1c5c578f5d69bb3d1d5ebcf4b2fde5128de154ec1c
README.md7.94 KB3f1195e5003fe8daa6bf5fa8be804d45665044f9e8daa22eb38ae17bb5789813
config.json1.32 KB0f4eee1ac5634e11b095441246c59adc54818872e18478622338c61bc67847f8
config_sentence_transformers.json205 Bda3bacc571a0581d71730e3962684164415dcaeccfde1273b1163702e93f7dd0
model.safetensors1.26 GB8229a6c3bbb16aa1a563eb62df60855af75b5e6e9c586f2ae571d3ab30df2804
modules.json229 B8f4b264b80206c830bebbdcae377e137925650a433b689343a63bdc9b3145460
results-len512/Classification/scores_amazon_counterfactual_classification.json618 Be78046f5741b80525a884514a007977c36acd15b3b101d6b37096c2acbf7cca1
results-len512/Classification/scores_amazon_review_classification.json584 B4accd497c8b7e52e89da803048f56bb23cc871a52f0eef2b901e41ad1de65809
results-len512/Classification/scores_massive_intent_classification.json618 B6b03629cd44d6de17956b207c9be9f50c2119e453c77ec7fde7119de5c6cddc2
results-len512/Classification/scores_massive_scenario_classification.json619 B7092e9d5c07b0ac4f13e71d4814ac7ad92b71946d5fc71d3cb96f909638e8fde
results-len512/Clustering/scores_livedoor_news.json1.31 KBa83de2279fc78332311a18c9100c044fcd3328b402717a71af408210397cabe4
results-len512/Clustering/scores_mewsc16.json1.30 KBe4b0b860482b803ef25ad06e84b2e860b8050c9de98bb2fb6d07fbc2d66c9d72
results-len512/PairClassification/scores_paws_x_ja.json1.45 KB6bc8ddfaa0b318a528d050cf41d16f1920b74f83b884b1a8588ee99d1c525eaa
results-len512/Reranking/scores_esci.json968 B1c8ddf455d19316bc7c97e56692da20c02b2039b1b7f9271a4dd19ba6ec8ab47
results-len512/Retrieval/scores_jagovfaqs_22k.json1.58 KBaed2633154c52eb684f59d3257e93601d5cb382428c7338611e12b5d4dc29536
results-len512/Retrieval/scores_jaqket.json1.58 KB6aa90b4b07d32b5f9b390b2b90be010cd6a151a24ddd6ab11b2c9837bac78ae7
results-len512/Retrieval/scores_mrtydi.json1.58 KBd0d893fe429b97d5a6dba3ce47750f85ad4cf63c3ce06cc8138e6f776bb4d38e
results-len512/Retrieval/scores_nlp_journal_abs_intro.json1.58 KB12ef143bfd867fe0ea6e63b080d0271a63e75dd9437ce00bd02ae21da158cec2
results-len512/Retrieval/scores_nlp_journal_title_abs.json1.54 KBb6c8194badf6addf325275de8ca68abdb0e3214f51510d4ad789cd0b44378508
results-len512/Retrieval/scores_nlp_journal_title_intro.json1.58 KBf2e565127ac733f65a1846d8e3fd602e3c1aafcba52863bc459cf74a4fbe2cac
results-len512/STS/scores_jsick.json939 B7908d778e7cd0500abb0f2b1e7f8efa7d99060c38bf8e20cabb3e1cf93a5bb6f
results-len512/STS/scores_jsts.json937 Bdc21fc460bef40346c78bb5125f620e6d89aa546d7a58b52ae98a27854e9f19c
results-len512/summary.json1.51 KBeabc54e8e0ceb727c589d8816bcbc5d333b4f5a9e8e637f197dcfaa59bb6ba71
results/Classification/scores_amazon_counterfactual_classification.json618 Be78046f5741b80525a884514a007977c36acd15b3b101d6b37096c2acbf7cca1
results/Classification/scores_amazon_review_classification.json583 B5a1b36177403a19e7283e0804d1aa78202ff1f9b311cd03c947f7d26f748bad5
results/Classification/scores_massive_intent_classification.json618 B6b03629cd44d6de17956b207c9be9f50c2119e453c77ec7fde7119de5c6cddc2
results/Classification/scores_massive_scenario_classification.json619 B7092e9d5c07b0ac4f13e71d4814ac7ad92b71946d5fc71d3cb96f909638e8fde
results/Clustering/scores_livedoor_news.json1.31 KBff81c65ab20d857f52ab55a2cd60f6dbfb6c03b28930a8bc22c34e77f29eeec1
results/Clustering/scores_mewsc16.json1.29 KB42d7263e0945e53ef2b7cebd85d8a33c6a77983a4a704ab7d6379cbac3fbe562
results/PairClassification/scores_paws_x_ja.json1.45 KB6bc8ddfaa0b318a528d050cf41d16f1920b74f83b884b1a8588ee99d1c525eaa
results/Reranking/scores_esci.json973 B17a3a7672aeb84828459af35c592079b0187cb0cc62e43c04c5539143aca9024
results/Retrieval/scores_jagovfaqs_22k.json1.58 KB5a68e751181e6fd4a6bca55b3fc4876da807548618ae29fef541bf52e7057798
results/Retrieval/scores_jaqket.json1.59 KB4ce055b7efcaa1e8d5b0a3f6f3c0e118a9fb510c29e21133df08816077467ce2
results/Retrieval/scores_mrtydi.json1.58 KB838eec192e6efbce6d141a8aa1b88b4ef2336afb6791687dec2dfb0ad59101ef
results/Retrieval/scores_nlp_journal_abs_intro.json1.38 KBcfab40777748d67e00ebaf5d3241cee7e990f8bd360bd3d567eef17f52861778
results/Retrieval/scores_nlp_journal_title_abs.json1.54 KBb6c8194badf6addf325275de8ca68abdb0e3214f51510d4ad789cd0b44378508
results/Retrieval/scores_nlp_journal_title_intro.json1.58 KB3545c572039b4a8f21b5a82922410da7d05124613a54a91bd178b6994b7f79d5
results/STS/scores_jsick.json939 B7908d778e7cd0500abb0f2b1e7f8efa7d99060c38bf8e20cabb3e1cf93a5bb6f
results/STS/scores_jsts.json937 Bdc21fc460bef40346c78bb5125f620e6d89aa546d7a58b52ae98a27854e9f19c
results/summary.json1.51 KB5373d41823d6851b7e12a754aae6045cc623ed05ab0db01531a5ffc2f5326ae9
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
18b60fb8c2 pinned now2026-11-15 02:26 UTC46 files · 1.27 GB

Use it

$ fw get cl-nagoya/ruri-v3-310m
# manifest sha256 ee7fb134b2d1… · 1.27 GB · 46 files
$ fw verify ./ruri-v3-310m cl-nagoya/ruri-v3-310m
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-310m.json --dir ./ruri-v3-310m $ python3 fw.py verify ./ruri-v3-310m ./cl-nagoya__ruri-v3-310m.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download cl-nagoya/ruri-v3-310m --revision 18b60fb8c2b9df296fb4212bb7d23ef94e579cd3 --local-dir ./ruri-v3-310m
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-310m", revision="18b60fb8c2b9df296fb4212bb7d23ef94e579cd3") model = AutoModel.from_pretrained("cl-nagoya/ruri-v3-310m", revision="18b60fb8c2b9df296fb4212bb7d23ef94e579cd3", 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-310m", revision="18b60fb8c2b9df296fb4212bb7d23ef94e579cd3") 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
3f1195e5003fe8daa6bf5fa8be804d45665044f9e8daa22eb38ae17bb5789813
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-310mDate: 2026-11-15Commit: 18b60fbSigned: 2DC28CC7B26A283B ✓
Upstream
cl-nagoya/ruri-v3-310m
Pinned commit
18b60fb8c2b9df296fb4212bb7d23ef94e579cd3
Manifest
ruri-v3-310m.json · .minisig
Manifest sha256
ee7fb134b2d1d86e48e18ead247e75a2a3f3efe8cdb8404dbdbbc91a77b355b9
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:26 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

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

Variants

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