Add NeuML/pubmedbert-base-embeddings (ONNX, biomedical text embeddings)
Browse filesAdds an ONNX version of NeuML/pubmedbert-base-embeddings, a BERT-based sentence embedding model trained on biomedical literature (PubMed).
Why we want it
We run a healthcare social platform for surgeons. Search over medical terminology is the main use case, and a model trained on biomedical text is a natural fit
Details
- Source model: NeuML/pubmedbert-base-embeddings
- Embedding size: 768
- model_type: bert
- Converted with: optimum-cli export onnx --model NeuML/pubmedbert-base-embeddings --task feature-extraction
- The export includes the sentence-embedding output (pooling inside the ONNX graph)
- model_md5 and vocab_md5 in config.json are computed from the files in this PR
- No indexing_prefix or query_prefix is needed
pubmedbert-base-embeddings/config.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model_md5": "136f830466c88a662e05ce017cb92458",
|
| 3 |
+
"vocab_file_name": "vocab.txt",
|
| 4 |
+
"vocab_md5": "2957e50c713d997170d1f268227f1697",
|
| 5 |
+
"model_type": "bert"
|
| 6 |
+
}
|
pubmedbert-base-embeddings/model.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ffe203812413fa2198a4340ef96299157674a11657c2fff3873ce1b0b9431b38
|
| 3 |
+
size 435775344
|
pubmedbert-base-embeddings/vocab.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|