healx commited on
Commit
b5425b4
1 Parent(s): 847dd79

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +9 -0
README.md ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ DPR context encoder for Biomedical slot filling see https://arxiv.org/abs/2109.08564 for details.
2
+
3
+ Load with:
4
+
5
+ ```python
6
+ from transformers import DPRContextEncoder, DPRContextEncoderTokenizerFast
7
+ ctx_encoder = DPRContextEncoder.from_pretrained('healx/biomedical-dpr-ctx-encoder')
8
+ ctx_tokenizer = DPRContextEncoderTokenizerFast.from_pretrained('facebook/dpr-ctx_encoder-single-nq-base')
9
+ ```