This model is a fine-tuned version of Snowflake/snowflake-arctic-embed-m-v1.5 (109M parameters, 768 dimensions) specialized for book thematic retrieval and semantic search across 64,552 Goodreads books.
It was developed through Progressive Refinement Contrastive Fine-Tuning using an 8-layer false-negative protection shield to eliminate edition leakage, series contamination, and label noise.
| Training Stage | Recall@1 | Recall@5 | Recall@10 | Recall@50 | MRR@10 | NDCG@10 |
|---|---|---|---|---|---|---|
| Pretrained Baseline (Zero-Shot) | 21.67% | 48.41% | 55.40% | 69.57% | 0.3082 | 0.3642 |
| In-Batch Contrastive Training | 29.16% | 58.29% | 64.67% | 78.20% | 0.3951 | 0.4538 |
| Targeted Hard-Negative Training | 35.60% | 68.09% | 73.96% | 84.66% | 0.4688 | 0.5322 |
| Progressive Refinement (Champion) | 35.48% | 68.50% | 74.70% | 85.51% | 0.4725 | 0.5369 |
| Net Gain vs Baseline | +13.81% | +20.09% | +19.30% | +15.94% | +0.1643 | +0.1727 |
The model natively supports dynamic dimension truncation without loss of semantic coherence:
To search, always prefix queries with Snowflake Arctic's retrieval instruction:
"Represent this sentence for searching relevant passages: "
from sentence_transformers import SentenceTransformer
import numpy as np
# Load model
model = SentenceTransformer("nansari0134/arctic-embed-m-goodreads")
# 1. Asymmetric query
query = "Represent this sentence for searching relevant passages: atmospheric gothic boarding school mystery"
q_emb = model.encode(query, normalize_embeddings=True)
# 2. Document description
passage = "Title: The Secret History | Genres: dark-academia, mystery | Description: Under the influence of their charismatic classics professor..."
p_emb = model.encode(passage, normalize_embeddings=True)
# 3. Fast Cosine Similarity
similarity = np.dot(q_emb, p_emb)
print(f"Similarity Score: {similarity:.4f}")
# Truncate to 256 coordinates and re-normalize onto unit sphere
q_256 = q_emb[:256] / np.linalg.norm(q_emb[:256])
p_256 = p_emb[:256] / np.linalg.norm(p_emb[:256])
sim_256 = np.dot(q_256, p_256)
print(f"256-d Similarity: {sim_256:.4f}")