AILACasedocs
0,4955
Один прогон
Направление метрики неизвестно, сравнение не строится
Составлено на русском по карточке модели и метаданным Hugging Face
Мультиязычная модель эмбеддингов для семантического поиска и извлечения юридических документов в поисковых и RAG-системах.
dinghy-law-8b-v1 — мультиязычная модель эмбеддингов Clause Logic Inc., дообученная на базе NVIDIA Nemotron-3-Embed-8B-BF16 для поиска по юридическим текстам. Это плотная модель на 8 млрд параметров с архитектурой Ministral3; она кодирует запросы и документы в нормализованные векторы размерностью 4096, используя роли `query: ` и `passage: `. Карточка описывает поддержку английского, немецкого и китайского языков и контекст до 262 144 токенов для базовой модели; опубликованная конфигурация Sentence Transformers ограничивает вход 8192 токенами.
Модель предназначена для первого этапа поиска, семантического поиска и извлечения документов для юридических RAG-систем на собственных корпусах: законы, судебные решения, договоры и юридические вопросы. В тесте MTEB(Law, v1) авторы сообщают средний nDCG@10 72,58 по восьми задачам; это результат их воспроизведения, а не официальное место в таблице MTEB. Модель возвращает эмбеддинги и оценки близости, но не генерирует ответы и не предоставляет юридические консультации.
Модельные веса распространяются по лицензии `other`; README указывает на лицензии и атрибуцию обучающих данных, но не уточняет условия лицензии самих весов. Результаты лучше всего подтверждены для английских, немецких и китайских юридических данных; другие языки и юрисдикции могут быть вне обучающего распределения.
Это модель поиска и эмбеддингов, а не генеративная система или источник юридических советов. Качество лучше подтверждено для английских, немецких и китайских юридических данных; другие языки и юрисдикции могут быть вне обучающего распределения.
Результаты из открытых лидербордов в сравнении с лидерами каталога на 2 декабря 2026
0,4955
Один прогон
Направление метрики неизвестно, сравнение не строится
0,6272
Один прогон
Направление метрики неизвестно, сравнение не строится
0,5471
Один прогон
Направление метрики неизвестно, сравнение не строится
0,7594
Один прогон
Направление метрики неизвестно, сравнение не строится
0,8754
Один прогон
Направление метрики неизвестно, сравнение не строится
0,9647
Один прогон
Направление метрики неизвестно, сравнение не строится
Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь рядом с другими моделями теста
Вместе с другими моделями категории «Эмбеддинги» — сравнение идёт внутри одной категории.
Напишите запросы, при необходимости приложите файлы и эталонные ответы.
Модели ответят на каждую задачу, судья оценит ответы по шкале 0–100.
Разделы каталога профессий, в задачах которых используется эта модель
README от автора на Hugging Face, как он его опубликовал
An 8B-parameter multilingual text-embedding model for legal retrieval, adapted from nvidia/Nemotron-3-Embed-8B-BF16 for statute, case-law, contract, and legal-question retrieval. It is intended for first-stage retrieval, reranking, semantic search, and legal RAG over self-hosted corpora.
On MTEB(Law, v1), this model scores 72.58 Mean(Task) nDCG@10. Its leaderboard-snapshot Borda score is 1,898. Both figures come from our leaderboard-faithful reproduction; they are not an official MTEB leaderboard placement.
Per-task nDCG@10 from the full eight-task public-repository validation run:
| Task | Pinned NVIDIA base | dinghy-law-8b |
|---|---|---|
| AILACasedocs | 49.42 | 49.55 |
| AILAStatutes | 58.26 | 62.72 |
| GerDaLIRSmall | 53.69 | 54.71 |
| LeCaRDv2 | 75.45 | 75.94 |
| LegalBenchConsumerContractsQA | 87.68 | 87.54 |
| LegalBenchCorporateLobbying | 96.02 | 96.47 |
| LegalQuAD | 77.18 | 77.14 |
| LegalSummarization | 76.66 | 76.56 |
| Mean(Task) | 71.79 | 72.58 |
Per-task values are rounded to two decimals. The aggregate values were calculated from the unrounded task outputs. Borda is field-dependent; the 1,898 figure uses the MTEB(Law, v1) leaderboard cache captured for the July 31, 2026 evaluation.
This release uses NVIDIA's Nemotron-3 embedding model rather than Qwen/Qwen3-Embedding-8B. In our
base-model testing, the pinned 8B Nemotron model was the stronger legal-retrieval
starting point than the size-matched Qwen/Qwen3-Embedding-8B. The untuned Nemotron base alone produced
the eight task scores reported above and 71.79 Mean(Task) on our frozen evaluation snapshot.
The base is pinned to revision
dd9d06b1852ef836d3dc2fbd2b71a34356912759
so the model origin, configuration, and license are reproducible.
The legal training data and the full adaptation process are open. All training sources are permissively licensed or public-domain legal text, and the released dataset cards retain source-level licensing and attribution:
No non-commercial training source was added for this model. Compilation, curation, and pair construction are © 2026 Clause Logic Inc.; the underlying sources retain their original licenses.
The recipe is fully specified:
query: and passage: roles, mask-aware
mean pooling, and 4096-dimensional normalized embeddings.2e-4, and eight
30-step epochs. Training uses a maximum sequence length of 512 tokens.0, 0.2, 0.3, 0.5, 0.7, 0.85, 1.0 against the pinned base. Select by
MTEB(Law, v1) Borda on the frozen six-task selection set, then confirm once on all eight tasks.The training and evaluation machinery is built with LangSet, released under Apache-2.0. That software license is separate from the model-weight license described below.
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("Hanno-Labs/dinghy-law-8b-v1")
query = "What is the punishment for criminal breach of trust by a public servant?"
documents = [
"Whoever, being in any manner entrusted with property, commits criminal breach of trust ...",
"A contract of sale is a contract whereby the seller transfers property in goods ...",
]
query_embedding = model.encode_query(query)
document_embeddings = model.encode_document(documents)
scores = model.similarity(query_embedding, document_embeddings)
print(scores)
Queries use the query: role and documents use the passage: role. Embeddings are 4096-dimensional and
L2-normalized, so dot product and cosine similarity are equivalent. The published Sentence Transformers
package is configured for inputs up to 8192 tokens.
The reported result uses mteb==2.18.3, the MTEB(Law, v1) task definition, bf16 inference, cosine
similarity, query/document role prefixes, mask-aware mean pooling, and a maximum evaluation length of 8192
tokens. The six-task selection set was frozen before the alpha and context-cap sweeps; the remaining two
tasks were held for the full-suite confirmation. Every task persisted frozen inputs, exact model-facing token tensors, raw
top-1000 scores, per-query metrics, and a content-addressed manifest. The artifacts were downloaded into a
clean environment and their hashes, schemas, row counts, and semantic samples were verified before the
numbers in this card were accepted.
The model weights and associated model materials are released under the
OpenMDW License Agreement, version 1.1, matching the NVIDIA base. This is
different from the Apache-2.0 license of Qwen/Qwen3-Embedding-8B: the model weights in this repository are
not Apache-2.0.
The model is derived from nvidia/Nemotron-3-Embed-8B-BF16, revision
dd9d06b1852ef836d3dc2fbd2b71a34356912759, © 2026 NVIDIA CORPORATION & AFFILIATES. The repository retains
the OpenMDW-1.1 text and NVIDIA's applicable copyright and origin notices. Hanno Labs / Clause Logic Inc.'s
training data, software, and original contributions retain the separate licenses stated in their
respective repositories; those licenses do not relicense the model weights.
@misc{dinghy-law-8b,
title = {dinghy-law-8b: an 8B multilingual legal text-embedding model},
author = {Solka, Stephen},
year = {2026},
note = {Hanno Labs / Clause Logic Inc.},
howpublished = {\url{https://huggingface.co/Hanno-Labs/dinghy-law-8b-v1}}
}
На своей GPU в ailist. Цена — по текущим предложениям провайдеров
GPU в ailist
Универсальный рантайм · sentence-transformers
Подбираем GPU…