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

语料生成相关 #36

Closed
ZenXir opened this issue Mar 26, 2023 · 1 comment
Closed

语料生成相关 #36

ZenXir opened this issue Mar 26, 2023 · 1 comment

Comments

@ZenXir
Copy link

ZenXir commented Mar 26, 2023

有两点没明白,麻烦大佬老师帮解释下吧:
1、为什么需要种子任务 zh_seed_tasks.json?
种子任务的作用是什么?

2、生成数据时

  pip install -r requirements.txt
export OPENAI_API_KEY=YOUR_API_KEY
python generate_instruction.py generate_instruction_following_data
最后的这个参数 generate_instruction_following_data 是什么大佬老师? 是表示生成数据的存储文件吗?
非常感谢大佬老师

@bestpredicts
Copy link
Collaborator

种子的作用主要是利用in context learning的方法,让chatgpt生成更多的指令数据。generate_instruction_following_data是里面生产数据的函数。

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