Downloads · 30 days
23
2% of all-time downloads
healx/biomedical-dpr-ctx-encoder
biomedical-dpr-ctx-encoder is a machine learning model from healx. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers.
DPR context encoder for Biomedical slot filling see https://arxiv.org/abs/2109.08564 for details.
Downloads · 30 days
23
2% of all-time downloads
All-time downloads
1K
Public
Repo size
876 MB
Likes
0
Public
Click a slice to open those files.
.bin438 MB · 100%
From the Hugging Face model README
DPR context encoder for Biomedical slot filling see https://arxiv.org/abs/2109.08564 for details.
Load with:
from transformers import DPRContextEncoder, DPRContextEncoderTokenizerFast
ctx_encoder = DPRContextEncoder.from_pretrained('healx/biomedical-dpr-ctx-encoder')
ctx_tokenizer = DPRContextEncoderTokenizerFast.from_pretrained('facebook/dpr-ctx_encoder-single-nq-base')