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

请教一下关于做具体的下游任务的问题 #238

Open
HypherX opened this issue Oct 15, 2023 · 0 comments
Open

请教一下关于做具体的下游任务的问题 #238

HypherX opened this issue Oct 15, 2023 · 0 comments

Comments

@HypherX
Copy link

HypherX commented Oct 15, 2023

我看代码中有一个train_on_input的参数,我理解的llama这类生成模型如果要做具体的下游任务,比如文本分类,那是不是训练的时候,模型的输入是文本+标签,输出也是文本+标签,而在评估或者测试的过程中,模型的输入是文本,输出是文本+标签,然后自行把标签抽出来算指标。我有一点没看懂这个train_on_input的含义,貌似如果输入有两个feature的话,模型的输入是text+label而输出只有label,可能与我理解的输入输出不一致,可否请教一下这个问题。

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