Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
Megatron-LM
Commits
397714f5
Commit
397714f5
authored
Oct 07, 2021
by
rprenger
Browse files
Forgot to have the outputs named text instead of prompts
parent
4b11fd9d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
megatron/text_generation_server.py
megatron/text_generation_server.py
+1
-1
No files found.
megatron/text_generation_server.py
View file @
397714f5
...
...
@@ -107,7 +107,7 @@ class MegatronGenerate(Resource):
top_p
,
add_BOS
)
return
jsonify
({
"
prompts
"
:
response
,
return
jsonify
({
"
text
"
:
response
,
"segments"
:
response_seg
,
"logprobs"
:
response_logprobs
})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment