Skip to content

fix bug in LLaMAModel.chat() in __init__.py#179

Open
yjcexp wants to merge 1 commit intoJittor:mainfrom
yjcexp:main
Open

fix bug in LLaMAModel.chat() in __init__.py#179
yjcexp wants to merge 1 commit intoJittor:mainfrom
yjcexp:main

Conversation

@yjcexp
Copy link

@yjcexp yjcexp commented Jan 6, 2024

fix bug in LLaMAModel.chat() in init.py
This line of code is missing an indentation, which results in "UnboundLocalError: local variable'output text' referenced before assignment"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant