|
# 概述 |
|
阅读理解指令微调数据集大小为50k,提供jsonl,csv,json,Xtuner训练Format四种格式。它由两个子数据集构成,分别是25k的CosmosQA25k,和25k的TriviaQA25k数据集。 |
|
|
|
|
|
- 50262行 [Read_Comprehension50k](Read_Comperhension50k.jsonl),开源地址:[HuggingFace-Read_Comprehension50k](https://huggingface.co/datasets/KashiwaByte/Read_ComprehensionQA) |
|
|
|
- 25262行 [CosmosQA25k](Cosmosqa_train25k.jsonl) |
|
|
|
- 25000行 [TriviaQA25k](TriviaQA_train25k.jsonl) |
|
![alt text](image.png) |
|
|
|
- [transmethod](transmethod)文件夹中是一些格式处理的中间脚本。 |
|
- [cosmosqa](cosmosqa)文件夹中是Cosmosqa数据集的原始数据和一些中间数据。 |
|
- [triviaqa](triviaqa)文件夹中是Triviaqa数据集的原始数据和一些中间数据。 |
|
|
|
|
|
|
|
|
|
## Cosmosqa |
|
以下是CosmosQA25k的数据格式: |
|
``` |
|
{ |
|
"instruction":"As a reading comprehension expert, you will receive context, question and four answer options. Please understand the given Context first and then output the label of the correct option as the answer to the question based on the Context", |
|
"input": str( |
|
{ |
|
'context':{context}, |
|
'question':{question}, |
|
"answer0":{answer0}, |
|
"answer1":{answer1}, |
|
"answer2":{answer2}, |
|
"answer3":{answer3} |
|
}), |
|
output":labe |
|
} |
|
|
|
``` |
|
以下是一个示例 |
|
|
|
{"instruction": "As a reading comprehension expert, you will receive context, question and four answer options. Please understand the given Context first and then output the label of the correct option as the answer to the question based on the Context", |
|
"input": "{'context': {\"Good Old War and person L : I saw both of these bands Wednesday night , and they both blew me away . seriously . Good Old War is acoustic and makes me smile . I really can not help but be happy when I listen to them ; I think it 's the fact that they seemed so happy themselves when they played .\"}, 'question': {'In the future , will this person go to see other bands play ?'}, 'answer0': {'None of the above choices .'}, 'answer1': {'This person likes music and likes to see the show , they will see other bands play .'}, 'answer2': {'This person only likes Good Old War and Person L , no other bands .'}, 'answer3': {'Other Bands is not on tour and this person can not see them .'}}", |
|
"output": "1"} |
|
|
|
## TriviaQA |
|
以下是TriviaQA25k的数据格式: |
|
|
|
``` |
|
{ |
|
"instruction":"As a reading comprehension expert, you will receive context and question. Please understand the given Context first and then output the answer of the question based on the Context", |
|
|
|
"input": str( |
|
{ |
|
'context':{context}, |
|
'question':{question} |
|
}), |
|
|
|
"output":f'{answer}' |
|
} |
|
|
|
|
|
``` |
|
|
|
以下是一个示例 |
|
|
|
{"instruction": "As a reading comprehension expert, you will receive context and question. Please understand the given Context first and then output the answer of the question based on the Context", "input": "{'context': {'[DOC] [TLE] THEME FROM MAHOGANY - (DO YOU KNOW WHERE YOU\\'RE GOING TO ...THEME FROM MAHOGANY - (DO YOU KNOW WHERE YOU\\'RE GOING TO) - YouTube [PAR] THEME FROM MAHOGANY - (DO YOU KNOW WHERE YOU\\'RE GOING TO) [PAR] Want to watch this again later? [PAR] Sign in to add this video to a playlist. [PAR] Need to report the video? [PAR] Sign in to report inappropriate content. [PAR] Rating is available when the video has been rented. [PAR] This feature is not available right now. Please try again later. [PAR] Published on Jun 28, 2013 [PAR] The Theme from the movie \"Mahogany\" also titled \"Do You Know Where You\\'re Going To\" is a song written by Michael Masser and Gerald Giffin and was sung by Dianna Ross as the theme to the 1975 Paramount film. Her recording of the theme became a number one hit on both the U.S. Billboard Hot 100 Hits and the Easy Listening Charts. The song was nominated for an Academy Award and was performed live by Dianna Ross at the oscars show. INFRINGEMENT OF COPYRIGHT LAW IS NEVER INTENDED! [PAR] Category[DOC] [TLE] \"Theme From Mahogany (Do You Know Where You\\'re Going To ...DIANA ROSS LYRICS - Theme From Mahogany (Do You Know Where You\\'re Going To) [PAR] \"Theme From Mahogany (Do You Know Where You\\'re Going To)\" lyrics [PAR] DIANA ROSS LYRICS [PAR] \"Theme From Mahogany (Do You Know Where You\\'re Going To)\" [PAR] Do you know where you\\'re going to [PAR] Do you like the things that life is showing you [PAR] Where are you going to [PAR] Do you know [PAR] When you look behind you [PAR] There\\'s no open doors [PAR] What are you hoping for [PAR] Do you know [PAR] Once we were standing still in time [PAR] Chasing the fantasies [PAR] You knew how I loved you [PAR] But my spirit was free [PAR] Laughin\\' at the questions [PAR] That you once asked of me [PAR] Do you know where you\\'re going to [PAR] Do you like the things that life is showing you [PAR] Where are you going to [PAR] Do you know [PAR] Now looking back at all we\\'ve planned [PAR] We let so many dreams [PAR] Just slip through our hands [PAR] Why must we wait so long [PAR] Before we\\'ll see [PAR] To those questions can be [PAR] Do you know where you\\'re going to [PAR] Do you like the things that life is showing you [PAR] Where are you going to [PAR] Do you know[DOC] [TLE] Theme From Mahogany (Do You Know Where You\\'re Going To)Theme From Mahogany (Do You Know Where You\\'re Going To) - YouTube [PAR] Rating is available when the video has been rented. [PAR] This feature is not available right now. Please try again later. [PAR] Uploaded on Dec 29, 2008 [PAR] This movie was the first movie I ever saw after moving to the Bay Area in 1975. Having come from a small town, everything was so BIG. Intersections, malls, people rushing everywhere. The question this song asks, I asked myself over and over after such upheaval. I still don\\'t have the answer. The movie Mahogany (and this theme song) turn 40 this October. [PAR] Theme From Mahogany (Do You Know Where You\\'re Going To), by Diana Ross. From the movie, Mahogany in the year 1975. [PAR] Do you know where youre going to? [PAR] Do you like the things that life is showing you [PAR] Where are you going to? [PAR] Do you know...?[DOC] [TLE] Theme from Mahogany (Do You Know Where You\\'re Going To)Diana\\xa0Ross \u2013 Theme from Mahogany (Do You Know Where You\\'re Going To) Lyrics | Genius Lyrics [PAR] Theme from Mahogany (Do You Know Where You\\'re Going To) Lyrics [PAR] Do you know where you\\'re going to? [PAR] Do you like the things that life is showing you? [PAR] Where are you going to? [PAR] Do you know? [PAR] Do you get what you\\'re hoping for? [PAR] When you look behind you [PAR] There\\'s no open door [PAR] What are you hoping for? [PAR] Do you know? [PAR] Once we were'}, 'question': {\"Do You Know Where You're Going To? was the theme from which film?\"}}", "output": "['mahogany']"} |
|
|
|
|