Browse Source

新增模型

master
majiahui@haimaqingfan.com 3 months ago
parent
commit
eda3843dc2
  1. 2
      qwen2_5_Instruct_model_predict_vllm_1.py
  2. 2
      qwen2_5_Instruct_model_predict_vllm_2.py
  3. 2
      qwen2_5_Instruct_model_predict_vllm_3.py

2
qwen2_5_Instruct_model_predict_vllm_1.py

@ -162,7 +162,7 @@ def classify(batch_size): # 调用模型,设置最大batch_size
sampling_params_list.append(SamplingParams(
temperature=temperature,
top_p=top_p,
stop="<|end|>",
stop="<|im_end|>",
presence_penalty=presence_penalty,
max_tokens=max_tokens
))

2
qwen2_5_Instruct_model_predict_vllm_2.py

@ -162,7 +162,7 @@ def classify(batch_size): # 调用模型,设置最大batch_size
sampling_params_list.append(SamplingParams(
temperature=temperature,
top_p=top_p,
stop="<|end|>",
stop="<|im_end|>",
presence_penalty=presence_penalty,
max_tokens=max_tokens
))

2
qwen2_5_Instruct_model_predict_vllm_3.py

@ -162,7 +162,7 @@ def classify(batch_size): # 调用模型,设置最大batch_size
sampling_params_list.append(SamplingParams(
temperature=temperature,
top_p=top_p,
stop="<|end|>",
stop="<|im_end|>",
presence_penalty=presence_penalty,
max_tokens=max_tokens
))

Loading…
Cancel
Save