Lin-K76 commited on
Commit
85dc941
1 Parent(s): 7014671

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -56,9 +56,9 @@ messages = [
56
  {"role": "user", "content": "Who are you?"},
57
  ]
58
 
59
- prompts = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True, tensor_parallel_size=4)
60
 
61
- llm = LLM(model=model_id, trust_remote_code=True, max_model_len=4096)
62
 
63
  outputs = llm.generate(prompts, sampling_params)
64
 
 
56
  {"role": "user", "content": "Who are you?"},
57
  ]
58
 
59
+ prompts = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
60
 
61
+ llm = LLM(model=model_id, trust_remote_code=True, max_model_len=4096, tensor_parallel_size=4)
62
 
63
  outputs = llm.generate(prompts, sampling_params)
64