hpsearch-embed-xs

A small sentence embedder for searching Lean 4 / Mathlib declarations, used by the dense channel of hpsearch. Fine-tuned from Snowflake/snowflake-arctic-embed-xs.

  • model.onnx: inputs input_ids, attention_mask (int64, batch x tokens); output embedding, unit-length vectors (batch x 384). Weights quantized to int8 for CPU inference with onnxruntime.
  • tokenizer.json: the base model's tokenizer.

Queries and documents use no instruction prefix. Before tokenizing, hpsearch replaces common Lean notation with words (e.g. ℝ -> real, βˆ€ -> forall) and puts a proof state's goal first.

Training pairs (in-batch negatives), from public datasets:

Pairs whose query or target declaration appears in the evaluation sets of LeanFinder, LeanSearch v2 (MathlibQR), LeanStateSearch, TheoremSearch, TBPS or hmzprover/query-chains were removed.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for hmzprover/hpsearch-embed-xs

Quantized
(6)
this model
Quantizations
1 model