text
stringlengths 1
4.5k
|
---|
swift |
Copy code |
{ |
"instruction": "Make the second sentence shorter.", |
"input": "Winter is usually the coldest season of the year. Snow is a common element during winter.", |
"output": "Winter is the coldest season, often accompanied by snow.", |
"text": "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:\nMake the second sentence shorter.\n\n### Input:\nWinter is usually the coldest season of the year. Snow is a common element during winter.\n\n### Response:\nWinter is the coldest season, often accompanied by snow." |
}, |
{ |
"instruction": "Find the solution to the quadratic equation.", |
"input": "3x² + 7x - 4 = 0", |
"output": "The solution of the quadratic equation is x = -4 and x = 1/3.", |
"text": "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 solution to the quadratic equation.\n\n### Input:\n3x² + 7x - 4 = 0\n\n### Response:\nThe solution of the quadratic equation is x = -4 and x = 1/3." |
}, |
{ |
"instruction": "Find the average of these three numbers.", |
"input": "2, 5, 10", |
"output": "The average of 2, 5, 10 is 5.67.", |
"text": "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 average of these three numbers.\n\n### Input:\n2, 5, 10\n\n### Response:\nThe average of 2, 5, 10 is 5.67." |
}, |
{ |
"instruction": "Rewrite the sentence in a different tense.", |
"input": "He asked her to join him for lunch.", |
"output": "He had asked her to join him for lunch.", |
"text": "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:\nRewrite the sentence in a different tense.\n\n### Input:\nHe asked her to join him for lunch.\n\n### Response:\nHe had asked her to join him for lunch." |
}, |
{ |
"instruction": "Classify the following data with three labels.", |
"input": "fjsklfjdsklfjsklfjsklfjs", |
"output": "Label1: Character data\nLabel2: Alphabetical data\nLabel3: Non-alphabetical data", |
"text": "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:\nClassify the following data with three labels.\n\n### Input:\nfjsklfjdsklfjsklfjsklfjs\n\n### Response:\nLabel1: Character data\nLabel2: Alphabetical data\nLabel3: Non-alphabetical data" |
}, |
json |
Copy code |
{ |
"instruction": "Fanya sentensi ya pili kuwa fupi zaidi.", |
"input": "Majira ya baridi kawaida ni msimu baridi zaidi wa mwaka. Theluji ni kawaida wakati wa majira ya baridi.", |
"output": "Majira ya baridi ni msimu baridi, mara nyingi huandamana na theluji.", |
"text": "Hapo chini ni maelekezo yanayoelezea kazi, pamoja na input inayotoa muktadha zaidi. Andika jibu linalokamilisha ombi hilo kwa usahihi.\n\n### Maelekezo:\nFanya sentensi ya pili kuwa fupi zaidi.\n\n### Input:\nMajira ya baridi kawaida ni msimu baridi zaidi wa mwaka. Theluji ni kawaida wakati wa majira ya baridi.\n\n### Majibu:\nMajira ya baridi ni msimu baridi, mara nyingi huandamana na theluji." |
}, |
{ |
"instruction": "Pata suluhisho la equation ya pili ya daraja.", |
"input": "3x² + 7x - 4 = 0", |
"output": "Suluhisho la equation ya pili ya daraja ni x = -4 na x = 1/3.", |
"text": "Hapo chini ni maelekezo yanayoelezea kazi, pamoja na input inayotoa muktadha zaidi. Andika jibu linalokamilisha ombi hilo kwa usahihi.\n\n### Maelekezo:\nPata suluhisho la equation ya pili ya daraja.\n\n### Input:\n3x² + 7x - 4 = 0\n\n### Majibu:\nSuluhisho la equation ya pili ya daraja ni x = -4 na x = 1/3." |
}, |
{ |
"instruction": "Pata wastani wa namba hizi tatu.", |
"input": "2, 5, 10", |
"output": "Wastani wa 2, 5, 10 ni 5.67.", |
"text": "Hapo chini ni maelekezo yanayoelezea kazi, pamoja na input inayotoa muktadha zaidi. Andika jibu linalokamilisha ombi hilo kwa usahihi.\n\n### Maelekezo:\nPata wastani wa namba hizi tatu.\n\n### Input:\n2, 5, 10\n\n### Majibu:\nWastani wa 2, 5, 10 ni 5.67." |
}, |
{ |
"instruction": "Andika upya sentensi kwa wakati tofauti.", |
"input": "Alimuomba ajiunge naye kwa chakula cha mchana.", |
"output": "Alikuwa amemuomba ajiunge naye kwa chakula cha mchana.", |
"text": "Hapo chini ni maelekezo yanayoelezea kazi, pamoja na input inayotoa muktadha zaidi. Andika jibu linalokamilisha ombi hilo kwa usahihi.\n\n### Maelekezo:\nAndika upya sentensi kwa wakati tofauti.\n\n### Input:\nAlimuomba ajiunge naye kwa chakula cha mchana.\n\n### Majibu:\nAlikuwa amemuomba ajiunge naye kwa chakula cha mchana." |
}, |
{ |
"instruction": "Gawanya data ifuatayo kwa lebo tatu.", |
"input": "fjsklfjdsklfjsklfjsklfjs", |
"output": "Lebo1: Data ya herufi\nLebo2: Data ya alfabeti\nLebo3: Data isiyo ya alfabeti", |
"text": "Hapo chini ni maelekezo yanayoelezea kazi, pamoja na input inayotoa muktadha zaidi. Andika jibu linalokamilisha ombi hilo kwa usahihi.\n\n### Maelekezo:\nGawanya data ifuatayo kwa lebo tatu.\n\n### Input:\nfjsklfjdsklfjsklfjsklfjs\n\n### Majibu:\nLebo1: Data ya herufi\nLebo2: Data ya alfabeti\nLebo3: Data isiyo ya alfabeti" |
} |
swift |
Copy code |
{ |
"instruction": "Find the cutoff score for successful completion of the exam", |
"input": "The exam had 100 multiple-choice questions with 4 options each", |
"output": "The cutoff score for successful completion of the exam is 75.", |
"text": "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 cutoff score for successful completion of the exam\n\n### Input:\nThe exam had 100 multiple-choice questions with 4 options each\n\n### Response:\nThe cutoff score for successful completion of the exam is 75." |
}, |
{ |
"instruction": "Generate a topic sentence to introduce the following text.", |
"input": "Amidst increasing violence in the region, many civilians are fleeing their homes in search of safety.", |
"output": "Due to the escalating tensions and violence, countless civilians are being forced from their homes in fear for their lives.", |
"text": "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 a topic sentence to introduce the following text.\n\n### Input:\nAmidst increasing violence in the region, many civilians are fleeing their homes in search of safety.\n\n### Response:\nDue to the escalating tensions and violence, countless civilians are being forced from their homes in fear for their lives." |
}, |
{ |
"instruction": "Write a function to calculate the factorial of a given number.", |
"input": "", |
"output": "def factorial(n):\n if n == 0:\n return 1\n return n * factorial(n-1)", |
"text": "Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\n### Instruction:\nWrite a function to calculate the factorial of a given number.\n\n### Response:\ndef factorial(n):\n if n == 0:\n return 1\n return n * factorial(n-1)" |
}, |
{ |
"instruction": "Write a function to convert a given string to uppercase.", |
"input": "", |
"output": "def toUpperCase(str):\n return str.upper()", |
"text": "Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\n### Instruction:\nWrite a function to convert a given string to uppercase.\n\n### Response:\ndef toUpperCase(str):\n return str.upper()" |
}, |
{ |
"instruction": "Extract the positive integers from an array?", |
"input": "arr = [5,-2,8,-7,3,-1,0,5]", |
"output": "[5, 8, 3, 5]", |
"text": "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:\nExtract the positive integers from an array?\n\n### Input:\narr = [5,-2,8,-7,3,-1,0,5]\n\n### Response:\n[5, 8, 3, 5]" |
}, |
json |
Copy code |
{ |
"instruction": "Pata alama ya chini inayohitajika kufaulu mtihani", |