NeuML / pubmedbert-base-splade

huggingface.co
Total runs: 164
24-hour runs: 0
7-day runs: -6
30-day runs: 64
Model's Last Updated: August 05 2025
sentence-similarity

Introduction of pubmedbert-base-splade

Model Details of pubmedbert-base-splade

PubMedBERT SPLADE

This is a SPLADE Sparse Encoder model finetuned from PubMedBERT-base using sentence-transformers . It maps sentences & paragraphs to a 30522-dimensional sparse vector space and can be used for semantic search and sparse retrieval.

The training dataset was generated using a random sample of PubMed title-abstract pairs along with similar title pairs.

PubMedBERT SPLADE produces higher quality sparse embeddings than generalized models for medical literature. Further fine-tuning for a medical subdomain will result in even better performance.

Usage (txtai)

This model can be used to build embeddings databases with txtai for semantic search and/or as a knowledge source for retrieval augmented generation (RAG).

Note: txtai 8.7.0+ is required for sparse vector scoring support

import txtai

embeddings = txtai.Embeddings(
  sparse="neuml/pubmedbert-base-splade",
  content=True
)
embeddings.index(documents())

# Run a query
embeddings.search("query to run")
Usage (Sentence-Transformers)

Alternatively, the model can be loaded with sentence-transformers .

from sentence_transformers import SpladeEncoder
sentences = ["This is an example sentence", "Each sentence is converted"]

model = SpladeEncoder("neuml/pubmedbert-base-splade")
embeddings = model.encode(sentences)
print(embeddings)
Evaluation Results

Performance of this model compared to the top base models on the MTEB leaderboard is shown below. A popular smaller model was also evaluated along with the most downloaded PubMed similarity model on the Hugging Face Hub.

The following datasets were used to evaluate model performance.

Evaluation results are shown below. The Pearson correlation coefficient is used as the evaluation metric.

Model PubMed QA PubMed Subset PubMed Summary Average
all-MiniLM-L6-v2 90.40 95.92 94.07 93.46
bge-base-en-v1.5 91.02 95.82 94.49 93.78
gte-base 92.97 96.90 96.24 95.37
pubmedbert-base-embeddings 93.27 97.00 96.58 95.62
pubmedbert-base-splade 90.76 96.20 95.87 94.28
S-PubMedBert-MS-MARCO 90.86 93.68 93.54 92.69

While this model was't the highest scoring model using the Pearson metric, it does well when measured by Spearman rank correlation coefficient .

Model PubMed QA PubMed Subset PubMed Summary Average
all-MiniLM-L6-v2 85.77 86.52 86.32 86.20
bge-base-en-v1.5 85.71 86.58 86.35 86.21
gte-base 86.44 86.60 86.55 86.53
pubmedbert-base-embeddings 86.29 86.57 86.47 86.44
pubmedbert-base-splade 86.80 89.12 88.60 88.17
S-PubMedBert-MS-MARCO 85.71 86.37 86.13 86.07

This indicates that the SPLADE model may do a better job of calculating scores/rankings in the correct direction.

Full Model Architecture
SparseEncoder(
  (0): MLMTransformer({'max_seq_length': 512, 'do_lower_case': False, 'architecture': 'BertForMaskedLM'})
  (1): SpladePooling({'pooling_strategy': 'max', 'activation_function': 'relu', 'word_embedding_dimension': 30522})
)
More Information

The training data for this model is the same as described in this article . See this article for more on the training scripts.

Runs of NeuML pubmedbert-base-splade on huggingface.co

164
Total runs
0
24-hour runs
0
3-day runs
-6
7-day runs
64
30-day runs

More Information About pubmedbert-base-splade huggingface.co Model

More pubmedbert-base-splade license Visit here:

https://choosealicense.com/licenses/apache-2.0

pubmedbert-base-splade huggingface.co

pubmedbert-base-splade huggingface.co is an AI model on huggingface.co that provides pubmedbert-base-splade's model effect (), which can be used instantly with this NeuML pubmedbert-base-splade model. huggingface.co supports a free trial of the pubmedbert-base-splade model, and also provides paid use of the pubmedbert-base-splade. Support call pubmedbert-base-splade model through api, including Node.js, Python, http.

pubmedbert-base-splade huggingface.co Url

https://huggingface.co/NeuML/pubmedbert-base-splade

NeuML pubmedbert-base-splade online free

pubmedbert-base-splade huggingface.co is an online trial and call api platform, which integrates pubmedbert-base-splade's modeling effects, including api services, and provides a free online trial of pubmedbert-base-splade, you can try pubmedbert-base-splade online for free by clicking the link below.

NeuML pubmedbert-base-splade online free url in huggingface.co:

https://huggingface.co/NeuML/pubmedbert-base-splade

pubmedbert-base-splade install

pubmedbert-base-splade is an open source model from GitHub that offers a free installation service, and any user can find pubmedbert-base-splade on GitHub to install. At the same time, huggingface.co provides the effect of pubmedbert-base-splade install, users can directly use pubmedbert-base-splade installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

pubmedbert-base-splade install url in huggingface.co:

https://huggingface.co/NeuML/pubmedbert-base-splade

Url of pubmedbert-base-splade

pubmedbert-base-splade huggingface.co Url

Provider of pubmedbert-base-splade huggingface.co

NeuML
ORGANIZATIONS

Other API from NeuML

huggingface.co

Total runs: 1.7K
Run Growth: -1.4K
Growth Rate: -86.63%
Updated:February 06 2025
huggingface.co

Total runs: 1.3K
Run Growth: 977
Growth Rate: 85.03%
Updated:January 27 2025
huggingface.co

Total runs: 1.1K
Run Growth: -170
Growth Rate: -16.18%
Updated:January 27 2025
huggingface.co

Total runs: 942
Run Growth: 281
Growth Rate: 31.33%
Updated:February 21 2023
huggingface.co

Total runs: 853
Run Growth: 250
Growth Rate: 29.31%
Updated:February 21 2023
huggingface.co

Total runs: 521
Run Growth: -99.9K
Growth Rate: -19182.34%
Updated:January 27 2025
huggingface.co

Total runs: 285
Run Growth: 98
Growth Rate: 34.39%
Updated:January 27 2025
huggingface.co

Total runs: 147
Run Growth: 88
Growth Rate: 62.41%
Updated:April 21 2026
huggingface.co

Total runs: 31
Run Growth: 14
Growth Rate: 45.16%
Updated:October 10 2025
huggingface.co

Total runs: 16
Run Growth: 1
Growth Rate: 6.25%
Updated:November 23 2024
huggingface.co

Total runs: 8
Run Growth: -75
Growth Rate: -937.50%
Updated:April 13 2026
huggingface.co

Total runs: 7
Run Growth: 3
Growth Rate: 42.86%
Updated:July 21 2026
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:November 11 2025