chaoyi-wu commited on
Commit
cb25819
1 Parent(s): d7e94da

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -0
README.md CHANGED
@@ -18,6 +18,7 @@ The model can be loaded as following:
18
 
19
  ```
20
  import transformers
 
21
  tokenizer = transformers.LlamaTokenizer.from_pretrained('chaoyi-wu/PMC_LLAMA_7B')
22
  model = transformers.LlamaForCausalLM.from_pretrained('chaoyi-wu/PMC_LLAMA_7B')
23
  sentence = 'Hello, doctor'
 
18
 
19
  ```
20
  import transformers
21
+ import torch
22
  tokenizer = transformers.LlamaTokenizer.from_pretrained('chaoyi-wu/PMC_LLAMA_7B')
23
  model = transformers.LlamaForCausalLM.from_pretrained('chaoyi-wu/PMC_LLAMA_7B')
24
  sentence = 'Hello, doctor'