-
Notifications
You must be signed in to change notification settings - Fork 31
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
About the output in evaluate.py #56
Comments
您好请问什么事closed问题?按理说训练完成后他会服从你训练样本的格式,不会做过多的生成(注意在训练样本最后加上eos |
在issues23中,他的中间结果
生成的是这种格式 |
你好,这种可能是推理的过程中lora没有装载,正常训练手链的模型一般不会输出Explanation,方便share一下你的环境机器版本吗? |
关于evaluate.py文件的evaluate函数(127-165行)的返回的output并没有用,而是用generation_output.scores[0]计算的概率。这里为何用[0]。还有这个函数的默认max_new_token为128,回答了Yes或No后,后面的输出内容是什么样的,关于output有研究过吗?。我在closed问题中看到了一个output会输出”###Explain:...“。但我训练后并没有这种结果。
下面是我在book测试集上前8条的结果
The text was updated successfully, but these errors were encountered: