NeuML / sentence-similarity updated 3 months ago

pubmedbert-base-embeddings

This is a PubMedBERT-base model fined-tuned using sentence-transformers. It maps sentences & paragraphs to a 768 dimensional dense vector space and can be used for tasks like clustering or semantic search. The training dataset was generated using a random sample of PubMed title-abstract pairs along with similar title pairs.

Params
110 M
Context
512
Downloads 30d
877 K
Likes
194
Commercial use: allowed apache-2.0 Not gated SAFETENSORS 1 languages View on Hugging Face ↗

Download history

daily snapshots · 10 days
949 K877 K
Jul 28Jul 31Aug 3Aug 6

Can you run it?

Estimated VRAM at 8K context unless noted. Pick your hardware to see the verdict per quantization.

FileQuantSizeEst. VRAMVerdict 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
apache-2.0
First seen on the Hub
2023-10-18
Training datasets
undisclosed
Added to our catalog
2026-07-28