add requirement of finetune
This commit is contained in:
parent
7c62112619
commit
ab011a344e
|
@ -497,7 +497,7 @@ async def predict_stream(model_id, gen_params):
|
||||||
function_call = {"name": None, "arguments": delta_text}
|
function_call = {"name": None, "arguments": delta_text}
|
||||||
tool_call = ChatCompletionMessageToolCall(
|
tool_call = ChatCompletionMessageToolCall(
|
||||||
index=0,
|
index=0,
|
||||||
id=generate_id('call_', 24),
|
id=None,
|
||||||
function=FunctionCall(**function_call),
|
function=FunctionCall(**function_call),
|
||||||
type="function"
|
type="function"
|
||||||
)
|
)
|
||||||
|
|
|
@ -3,3 +3,5 @@ datasets>2.20.0
|
||||||
peft>=0.11.1
|
peft>=0.11.1
|
||||||
deepspeed>=0.14.3
|
deepspeed>=0.14.3
|
||||||
nltk==3.8.1
|
nltk==3.8.1
|
||||||
|
rouge_chinese>=1.0.3
|
||||||
|
ruamel.yaml>=0.18.6
|
Loading…
Reference in New Issue