Armstrong Li

Results 2 issues of Armstrong Li

我参考你的pytorch代码,改为读取图片,下载了350张验证码,100张做验证集,5张测试,其它的都训练。 Loss 0.001 : 250 epoch Loss 0.0001 : 30 epoch Train Loss =0.0021 , Acc = 0.9687 (比较满意) 但: Valid Loss = 0.7251 , Acc = 0.4862 (50%不到) pth保存后,又从train...

调优

### System Info / 系統信息 Download the "ZhipuAI/chatglm3-6b" models from https://modelscope.cn/models/ZhipuAI/ChatGLM-6B . tokenizer = AutoTokenizer.from_pretrained(model_path, trust_remote_code=True) model = AutoModel.from_pretrained(model_path, trust_remote_code=True).half().cuda() model = model.eval() response, history = model.chat(tokenizer, "你好", history=[]) print(response)...