OliveSensorAPI/datasets/processed/Book_QA_Process.md

14 lines
579 B
Markdown
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## 一共有两个 .py 文件分别为Book_QA_process_Step_1.py和Book_QA_process_Step_2.py
### Book_QA_process_Step_1.py
该代码是将我们生成的QA对jsonl数据转换为json格式
### Book_QA_process_Step_2.py
该代码是将第一步生成的json格式数据转化为可用于指令微调的数据格式并添加system
{
"conversation": [
{
"system": "你由EmoLLM团队打造的心理健康助手......",
"input": "Question",
"output": "Answer"
}
]
}