Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
To use our fine-tuned BioBERT model to remove references to priors from radiology reports, run the following:
|
2 |
+
|
3 |
+
```python
|
4 |
+
from transformers import AutoTokenizer, AutoModelForTokenClassification
|
5 |
+
|
6 |
+
modelname = "rajpurkarlab/biobert-finetuned-prior-rmv"
|
7 |
+
tokenizer = AutoTokenizer.from_pretrained(modelname)
|
8 |
+
model = AutoModelForTokenClassification.from_pretrained(modelname)
|
9 |
+
```
|