prompt
stringlengths 48
13.4k
| response
stringlengths 0
2.59k
|
---|---|
Instructions: Given a sentence in the Japanese and Thai language. Your task is check if the Filipino sentence is translation of Japanese. if the translation is correct than generate label "Yes", otherwise generate label "No".
Input: Japanese: フランスの放送局は、世界の出来事についてフランスの見方を提示することを目的とした国際テレビネットワークCFIIを計画している。
Thai: ราชนาวีอังกฤษซึ่งตามปกติเคลื่อนเรือรบสองลำไปยังทะเลคาริบเบียนนั้น ได้สั่งให้เรือพิฆาต HMS Liverpool และ เรือ RFA Wave Knight หยุดรอดูสถานการณ์ก่อน
Output: | No |
Detailed Instructions: Your task is to localize given English phrase into Telugu language. When localising, follow these rules - (1) General names and concepts can be translated (2) Domain specific names can just be transliterated (3) Localised phrases can have both partial translated and transliterated parts (4) But only partial translation or only partial transliteration is not allowed (5) Copy special characters and numbers as is
See one example below:
Problem: Information about available protocols
Solution: అందుబాటులోని నిభందనల గురించి సమాచారం
Explanation: The sentence is truly translated as all the words are generic
Problem: Titlebar & & Frame
Solution: | శీర్షికపట్టీ & & చట్రము |
instruction:
In this task you are given a list of numbers and you need to find the average of each two consecutive values. The average of two numbers a and b is calculated as: (a + b) /2. The output should be a list of the averages of each two consecutive values. A list is presented with two brackets and comma-separated values, like: [1,2,3].
question:
[58, -99]
answer:
[-20.5]
question:
[7, -10, -55, 26, -43, 13, 16, -100, 57, 71, 98, -89, 35]
answer:
[-1.5, -32.5, -14.5, -8.5, -15.0, 14.5, -42.0, -21.5, 64.0, 84.5, 4.5, -27.0]
question:
[-27, 2, -11, 27, 37, -25, -46, 70, 29, 29, -91, -53, 34]
answer:
| [-12.5, -4.5, 8.0, 32.0, 6.0, -35.5, 12.0, 49.5, 29.0, -31.0, -72.0, -9.5]
|
Detailed Instructions: Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it.
Problem:beaked
Solution: | beakless |
Generate a 4-star review (1 being lowest and 5 being highest) about an app with package org.telegram.messenger.
A: | Smile Super |
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
In this task you are expected to write an SQL query that will return the data asked for in the question. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1.
Find the id and city of the student address with the highest average monthly rental.
Solution: SELECT T2.address_id , T1.city FROM Addresses AS T1 JOIN Student_Addresses AS T2 ON T1.address_id = T2.address_id GROUP BY T2.address_id ORDER BY AVG(monthly_rental) DESC LIMIT 1
Why? First we select the student's id and city of their address. Next, to find where each student lived we must join the "Addresses" table with the "Student_Addresses" table on rows with the same "address_id". Finally, we want to return the student address with the highest monthly rent. This is a good example.
New input: Are the customers holding coupons with amount 500 bad or good?
Solution: | SELECT T1.good_or_bad_customer FROM customers AS T1 JOIN discount_coupons AS T2 ON T1.coupon_id = T2.coupon_id WHERE T2.coupon_amount = 500 |
In this task, you are given two sets, and you need to count the number of elements at the union of two given sets. A Set is shown by two curly braces and comma-separated numbers inside, like {1, 2, 3}. Union of two given sets is the smallest set which contains all the elements of both the sets. To find the union of two given sets, A and B is a set that consists of all the elements of A and all the elements of B such that no element is repeated.
Ex Input:
Set1: '{17, 4, 9}', Set2: '{2, 9, 10, 11, 12, 13, 15, 19}'. How many elements are there in the union of Set1 and Set2 ?
Ex Output:
10
Ex Input:
Set1: '{8, 12, 13, 14, 15, 17}', Set2: '{8, 11}'. How many elements are there in the union of Set1 and Set2 ?
Ex Output:
7
Ex Input:
Set1: '{16, 19, 4, 14}', Set2: '{6}'. How many elements are there in the union of Set1 and Set2 ?
Ex Output:
| 5
|
Definition: We would like you to assess the QUALITY of each of the following argument (discussing Gun Control) and determine if the argument is Valid or Invalid. A valid argument is clearly interpretable and either expresses an argument, or a premise or a conclusion that can be used in an argument for the topic of gun control. An invalid argument is a phrase that cannot be interpreted as an argument or not on the topic of gun control.
Input: You wanna be gun grabbers and anti rights activists are giving each other a 'high five' for scoring a goal for your opposition.
Output: | Valid |
In this task you are expected to write an SQL query that will return the data asked for in the question. An SQL query works by selecting data from a table where certain conditions apply. A table contains columns where every row in that table must have a value for each column. Every table has a primary key that uniquely identifies each row, usually an id. To choose which columns are returned you specify that after the "SELECT" statement. Next, you use a "FROM" statement to specify what tables you want to select the data from. When you specify a table you can rename it with the "AS" statement. You can reference that table by whatever name follows the "AS" statement. If you want to select data from multiple tables you need to use the "JOIN" statement. This will join the tables together by pairing a row in one table with every row in the other table (Cartesian Product). To limit the number of rows returned you should use the "ON" statement. This will only return rows where the condition specified after the statement is true, this is usually an equals operator with primary keys. You can also use the "WHERE" statement to specify that only rows with column values statisfying a certain condition, should be returned. The "GROUP BY" statement will group rows together that have equal column values for whatever columns follows the statement. The "HAVING" statement will return groups that statisfy whatever condition follows the statement. Any column(s) being returned from grouped rows must either be an aggregate function, (AVG, MAX, COUNT, SUM, ...) of a column, or the column(s) that the data was grouped by. To sort the returned data you can use the "ORDER BY" command which will order the data by whatever aggregate function or column follows the statement. The "DESC" statement will sort in descending order and the "ASC" statement will sort in ascending order. Finally, you can use the "LIMIT" statement to return a certain number of rows. When "*" is used in an SQL statement every column is returned. For example, SELECT * FROM table WHERE attribute = 1, will select every column from rows with the attribute column equal to 1.
In which country does Roberto Almeida? | SELECT country FROM customers WHERE first_name = "Roberto" AND last_name = "Almeida" |
In this task you are given a passage in Bulgarian as the input content. You are expected to generate a suitable title for the passage which accurately summarizes the contents of the passage. The input is provided in the form of a long passage comprising of multiple sentences. The output should be restricted to a maximum of 20 words which describe the passage and its contents. The output can include words from the passage.
[EX Q]: Content:Маркус Гюнтхарт защити решението си да предложи „уайлд кард“ на Мария Шарапова за предстоящия тенис турнир от сериите Premier в Щутгарт. Поканата към рускинята разбуни духовете в тенис средите, като огромна част от колежките на Шарапова възроптаха срещу факта, че тя ще направи завръщането си на корта в Щутгарт на 26 април, когато изтича наказанието ѝ за употреба на мелдоний. „Арбитражният спортен съд прецени, че тя по-скоро е направила грешка, отколкото да е взимала допинг съзнателно. Също така тя публично обяви случилото се още преди официалното разкритие и си пое последствията, а да не забравяме и че си изтърпя наказанието“, каза директорът на надпреварата Гюнтхарт в интервю за вестник „Зюддойче Цайтунг“…. Източник на топ новината: : Гюнтхарт: Шарапова си изстрада последствията
[EX A]: Гюнтхарт: Шарапова си изстрада последствията
[EX Q]: Content:Тройно увеличение на средствата за наука предвижда новият проект за национална стратегия за развитие на научните изследвания. Той е за периода 2017-2030 г. Според него държавното финансиране за наука трябва да стане 0,7% от БВП през 2020 г. Средствата за наука да бъдат утроени в рамките на три години - такава цел постави служебният министър на образованието Николай Денков пред своите наследници, представяйки нов проект за развитие на научните изследвания. За тази година парите за наука представляват 0,19% от БВП, с което страната ни остава на 58-мо място по научни изследвания. Според Денков обаче средствата трябва да бъдат увеличени три пъти за три години, а до 2025 г. те да станат 1% от БВП. Целта е увеличаването на публичните средства да ускори и частното финансиране. Стратегията предвижда три етапа на развитие, което до 2030 г. да доведе до доближаване на научната система до световно ниво. Според Денков изоставането на научните изследвания в България се дължи не само на липсата на средства, а и липсата на система, която да оценява адекватно постиженията в сектора. Националната стратегия е изготвена с участието на експерти от Българската академия на науката и висшите училища. Тя трябва да бъде одобрена от следващото Народно събрание.
[EX A]: Нова стратегия на МОН предвижда парите за наука да станат 700 млн. лв. през 2020 г. - БЪЛГАРИЯ - Новини
[EX Q]: Content:Съдът в южния американски щат Луизиана произнесе присъдата за полицая, убил 6-годишно дете аутист през 2015 година, предаде Ен Би Си нюз. Дерик Стафорд ще лежи 55 години в затвора заради убийството, което защитата определи като стрелба при самозащита. Инцидентът шокира Щатите и за пореден път събуди вълна на недоволство сред населението заради прекомерна употреба на сила от страна на униформените. В края на 2015 година полицейска кола тръгва след друг автомобил, правейки сигнали да спре. Малко по-късно полицаите стрелят 18 пъти по шофьора, но не знаят, че на седалката до него има малко дете. 6-годишното момче е улучено и умира. Полицаите споделят, че са действали при самозащита. Дерик Стафорд – виждайки снимки на убитото момче в съда – заяви, че не би стрелял, ако е знаел, че то седи в колата. Властите разпространиха и кадри от инцидента. Полицейските служители заявиха също така, че в продължение на километри са преследвали автомобила. Другият полицай очаква своята присъда. САЩ
[EX A]: | 55 години затвор за полицай, убил 6-годишен аутист - Новини от света
|
You will be given a definition of a task first, then some input of the task.
In this task, you are given a country name, and you need to return the country's surface area in terms of square kilometers. Up to two decimal places are allowed in your answer.
Hong Kong
Output: | 1075.00 |
In this task, you are given a country name and you need to return the Top Level Domain (TLD) of the given country. The TLD is the part that follows immediately after the "dot" symbol in a website's address. The output, TLD is represented by a ".", followed by the domain.
Q: Uganda
A: | .ug |
Definition: In this task, you are given a country name, and you need to return the year in which the country became independent. Independence is a nation's independence or statehood, usually after ceasing to be a group or part of another nation or state, or more rarely after the end of military occupation.
Input: Vietnam
Output: | 1945 |
In this task you will be given a list of integers. You should remove all of the integers that are divisible by 3 from the list. If every integer in the input list is divisible by 3 then an empty list should be returned. Zero is divisible by 3.
--------
Question: [-10, -74, -55, 100, 84, 73, -90, 60, 78, 0]
Answer: [-10, -74, -55, 100, 73]
Question: [76, 61, -72, -71, -44, 58, -19, 51, -58, 32, -98]
Answer: [76, 61, -71, -44, 58, -19, -58, 32, -98]
Question: [-72, 4, 9, -34, -35, 15, 67, -58, 11, 91]
Answer: | [4, -34, -35, 67, -58, 11, 91]
|
You are asked to create a question containing a blank (_), based on the given context word. Your question must contain two related but different objects; for example "trophy" and "suitcase". The expected answer to your question must be one of the objects present in the sentence. The expected answer must not be associated with any specific word in the question; instead it should depend on the context present in the question. The expected answer should not be equally likely to fill the blank. For your question, there should be a agreed upon answer to fill in the blank. Your generations should NOT contain potentially explicit, offensive, or adult content. Do not use animals or proper nouns (e.g., New York, Macbook, Jeff Bezos, McDonald's, ...) as your objects. Avoid repeating the same style, pattern or phrases in each question, try to increase diversity by varying sentence structure, blank placement etc. Your question must contain at least 15 and at most 30 words. You must utilize the given context word while writing the question. Your question must contain only one blank. Make sure that Object X and Y have the same number e.g. when ObjectX is singular, Object Y must be singular, too. The two objects (Object X & Object Y) should be used ONCE in your question. Here is a list of attributes and associated pair of contrastive words which may be used to create a valid question using the objects. You can use either of the contrastive words, but not both. You should think about more such attributes and associated words and use them in your question.
| Attribute | triggerword | contrastive triggerword |
| age | old | new |
| altitude | low | high |
| area | small | vast |
| brightness | dark | light |
| clarity | obscure | clear |
| cleanness | dirty | clean |
| complexity | simple | complex |
| cost | cheap | expensive |
| density | sparse | dense |
| depth | shallow | deep |
| distance | near | far |
| electric conductivity | low | high |
| flexibility | rigid | flexible |
| granularity | fine | coarse |
| hardness | soft | hard |
| length | short | long |
| magnitude | small | large |
| mass | small | large |
| odor | weak | strong |
| pressure | low | high |
| resistance | low | high |
| shape | round | sharp |
| shape | flat | spiky |
| size | small | large |
| sound | quiet | loud |
| sound pitch | low | high |
| speed | slow | fast |
| stability | unstable | stable |
| strength | weak | strong |
| temperature | low | high |
| texture | smooth | rough |
| thermal conductivity | low | high |
| thickness | thin | thick |
| volume | small | large |
| weight | light | heavy |
| width | narrow | wide |
| location | in | out |
| location | up | down |
| location | above | below |
| location | on | off |
| location | to | from |
Q: Context Word: grease.
A: | Howard tried to remove the grease stain from the carpet but the _ was too thick. |
Detailed Instructions: You are asked to create a question containing a blank (_), based on the given context word. Your question must contain two related but different objects; for example "trophy" and "suitcase". The expected answer to your question must be one of the objects present in the sentence. The expected answer must not be associated with any specific word in the question; instead it should depend on the context present in the question. The expected answer should not be equally likely to fill the blank. For your question, there should be a agreed upon answer to fill in the blank. Your generations should NOT contain potentially explicit, offensive, or adult content. Do not use animals or proper nouns (e.g., New York, Macbook, Jeff Bezos, McDonald's, ...) as your objects. Avoid repeating the same style, pattern or phrases in each question, try to increase diversity by varying sentence structure, blank placement etc. Your question must contain at least 15 and at most 30 words. You must utilize the given context word while writing the question. Your question must contain only one blank. Make sure that Object X and Y have the same number e.g. when ObjectX is singular, Object Y must be singular, too. The two objects (Object X & Object Y) should be used ONCE in your question. Here is a list of attributes and associated pair of contrastive words which may be used to create a valid question using the objects. You can use either of the contrastive words, but not both. You should think about more such attributes and associated words and use them in your question.
| Attribute | triggerword | contrastive triggerword |
| age | old | new |
| altitude | low | high |
| area | small | vast |
| brightness | dark | light |
| clarity | obscure | clear |
| cleanness | dirty | clean |
| complexity | simple | complex |
| cost | cheap | expensive |
| density | sparse | dense |
| depth | shallow | deep |
| distance | near | far |
| electric conductivity | low | high |
| flexibility | rigid | flexible |
| granularity | fine | coarse |
| hardness | soft | hard |
| length | short | long |
| magnitude | small | large |
| mass | small | large |
| odor | weak | strong |
| pressure | low | high |
| resistance | low | high |
| shape | round | sharp |
| shape | flat | spiky |
| size | small | large |
| sound | quiet | loud |
| sound pitch | low | high |
| speed | slow | fast |
| stability | unstable | stable |
| strength | weak | strong |
| temperature | low | high |
| texture | smooth | rough |
| thermal conductivity | low | high |
| thickness | thin | thick |
| volume | small | large |
| weight | light | heavy |
| width | narrow | wide |
| location | in | out |
| location | up | down |
| location | above | below |
| location | on | off |
| location | to | from |
See one example below:
Problem: Context word: fit.
Solution: The trophy doesn't fit into the brown suitcase because _ is too large.
Explanation: The question is about two related but different objects (i) "trophy" and (ii) "suitcase". The quesion contains exactly one blank (_). The expected answer is "trophy" which is one of the objects.
Problem: Context Word: loves.
Solution: | Chrissy hates champagne, but loves her some wine. The _ industry is a scam to her. |
Detailed Instructions: In this task, you are given a country name and you need to return the Top Level Domain (TLD) of the given country. The TLD is the part that follows immediately after the "dot" symbol in a website's address. The output, TLD is represented by a ".", followed by the domain.
Problem:Finland
Solution: | .fi |
Teacher: In this task, you're given a dialogue between a customer and a flight booking agent with a gap in the conversation. Your job is to find the answer of the previous dialogue. Avoid using irrelevant extra information while creating the answer. The answer should be relevant to the question before the blank. If you fill the blank with a question, it should have an answer from the agent in the given dialogue. Fill the gap marked with underline.
Teacher: Now, understand the problem? If you are still confused, see the following example:
customer: Hello.
agent: Hello. How may I help you?
customer: I would like to do some changes in my existing reservation, can you please help me out?
agent: Sure, I will help you in booking. May I know your name to proceed further?
__
agent: Alexander Hernandez, regret to inform that there is no active reservation found under your name to amend.
customer: That's ok, no problem. Thank you for the information.
agent: Thank you for reaching us.
Solution: customer: Sure, myself Alexander Hernandez.
Reason: This is pretty forward, based on the answer after the blank, the answer would be to know the name of the person, and the name is mentioned in the next dialogue to the blank
Now, solve this instance: customer: Hello.
agent: Hello, how may I render you?
customer: Please help me to book a flight ticket from IAD to DFW.
agent: Sure, I am here to help you. Please share your itinerary dates.
customer: My journey dates are from Apr, 22 to Apr, 24.
__
customer: I prefer an economy class.
agent: May I know your connection limit?
customer: I need a single connecting flight.
agent: Do you have any other specifications?
customer: No.
agent: Please give me a moment to check for available flights.
customer: Ok.
agent: UA airlines with flight 1014 is providing service with a direct flight and ticket costs you 200 in economy class.
customer: Please proceed.
agent: May I know your name?
customer: I am William Moore.
agent: Your ticket is confirmed William Moore. Flight departs at 2:00 AM and arrives at 10:00 AM.
customer: Thank you for booking.
agent: Thank you for approaching us.
Student: | agent: Which class do you prefer? |
Given two entities as input, classify as "yes" if second entity is the part of the first entity. Otherwise classify them as "no". These are entities of meronym In linguistics, meronymy is a semantic relation between a meronym denoting a part and a holonym denoting a whole. In simpler terms, a meronym (i.e., second entity) is in a part-of relationship with its holonym (i.e., first entity).
[Q]: Entity 1: photosystem
Entity 2: carotenoid
[A]: yes
[Q]: Entity 1: mouth
Entity 2: fluid
[A]: no
[Q]: Entity 1: turkey
Entity 2: head
[A]: | yes
|
In this task you will be given a list of dictionaries. A dictionary is a set of key-value pairs, where each key is unique and has a value associated with that key. You should sort the list of dictionaries from smallest to largest by their 'first' key. If there is two dictionaries with the same 'first' value then sort them by their 'second' key. Negative numbers should come before positive numbers.
Q: [{'first': -32, 'second': -28}, {'first': 79, 'second': 13}, {'first': -91, 'second': -66}, {'first': 14, 'second': 54}, {'first': -64, 'second': 61}, {'first': -85, 'second': -50}, {'first': 28, 'second': -12}, {'first': -82, 'second': -19}]
A: [{'first': -91, 'second': -66}, {'first': -85, 'second': -50}, {'first': -82, 'second': -19}, {'first': -64, 'second': 61}, {'first': -32, 'second': -28}, {'first': 14, 'second': 54}, {'first': 28, 'second': -12}, {'first': 79, 'second': 13}]
****
Q: [{'first': 3, 'second': 44}, {'first': 1, 'second': 40}]
A: [{'first': 1, 'second': 40}, {'first': 3, 'second': 44}]
****
Q: [{'first': -32, 'second': -27}, {'first': -91, 'second': -71}, {'first': 76, 'second': -62}, {'first': -35, 'second': 32}, {'first': -90, 'second': 89}, {'first': 52, 'second': 18}, {'first': 98, 'second': -58}, {'first': 8, 'second': 70}]
A: | [{'first': -91, 'second': -71}, {'first': -90, 'second': 89}, {'first': -35, 'second': 32}, {'first': -32, 'second': -27}, {'first': 8, 'second': 70}, {'first': 52, 'second': 18}, {'first': 76, 'second': -62}, {'first': 98, 'second': -58}]
****
|
Generate a 1-star review (1 being lowest and 5 being highest) about an app with package com.achep.acdisplay.
| Can't uninstall I cannot uninstall this app from my phone. It's so frustrating please help |
Instructions: In this task, you're given a dialogue between a customer and a flight booking agent with a gap in the conversation. Your job is to find the answer of the previous dialogue. Avoid using irrelevant extra information while creating the answer. The answer should be relevant to the question before the blank. If you fill the blank with a question, it should have an answer from the agent in the given dialogue. Fill the gap marked with underline.
Input: customer: Hello, I am Edward Thompson.
agent: Hello, How can I assist you?
customer: I am planning for a holiday vacation at Boston, can you please book a flight ticket?
agent: Sure, May I know the travel date details?
customer: I want to travel on 04/06 and arrival is on 04/08. I do not need connections in between my journey.
agent: May I know the source and destination details?
__
agent: Sorry, There is no direct flight. Thank you for availing us.
customer: Thank you.
Output: | customer: My journey starts from Oakland, CA-OAK to Boston, MA-BOS. |
You are given a sentence in Arabic. Your job is to translate the Arabic sentence into Galician.
على سبيل المثال ، إذا أعطت INCRA تقييماً لجنوب أفريقيا في الوقت الراهن ، فبالطبع سنلقي نظرة قريبة جداً على نسبة بطالة الشباب في البلد ، الأعلى في العالم.
Por exemplo, se INCRA cualifica Sudáfrica agora mesmo, por suposto tería moi, moi en conta cal é a tasa nacional de desemprego de xente xóven: a maior do mundo.
بل كائنات حية والثروة الحيوانية لدينا الآن هي واحدة من أكبر مستخدمي الأراضي المياه العذبة وواحدة من أكبر منتجي الغازات التي تؤدي للإحتباس الحراري و التي تؤدي إلى التغييرات المناخية
Son seres vivos. O noso gando xa é...... un dos principais usuarios da terra, consumidor de auga doce, e un dos maiores produtores dos gases de efecto invernadoiro...... un dos causantes do cambio climático.
حسبت أن أثمن ما أستطيع التضحية به هو صوتي ، لكن كان وكأنني لم أدرك أني تخليت عنه منذ زمن طويل.
| Deime de conta de que o máis valioso que podía sacrificar era a miña propia voz, mais foi coma se non me percatara de que xa había tempo que renunciara a iso.
|
The given sentence contains a typo which could be one of the following four types: (1) swapped letters of a word e.g. 'niec' is a typo of the word 'nice'. (2) missing letter in a word e.g. 'nic' is a typo of the word 'nice'. (3) extra letter in a word e.g. 'nicce' is a typo of the word 'nice'. (4) replaced letter in a word e.g 'nicr' is a typo of the word 'nice'. You need to identify the typo in the given sentence. To do this, answer with the word containing the typo.
A boty is playing with sprinkles on a doughnut. | boty |
Q: In this task you will be given a list of integers. You should find the minimum absolute difference between 2 integers in the list. The absolute difference is the absolute value of one integer subtracted by another. The output should be a single integer which is the smallest possible absolute distance.
[21, 52, 9]
A: | 12 |
Teacher:We would like you to assess the QUALITY of each of the following argument (discussing Death Penalty) and determine if the argument is Valid or Invalid. A valid argument is clearly interpretable and either expresses an argument, or a premise or a conclusion that can be used in an argument for the topic of death penalty. An invalid argument is a phrase that cannot be interpreted as an argument or not on the topic of death penalty.
Teacher: Now, understand the problem? Solve this instance: The difference is one has to commit a seriously heinous crime to receive the death penalty and with abortion the victim is an innocent unborn child.
Student: | Invalid |
Instructions: Read the given text and if it has abusive content then indicate via "yes". Otherwise indicate via"no".
We consider the content to be abusive if it contains any of the following instances: (1) Identity Directed Abuse (e.g., Content which contains a negative statement made against an identity. An identity is a social category that relates to a fundamental aspect of individuals community, socio-demographics, position or self-representation) (2) Affiliation Directed Abuse (e.g., Content which express negativity against an affiliation. We define affiliation as a (more or less) voluntary association with a collective. Affiliations include but are not limited to: memberships (e.g. Trade unions), party memberships (e.g. Republicans), political affiliations (e.g. Right-wing people) and occupations (e.g. Doctors).) (3) Person Directed Abuse (e.g., Content which directs negativity against an identifiable person, who is either part of the conversation thread or is named. Person-directed abuse includes serious character based attacks, such as accusing the person of lying, as well as aggression, insults and menacing language.) and (4) Counter Speech (e.g., Content which challenges, condemns or calls out the abusive language of others.). Note that URLs in the text have been replaced with [Link].
Input: And is shittier to the consumer. Would you buy a game on a platform that you have to navigate a swamp of alligators just because it gave all money to the developer? That's not the only factor here, and any argument acting like it is is blsntan strawman.
Output: | no |
Given the task definition and input, reply with output. The input is taken from a negotiation between two participants who take the role of campsite neighbors and negotiate for Food, Water, and Firewood packages, based on their individual preferences and requirements. Given an utterance and recent dialogue context containing past 3 utterances (wherever available), output Yes if the utterance contains the self-need strategy, otherwise output No. self-need is a selfish negotiation strategy. It is used to create a personal need for an item in the negotiation, such as by pointing out that the participant sweats a lot to show preference towards water packages.
Context: 'I know this isn't your problem, but I'm a student and I had to come up here to take photos of the night sky for my astronomy class. I slept really late today as I have to sit up all night to get the different stars, and possibly even the space station if it's clear enough out. I have to sit by a fire to stay warm so I can get these pictures to hand in to my professor tomorrow.' 'You know that is very impressive. I admire your determination and effort you put into your class. You must be very passionate about astronomy.' 'I am. My favorite personality is Neil DeGrasse Tyson. He's amazing, funny and incredibly smart. I'm hoping to get an internship at the Planetarium in my senior year 🙂'
Utterance: 'That's amazing!!! So here is the deal...I'll give you the 2 firewood packages so you can sleep under the stars tonight. In return I'll have to keep 2 water packages and 2 food packages since I won't be able to cook all of this fish and I still have a family to feed. '
| Yes |
Part 1. Definition
Given news headlines and an edited word. The original sentence has word within given format {word}. Create new headlines by replacing {word} in the original sentence with edit word. Classify news headlines into "Funny" and "Not Funny" that have been modified by humans using an edit word to make them funny.
Part 2. Example
News Headline: France is ‘ hunting down its citizens who joined {Isis} without trial in Iraq
Edit: twins
Answer: Not Funny
Explanation: The edited sentence is not making much sense, therefore it's not funny.
Part 3. Exercise
News Headline: Alibaba Founder Jack Ma says {Artificial Intelligence} could spark the ' Third World War ' , but says that humans would win .
Edit: aliens
Answer: | Not Funny |
In this task you will be given a list of integers. You should remove all of the integers that are divisible by 3 from the list. If every integer in the input list is divisible by 3 then an empty list should be returned. Zero is divisible by 3.
Example Input: [12, 84, 65, -4, 44, 50, 29, 31, -37, -11]
Example Output: [65, -4, 44, 50, 29, 31, -37, -11]
Example Input: [22, 26, -50, -36, -26]
Example Output: [22, 26, -50, -26]
Example Input: [90, 78, 52, 30, -32, 49, 27]
Example Output: | [52, -32, 49]
|
We would like you to assess the QUALITY of each of the following argument (discussing Gun Control) and determine if the argument is Valid or Invalid. A valid argument is clearly interpretable and either expresses an argument, or a premise or a conclusion that can be used in an argument for the topic of gun control. An invalid argument is a phrase that cannot be interpreted as an argument or not on the topic of gun control.
So we need to know what actions the author of the article refers to with the comment ���the weapons-brandishing displays are 'intended to intimidate or coerce a civilian population.' | Valid |
Instructions: In this task you will be given an arithmetic operation in Italian and you have to find its answer. The operations 'addition' and 'subtraction' have been replaced with their italian translations i.e you need to perform addition when you see 'aggiunta' and subtraction in case of 'sottrazione'.
Input: 1720 aggiunta 7059 sottrazione 9563 aggiunta 7081 aggiunta 2946
Output: | 9243 |
Read the given sentence and if it is a general advice then indicate via "yes". Otherwise indicate via "no". advice is basically offering suggestions about the best course of action to someone. advice can come in a variety of forms, for example Direct advice and Indirect advice. (1) Direct advice: Using words (e.g., suggest, advice, recommend), verbs (e.g., can, could, should, may), or using questions (e.g., why don't you's, how about, have you thought about). (2) Indirect advice: contains hints from personal experiences with the intention for someone to do the same thing or statements that imply an action should (or should not) be taken.
Input: Consider Input: I 'm not sure about your age , although I 'm guessing < 20 since you said you just left school .
Output: no
Input: Consider Input: You 're young you do n't have to know right now as long as you have some ideas .
Output: no
Input: Consider Input: Not everyone by their mid 20s is making 70 - 100k a year .
| Output: no
|
Teacher:In this task you will be given a list of integers. A list contains numbers separated by a comma. You need to round every integer to the closest power of 2. A power of 2 is a number in the form '2^n', it is a number that is the result of multiplying by 2 n times. The following are all powers of 2, '2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096'. If an integer is exactly in equally far from two different powers of 2 then you should output the larger power of 2. The output should be a list of integers that is the result of rounding each integer int the input list to the closest power of 2. The output should include a '[' to denote the start of the output list and ']' to denote the end of the output list.
Teacher: Now, understand the problem? Solve this instance: [120, 514, 11, 3984, 13, 45, 4, 127, 304, 1458, 1278, 25]
Student: | [128, 512, 8, 4096, 16, 32, 4, 128, 256, 1024, 1024, 32] |
Given the task definition and input, reply with output. In this task, you are given a date in a particular format and you need to convert to another format. If given format is "dd/mm/yyyy" then convert to "mm/dd/yyyy". If given format is "mm/dd/yyyy" then convert to "dd/mm/yyyy".
24/10/1757, input_format=dd/mm/yyyy
| 10/24/1757 |
In this task you will be given an arithmetic operation in Italian and you have to find its answer. The operations 'addition' and 'subtraction' have been replaced with their italian translations i.e you need to perform addition when you see 'aggiunta' and subtraction in case of 'sottrazione'.
9944 aggiunta 5933 sottrazione 3489 aggiunta 2711 aggiunta 2034 aggiunta 2097 aggiunta 1948 sottrazione 3154 | 18024 |
In this task you will be given a list, of lists, of integers. For every inner list contained in the input list, you should multiply every even number in that list. The output should be a list of integers with the same length as the number of lists in the input list. If there are no even numbers in an inner list you should output 0 for that list.
One example: [[7, -3, -3, 11], [-6, -6, -5, 2], [-8, 4, -3]]
Solution is here: [0, 72, -32]
Explanation: The first inner list has no even integers, so the first number in the output is 0. The second list has -6, -6, 2 for even integers so the second output is 72. The third list has -8, 4 as even numbers so the third output is -32. This is a good example.
Now, solve this: [[-18, -16], [7, 17, -6], [-21, -26, -23], [-42, -33, -46, 12, -50], [-11, 22, -21, -34, -15], [-38, 15, 30], [27, -27, 40, -11], [23, 48, -46, -6, 24], [44, 7, 10, -39], [-11, -7], [-22, -48], [-37, 8, -16, -22, 30], [46, 32], [-47, -31, 37, 7, -34], [42, -34, -38, 39, -26]]
Solution: | [288, -6, -26, -1159200, -748, -1140, 40, 317952, 440, 0, 1056, 84480, 1472, -34, -1410864] |
In this task, you are given two sets, and you need to count the number of elements at the union of two given sets. A Set is shown by two curly braces and comma-separated numbers inside, like {1, 2, 3}. Union of two given sets is the smallest set which contains all the elements of both the sets. To find the union of two given sets, A and B is a set that consists of all the elements of A and all the elements of B such that no element is repeated.
Q: Set1: '{2}', Set2: '{17}'. How many elements are there in the union of Set1 and Set2 ?
A: 2
****
Q: Set1: '{11, 3, 12, 7}', Set2: '{7, 11, 12, 19, 20}'. How many elements are there in the union of Set1 and Set2 ?
A: 6
****
Q: Set1: '{2, 3, 6, 11, 13, 18}', Set2: '{2, 3, 5, 7, 8, 9, 10, 16, 20}'. How many elements are there in the union of Set1 and Set2 ?
A: | 13
****
|
Part 1. Definition
In this task, you need to provide the parts-of-speech tag of a word present in a sentence specified within curly braces ( '{{ ... }}' ). The parts-of-speech tags are fine labels that represent a category of words with similar grammatical properties. The list of part-of-speech tags i.e tagset of this corpus is : '$': Dollar Sign, "''": Single Quotes, ',': Comma Symbol, '-LRB-': Left Parantheses, '-RRB-': Right Parantheses, '.': Period, ':': Colon, 'ADD': Email Address, 'AFX': Affix, 'CC': Coordinating conjunction, 'CD': Cardinal Number, 'DT': Determiner, 'EX': Existential there, 'FW': Foreign Word, 'GW': Go with, 'HYPH': Hyphen symbol, 'IN': Preposition or a subordinating conjunction, 'JJ': Adjective, 'JJR': A comparative Adjective, 'JJS': A Superlative Adjective, 'LS': List item Marker, 'MD': Modal, 'NFP': Superfluous punctuation, 'NN': Singular Noun, 'NNP': Singular Proper Noun, 'NNPS': Prural Proper Noun, 'NNS': Prural Noun, 'PDT': Pre-determiner, 'POS': Possessive Ending, 'PRP': Personal pronoun, 'PRP$': Possessive Pronoun, 'RB': Adverb, 'RBR': Comparative Adverb, 'RBS': Superlative Adverb, 'RP': Particle, 'SYM': Symbol, 'TO': To , 'UH': Interjection, 'VB': Base form Verb, 'VBD': Verb in Past tense, 'VBG': Verb in present participle, 'VBN': Verb in past participle, 'VBP': Verb in non-3rd person singular present, 'VBZ': Verb in 3rd person singular present, 'WDT': Wh-determiner, 'WP': Wh-pronoun, 'WP$' Possessive Wh-pronoun, 'WRB': Wh-adverb, 'XX': Unknown, '``': Double backticks.
Part 2. Example
Sentence: Those things ended up being a windsheild washer fluid tank {{ ( }} 1 screw ) and the air filter canister ( 4 spring clips ) .
Word: (
Answer: -LRB-
Explanation: "(" is the symbol for Left Parantheses (-LRB-).
Part 3. Exercise
Sentence: I FUCKING HATE THIS PLACE EVERY TIME i GO THIS HOT CHICK SHOWS UP AND i MEAN REALLY HOT BUT SHE IS LIKE REAAAALLY DUMB AND THEN {{ THEIR }} IS THIS OTHER CHICK THAT IS REALY UGLY BUT SHE IS LIKE SUPER SMART SHE COULD BE A SCIENTIST , BUT THEN THEIR IS THIS STONER WHO ALWAYS COMES HERE HIGH AND HE ALWAYS BRINGS HIS FUCKING DOG WHO IS SO HIGH FROM THE SECOND HAND SMOKE I THINK HE IS TRYING TO TALK .
Word: THEIR
Answer: | EX |
Definition: In this task you will be given a list, of lists, of integers. For every inner list contained in the input list, you should multiply every even number in that list. The output should be a list of integers with the same length as the number of lists in the input list. If there are no even numbers in an inner list you should output 0 for that list.
Input: [[22, -33, 28], [-38, -31], [-43, 5], [-32, 49], [42, 19]]
Output: | [616, -38, 0, -32, 42] |
In this task, you will be presented with a premise sentence and a hypothesis sentence in Persian. Determine whether the hypothesis sentence entails, contradicts, or is neutral with respect to the given premise sentence. Classify your answers into "Contradiction", "Neutral", or "Entailment".
Q: Premise: سيد حميد البار وزيرامورخارجه مالزی گفت نسبت به ديدارخود از برمه خوشبين است. <sep> Hypothesis: برمه نيز بايد به گزارش درمورد اصلاحات دمکراتيک مالزی کمک کند.
A: Neutral
****
Q: Premise: آنها هفته ها مرتباً مرا تماشا می کردند. <sep> Hypothesis: آنها هفته ها من را به حال خودم رها کردند.
A: Contradiction
****
Q: Premise: «تو کاملاً امنی.» نفسش به حالت عادی می رسید و رنگ به گونه هایش باز می گشت. <sep> Hypothesis: او از شوک خفیفی که گذرانده بود٬ شروع به بهبودی کرد.
A: | Neutral
****
|
In this task you will be given a string that only contains single digit numbers spelled out. The input string will not contain spaces between the different numbers. Your task is to return the number that the string spells out. The string will spell out each digit of the number for example '1726' will be 'oneseventwosix' instead of 'one thousand seven hundred six'.
[EX Q]: zerozerothreezeroninefivefive
[EX A]: 0030955
[EX Q]: nineonefivesixfivezeronine
[EX A]: 9156509
[EX Q]: twoeighttwosevensevensixfive
[EX A]: | 2827765
|
We would like you to assess the QUALITY of each of the following argument (discussing Gun Control) and determine if the argument is Valid or Invalid. A valid argument is clearly interpretable and either expresses an argument, or a premise or a conclusion that can be used in an argument for the topic of gun control. An invalid argument is a phrase that cannot be interpreted as an argument or not on the topic of gun control.
Q: Also, regarding U.S. v. Emerson, the Fifth Circuit concluded: "we reject the collective rights and sophisticated collective rights models for interpreting the Second Amendment.
A: | Valid |
In this task you will be given a list of integers. You should remove all of the integers that are divisible by 3 from the list. If every integer in the input list is divisible by 3 then an empty list should be returned. Zero is divisible by 3.
Example input: [2, 5, 9, 6, 11]
Example output: [2, 5, 11]
Example explanation: 6 and 9 are removed from the list because they are divisible by 3.
Q: [58, 92]
A: | [58, 92] |
In medical studies, the efficacy of medical treatments (called interventions) is evaluated within a group of study participants. You will be given a sentence of a study report in which your task is to list the phrases that describe the intervention(s) of the study. You should list the phrase in the same order that they appear in the text, separated by commas. If no information about the interventions is mentioned, just answer with "not found". Interventions are: a specific drug, surgery, talking therapy, a lifestyle modification, control or placebo treatment. Do not include details, dosages, frequency and duration, intervention mentions that are not in an informative span of text.
Q: Data analyzed was from a phase III , randomized clinical trial of DOX ( 60 mg/m ( 2 ) every 3 weeks ) or PLD ( 50 mg/m ( 2 ) every 4 weeks ) for the first line therapy for MBC ( n = 509 ) ( O'Brien et al , Ann Oncol .
A: | DOX, PLD |
In this task, you are given music product reviews in German language. The goal is to classify the review as "POS" if the overall sentiment of the review is positive or as "NEG" if the overall sentiment of the review is negative.
Q: Katerorie:Alben, die die Welt nicht braucht . Schon wieder so ein Pseudo-Rock-Album mit belanglosen Akustiknummern mit unterstem Pop-Niveau.Winger war mal zu "in the heart of the young" Zeiten eine tolle Band. Und jetzt? Mit diesem Album ist der Name völlig lächerlich geworden und fast schon Etikettenschwindel. So einen derartigen kraftlosen und belanglosen Müll habe ich schon lange nicht mehr von einer Band (?) gehört, die mal zu meinen Faves gehörte. Einfach nur traurig.
A: | NEG |
In this task you will be given two lists of numbers and you need to calculate the intersection between these two lists. The intersection between two lists is another list where every element is common between the two original lists. If there are no elements in the intersection, answer with an empty list. Your list of numbers must be inside brackets. Sort the numbers in your answer in an ascending order, that is, no matter what the order of the numbers in the lists is, you should put them in your answer in an ascending order.
Q: [5, 1, 7, 2, 3, 5, 4, 5, 9, 2] , [4, 9, 6, 8, 7, 7, 9, 2, 4, 8]
A: [2, 4, 7, 9]
****
Q: [6, 9, 10, 10, 10, 1, 8, 6, 3] , [3, 4, 9, 4, 7, 6, 7, 10, 10]
A: [3, 6, 9, 10]
****
Q: [3, 3, 9, 4, 5, 1, 3, 7, 6] , [1, 6, 6, 2, 5, 7, 6, 9, 7]
A: | [1, 5, 6, 7, 9]
****
|
Part 1. Definition
In this task, you are given an input list A. You need to extract and sort the unique digits used in the list in ascending order. Return -1 if there is no digit in the list.
Part 2. Example
['q', '31', 'a', 'd', '53', '85', 'p', '77']
Answer: 1, 3, 5, 7, 8
Explanation: Here, the numbers in the list are '31', '53', '85' and '77', and the unique digits used in the list are '1, 3, 5, 7, 8' in ascending order.
Part 3. Exercise
['391', 't', '117', '167', 'n', '395', '261', 'p', '117', '277']
Answer: | 1, 2, 3, 5, 6, 7, 9 |
instruction:
In this task, we ask you to parse restaurant descriptions into a structured data table of key-value pairs. Here are the attributes (keys) and their examples values. You should preserve this order when creating the answer:
name: The Eagle,...
eatType: restaurant, coffee shop,...
food: French, Italian,...
priceRange: cheap, expensive,...
customerRating: 1 of 5 (low), 4 of 5 (high)
area: riverside, city center, ...
familyFriendly: Yes / No
near: Panda Express,...
The output table may contain all or only some of the attributes but must not contain unlisted attributes. For the output to be considered correct, it also must parse all of the attributes existant in the input sentence; in other words, incomplete parsing would be considered incorrect.
question:
Zizzi is a restaurant with prices more than £30. It is located in the city centre.
answer:
name[Zizzi], eatType[restaurant], priceRange[more than £30], area[city centre]
question:
If you are looking for somewhere serving French food there is a children friendly restaurant down by the riverside called The Waterman. I think it is about £30, maybe more and has quite low customer rating.
answer:
name[The Waterman], food[French], priceRange[more than £30], customer rating[low], area[riverside], familyFriendly[yes]
question:
Located in the City centre area near the Express by Holiday Inn, is the fast-food restaurant The Rice Boat. This low-cost, family-friendly location receives 1 out of 5 stars.
answer:
| name[The Rice Boat], food[Fast food], priceRange[less than £20], customer rating[low], area[riverside], familyFriendly[yes], near[Express by Holiday Inn]
|
1. This is easily the most absurd of the Star Trek stories -- and yet, oddly enough, it is also the best, the funniest and the most enjoyable in simple human terms.
2. An effective and enjoyable sample of entertainment -- not good science fiction, but a lightweight piece of comic fantasy utilizing characters so familiar that they feel like old friends.
3. A happy, heartfelt chapter that reunites the original cast with the original TV format, shying away from the cold and epic scale of the preceding movie adventures.
4. Immensely pleasurable.
5. One of the series' strongest episodes.
6. Better than the previous two films in the series.
7. Funny back-to-the-future adventure spiced with a save-the-whales theme.
8. The original cast appears to be having more fun than they ever had before.
9. The most successful and widely appealing of the Star Trek films, The Voyage Home is also the most idiosyncratic
some of the most humorous and humane moments in the Trek canon.
10. The best until First Contact...
Consensus: Star Trek IV: The Voyage Home is perhaps the lightest and most purely enjoyable entry of the long-running series, emphasizing the eccentricities of the Enterprise's crew.
1. A movie called Burlesque must be tacky and trashy. And lo! it is both of these things.
2. Aguilera's movable feast of a body and Cher's immobile face will draw an audience to see this film.
3. In essence, an update of an old Warner Bros. backstage musical, spiced with the ersatz-'Cabaret' naughtiness of its insular neo-burlesque club setting (complete with a barely utilized Alan Cumming as a Joel Grey-like eminence fey).
4. One dumb movie -- and that's about the nicest way of describing this amazing collection of backstage musical clichés.
5. A paste jewel of a musical, replete with shoddy script and over-strenuous staging, but some overall glamour and intermittent fun.
6. It's no great surprise that Christina Aguilera can sing. But I'm sorry to report that her breakout movie is similarly revelation free.
7. "Get your ass up, show me how you burlesque," growls one of this indulgent movie's indulgent musical numbers that swaggers with pearls, glitter and red lipstick - if not grammatical verb usage.
8. Has the glitz and allure of a Victoria's Secret ad. What it doesn't have is an imaginative reinvention of the show-biz clichés that have so adamantly inspired it.
9. Horrible plotting, hilariously insipid dialogue, often-awkward performances - these things add up to a film you can joyfully ridicule with your friends.
10. If you go to Burlesque expecting a campy hoot on the order of Showgirls, you may be in for a disappointment. It's not quite awful enough, although it's plenty bad.
Consensus: Campy and clichéd, Burlesque wastes its talented cast (including a better-than-expected Christina Aguilera) on a movie that wavers uncertainly between "bad" and "so bad it's good."
1. A staunch feminist fable in which a woman valiantly stands up against the purification, exposing it for the misogynistic fraud it is.
2. One of the strongest films ever to emerge from Africa.
3. As empowering and triumphant a film as you'll see this or any year.
4. Opens a window to a culture we rarely see, creating both a small story of a mother and daughter and a vast story of female empowerment.
5. A protest movie made with warm affection for most of its characters.
6. A stirring vision of civil but pointed disobedience.
7. I highly recommend seeking this film out.
8. Sembene nails down an entire society in a series of immortally ordinary moments worthy of Satyajit Ray, with the regular-guy (or gal!) heroism of Howard Hawks.
9. The director has reached that point in his career where craft disappears behind grace.
10. A rare feature-film glimpse into African traditions and culture, Moolaade is part colorful travelogue, part social criticism, but mostly human drama.
| Consensus: A vibrant, powerful, and poignant glimpse into the struggles of women in modern Africa. |
Teacher:Adverse drug reactions are appreciably harmful or unpleasant reactions resulting from an intervention related to the use of medical products, which predicts hazard from future administration and warrants prevention or specific treatment, or alteration of the dosage regimen, or withdrawal of the product. Given medical case reports extracted from MEDLINE, the task is to classify whether the case report mentions the presence of any adverse drug reaction. Classify your answers into non-adverse drug event and adverse drug event.
Teacher: Now, understand the problem? Solve this instance: Acute promyelocytic leukemia after living donor partial orthotopic liver transplantation in two Japanese girls.
Student: | non-adverse drug event |
In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned.
Example Input: [387, 89, 211, 27, 487, 20, 472, 233, 524, 265, 29, 785, 504, 587, 726, 560, 643]
Example Output: [89, 211, 487, 233, 29, 587, 643]
Example Input: [631, 557, 277, 273, 671, 431, 179, 911, 163, 253, 588, 215, 271]
Example Output: [631, 557, 277, 431, 179, 911, 163, 271]
Example Input: [971, 126, 652, 810, 857, 192, 569, 994, 881, 170, 378, 457, 197, 373, 477, 197]
Example Output: | [971, 857, 569, 881, 457, 197, 373, 197]
|
In this task, you are given a country name, and you need to return the country's surface area in terms of square kilometers. Up to two decimal places are allowed in your answer.
Q: East Timor
A: | 14874.00 |
You will be given two sentences. One of them is created by paraphrasing the original one, with changes on an aspect, or using synonyms. Your task is to decide what is the difference between two sentences. Types of change are explained below:
Tense: The verbs in the sentence are changed in tense.
Number: Plural nouns, verbs and pronouns are changed into single ones or the other way around.
Voice: If the verbs are in active voice, they're changed to passive or the other way around.
Adverb: The paraphrase has one adverb or more than the original sentence.
Gender: The paraphrase differs from the original sentence in the gender of the names and pronouns.
Synonym: Some words or phrases of the original sentence are replaced with synonym words or phrases. Changes in the names of people are also considered a synonym change. Classify your answers into Tense, Number, Voice, Adverb, Gender, and Synonym.
Ex Input:
original sentence: Tom said "Check" to Ralph as he took his bishop . paraphrase: Linda said "Check" to Nina as she took her bishop .
Ex Output:
Gender
Ex Input:
original sentence: Lily spoke to Donna , breaking her silence . paraphrase: Donna was spoken to by Lily , breaking her silence .
Ex Output:
Voice
Ex Input:
original sentence: Mary took out her flute and played one of her favorite pieces . She has had it since she was a child . paraphrase: Mary is taking out her flute and playing one of her favorite pieces . She has had it since she was a child .
Ex Output:
| Tense
|
In this task you will be given a string of characters. You should remove all vowels from the given string. Vowels are: i,e,a,u,o. The character 'y' or 'Y' does not count as a vowel.
Example Input: KoOtozzDReBEIUFWBj
Example Output: KtzzDRBFWBj
Example Input: oO
Example Output:
Example Input: heufoXOa
Example Output: | hfX
|
Detailed Instructions: In this task, you are given an input list. A list contains several comma-separated items written within brackets. You need to return the position of all the alphabetical elements in the given list in order. Assume the position of the 1st element to be 1. Return -1 if no alphabetical element is in the list.
Problem:['A', '8169', 'o']
Solution: | 1, 3 |
Given the task definition, example input & output, solve the new input case.
In this task you will be given a string and you should find the longest substring that is a palindrome. A palindrome is a string that is the same backwards as it is forwards. If the shortest possible palindrome is length 1 you should return the first character.
Example: gocogccocco
Output: gocog
The substring 'gocog' is the longest possible substring that is also a palindrome. So this is a good example.
New input case for you: oieooeieii
Output: | ieooei |
TASK DEFINITION: In this task you will be given two lists of numbers and you need to calculate the intersection between these two lists. The intersection between two lists is another list where every element is common between the two original lists. If there are no elements in the intersection, answer with an empty list. Your list of numbers must be inside brackets. Sort the numbers in your answer in an ascending order, that is, no matter what the order of the numbers in the lists is, you should put them in your answer in an ascending order.
PROBLEM: [7, 7, 7, 2, 10, 1, 6, 7] , [6, 1, 7, 7, 10, 4, 8, 9]
SOLUTION: [1, 6, 7, 10]
PROBLEM: [3, 5, 8, 5, 4, 10, 5, 7] , [3, 8, 2, 9, 6, 8, 5, 6]
SOLUTION: [3, 5, 8]
PROBLEM: [3, 6, 8, 4, 1, 6, 5, 4, 8, 8] , [3, 6, 8, 6, 6, 8, 9, 4, 2, 6]
SOLUTION: | [3, 4, 6, 8]
|
Teacher: In this task you will be given a string that only contains single digit numbers spelled out. The input string will not contain spaces between the different numbers. Your task is to return the number that the string spells out. The string will spell out each digit of the number for example '1726' will be 'oneseventwosix' instead of 'one thousand seven hundred six'.
Teacher: Now, understand the problem? If you are still confused, see the following example:
twotwoonesixzeronine
Solution: 221609
Reason: The string is properly converted into a number based on the spelling of each digit. The string started with 'twotwo' therefore the number also started with '22'. This is a good example.
Now, solve this instance: ninesixzerosixfiveeightonefourfivethreefive
Student: | 96065814535 |
Given the task definition and input, reply with output. In this task, you are given a string S and a character c separated by a comma. You need to check if the character c is present in S or not. Return 1 if it is present, else return 0.
bpHwXPNalHwEpcHJYXfjRcdjvrtOj, E
| 1 |
Given a statement about date and time, state whether the statement is true or false. The number of date/time operands in the statement ranges between 2 and 3. Let's say the values are denoted by t1, t2 and t3. The statements follow one of the following ten templates: 't1 occurs before t2, t1 doesn't occur before t2, t1 occurs after t2, t1 doesn't occur after t2, t1 occurs between t2 and t3, t1 doesn't occur between t2 and t3, t1 occured before t2 but after t3, t1 occured after t2 but before t3, t1 didn't occur before t2 but after t3, t1 didn't occur after t2 but before t3'. The output should be either 'True' or 'False'.
Sep 04, 2010 occured after 25 Jan 2011 but before 15 Mar 1971 | False |
Detailed Instructions: In this task, you are given a string with duplicate characters ocurring in the string. You need to return the character which is ocurring with the maximum frequency. In case of a tie, return the character with the least ascii value.
See one example below:
Problem: mvwduljootadondrwbrledodqnmfqtxalvuxnfgft
Solution: d
Explanation: d is ocurring with maximum frequency of 5.
Problem: zcbabcihxfbhomwbvwkgfocrvzljentwvjrmugfcnuzpqcer
Solution: | c |
Read the given story and classify it as 'imagined', 'recalled', or 'retold'. If a story is imagined, the person who wrote the story is making it up, pretending they experienced it. If a story is recalled, the person who wrote the story really experienced it and is recalling it from memory. If a story is retold, it is a real memory like the 'recalled' stories, but written down much later after previously writing a 'recalled' story about the same events. So, recalled stories and retold stories will be fairly similar, in that they both were real experiences for the writer. Imagined stories have a more linear flow and contain more commonsense knowledge, whereas recalled stories are less connected and contain more specific concrete events. Additionally, higher levels of self reference are found in imagined stories. Between recalled and retold stories, retold stories flow significantly more linearly than recalled stories, and retold stories are significantly higher in scores for cognitive processes and positive tone.
I have a young daughter. She is so beautiful and she means the world to me. We like to play in front of our house often. One day I was out in the yard watching her play. She was jumping rope and having a good time. She didn't have a care in the world. It was just a normal day. The next thing I knew I heard a loud bang down the street. A little girl had just been hit by a vehicle. I was terrified. I ran down the street as fast as I could. I ran over to her to check on her. She was bleeding. I called emergency services on my phone. I told them what was happening and they needed to hurry about as fast as they could. They got their and took the girl off to the hospital. | imagined |
Instructions: Indicate with `Yes` if the given question involves the provided reasoning `Category`. Indicate with `No`, otherwise. We define five categories of temporal reasoning. First: "event duration" which is defined as the understanding of how long events last. For example, "brushing teeth", usually takes few minutes. Second: "transient v. stationary" events. This category is based on the understanding of whether an event will change over time or not. For example, the sentence "he was born in the U.S." contains a stationary event since it will last forever; however, "he is hungry" contains a transient event since it will remain true for a short period of time. Third: "event ordering" which is the understanding of how events are usually ordered in nature. For example, "earning money" usually comes before "spending money". The fourth one is "absolute timepoint". This category deals with the understanding of when events usually happen. For example, "going to school" usually happens during the day (not at 2 A.M). The last category is "frequency" which refers to how often an event is likely to be repeated. For example, "taking showers" typically occurs ~5 times a week, "going to Saturday market" usually happens every few weeks/months, etc.
Input: Sentence: They packed up the car and drove to the library, ready for a fun morning.
Question: What did they do after the morning?
Category: Event Ordering.
Output: | Yes. |
Given the task definition, example input & output, solve the new input case.
The input is taken from a negotiation between two participants who take the role of campsite neighbors and negotiate for Food, Water, and Firewood packages, based on their individual preferences and requirements. Given an utterance and recent dialogue context containing past 3 utterances (wherever available), output Yes if the utterance contains the self-need strategy, otherwise output No. self-need is a selfish negotiation strategy. It is used to create a personal need for an item in the negotiation, such as by pointing out that the participant sweats a lot to show preference towards water packages.
Example: Context: 'That sounds pretty reasonable as I am in need of firewood the most. Would it be most reasonable to each take what we need most and split the water down the middle?' 'Yes, it would.' 'I think that sounds fair. The problem is that there are 3 waters and one of us would get two and the other one. How should we sort that?'
Utterance: 'You can take the two water. I am not that thirsty most days.'
Output: No
In this utterance, the participant does not use self-need since they do not talk about any need for themselves.
New input case for you: Context: 'Hello how are you?' 'I'm great thank you! How are you?'
Utterance: 'Good thanks. I'm a bodybuilder so I need a lot of food and water if that's ok with you?'
Output: | Yes |
You are given a password and you need to generate the number of steps required to convert the given password to a strong password. A password is considered strong if (a) it has at least 6 characters and at most 20 characters; (b) it contains at least one lowercase letter and one uppercase letter, and at least one digit; (c) it does not contain three repeating characters in a row. In one step you can: (1) Insert one character to password, (2) delete one character from password, or (3) replace one character of password with another character.
One example: password = a
Solution is here: 5
Explanation: Using 5 steps, it can become a strong password
Now, solve this: password = NNYJ!.z5
Solution: | 0 |
Detailed Instructions: We would like you to assess the QUALITY of each of the following argument (discussing Death Penalty) and determine if the argument is Valid or Invalid. A valid argument is clearly interpretable and either expresses an argument, or a premise or a conclusion that can be used in an argument for the topic of death penalty. An invalid argument is a phrase that cannot be interpreted as an argument or not on the topic of death penalty.
Q: After all, the person you're torturing may actually be innocent.
A: | Valid |
Detailed Instructions: In this task, you are given an input list A. You need to extract and sort the unique digits used in the list in ascending order. Return -1 if there is no digit in the list.
Q: ['g', 'x', 'x', '3']
A: | 3 |
Given a sentence in the Japanese and Thai language. Your task is check if the Filipino sentence is translation of Japanese. if the translation is correct than generate label "Yes", otherwise generate label "No".
Q: Japanese: 長い追加部分が、脱走または脱走を試みた場合に従う規則の詳細を述べている。
Thai: (PlanetOut.com, Gay.com) ได้ส่งแถลงการณ์ที่ระบุว่าพวกเขาจะเซ็นสัญญาที่จะรวมธุรกิจเข้ากับ Here Networks LLC (ผู้ให้บริการเคเบิ้ลเน็ตเวิร์คชื่อ here!) และ Regent Entertainment Media Inc. (ทรัพย์สินรวมถึงนิตยาสารชื่อ The Advocate และ Out)
A: | No |
Detailed Instructions: In this task, you will be given a list. The list is several integers and letters separated with a comma, written within a []. You can create new lists by dropping one of the items in the input list. Your task is to write a list containing all the possible lists you can make by dropping one item from the input list. For example, if the input list contains two items, you can drop one of the items each time. So the output should be a list comprising two inner lists that you have created by decreasing the items.
See one example below:
Problem: ['3', 'u', 'W', '8', 'j']
Solution: [['3', 'u', 'W', '8'], ['3', 'u', 'W', 'j'], ['3', 'u', '8', 'j'], ['3', 'W', '8', 'j'], ['u', 'W', '8', 'j']]
Explanation: The output is a list of length 5, containing lists of length 4. Each inner list is created by dropping one item if the input list. So this is a good example.
Problem: ['2', '9', 'w']
Solution: | [['2', '9'], ['2', 'w'], ['9', 'w']] |
Teacher: A ploynomial equation is a sum of terms. Here each term is either a constant number, or consists of the variable x raised to a certain power and multiplied by a number. These numbers are called weights. For example, in the polynomial: 2x^2+3x+4, the weights are: 2,3,4. You can present a polynomial with the list of its weights, for example, equation weights = [6, 4] represent the equation 6x + 4 and equation weights = [1, 3, 4] represent the equation 1x^2 + 3x + 4. In this task, you need to compute the result of a polynomial expression by substituing a given value of x in the given polynomial equation. Equation weights are given as a list.
Teacher: Now, understand the problem? If you are still confused, see the following example:
x = 3, equation weights = [4, 2]
Solution: 14
Reason: Here, the weights represent the polynomial: 4x + 2, so we should multiply 4 by 3, and add it to 2 which results in (4*3 + 2 =) 14.
Now, solve this instance: x = 5, equation weights = [8, 6, 3]
Student: | 233 |
TASK DEFINITION: In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to classify the command into one of these seven categories: (1) majority, (2) unique, (3) superlative, (4) count, (5) comparative, (6) aggregation, and (7) ordinal.
Here are the defications of each category:
1. majority: Describing the majority values (most or all) over one column, with the scope of all table rows or a subset of rows
2. unique: Describing one unique row, regarding one column, with the scope of all table rows or a subset of rows
3. Superlative: Describing the maximum or minimum value in a column, with the scope of all table rows or a subset of rows
4. Ordinal: Describing the n-th maximum or minimum value in a column, with the scope of all table rows or a subset of rows
5. Comparative: Comparing two rows in the table, regarding their values in one column
6. Count: counting some rows in the table based on the values in one column, with the scope of all table rows or a subset of rows
7. Aggregation: Describing the sum or average value over a column, with the scope of all table rows or a subset of rows.
Here are the definitions of logical operators for understanding of command:
1. count: returns the number of rows in the view.
2. only: returns whether there is exactly one row in the view.
3. hop: returns the value under the header column of the row.
4. and: returns the boolean operation result of two arguments.
5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column.
6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column.
7. argmax/argmin: returns the row with the max/min value in header column.
8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column.
9. eq/not_eq: returns if the two arguments are equal.
10. round_eq: returns if the two arguments are roughly equal under certain tolerance.
11. greater/less: returns if the first argument is greater/less than the second argument.
12. diff: returns the difference between two arguments.
13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument.
14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument.
15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument.
16. filter_all: returns the view itself for the case of describing the whole table
17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument.
18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument.
19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument.
20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument.
21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument.
22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument.
PROBLEM: less { hop { filter_eq { all_rows ; incumbent ; john w taylor } ; first elected } ; hop { filter_eq { all_rows ; incumbent ; john b yates } ; first elected } }
SOLUTION: comparative
PROBLEM: greater { hop { filter_eq { all_rows ; team ; switzerland } ; points } ; hop { filter_eq { all_rows ; team ; germany } ; points } }
SOLUTION: comparative
PROBLEM: eq { hop { argmax { all_rows ; elevation ( m ) } ; peak } ; galdhøpiggen }
SOLUTION: | superlative
|
[Q]: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.google.android.marvin.talkback.
****
[A]: Sahoo Cool
[Q]: Generate a 4-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms.
****
[A]: Helps Helps for games to work And turn off your notifications guys.
[Q]: Generate a 2-star review (1 being lowest and 5 being highest) about an app with package net.nurik.roman.dashclock.
****
[A]: Does not work on lock screen with Android 5.0+ The description says this app is compatible with Android 4.2+. What they fail to mention is that lock screen widgets are no longer available in Android 5.0+ (Lollipop). I downloaded this specifically for lock screen notifications but that feature is no longer available with 5.0+ devices. You can however still add the widget to your home screen from the app drawer just not the lock screen. I would raise my star rating if they figured out how to get the lock screen widget to work with the current releases of Android.
[Q]: Generate a 3-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms.
****
[A]: | It's ok |
Teacher:Given a hotel review and the corresponding polarity of review (i.e., Negative or Positive) identify if the polarity is correct. Write 'true' if it's correct, 'false' otherwise.
Teacher: Now, understand the problem? Solve this instance: Review: This was really an unexpected experience for me as far as hotel accommodations go. For this week's vacation in Chicago, I heard several recommendations regarding lodging, but the James Chicago was mentioned most emphatically. I expected an experience of comfort, luxury and customer satisfaction, but I was pleasantly surprised by the level of innovation and forward-thinking employed by every aspect of this hotel. The design is breathtaking -- modern, clean, stylish, sexy -- and its reflected everywhere from the lobby, shops and restaurants, to the stunning guest rooms themselves. My family and I felt energized by the smartly sleek environment we were in, and were impressed at every turn by the sophisticated take on hotel decor. Far from a traditional hotel experience, this was like moving into chic, exclusive downtown apartment, and truly an upscale adventure in modern luxury living. Impressive, too, was the hotel's overall approach to its guests and its use of the world's resources. From its offer of in-room recycling to the available bicycles for guest usage, the James offers a unique perspective on its place in the world, and gently helps its guests assist in maintaining that balance with ease and elegance. It's a respect that shows through, too, in other areas: support for artistic organizations, charities and other programs of merit, as well as Chicago-centric packages compiled for guests so they can make the best of their stay, whether for a weekend, a week, or longer. The James Chicago will definitely be our choice for accommodations whenever we revisit Chicago. In fact, we may visit again solely to stay at the James!
Polarity: Negative
Student: | false |
TASK DEFINITION: Find the movie name from the given conversation. If the movie name is not found give output as "unknown"
PROBLEM: ASSISTANT: hello , ASSISTANT: What kind of movies do you like? , USER: I like action movies. , ASSISTANT: why do you like action movies? , USER: They're entertaining and the storyline is packed full of excitement. , ASSISTANT: Can you name a particular movie you like? , USER: like Die Hard
SOLUTION: Die Hard
PROBLEM: ASSISTANT: what kind of movies do you generally like? , USER: Yeah, I mostly like comedy movies. , ASSISTANT: I see. Why do you like that kind of movie? , USER: Well I like that kind of movie because you know, it'll make me laugh, and I often watch movies with my girlfriend, and I want to make sure whatever we watch, it's something we can both enjoy and and relax while watching. , ASSISTANT: That seems really nice. Can you think of a movie you really enjoyed recently? , USER: Yeah, I really enjoyed The Longest Yard with Adam Sandler.
SOLUTION: The Longest Yard
PROBLEM: ASSISTANT: Do you like movies like Jason Bourne, or Inside Man or Superbad
SOLUTION: | Superbad
|
Generate a 4-star review (1 being lowest and 5 being highest) about an app with package org.openintents.filemanager.
| Nice app Could you add option to mark all files? |
We would like you to assess the QUALITY of each of the following argument (discussing Gun Control) and determine if the argument is Valid or Invalid. A valid argument is clearly interpretable and either expresses an argument, or a premise or a conclusion that can be used in an argument for the topic of gun control. An invalid argument is a phrase that cannot be interpreted as an argument or not on the topic of gun control.
Do you have anything to offer from King on guns, or for that matter, the 2nd. | Valid |
Teacher:In this task, you are given two sets, and you need to count the number of elements at the union of two given sets. A Set is shown by two curly braces and comma-separated numbers inside, like {1, 2, 3}. Union of two given sets is the smallest set which contains all the elements of both the sets. To find the union of two given sets, A and B is a set that consists of all the elements of A and all the elements of B such that no element is repeated.
Teacher: Now, understand the problem? Solve this instance: Set1: '{2, 4, 5, 7, 9, 10, 11, 13, 14, 20}', Set2: '{7, 8, 9, 17, 20}'. How many elements are there in the union of Set1 and Set2 ?
Student: | 12 |
Teacher:In this task you will be given two lists of numbers and you need to calculate the intersection between these two lists. The intersection between two lists is another list where every element is common between the two original lists. If there are no elements in the intersection, answer with an empty list. Your list of numbers must be inside brackets. Sort the numbers in your answer in an ascending order, that is, no matter what the order of the numbers in the lists is, you should put them in your answer in an ascending order.
Teacher: Now, understand the problem? Solve this instance: [9, 8, 7, 7, 6, 9, 3] , [9, 9, 1, 10, 8, 2, 2]
Student: | [8, 9] |
You will be given a definition of a task first, then some input of the task.
Given a part of privacy policy text, identify the type of personal information which is collected, used, tracked or retained. The type of information should be present inside the given policy text, answer as 'Not Specified' otherwise
The site collects your contact information for a basic service or feature. Collection happens in an unspecified way for users with accounts. You can configure your privacy with user settings provided by the site for the use of your information.
Output: | Contact |
Detailed Instructions: Given the sentence, generate "yes, and" response. "Yes, and" is a rule-of-thumb in improvisational comedy that suggests that a participant in a dialogue should accept what another participant has stated ("Yes") and then expand on that line of thought or context ("and..."). 1 In short, a "Yes, and" is a dialogue exchange in which a speaker responds by adding new information on top of the information/setting that was constructed by another speaker. Note that a "Yes, and" does not require someone explicitly saying 'yes, and...' as part of a dialogue exchange, although it could be the case if it agrees with the description above. There are many ways in which a response could implicitly/explicitly agree to the prompt without specifically saying 'yes, and...'.
Problem:My name is Delores and I'm a huge vein fan.
Solution: | Oh, I'm Sly and I got huge veins. |
instruction:
In this task you will be given a list of integers. You should remove any integer that is not prime. A prime integer is an integer that is only divisible by '1' and itself. The output should be the list of prime numbers in the input list. If there are no primes in the input list an empty list ("[]") should be returned.
question:
[409, 107, 151, 17, 856, 803, 689, 653, 223, 53, 950, 331, 129, 805, 101, 863, 491, 899, 613]
answer:
[409, 107, 151, 17, 653, 223, 53, 331, 101, 863, 491, 613]
question:
[107, 301, 149, 503, 541, 9, 496, 191, 937, 89, 449, 949, 40, 655, 924, 121, 709]
answer:
[107, 149, 503, 541, 191, 937, 89, 449, 709]
question:
[204, 401, 311, 953, 965, 41, 433, 397, 792, 878, 439, 904, 455, 587]
answer:
| [401, 311, 953, 41, 433, 397, 439, 587]
|
Part 1. Definition
In this task, you are given two sets, and a question. You need to find whether an element is at the intersection of two given sets. A Set is shown by two curly braces and comma-separated numbers inside, like {1, 2, 3}. The intersection of two given sets is the largest set which contains all the elements that are common to both sets. An element is at the intersection of two given sets, A and B, if common to both A and B. Classify your answers into 'Yes' or 'No'.
Part 2. Example
Set1: '{1, 6, 10, 12, 13, 14, 15, 16}', Set2: '{1, 2, 4, 6, 11, 14, 15, 20}'. Is the element '11' in the intersection of Set1 and Set2 ?
Answer: No
Explanation: The intersection of Set1 and Set2 is {1, 6, 14, 15}. 11 is not an element of this set. So, the answer is No.
Part 3. Exercise
Set1: '{5, 12, 13, 14, 16, 18, 19}', Set2: '{2, 4, 18, 19, 20}'. Is the element '16' in the intersection of Set1 and Set2 ?
Answer: | No |
You will be given a definition of a task first, then some input of the task.
We would like you to assess the QUALITY of each of the following argument (discussing Death Penalty) and determine if the argument is Valid or Invalid. A valid argument is clearly interpretable and either expresses an argument, or a premise or a conclusion that can be used in an argument for the topic of death penalty. An invalid argument is a phrase that cannot be interpreted as an argument or not on the topic of death penalty.
Because people like you feel the need to lock away non-violent drug users.
Output: | Invalid |
In this task, you are given two sets, and you need to count the number of elements at the union of two given sets. A Set is shown by two curly braces and comma-separated numbers inside, like {1, 2, 3}. Union of two given sets is the smallest set which contains all the elements of both the sets. To find the union of two given sets, A and B is a set that consists of all the elements of A and all the elements of B such that no element is repeated.
[Q]: Set1: '{1, 2, 3, 4, 5, 7, 8, 14, 17}', Set2: '{16, 13}'. How many elements are there in the union of Set1 and Set2 ?
[A]: 11
[Q]: Set1: '{16, 4}', Set2: '{1, 11, 13, 15}'. How many elements are there in the union of Set1 and Set2 ?
[A]: 6
[Q]: Set1: '{8, 1, 20, 14}', Set2: '{1, 19, 15}'. How many elements are there in the union of Set1 and Set2 ?
[A]: | 6
|
Teacher:In this task you will be given a list of numbers and you should remove all duplicates in the list. If every number is repeated in the list an empty list should be returned. Your list should be numbers inside brackets, just like the given list.
Teacher: Now, understand the problem? Solve this instance: [2, 6, 3, 3, 1]
Student: | [2, 6, 1] |
Part 1. Definition
In this task you will be given a list of integers. You should find the minimum absolute difference between 2 integers in the list. The absolute difference is the absolute value of one integer subtracted by another. The output should be a single integer which is the smallest possible absolute distance.
Part 2. Example
[9, 40, -33, 12, 17, -32, 40]
Answer: 0
Explanation: The minimum absolute difference is 0 because '40 - 40 = 0' and '40' appears in the list twice. So this is a good example.
Part 3. Exercise
[87, 11, 56, 15]
Answer: | 4 |
Q: In this task, you need to provide the parts-of-speech tag of a word present in a sentence specified within curly braces ( '{{ ... }}' ). The parts-of-speech tags are fine labels that represent a category of words with similar grammatical properties. The list of part-of-speech tags i.e tagset of this corpus is : '$': Dollar Sign, "''": Single Quotes, ',': Comma Symbol, '-LRB-': Left Parantheses, '-RRB-': Right Parantheses, '.': Period, ':': Colon, 'ADD': Email Address, 'AFX': Affix, 'CC': Coordinating conjunction, 'CD': Cardinal Number, 'DT': Determiner, 'EX': Existential there, 'FW': Foreign Word, 'GW': Go with, 'HYPH': Hyphen symbol, 'IN': Preposition or a subordinating conjunction, 'JJ': Adjective, 'JJR': A comparative Adjective, 'JJS': A Superlative Adjective, 'LS': List item Marker, 'MD': Modal, 'NFP': Superfluous punctuation, 'NN': Singular Noun, 'NNP': Singular Proper Noun, 'NNPS': Prural Proper Noun, 'NNS': Prural Noun, 'PDT': Pre-determiner, 'POS': Possessive Ending, 'PRP': Personal pronoun, 'PRP$': Possessive Pronoun, 'RB': Adverb, 'RBR': Comparative Adverb, 'RBS': Superlative Adverb, 'RP': Particle, 'SYM': Symbol, 'TO': To , 'UH': Interjection, 'VB': Base form Verb, 'VBD': Verb in Past tense, 'VBG': Verb in present participle, 'VBN': Verb in past participle, 'VBP': Verb in non-3rd person singular present, 'VBZ': Verb in 3rd person singular present, 'WDT': Wh-determiner, 'WP': Wh-pronoun, 'WP$' Possessive Wh-pronoun, 'WRB': Wh-adverb, 'XX': Unknown, '``': Double backticks.
Sentence: 11 . In Events of Default , clause {{ ( }} a ) refers to a dispute section which I 'm not sure exists .
Word: (
A: | -LRB- |
instruction:
In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to classify the command into one of these seven categories: (1) majority, (2) unique, (3) superlative, (4) count, (5) comparative, (6) aggregation, and (7) ordinal.
Here are the defications of each category:
1. majority: Describing the majority values (most or all) over one column, with the scope of all table rows or a subset of rows
2. unique: Describing one unique row, regarding one column, with the scope of all table rows or a subset of rows
3. Superlative: Describing the maximum or minimum value in a column, with the scope of all table rows or a subset of rows
4. Ordinal: Describing the n-th maximum or minimum value in a column, with the scope of all table rows or a subset of rows
5. Comparative: Comparing two rows in the table, regarding their values in one column
6. Count: counting some rows in the table based on the values in one column, with the scope of all table rows or a subset of rows
7. Aggregation: Describing the sum or average value over a column, with the scope of all table rows or a subset of rows.
Here are the definitions of logical operators for understanding of command:
1. count: returns the number of rows in the view.
2. only: returns whether there is exactly one row in the view.
3. hop: returns the value under the header column of the row.
4. and: returns the boolean operation result of two arguments.
5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column.
6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column.
7. argmax/argmin: returns the row with the max/min value in header column.
8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column.
9. eq/not_eq: returns if the two arguments are equal.
10. round_eq: returns if the two arguments are roughly equal under certain tolerance.
11. greater/less: returns if the first argument is greater/less than the second argument.
12. diff: returns the difference between two arguments.
13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument.
14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument.
15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument.
16. filter_all: returns the view itself for the case of describing the whole table
17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument.
18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument.
19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument.
20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument.
21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument.
22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument.
question:
round_eq { avg { filter_eq { all_rows ; home ; detroit } ; attendance } ; 18908 }
answer:
aggregation
question:
greater { hop { filter_eq { all_rows ; name ; tyler hansbrough } ; height } ; hop { filter_eq { all_rows ; name ; wes miller } ; height } }
answer:
comparative
question:
eq { hop { argmax { all_rows ; yards } ; player } ; jerel meyers }
answer:
| superlative
|
instruction:
Given a statement about date and time, state whether the statement is true or false. The number of date/time operands in the statement ranges between 2 and 3. Let's say the values are denoted by t1, t2 and t3. The statements follow one of the following ten templates: 't1 occurs before t2, t1 doesn't occur before t2, t1 occurs after t2, t1 doesn't occur after t2, t1 occurs between t2 and t3, t1 doesn't occur between t2 and t3, t1 occured before t2 but after t3, t1 occured after t2 but before t3, t1 didn't occur before t2 but after t3, t1 didn't occur after t2 but before t3'. The output should be either 'True' or 'False'.
question:
Apr 25, 1972 occured before 06 Jun 1984 but after July 17, 1999
answer:
False
question:
July 10, 1975 doesn't occur between 10 December 1993 and March 01, 2007
answer:
True
question:
July 21, 1992 doesn't occur between August 30, 2011 and May 11, 1989
answer:
| False
|
You will be given a definition of a task first, then some input of the task.
In this task, you are given commands (in terms of logical operations) and natural interpretation of the given command to select relevant rows from the given table. Your job is to generate a label "yes" if the interpretation is appropriate for the command, otherwise generate label "no".
Here are the definitions of logical operators:
1. count: returns the number of rows in the view.
2. only: returns whether there is exactly one row in the view.
3. hop: returns the value under the header column of the row.
4. and: returns the boolean operation result of two arguments.
5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column.
6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column.
7. argmax/argmin: returns the row with the max/min value in header column.
8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column.
9. eq/not_eq: returns if the two arguments are equal.
10. round_eq: returns if the two arguments are roughly equal under certain tolerance.
11. greater/less: returns if the first argument is greater/less than the second argument.
12. diff: returns the difference between two arguments.
13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument.
14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument.
15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument.
16. filter_all: returns the view itself for the case of describing the whole table
17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument.
18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument.
19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument.
20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument.
21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument.
22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument.
Command: eq { count { filter_eq { all_rows ; surface ; clay } } ; 3 }, interpretation: select the rows whose vessel record fuzzily matches to smeaton array . take the max speed record of this row . select the rows whose vessel record fuzzily matches to marianarray . take the max speed record of this row . the first record is greater than the second record .
Output: | no |
The given sentence contains a typo which could be one of the following four types: (1) swapped letters of a word e.g. 'niec' is a typo of the word 'nice'. (2) missing letter in a word e.g. 'nic' is a typo of the word 'nice'. (3) extra letter in a word e.g. 'nicce' is a typo of the word 'nice'. (4) replaced letter in a word e.g 'nicr' is a typo of the word 'nice'. You need to identify the typo in the given sentence. To do this, answer with the word containing the typo.
--------
Question: A mabn is holding a cell phone next to a girl, who is holding a drink.
Answer: mabn
Question: An electronics case next to a microphone and with a cell phone on to.
Answer: to.
Question: A roioster stands in the grass adjacent to a road.
Answer: | roioster
|
You will be given a definition of a task first, then some input of the task.
Given a sequence of actions to navigate an agent in its environment, provide the correct command in a limited form of natural language that matches the sequence of actions when executed. Commands are lowercase and encapsulate the logic of the sequence of actions. Actions are individual steps that serve as the building blocks for a command. There are only six actions: 'I_LOOK', 'I_WALK', 'I_RUN', 'I_JUMP', 'I_TURN_LEFT', and 'I_TURN_RIGHT'. These actions respectively align with the commands 'look', 'walk', 'run', 'jump', 'turn left', and 'turn right'. For commands, 'left' and 'right' are used to denote the direction of an action. opposite turns the agent backward in the specified direction. The word 'around' makes the agent execute an action while turning around in the specified direction. The word 'and' means to execute the next scope of the command following the previous scope of the command. The word 'after' signifies to execute the previous scope of the command following the next scope of the command. The words 'twice' and 'thrice' trigger repetition of a command that they scope over two times or three times, respectively. Actions and commands do not have quotations in the input and output.
I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT I_LOOK I_TURN_RIGHT I_LOOK I_TURN_RIGHT I_LOOK I_TURN_RIGHT I_LOOK I_TURN_RIGHT I_LOOK I_TURN_RIGHT I_LOOK I_TURN_RIGHT I_LOOK I_TURN_RIGHT I_LOOK I_TURN_RIGHT I_LOOK I_TURN_RIGHT I_LOOK I_TURN_RIGHT I_LOOK I_TURN_RIGHT I_LOOK
Output: | look around right thrice after turn right twice |
We would like you to assess the QUALITY of each of the following argument (discussing Gun Control) and determine if the argument is Valid or Invalid. A valid argument is clearly interpretable and either expresses an argument, or a premise or a conclusion that can be used in an argument for the topic of gun control. An invalid argument is a phrase that cannot be interpreted as an argument or not on the topic of gun control.
Ex Input:
You obviously have no experienced with even holding a gun first hand, otherwise you wouldn't have to ask such a stupid question.
Ex Output:
Valid
Ex Input:
Which gun right laws do you support?The right to ban them?you are as anti-gun as they come.Galileo no offense, because you make no pretense about it.
Ex Output:
Valid
Ex Input:
If England wants to ban weapons, that is quite alright, but we should not trade with htem as long as they are violating the human rights of their citizens.
Ex Output:
| Valid
|
TASK DEFINITION: Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it.
PROBLEM: significant
SOLUTION: nonsignificant
PROBLEM: nonsubmersible
SOLUTION: submersible
PROBLEM: bloodless
SOLUTION: | bloody
|
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
In this task you will be given a list of numbers and you need to find the mean (average) of that list. The mean of a list can be found by summing every number in the list then dividing the result by the size of that list. The output should be rounded to 3 decimal places.
[1,3,5]
Solution: 3.000
Why? The mean of the input list is (1+3+5)/3, which equals 3. This is a good example.
New input: [146.815, 125.411, 84.472, -63.01, 79.256, -34.213, 248.004, -86.96, -39.397]
Solution: | 51.153 |
Given the task definition and input, reply with output. Given a sequence of actions to navigate an agent in its environment, provide the correct command in a limited form of natural language that matches the sequence of actions when executed. Commands are lowercase and encapsulate the logic of the sequence of actions. Actions are individual steps that serve as the building blocks for a command. There are only six actions: 'I_LOOK', 'I_WALK', 'I_RUN', 'I_JUMP', 'I_TURN_LEFT', and 'I_TURN_RIGHT'. These actions respectively align with the commands 'look', 'walk', 'run', 'jump', 'turn left', and 'turn right'. For commands, 'left' and 'right' are used to denote the direction of an action. opposite turns the agent backward in the specified direction. The word 'around' makes the agent execute an action while turning around in the specified direction. The word 'and' means to execute the next scope of the command following the previous scope of the command. The word 'after' signifies to execute the previous scope of the command following the next scope of the command. The words 'twice' and 'thrice' trigger repetition of a command that they scope over two times or three times, respectively. Actions and commands do not have quotations in the input and output.
I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK I_TURN_LEFT I_WALK
| turn opposite right twice and walk around left twice |
Given the task definition and input, reply with output. We would like you to assess the QUALITY of each of the following argument (discussing Death Penalty) and determine if the argument is Valid or Invalid. A valid argument is clearly interpretable and either expresses an argument, or a premise or a conclusion that can be used in an argument for the topic of death penalty. An invalid argument is a phrase that cannot be interpreted as an argument or not on the topic of death penalty.
The lawyer the state provided bragged about how he never took more papers than could fit in his pocket.
| Invalid |
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
In this task, you are given an input list A. You need to extract and sort the unique digits used in the list in ascending order. Return -1 if there is no digit in the list.
['q', '31', 'a', 'd', '53', '85', 'p', '77']
Solution: 1, 3, 5, 7, 8
Why? Here, the numbers in the list are '31', '53', '85' and '77', and the unique digits used in the list are '1, 3, 5, 7, 8' in ascending order.
New input: ['87', '95', '175', '119', '457', '41', '367', 'b', 'm', '215']
Solution: | 1, 2, 3, 4, 5, 6, 7, 8, 9 |
Teacher: Given news headlines and an edited word. The original sentence has word within given format {word}. Create new headlines by replacing {word} in the original sentence with edit word. Classify news headlines into "Funny" and "Not Funny" that have been modified by humans using an edit word to make them funny.
Teacher: Now, understand the problem? If you are still confused, see the following example:
News Headline: France is ‘ hunting down its citizens who joined {Isis} without trial in Iraq
Edit: twins
Solution: Not Funny
Reason: The edited sentence is not making much sense, therefore it's not funny.
Now, solve this instance: News Headline: {Australia} ’s mandatory gun buyback inspires U.S. activists , but few lawmakers
Edit: Bakery
Student: | Not Funny |
Subsets and Splits