Views
No views yet
See also: V1 (federal-only) which outperforms OpenAI on federal grant retrieval.
| Model | Dim | R@1 | R@5 | R@10 | MRR | NDCG@10 |
|---|---|---|---|---|---|---|
| OpenAI text-embedding-3-small | 1536 | 0.343 | 0.570 | 0.682 | 0.453 | 0.499 |
| Qwen3-Embedding-0.6B (base) | 1024 | 0.295 | 0.514 | 0.630 | 0.403 | 0.449 |
| GrantPilot V2 (this model) | 1024 | 0.295 | 0.516 | 0.622 | 0.403 | 0.446 |
| Model | Overall AUC | Foundation AUC | NIH AUC | NSF AUC |
|---|---|---|---|---|
| OpenAI text-embedding-3-small | 0.886 | 0.972 | 0.473 | 0.524 |
| Qwen3-Embedding-0.6B (base) | 0.881 | 0.965 | 0.611 | 0.548 |
| GrantPilot V2 (this model) | 0.881 | 0.965 | 0.614 | 0.548 |
| Model | Avg Latency | Cost |
|---|---|---|
| OpenAI text-embedding-3-small | 43.9ms | API cost |
| Qwen3-Embedding-0.6B (base) | 2.9ms | Free (self-hosted) |
| GrantPilot V2 (this model) | 1.7ms | Free (self-hosted) |
| Metric | V1 vs OpenAI | V2 vs OpenAI |
|---|---|---|
| R@1 | V1 wins (+46%) | OpenAI wins |
| R@5 | V1 wins (+22%) | OpenAI wins |
| R@10 | V1 wins (+28%) | OpenAI wins |
| Classifier Metric | V1 | V2 |
|---|---|---|
| Overall AUC | 0.837 | 0.997 |
| Federal AUC | 0.837 | 0.913 |
| Accuracy | 72.1% | 98.3% |
| F1 | 0.595 | 0.983 |
| Source | Pairs | % |
|---|---|---|
| Foundation (990-PF) | 292,401 | 90.1% |
| NIH | 25,717 | 7.9% |
| NSF | 6,361 | 2.0% |
1from sentence_transformers import SentenceTransformer
2
3model = SentenceTransformer("ArkMaster123/grantpilot-embedding-v2", trust_remote_code=True)
4
5org_text = "Organization: Ford Foundation\nLocation: New York, NY\nType: FOUNDATION"
6grant_text = "Grant: Support for civil society organizations\nAmount: $500,000"
7
8embeddings = model.encode([org_text, grant_text])
9similarity = embeddings[0] @ embeddings[1]| Model | Description |
|---|---|
| grantpilot-embedding | V1 — federal-only, beats OpenAI on retrieval |
| grantpilot-classifier | V1 — federal-only classifier (AUC 0.837) |
| grantpilot-classifier-v2 | V2 — combined classifier (AUC 0.997) |
| grantpilot-training-data | Training data (V1 at training/, V2 at training_v2/) |