You Li

Results 12 comments of You Li

problem has been successfully solved by updating transformers to 4.40.1, the lastest version that seems to support llama3. Yes you hear me! Though as easy and stupid as it seems,...

gpt给的方案,现在能出了。改了style,predict函数和reset_state: def predict(input, chatbot, max_length, top_p, temperature, history, past_key_values): chatbot.append((parse_text(input), "")) for response, history, past_key_values in model.stream_chat(tokenizer, input, history, past_key_values=past_key_values, return_past_key_values=True, max_length=max_length, top_p=top_p, temperature=temperature): chatbot[-1] = (parse_text(input), parse_text(response)) # 返回包含消息和聊天机器人回复的元组...

太感谢您了!!! 祝好!! 李铀 ***@***.***   ------------------ 原始邮件 ------------------ 发件人: "THUDM/ChatGLM-6B" ***@***.***>; 发送时间: 2023年11月14日(星期二) 晚上8:46 ***@***.***>; ***@***.******@***.***>; 主题: Re: [THUDM/ChatGLM-6B] [BUG/Help] 启动web_demo.py 报错 AttributeError: 'Textbox' object has no attribute 'style'. Did you mean: 'scale'? (Issue...

Now I have figured it out. It is very likely that the llama weights you select is not appropriate. My former attempt failed at choose a incorrect .pth file at...

llama-factory对VIT和connector的训练支持似乎确实没做太好,好像就是不支持

> @wjx-sudo 解决了吗 我也想单独在垂类图片训练ViT > > 代码里禁止这么做, 可能有什么原因 > > ```python > def get_forbidden_modules(config: "PretrainedConfig", finetuning_args: "FinetuningArguments") -> Set[str]: > r""" > Freezes vision tower and language model for VLM...

But why isn't found now? ![image](https://github.com/user-attachments/assets/e085d8c8-151a-45c9-ad3c-f6b3512711b5)