kimpty commited on
Commit
f795f2d
1 Parent(s): 57a8e30

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
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, AutoModel
19
  tokenizer = AutoTokenizer.from_pretrained("medicalai/ClinicalGPT-base-zh")
20
- model = AutoModel.from_pretrained("medicalai/ClinicalGPT-base-zh")
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