voidful commited on
Commit
ab8ffc0
1 Parent(s): 5e023ec

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -25,8 +25,8 @@ from transformers import AutoModelForCausalLM, AutoTokenizer
25
 
26
  torch.set_default_device("cuda")
27
 
28
- model = AutoModelForCausalLM.from_pretrained("voidful/phi-1_5_chat_32k",trust_remote_code=True)
29
- tokenizer = AutoTokenizer.from_pretrained("voidful/phi-1_5_chat_32k", trust_remote_code=True,device_map="auto")
30
 
31
  from fastchat.conversation import get_conv_template
32
  conv = get_conv_template('qwen-7b-chat')
 
25
 
26
  torch.set_default_device("cuda")
27
 
28
+ model = AutoModelForCausalLM.from_pretrained("voidful/phi-1_5_chat_32k")
29
+ tokenizer = AutoTokenizer.from_pretrained("voidful/phi-1_5_chat_32k",device_map="auto")
30
 
31
  from fastchat.conversation import get_conv_template
32
  conv = get_conv_template('qwen-7b-chat')