Fix formatting in README
Browse files
README.md
CHANGED
@@ -14,6 +14,9 @@ cd drug-combo-extraction
|
|
14 |
tar -xvzf checkpoints_pubmedbert_cpt_2021_three_class.tgz
|
15 |
|
16 |
python
|
17 |
-
|
18 |
-
|
19 |
-
|
|
|
|
|
|
|
|
14 |
tar -xvzf checkpoints_pubmedbert_cpt_2021_three_class.tgz
|
15 |
|
16 |
python
|
17 |
+
|
18 |
+
```
|
19 |
+
from modeling.model import load_model
|
20 |
+
checkpoint_path = "checkpoints_pubmedbert_cpt_2021_three_class"
|
21 |
+
model, tokenizer, metadata = load_model(checkpoint_path)
|
22 |
+
```
|