Spaces:
Runtime error
Runtime error
Commit ·
2fcdaa5
1
Parent(s): 0eb163e
Update run.py
Browse files23 unmodified lines2425262728293023 unmodified linesif(prompt_type=="ChatML (German)"):body={"prompt":"<|im_start|>system\nDu bist ein KI-basiertes deutschsprachiges Assistenzsystem.<|im_end|>\n<|im_start|>user"+message+"<|im_end|>\n<|im_start|>assistant","max_tokens":1000,"stop":"<|im_end|>","stream":True}if(prompt_type=="Alpaca"):body={"prompt":"###Instruction: "+message+" ###Resonse:","max_tokens":1000,"stop":"###","stream":True}if(prompt_type=="Vicuna"):body={"prompt":"A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions. USER: "+message+" ASSISTANT:","max_tokens":1000,"stop":"USER:","stream":True}if(prompt_type=="Vicuna (German)"):23 unmodified lines2425262728293023 unmodified linesif(prompt_type=="ChatML (German)"):body={"prompt":"<|im_start|>system\nDu bist ein KI-basiertes deutschsprachiges Assistenzsystem.<|im_end|>\n<|im_start|>user"+message+"<|im_end|>\n<|im_start|>assistant","max_tokens":1000,"stop":"<|im_end|>","stream":True}if(prompt_type=="Alpaca"):body={"prompt":"###Instruction:\n"+message+"\n\n###Resonse:\n","max_tokens":1000,"stop":"###","stream":True}if(prompt_type=="Vicuna"):body={"prompt":"A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions. USER: "+message+" ASSISTANT:","max_tokens":1000,"stop":"USER:","stream":True}if(prompt_type=="Vicuna (German)"):
run.py+1-1