JustinLin610 commited on
Commit
39be9a6
1 Parent(s): 47ec9ba

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -49,10 +49,10 @@ from transformers import AutoModelForCausalLM, AutoTokenizer
49
  device = "cuda" # the device to load the model onto
50
 
51
  model = AutoModelForCausalLM.from_pretrained(
52
- "Qwen2/Qwen2-beta-14B-Chat",
53
  device_map="auto"
54
  )
55
- tokenizer = AutoTokenizer.from_pretrained("Qwen2/Qwen2-beta-14B-Chat")
56
 
57
  prompt = "Give me a short introduction to large language model."
58
  messages = [
 
49
  device = "cuda" # the device to load the model onto
50
 
51
  model = AutoModelForCausalLM.from_pretrained(
52
+ "Qwen/Qwen2-beta-14B-Chat",
53
  device_map="auto"
54
  )
55
+ tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen2-beta-14B-Chat")
56
 
57
  prompt = "Give me a short introduction to large language model."
58
  messages = [