"examples/pytorch/vscode:/vscode.git/clone" did not exist on "d6957c28ff1884ca7facec5d3e9c8021e84f79b7"
Commit 397714f5 authored by rprenger's avatar rprenger
Browse files

Forgot to have the outputs named text instead of prompts

parent 4b11fd9d
...@@ -107,7 +107,7 @@ class MegatronGenerate(Resource): ...@@ -107,7 +107,7 @@ class MegatronGenerate(Resource):
top_p, top_p,
add_BOS) add_BOS)
return jsonify({"prompts": response, return jsonify({"text": response,
"segments": response_seg, "segments": response_seg,
"logprobs": response_logprobs}) "logprobs": response_logprobs})
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment