Create README.md
Browse files
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 |
+
```
|