MedCPT-Query-Encoder
MedCPT generates embeddings of biomedical texts that can be used for semantic search (dense retrieval). The model contains two encoders: - MedCPT Query Encoder: compute the embeddings of short texts (e.g., questions, search queries, sentences). - MedCPT Article Encoder: compute the embeddings of articles (e.g., PubMed titles & abstracts).
Params
110 M
Context
512
Downloads 30d
454 K
Likes
62
Download history
daily snapshots · 11 days526 K454 K
Jul 28Jul 31Aug 4Aug 7
Can you run it?
Estimated VRAM at 8K context unless noted. Pick your hardware to see the verdict per quantization.
| File | Quant | Size | Est. VRAM | Verdict on RTX 4090 · 24 GB |
|---|---|---|---|---|
| model.safetensors | f32 | 0.4 GB | 1.0 GB | ✅ Runs comfortably |
Estimate: file size × 1.1 + KV cache at 8K + 0.5 GB overhead. Not a benchmark — how we calculate this.
Specifications
- Architecture
- BertModel
- Parameters
- 110 M
- Tensor type
- F32
- Context length
- 512
- Vocabulary
- 30,522
- Layers / heads
- 12 / 12
- Licence
- other
- First seen on the Hub
- 2023-10-24
- Training datasets
- undisclosed
- Added to our catalog
- 2026-07-28
Compare with
Sponsored · GPU cloud
Not enough VRAM?
Spin up a 24 GB L4 instance in 40 seconds. $0.44/hr.