Update README.md
Browse files
README.md
CHANGED
@@ -16,8 +16,8 @@ We initialized Clinical-Longformer from the pre-trained weights of the base vers
|
|
16 |
Load the model directly from Transformers:
|
17 |
```
|
18 |
from transformers import AutoTokenizer, AutoModelForMaskedLM
|
19 |
-
tokenizer = AutoTokenizer.from_pretrained("yikuan8/Clinical-Longformer"
|
20 |
-
model = AutoModelForMaskedLM.from_pretrained("yikuan8/Clinical-Longformer"
|
21 |
```
|
22 |
|
23 |
If you find our model helps, please consider citing this :)
|
|
|
16 |
Load the model directly from Transformers:
|
17 |
```
|
18 |
from transformers import AutoTokenizer, AutoModelForMaskedLM
|
19 |
+
tokenizer = AutoTokenizer.from_pretrained("yikuan8/Clinical-Longformer")
|
20 |
+
model = AutoModelForMaskedLM.from_pretrained("yikuan8/Clinical-Longformer")
|
21 |
```
|
22 |
|
23 |
If you find our model helps, please consider citing this :)
|