P01son commited on
Commit
fcaf3db
1 Parent(s): 9aefcfc

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -3,7 +3,7 @@
3
  训练细节和benchmark指标: https://github.com/CVI-SZU/Linly
4
 
5
 
6
- ```
7
  from transformers import AutoModelForCausalLM, AutoTokenizer
8
 
9
  model = AutoModelForCausalLM.from_pretrained("Linly-AI/Chinese-LLaMA-2-7B-hf", device_map="cuda:0", torch_dtype=torch.float16, trust_remote_code=True)
 
3
  训练细节和benchmark指标: https://github.com/CVI-SZU/Linly
4
 
5
 
6
+ ```python
7
  from transformers import AutoModelForCausalLM, AutoTokenizer
8
 
9
  model = AutoModelForCausalLM.from_pretrained("Linly-AI/Chinese-LLaMA-2-7B-hf", device_map="cuda:0", torch_dtype=torch.float16, trust_remote_code=True)