Spaces:
Running
Running
Update README.md
Browse files
README.md
CHANGED
@@ -7,4 +7,11 @@ sdk: static
|
|
7 |
pinned: false
|
8 |
---
|
9 |
|
10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
pinned: false
|
8 |
---
|
9 |
|
10 |
+
To use our fine-tuned BioBERT model to remove references to priors from radiology reports, run the following:
|
11 |
+
```python
|
12 |
+
from transformers import AutoTokenizer, AutoModelForTokenClassification
|
13 |
+
|
14 |
+
modelname = "rajpurkarlab/biobert-finetuned-prior-rmv"
|
15 |
+
tokenizer = AutoTokenizer.from_pretrained(modelname)
|
16 |
+
model = AutoModelForTokenClassification.from_pretrained(modelname)
|
17 |
+
```
|