Downloads · 30 days
37
29% of all-time downloads
litillabs/octen-law-8b-v2
octen-law-8b-v2 is a sentence similarity model from litillabs. Use it when you need a score for how close two texts are. It is set up for sentence-transformers. The card lists the license as other.
Octen Law 8B v2 is a legal-domain dense embedding model from Litil Labs. It is based on nvidia/Nemotron-3-Embed-8B-BF16 and post-trained on public legal citation data for first-stage retrieval.
Downloads · 30 days
37
29% of all-time downloads
All-time downloads
128
Public
Parameters
8B
15.9 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors15.9 GB · 100%
From the Hugging Face model README
Octen Law 8B v2 is a legal-domain dense embedding model from Litil Labs. It is
based on nvidia/Nemotron-3-Embed-8B-BF16 and post-trained on public legal
citation data for first-stage retrieval.
Evaluated model revision: de09ddfc3911e92a2e053b1a1a2e34e60d624287
from sentence_transformers import SentenceTransformer
model = SentenceTransformer(
"litillabs/octen-law-8b-v2",
revision="de09ddfc3911e92a2e053b1a1a2e34e60d624287",
)
queries = model.encode(
["query: What authority governs ...?"],
normalize_embeddings=True,
)
documents = model.encode(
["passage: The court held that ..."],
normalize_embeddings=True,
)
scores = queries @ documents.T
Use the query: prefix for queries and the passage: prefix for documents.
The model uses attention-mask mean pooling and L2-normalized embeddings. The
published maximum sequence length is 32,768 tokens.
The released checkpoint was trained for 200 optimizer updates with LoRA and then merged into the base model and exported as BF16 safetensors.
q_proj, k_proj, v_proj, and o_projPost-training used 10,000 examples built from the public
theresiavr/legalpincite
dataset at revision ebf0c37cca4c8b69291fb9eecc8ecb8784575637.
LegalPincite is released under CC BY 4.0 with an EUR-Lex reuse notice. The model weights are distributed under the NVIDIA OpenMDW License Agreement 1.1 and the notices included in this repository.
The checkpoint was selected on three legal retrieval datasets. The base model and candidate used the same evaluation runtime.
| Dataset | Base nDCG@10 | Octen Law 8B v2 | Delta |
|---|---|---|---|
| ECHR retrieval | 0.278927 | 0.294335 | +0.015408 |
| Bar Exam QA | 0.638398 | 0.649403 | +0.011005 |
| Australian tax guidance | 0.798735 | 0.814113 | +0.015378 |
| Macro average | 0.572020 | 0.585950 | +0.013930 |
@misc{litillabs_octen_law_8b_v2_2026,
title = {Octen Law 8B v2},
author = {Litil Labs},
year = {2026},
howpublished = {\url{https://huggingface.co/litillabs/octen-law-8b-v2}}
}