Update README.md
Browse files
README.md
CHANGED
@@ -17,4 +17,17 @@ propose a unified model in the biomedical domain and use instructions to achieve
|
|
17 |
How to Use
|
18 |
=============
|
19 |
|
20 |
-
You can very easily load the models with Transformers, instead of downloading them manually.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
How to Use
|
18 |
=============
|
19 |
|
20 |
+
You can very easily load the models with Transformers, instead of downloading them manually. BART-base model is the backbone of our model.
|
21 |
+
|
22 |
+
```
|
23 |
+
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
|
24 |
+
|
25 |
+
tokenizer = AutoTokenizer.from_pretrained("cogint/in-boxbart")
|
26 |
+
|
27 |
+
model = AutoModelForSeq2SeqLM.from_pretrained("cogint/in-boxbart")
|
28 |
+
```
|
29 |
+
Or just clone the model repo
|
30 |
+
```
|
31 |
+
git lfs install
|
32 |
+
git clone https://huggingface.co/cogint/in-boxbart
|
33 |
+
```
|