CoolFace
Modelpublic

ai4data/devdata-search-harrier-270m-nopermute-cmnrl

sourceHugging Faceapache-2.0updated 3mo agoView on Hugging Face
0likes75downloads
Model Card

devdata-search-harrier-270m-nopermute-cmnrl

A bi-encoder embedding model for search over structured statistical metadata, part of the DevData Search family. It is a fine-tune of microsoft/harrier-oss-v1-270m produced with schema-invariant fine-tuning on DevDataBench: full-schema serialization with per-example field-order permutation and field dropout, so the encoder binds meaning to field labels rather than to serialization order. This is an embedding model that powers retrieval; it is not a hosted search service.

See the paper Field Order Should Not Matter: Permutation-Invariant Fine-Tuning for Structured Metadata Retrieval.

Training

  • —Base model: microsoft/harrier-oss-v1-270m
  • —Loss: cmnrl
  • —Field permutation: False; field dropout: 0.0
  • —Max sequence length: 512
  • —No query/document prefixes

Usage

python
from sentence_transformers import SentenceTransformer

model = SentenceTransformer("ai4data/devdata-search-harrier-270m-nopermute-cmnrl")
queries = ["mobile-broadband subscriptions per 100 people, reported annually"]
docs = ["name: Active mobile-broadband subscriptions | ..."]
q = model.encode(queries)
d = model.encode(docs)

Cosine similarity of q and d ranks documents for each query.

License

Apache-2.0. Derived from microsoft/harrier-oss-v1-270m; trained on public World Bank Data360 metadata.