You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
数据集的格式如下
"messages": [
{
"role": "system",
"content": "agent职责..."
},
{
"role": "user",
"content": "用户实际问题"
},
{
"role": "assistant",
"content": "Thought:...\n Action: ...\n Observation:..."
}
]
assistant回复中只有Thought和Action部分去计算loss,Observation部分不参与loss计算。
该如何实现这个功能,基于llama factory框架的最佳实践应该是什么,修改哪部分的代码。
求大神指点。
Beta Was this translation helpful? Give feedback.
All reactions