Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnboundLocalError: local variable 'batch_size' referenced before assignment #372

Open
Money8888 opened this issue Nov 25, 2024 · 0 comments

Comments

@Money8888
Copy link

Hi
I have a mistake when using the "model.chat()" function. here are some pictures about it
image

image

there may be a mistake happend in " ~/.cache/huggingface/modules/transformers_modules/visualglm-6b/modeling_chatglm.py" 907 line. how can i correct it? thanks

the model and tokenizer have already finished
image

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

No branches or pull requests

1 participant