Improve the text generation call a bit
This commit is contained in:
parent
2f16ce309a
commit
7c4d5ca8cc
2 changed files with 4 additions and 5 deletions
|
@ -42,4 +42,4 @@ class RWKVModel:
|
|||
token_stop = token_stop
|
||||
)
|
||||
|
||||
return self.pipeline.generate(context, token_count=token_count, args=args, callback=callback)
|
||||
return context+self.pipeline.generate(context, token_count=token_count, args=args, callback=callback)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue