8000 UnboundLocalError: local variable 'batch_size' referenced before assignment · Issue #372 · THUDM/VisualGLM-6B · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
UnboundLocalError: local variable 'batch_size' referenced before assignment  #372
Open
@Money8888

Description

@Money8888

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0