如何把第9节课的大模型微调里面的问答数据和第5节课的funcation结合起来? #484
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: HswOAuth/llm_course#484
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
{
"instruction": "你好",
"input": "",
"output": "您好,我是 信息中心 AI 助手,一个由 信息中心 AI 研发中心 打造的人工智能助手,
请问有什么可以帮助您的吗?"
}
如何把instruction和output,结合function?比如从instruction里面提取关键字,然后调用funcation calling里面定义的方法,不同的instruction里面提取参数,同时调用不同的方法,或者相同的方法,传递不同的参数?而不是像第5节课那样,只能写死单独的提示词工程
也就是给定几万条问答数据,每条数据里面,提取关键词参数,调佣不同的function calling里面的方法
可以参考第五节课使用的数据集的格式,修改问答数据的格式来训练。
麻烦给个例子,本来就是不会参考才提问的,感谢
https://zhuanlan.zhihu.com/p/674859843 可以参考这篇文章的方案