Update README.md
Browse files
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"
|
29 |
-
tokenizer = AutoTokenizer.from_pretrained("voidful/phi-1_5_chat_32k",
|
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')
|