mirror of
https://github.com/modelscope/modelscope.git
synced 2026-02-24 20:19:51 +01:00
update
This commit is contained in:
@@ -131,7 +131,7 @@ class LLMPipeline(Pipeline):
|
||||
if output_logits:
|
||||
logits_d: dict = {
|
||||
'logits': outputs,
|
||||
'tokens': tokens,
|
||||
'tokens': tokens['inputs'],
|
||||
'inputs_len': len(tokens['inputs'][0])
|
||||
}
|
||||
response.update(logits_d)
|
||||
|
||||
Reference in New Issue
Block a user