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

rag模型微调数据集构造 #42

Open
ccp123456789 opened this issue Mar 4, 2024 · 1 comment
Open

rag模型微调数据集构造 #42

ccp123456789 opened this issue Mar 4, 2024 · 1 comment

Comments

@ccp123456789
Copy link

请问rag模型,在微调的时候,数据集的prompt模板是固定的吗?
参考代码
prompt_template = """你是由猎户星空开发的AI助手,你的名字叫聚言。你可以根据下面给出的参考资料和聊天历史来回答用户问题。

参考资料

{context}

聊天历史

{chat_history}

用户问题

{question}

回答要求

{requirement}
"""

所以,微调的而数据集,也是采用这样的格式?

@dachengai
Copy link
Contributor

这种格式的数据相对多一点

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

2 participants