dataset
stringclasses
3 values
id
stringlengths
13
22
regeneration_model
stringclasses
1 value
messages
listlengths
2
2
gpt4_alpaca
gpt4_alpaca_914
llama3-405b
[ { "role": "user", "content": "Rewrite the following paragraph using fewer than 100 words.\n\nThe museum had an interesting collection. The paintings were bright and full of energy. There were sculptures and pottery from different cultures, each delicate and beautifully crafted. There was also a collection of ancient tools and weapons from various regions, including swords and bows.\n\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_917
llama3-405b
[ { "role": "user", "content": "Given an animal, generate a list of foods it can eat.\n\nNow complete the following instance -\nInput: Koala\nOutput:" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_1027
llama3-405b
[ { "role": "user", "content": "Name 5 flowers found in a tropical rainforest. Output:" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_1028
llama3-405b
[ { "role": "user", "content": "What are the four marketing techniques used to gain customer attention?\n\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_1033
llama3-405b
[ { "role": "user", "content": "You need to complete the following task:\n\nExplain what makes a good digital marketing strategy.\n\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_1034
llama3-405b
[ { "role": "user", "content": "Write a response that appropriately completes the request.\n\n### Instruction:\nExplain how to make a simple paper airplane.\n\n### Response:" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_1035
llama3-405b
[ { "role": "user", "content": "Task: Rewrite the following phrase so that it has a formal tone\nInput: I'm gonna get it done\nOutput:" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_1037
llama3-405b
[ { "role": "user", "content": "Give a one-sentence review of this book.\n\nThe Alchemist by Paulo Coelho\n\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_1150
llama3-405b
[ { "role": "user", "content": "Instruction: Write a story about a man’s high-stakes fight\nOutput:" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_5035
llama3-405b
[ { "role": "user", "content": "Instruction: Generate a headline for a news article about medical testing for Covid-19\nOutput:" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_5036
llama3-405b
[ { "role": "user", "content": "Group the following words into two categories:\nSports, Soccer, Running, Weightlifting\n\nAnswer:" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_5174
llama3-405b
[ { "role": "user", "content": "Generate a creative sentence describing the time of day 11 am. Output:" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_5175
llama3-405b
[ { "role": "user", "content": "Instruction:Grade the following essay out of 100\n\nInput: The purpose of this essay is to explore the impact of technology on society. Technologies such as the internet, artificial Intelligence etc. are changing the way we live, work, and interact with one another. They are making life easier and creating new jobs, but they are also creating new risks and challenges.\n\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_5176
llama3-405b
[ { "role": "user", "content": "Task: Define a given term.\n\nMonoculture\n\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_5177
llama3-405b
[ { "role": "user", "content": "Describe how coordination of DNA occurs.\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_5178
llama3-405b
[ { "role": "user", "content": "Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.\n\n### Instruction:\nDesign a poster for the event.\n\n### Input:\nEvent: International Women’s Day\n\n### Response:" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_5179
llama3-405b
[ { "role": "user", "content": "Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.\n\n### Instruction:\nCategorize the following list into different genres\n\n### Input:\nHarry Potter, Catcher in the Rye, Lord of the Rings\n\n### Response:" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_5180
llama3-405b
[ { "role": "user", "content": "What are the effects of deforestation on the local climate?\n\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_5181
llama3-405b
[ { "role": "user", "content": "Plase answer the following request: Give an example of a common proverb with a modern interpretation.\nAnswer:" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_5182
llama3-405b
[ { "role": "user", "content": "Generate a list of five books you think would be good for teenagers.\n\nAnswer:" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_5183
llama3-405b
[ { "role": "user", "content": "Task: To what extent does the given text use figurative language?\n\nThe world was a cold and lonely place.\n\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_5184
llama3-405b
[ { "role": "user", "content": "Analyze the sentence structure. Output the main clause, subordinate clause, and the verb phrase of the sentence.\nThe bats flew away when the storm came.\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_5185
llama3-405b
[ { "role": "user", "content": "Task: Convert the given metric measurement to imperial.\nInput: 34 cm\nOutput:" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_6620
llama3-405b
[ { "role": "user", "content": "Generate a descriptive sentence about a beach sunset.\n\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_11951
llama3-405b
[ { "role": "user", "content": "You need to complete the following task:\n\nName one thing that a car needs to work.\n\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_11954
llama3-405b
[ { "role": "user", "content": "Write an article about the current environmental conditions in your hometown.\n\nHometown: London\n\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_11957
llama3-405b
[ { "role": "user", "content": "If a student has a writing assignment on a certain subject, provide a few ideas on how they can approach the topic.\nA student has a writing assignment on the history of invention.\n\nResponse:" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_11958
llama3-405b
[ { "role": "user", "content": "Show an example of a dataset in the following topic\n\nCancer types\n\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_11962
llama3-405b
[ { "role": "user", "content": "Create a 5-word summative sentence based on the given story.\n\nNow complete the following instance -\nInput: The sky was dark and cloudy. Suddenly, a bolt of lightning illuminated the whole sky.\nOutput:" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_11971
llama3-405b
[ { "role": "user", "content": "Write a response that appropriately completes the request.\n\n### Instruction:\nTranslate the sentence \"Les enfants jouent avec leurs jouets\" into English.\n\n### Response:" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_11975
llama3-405b
[ { "role": "user", "content": "Create a short story of your own in 200 words featuring the following words: \"plate\" and \"proud\". Output:" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_11977
llama3-405b
[ { "role": "user", "content": "Instruction: Outline the steps to creating a successful online store.\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_11978
llama3-405b
[ { "role": "user", "content": "Find the median from this list\nInput: 3, 7, 2, 8, 9, 1\nOutput:" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_11981
llama3-405b
[ { "role": "user", "content": "How does the El Niño–Southern Oscillation cycle impact the climate?\nResponse:" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_11982
llama3-405b
[ { "role": "user", "content": "In what ways can AI help entrepreneurs?\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_11983
llama3-405b
[ { "role": "user", "content": "Determine which one of the given equations is not quadratic.\n\n3x^2 + 4x - 2\n7x^2 + 3\n12x^2 - 5x - 13\n\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_11984
llama3-405b
[ { "role": "user", "content": "Predict a consequence of the following action.\nBringing guns to school\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_11986
llama3-405b
[ { "role": "user", "content": "Compose a tweet about the importance of data privacy.\n\nAnswer:" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_11987
llama3-405b
[ { "role": "user", "content": "Instruction:Summarize this piece of information:\n\nInput: Dogs are mammals and they are related to wolves.\n\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_11990
llama3-405b
[ { "role": "user", "content": "Task: Upsample the array from 64Hz to 200Hz.\n\n[1 2 3 4 5 6]\n\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_11991
llama3-405b
[ { "role": "user", "content": "Name an NBA team in the Western Conference. Output:" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_11994
llama3-405b
[ { "role": "user", "content": "Write a journalistic article that summarizes the climate crisis.\n\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_11995
llama3-405b
[ { "role": "user", "content": "Identify and explain the use of foreshadowing in the passage.\n\nThe sun had set and the darkness of night was nearly upon the forest.\n\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_11996
llama3-405b
[ { "role": "user", "content": "Instruction: Write a limerick about your hometown.\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_11997
llama3-405b
[ { "role": "user", "content": "Give two synonyms of 'solution'\n\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_11999
llama3-405b
[ { "role": "user", "content": "Write 10 lines expressing why people should visit Egypt\n\nAnswer:" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12000
llama3-405b
[ { "role": "user", "content": "Given the following pieces of data, diagnose and classify the condition.\nInput: - Patient is experiencing a sharp pain in the shoulder\n- Patient reports difficulty in arm movement\nOutput:" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12001
llama3-405b
[ { "role": "user", "content": "Write a shopping list for the following items: 2 apples, 1 banana, 4 oranges, and 3 carrots.\n\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12002
llama3-405b
[ { "role": "user", "content": "You need to complete the following task:\n\nDescribe the recent rise of cryptocurrencies in the box below.\n\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12003
llama3-405b
[ { "role": "user", "content": "Describe the five foods that are most commonly purchased on grocery store trips.\n\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12004
llama3-405b
[ { "role": "user", "content": "Convert from celsius to fahrenheit.\n\nTemperature in Celsius: 15\n\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12005
llama3-405b
[ { "role": "user", "content": "Generate a list of questions a customer might ask when purchasing a product." }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12008
llama3-405b
[ { "role": "user", "content": "You need to complete the following task:\n\nList some safety tips when swimming in open water.\n\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12010
llama3-405b
[ { "role": "user", "content": "Calculate the cost of 4 apples at $2.50 each.\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12011
llama3-405b
[ { "role": "user", "content": "Generate a report summarizing the sales performance in the past quarter.\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12013
llama3-405b
[ { "role": "user", "content": "Which of the following is not a feature of a national park:\na) Restricted access\nb) Built structures\nc) Waterfalls\nd) Fishing\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12016
llama3-405b
[ { "role": "user", "content": "Identify one symbol and explain its meaning.\n\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12017
llama3-405b
[ { "role": "user", "content": "Name one European country.\nResponse:" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12018
llama3-405b
[ { "role": "user", "content": "Task: Generate a story in three sentences around the given input.\n\nA magical forest\n\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12019
llama3-405b
[ { "role": "user", "content": "Plase answer the following request: Find a suitable tagline for a company that provides web development services.\nAnswer:" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12023
llama3-405b
[ { "role": "user", "content": "Generate the definition of \"ambition\".\n\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12024
llama3-405b
[ { "role": "user", "content": "List 5 things people can do on an airplane.\n\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12025
llama3-405b
[ { "role": "user", "content": "Remove the conjunctions from the following sentence:\n\nJohn and Sam went to the store, but they couldn't find the item they wanted.\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12026
llama3-405b
[ { "role": "user", "content": "Instruction: Describe the relevance of applying machine learning to business\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12027
llama3-405b
[ { "role": "user", "content": "Explain in a few words why the given statement is true.\nThe use of videogames can help children develop skills and strategies.\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12028
llama3-405b
[ { "role": "user", "content": "Describe a dystopic future.\n\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12030
llama3-405b
[ { "role": "user", "content": "Find and add a synonym to the sentence.\n\nInput: He drove his car quickly.\n\nOutput:" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12031
llama3-405b
[ { "role": "user", "content": "Imagine you are a car mechanic. Diagnose this problem.\nCar: Volkswagen Golf\nIssue: Engine won't start.\n\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12032
llama3-405b
[ { "role": "user", "content": "Task: Comment on this statement.\n\nClimate change is a hoax invented by the Chinese.\n\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12033
llama3-405b
[ { "role": "user", "content": "Explain the basics of agile software development.\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12034
llama3-405b
[ { "role": "user", "content": "Edit the content and make sure the reader understands what the writer is trying to explain.\n\nAdditional Context:\nPeople who take part in sustainablity put effort into their lifestyle to make a positive contribution to society.\n\nAnswer:" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12037
llama3-405b
[ { "role": "user", "content": "Which element will become the results after the following mutation operation is applied?\n\n[1, 2, [3, 4], 5, 6] -> [1, 2, 3, 5, 6]\n\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12039
llama3-405b
[ { "role": "user", "content": "You need to complete the following task:\n\nExplain the metaphor used in the sentence below.\n\nHe had a heart of stone.\n\nAnswer:" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12041
llama3-405b
[ { "role": "user", "content": "Task: Identify the main musical instrument used in the following song\n\nhttps://www.youtube.com/watch?v=oGt53uZ1VxE\n\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12043
llama3-405b
[ { "role": "user", "content": "Describe a type of tool that can help with digital transformation.\n\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12044
llama3-405b
[ { "role": "user", "content": "Write an email to remind a customer of their past due payment.\nName: John Doe, Amount owed: $100\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12045
llama3-405b
[ { "role": "user", "content": "Summarize the provided news article\n\nNow complete the following instance -\nInput: President Biden has laid out plans for a $2 trillion infrastructure rebuild over the next four years. Biden intends the plan to be paid for in part by raising taxes on businesses and the wealthy. The plan includes rebuilding roads and bridges, expanding access to clean drinking water, strengthening infrastructure for broadband internet and electric vehicles, and investing in public transit, among other initiatives.\nOutput:" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12046
llama3-405b
[ { "role": "user", "content": "Edit the story below to be more descriptive.\nInput: It was a cold winter morning as Sarah got on the bus.\nOutput:" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12049
llama3-405b
[ { "role": "user", "content": "Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.\n\n### Instruction:\nFind the common elements between two sets.\n\n### Input:\nSet 1: {1,2,3,4,5,6}\nSet 2: {3,7,8,9}\n\n### Response:" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12050
llama3-405b
[ { "role": "user", "content": "Design an interface for a shopping website. Output:" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12051
llama3-405b
[ { "role": "user", "content": "Compare and contrast abstract art and traditional art.\n\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12052
llama3-405b
[ { "role": "user", "content": "You need to complete the following task:\n\nGenerate three philosophical questions that you can ask a friend.\n\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12053
llama3-405b
[ { "role": "user", "content": "You need to complete the following task:\n\nEvaluate a restaurant's customer service by describing the good and bad characteristics.\n\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12054
llama3-405b
[ { "role": "user", "content": "Create three surveys questions that are designed to measure customer satisfaction with a product.\n\nAnswer:" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12055
llama3-405b
[ { "role": "user", "content": "Task: For the two inputs, find the common element between them:\n\n(1) Football (2) Basketball\n\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12056
llama3-405b
[ { "role": "user", "content": "Produce a story about a bear.\n\nAnswer:" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12057
llama3-405b
[ { "role": "user", "content": "Task: Compress this sentence as much as possible without changing its meaning.\n\nAlthough this method is not the fastest, it is certainly the most effective.\n\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12058
llama3-405b
[ { "role": "user", "content": "Write a response that appropriately completes the request.\n\n### Instruction:\nWrite a 100 word paragraph on the importance of science education.\n\n### Response:" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12059
llama3-405b
[ { "role": "user", "content": "Find the cost for 5 roses and 3 lilies.\nRoses- Price per stem $4\nLilies- Price per stem $3\n\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12061
llama3-405b
[ { "role": "user", "content": "Is the following sentence true or false? Scientists predict that global warming will lead to more droughts in the future? Output:" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12062
llama3-405b
[ { "role": "user", "content": "Can you help with this?\n\nName two characteristics of a robot\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12063
llama3-405b
[ { "role": "user", "content": "Generate a descriptive report about this input\n\nAdditional Context:\nA video clip shows a man jumping off a bridge\n\nAnswer:" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12064
llama3-405b
[ { "role": "user", "content": "What course of action should the company take in the given situation?\nA customer has lodged a complaint that his online order was never delivered.\n\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12065
llama3-405b
[ { "role": "user", "content": "Write a response that appropriately completes the request.\n\n### Instruction:\nCome up with three questions to ask a potential employer in an interview.\n\n### Response:" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12066
llama3-405b
[ { "role": "user", "content": "Summarize the given Wikipedia article.\n\nNoam Chomsky is an American linguist, philosopher, cognitive scientist, historian, social critic, and political activist.\n\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12067
llama3-405b
[ { "role": "user", "content": "Task: Rank the following products from best to worst.\n\nSamsung TV, Sony TV, LG TV\n\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12068
llama3-405b
[ { "role": "user", "content": "Create a haiku poetry with the given theme.\nThe beauty of night sky\n" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12069
llama3-405b
[ { "role": "user", "content": "Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.\n\n### Instruction:\nGenerate the next sentence of this story\n\n### Input:\nOnce upon a time, there was a little girl who lived in the woods.\n\n### Response:" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12070
llama3-405b
[ { "role": "user", "content": "Instruction: What kind of text should you use in an email to reach out to a potential employer?\nOutput:" }, { "role": "assistant", "content": "" } ]
gpt4_alpaca
gpt4_alpaca_12071
llama3-405b
[ { "role": "user", "content": "Instruction: Create a sentence that describes how automation is changing the job market.\n" }, { "role": "assistant", "content": "" } ]

Recreating some subsets of Tulu 2 SFT Mix with Llama 3.1 405B completions from SambaNova

The following subsets (all generated with GPT-4):

  • GPT4-Alpaca
  • Open Orca
  • Coda Alpaca

Not that the raw dataset includes all the tulu prompts, but some were empty via max_length issues on the API. We filtered with

is_any_content_empty = lambda obj_list: any(not item["content"] for item in obj_list)

Here's a basic script for generating this data:

import os

import jsonlines
import requests
import json 
from datasets import load_dataset

ds = load_dataset("allenai/tulu-v2-sft-mixture")
ds = ds["train"]

outfile = jsonlines.open('tulu2_subset_regenerations.jsonl', 'w')
# code_alpaca open_orca gpt4_alpaca oasst1
counter = 0
for row in ds:
    if row["dataset"] == "code_alpaca" or row["dataset"] == "open_orca" or row["dataset"] == "gpt4_alpaca":
        counter += 1
        if len(row["messages"]) > 2:
            print(row)
        dialogue = row["messages"]
        prompt = dialogue[0]["content"]
        max_tokens = 4000 - len(prompt.split())
        messages = []
        messages.append({"role": "system", "content": "You are a highly efficient assistant. You are to be as fair and accurate"})
        messages.append(
        {
            "role": "user",
            "content": prompt
        }
        )
        payload = {"messages": messages, "max_tokens": 4096, "stop": ["[INST", "[INST]", "[/INST]", "[/INST]"], "model": "llama3-405b", "stream": "true"}

        key = "your key"
        url = "https://7swuc05a91h3zixk.snova.ai/v1/chat/completions"

        headers = {"Authorization": f"Basic {key}", "Content-Type": "application/json"}
        post_response = requests.post(url, json=payload, headers=headers, stream=True)
        response_text = ""
        for line in post_response.iter_lines():
            if line.startswith(b"data: "):
                data_str = line.decode("utf-8")[6:]
                try:
                    line_json = json.loads(data_str)
                    if "choices" in line_json and "content" in line_json["choices"][0]["delta"]:
                        try:
                            response_text += line_json["choices"][0]["delta"]["content"]
                        except:
                            breakpoint()
                except json.JSONDecodeError as e:
                    pass
        out_dict = {}
        out_dict["dataset"] = row["dataset"]
        out_dict["id"] = row["id"]
        out_dict["regeneration_model"] = "llama3-405b"
        out_dict["messages"] = []
        out_dict["messages"].append({"role": "user", "content": prompt})
        out_dict["messages"].append({"role": "assistant", "content": response_text})
        outfile.write(out_dict)
        print(response_text)
        print(counter)
Downloads last month
38
Edit dataset card