Update README.md
Browse files
README.md
CHANGED
@@ -15,9 +15,9 @@ We set the learning rate to 5e-5, with a batch size of 128 and a maximum length
|
|
15 |
|
16 |
Load the model via the transformers library:
|
17 |
```python
|
18 |
-
from transformers import AutoTokenizer,
|
19 |
tokenizer = AutoTokenizer.from_pretrained("medicalai/ClinicalGPT-base-zh")
|
20 |
-
model =
|
21 |
```
|
22 |
|
23 |
## Limitations
|
|
|
15 |
|
16 |
Load the model via the transformers library:
|
17 |
```python
|
18 |
+
from transformers import AutoTokenizer, AutoModelForCausalLM
|
19 |
tokenizer = AutoTokenizer.from_pretrained("medicalai/ClinicalGPT-base-zh")
|
20 |
+
model = AutoModelForCausalLM.from_pretrained("medicalai/ClinicalGPT-base-zh")
|
21 |
```
|
22 |
|
23 |
## Limitations
|