homeyang commited on
Commit
ca245d0
1 Parent(s): adaf95e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -42,7 +42,7 @@ XuanYuan-6B基座模型、chat模型及其量化模型的使用方法和[XuanYua
42
  import torch
43
  from transformers import LlamaForCausalLM, AutoTokenizer
44
 
45
- model_name_or_path = "Duxiaoman-DI/XuanYuan-6B-Chat"
46
 
47
  tokenizer = AutoTokenizer.from_pretrained(model_name_or_path)
48
  model = LlamaForCausalLM.from_pretrained(model_name_or_path, device_map="auto")
 
42
  import torch
43
  from transformers import LlamaForCausalLM, AutoTokenizer
44
 
45
+ model_name_or_path = "your/model/path/"
46
 
47
  tokenizer = AutoTokenizer.from_pretrained(model_name_or_path)
48
  model = LlamaForCausalLM.from_pretrained(model_name_or_path, device_map="auto")