PingVortex commited on
Commit
e0ae2c8
·
verified ·
1 Parent(s): d89b64f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -1
README.md CHANGED
@@ -34,7 +34,8 @@ tokenizer = AutoTokenizer.from_pretrained(model_path)
34
  model = AutoModelForCausalLM.from_pretrained(model_path, dtype=torch.float16)
35
  model.eval()
36
 
37
- prompt = "<|im_start|>user\nWhat is the capital of France?<|im_end|>\n<|im_start|>assistant\n" # don't expect a coherent response
 
38
  inputs = tokenizer(prompt, return_tensors="pt")
39
 
40
  with torch.no_grad():
 
34
  model = AutoModelForCausalLM.from_pretrained(model_path, dtype=torch.float16)
35
  model.eval()
36
 
37
+ # don't expect a coherent response
38
+ prompt = "<|im_start|>user\nWhat is the capital of France?<|im_end|>\n<|im_start|>assistant\n"
39
  inputs = tokenizer(prompt, return_tensors="pt")
40
 
41
  with torch.no_grad():