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

关于数据的instruction,input,output #230

Open
sanwei111 opened this issue May 17, 2023 · 3 comments
Open

关于数据的instruction,input,output #230

sanwei111 opened this issue May 17, 2023 · 3 comments

Comments

@sanwei111
Copy link

你好作者,你的readme中给出了代码的输入数据:
{
"id": 0, "paragraph": [
{
"q": "从南京到上海的路线",
"a": "你好,南京到上海的路线如下:1. 南京到上海,可以乘坐南京地铁1号线,在南京站乘坐轨道交通1号线。2. 南京到浦东机场,可以搭乘上海地铁1号,在陆家嘴站乘坐地铁1线,在浦东国际机场站乘坐机场快线,前往上海浦东国际机场。3. 上海到南京,可以换乘上海地铁2号线,从南京站换乘地铁2线,再从南京南站换乘地铁1路,然后到达上海站"
}
]
}
这些alpaca数据经过转化得到的,而这个例子中是,只有instruction和output,那么对于有instruction,input,output的数据,应该怎么构造呢?

@yangxikun
Copy link

同问

1 similar comment
@noobimp
Copy link

noobimp commented Jun 13, 2023

同问

@ssbuild
Copy link
Owner

ssbuild commented Jun 13, 2023

例子是给了没有模板的结构(为了不限制想象,自行构建模板)。
转换是把alpaca模板 转换成 q a结构 , 而不是把 q, a 转换模板!

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

4 participants