SMART
Collection
Collection of models and datasets used for ACL 2024 paper, SMART - Submodular Data Mixture Strategy for Instruciton Tuning
•
338 items
•
Updated
prompt
stringlengths 109
7.32k
| response
stringlengths 1
1.45k
|
---|---|
In this task you're given two statements in Marathi. You must judge whether the second sentence is the cause or effect of the first one. The sentences are separated by a newline character. Output either the word 'cause' or 'effect' .
Input: Consider Input: जमावाने बँडला स्टँडिंग ओव्हेशन दिले.
स्टेजवर बॅन्ड पुन्हा दिसला.
Output: effect
Input: Consider Input: ही स्त्री तिच्या बहिणीसाठी चुकीची होती.
बाई तिच्या बहिणीसारखी दिसत होती.
Output: cause
Input: Consider Input: चिमुरड्याने रडायला सुरुवात केली.
तिच्या पालकांनी तिला एक खेळणी दिली.
| Output: effect
|
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.
Example input: [{'first': 8, 'second': 7}, {'first': -7, 'second': -2}, {'first': 8, 'second': 2}]
Example output: [{'first': -7, 'second': -2}, {'first': 8, 'second': 2}, {'first': 8, 'second': 7}]
Example explanation: The two dictionaries that had the same 'first' value were sorted by their 'second' value and the smaller one was listed first. So this is a good example.
Q: [{'first': 14, 'second': -77}, {'first': 84, 'second': -56}, {'first': -81, 'second': 26}, {'first': 23, 'second': 51}, {'first': -49, 'second': -89}, {'first': -59, 'second': -74}]
A: | [{'first': -81, 'second': 26}, {'first': -59, 'second': -74}, {'first': -49, 'second': -89}, {'first': 14, 'second': -77}, {'first': 23, 'second': 51}, {'first': 84, 'second': -56}] |
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 a country name and you need to return the region of the world map that the country is located in. The possible regions that are considered valid answers are: Caribbean, Southern Europe, Eastern Europe, Western Europe, South America, North America, Central America, Antarctica, Australia and New Zealand, Central Africa, Northern Africa, Eastern Africa, Western Africa, Southern Africa, Eastern Asia, Southern and Central Asia, Southeast Asia, Middle East, Melanesia, Polynesia, British Isles, Micronesia, Nordic Countries, Baltic Countries.
Angola
Solution: Central Africa
Why? Angola is located in the Central Africa region of the world map.
New input: Afghanistan
Solution: | Southern and Central Asia |
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.
Example: A case is reported of a child with fatal pulmonary fibrosis following BCNU therapy.
Example solution: adverse drug event
Example explanation: Here, the child is facing some trouble after undergoing a particular therapy, thereby causing an adverse effect of the therapy.
Problem: Trying to adjust the treatment to the patient's requirements, Carbamazepine together with Oxybutynin and Dantrolene was readministrated in lower doses.
| Solution: non-adverse drug event |
Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it.
Example: able
Example solution: unable
Example explanation: The output is correct as able and unable are opposities of each other in meaning.
Problem: effortless
| Solution: effortful |
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: That doesn't ensure that we don't end up murdering innocent people.
A: | Valid |
Detailed Instructions: 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.
Q: [519, 258, 149, 971, 631, 433]
A: | [149, 971, 631, 433] |
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.
One example is below.
Q: Sentence: Those things ended up being a windsheild washer fluid tank {{ ( }} 1 screw ) and the air filter canister ( 4 spring clips ) .
Word: (
A: -LRB-
Rationale: "(" is the symbol for Left Parantheses (-LRB-).
Q: Sentence: {{ By }} the way , Cullen and Dykman is sending copies of what we are doing to Melanie Gray .
Word: By
A: | IN |
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.
Example: x = 3, equation weights = [4, 2]
Example solution: 14
Example explanation: 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.
Problem: x = 5, equation weights = [5, 9, 7]
| Solution: 177 |
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.
Q: password = m!B!3FUqDQVRjqX2w0a8VE6mroX
A: | 7 |
Detailed Instructions: Given a premise, an initial context, an original ending, and a counterfactual context, the task is to generate a new story ending aligned with the counterfactual context and as close to the original ending as possible. Each instance consists of a five-sentence story. The premise is the first sentence of a story, and the second sentence, which is the initial context, provides more information about the story's context and the story's general plot. The original ending is the last three sentences of the story. Also, a counterfactual context is a slight modification to the initial context. You should write a new story ending that edits the original story ending as little as possible to regain coherence with the counterfactual context. To sum up, you should write the last three sentences of a story based on the premise(first sentence) and the counterfactual context(second sentence) of the story.
Q: Premise: John stole a sweater from the mall.
Initial Context: He thought he was going to get away with it.
Original Ending: But on his way out, a clerk stopped him. John had to confess and return the sweater. Luckily, the clerk decided not to press charges.
Counterfactual Context: He didn't think he was going to get away with it so he took it back.
A: | On his way back in, a clerk stopped him. John confessed as he was returning the sweater. Luckily, the clerk decided not to press charges. |
Turn the given fact into a question by a simple rearrangement of words. This typically involves replacing some part of the given fact with a WH word. For example, replacing the subject of the provided fact with the word "what" can form a valid question. Don't be creative! You just need to rearrange the words to turn the fact into a question - easy! Don't just randomly remove a word from the given fact to form a question. Remember that your question must evaluate scientific understanding. Pick a word or a phrase in the given fact to be the correct answer, then make the rest of the question. You can also form a question without any WH words. For example, "A radio converts electricity into?"
Q: Fact: Plants require water to develop.
A: | What do plants need to develop? |
You will be given a definition of a task first, then some input of the task.
In this task, you are given an english sentence and a kurdish sentence you have to determine if they both are faithful translations of each other.
Construct an answer that is 'Yes' if the second 'Kurdish' sentence is a translation of 'English' sentence and 'No' otherwise
'English : Berfo Kırbayır was calling out to the then Minister Ergin in her letter as follows:','Kurdish : Dayîka Berfo di nameya xwe de ji Wezîrê Dadê yê wê demê Sadullah Ergin re wiha bang dikir:'
Output: | Yes |
Please answer this: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms.
++++++++
Answer: Ok
Please answer this: Generate a 5-star review (1 being lowest and 5 being highest) about an app with package com.google.android.gms.
++++++++
Answer: Nice ..
Please answer this: Generate a 1-star review (1 being lowest and 5 being highest) about an app with package com.duckduckgo.mobile.android.
++++++++
Answer: | Excellent |
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
Given a short bio of a person, find the minimal text span containing the date of birth of the person. The output must be the minimal text span that contains the birth date, month and year as long as they are present. For instance, given a bio like 'I was born on 27th of Decemeber 1990, and graduated high school on 23rd October 2008.' the output should be '27th of December 1990'.
Basinger was born in Athens, Georgia, on December 8, 1953
Solution: December 8, 1953
Why? The output is correct as it is a valid text span, is of minimal length and is the correct date of birth.
New input: Saldaña was born on June 19, 1978, in Passaic, New Jersey
Solution: | June 19, 1978 |
Detailed Instructions: In this task you're given two statements in Marathi. You must judge whether the second sentence is the cause or effect of the first one. The sentences are separated by a newline character. Output either the word 'cause' or 'effect' .
Problem:त्या बाईला डॉक्टर व्हायचं होतं.
ती वैद्यकीय शाळेत गेली.
Solution: | effect |
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.
Example: original sentence: Lily spoke to Donna , breaking her silence . paraphrase: Lily is speaking to Donna , breaking her silence .
Example solution: Tense
Example explanation: The verbs in this example are changed from past tense to present tense.
Problem: original sentence: When Tommy dropped his ice cream , Timmy giggled , so father gave him a sympathetic look . paraphrase: When Tommy and Bobby dropped their ice creams , Timmy and Billy giggled , so father gave them a sympathetic look .
| Solution: Number |
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.
Input: Consider Input: Three months ago, I attended a convocation for my cousin's university. It was a fun day that day. I had a great time eating all the different foods. I had a beer with a corn dog. I had some wine with a burger. They were all delicious. At the end, there was a talent show. There was a ton of talent that day. There was a magician who pulled a rabbit out of a bottle. It was insane. There was a woman who got cut into three parts, with all the parts moving. I don't know how they did it. They finished it with a man in a straight jacket doing the Houdini act. He barely got out of time before he drowned. It was scary. I hope to go to one of these again.
Output: imagined
Input: Consider Input: One of my favorite things we did is rent a boat and did some island hoping! Very exciting on the beautiful waters and pure white beaches Some of the beaches we just anchored out boat and swam to the shore. We found some huge rocks we could swim around and look at all the colorful fish. We also rented four wheeler and got to ride them all around the island. While riding up very high we could look down on all the boats surrounding the island. We got great tans and had some delicious meals. A lot of great seafood! The shopping was unique as we found some great gifts to bring back and my husband found some nice shirts he liked. We did the town and shops their with gold, silver, rings necklaces just about anything you would be looking for. We took a lot of pictures and video and have enjoy watching them. They have brought back fond memories. We have enjoyed showing them to our friends and family! We can't wait to go back. There is so much to see and do! It just a beautiful place to visit and we would recommend anyone to visit.
Output: retold
Input: Consider Input: She was accepted into Rutgers U. I am relieved I can say the efforts have an endpoint. Can I say that? Every day I still wonder if she will not be able to focus...if she will get stressed and focus too intently to overcompensate and not be aware of her surroundings. It has been hell for her and for me. What is left if you choose not to use medication though I offered to go that route with her many times once she was old enough to understand things like side effects and ineffectiveness. As I think about all we did I feel sick in my stomach. The constant disciplining to form that necessary structure that her mind couldn't do easily on it's own. OMG all the words! Talking to her until I felt like passing out. "Now..now you are processing that clearly! Can you feel the reasoning come naturally now?" Her relief when she could see out of the fog, her despair when she realized she was thinking "jumbly" again; my God how we fought against the monster. She is proud of herself; she can even tell when she is "bouncy" and needs to regroup. She deserves to be proud; she never, ever gave up. We never, ever gave up. When people say, "Your daughter is just so sharp" I don't feel proud so much as I want to throw up with remembered fear and cry with relief.
| Output: retold
|
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).
Example: Entity 1: plant
Entity 2: leaf
Example solution: yes
Example explanation: The answer is correct. Because the leaf is part of the plant. Therefore, here leaf is meronym and the plant is holonym.
Problem: Entity 1: hydrate
Entity 2: water
| Solution: yes |
Detailed Instructions: 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.
See one example below:
Problem: A case is reported of a child with fatal pulmonary fibrosis following BCNU therapy.
Solution: adverse drug event
Explanation: Here, the child is facing some trouble after undergoing a particular therapy, thereby causing an adverse effect of the therapy.
Problem: DESIGN: Description of the clinical findings in two patients with this condition.
Solution: | non-adverse drug event |
In this task, you are given a country name and you need to return the region of the world map that the country is located in. The possible regions that are considered valid answers are: Caribbean, Southern Europe, Eastern Europe, Western Europe, South America, North America, Central America, Antarctica, Australia and New Zealand, Central Africa, Northern Africa, Eastern Africa, Western Africa, Southern Africa, Eastern Asia, Southern and Central Asia, Southeast Asia, Middle East, Melanesia, Polynesia, British Isles, Micronesia, Nordic Countries, Baltic Countries.
Bahamas | Caribbean |
You will be given a definition of a task first, then some input 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.
What is the year and semester with the most courses?
Output: | SELECT semester , YEAR FROM SECTION GROUP BY semester , YEAR ORDER BY count(*) DESC LIMIT 1 |
Detailed Instructions: Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it.
Q: sent
A: | unsent |
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.
Ethiopia
-1000
San Marino
885
Cape Verde
| 1975
|
Given a part of privacy policy text, identify the purpose for which the user information is collected/used. The purpose should be given inside the policy text, answer as 'Not Specified' otherwise
Q: The site collects your contact information for an additional (non-basic) service or feature. Collection happens in an unspecified way.
A: | Additional service/feature |
Teacher:In this task, you are given a country name and you need to return the region of the world map that the country is located in. The possible regions that are considered valid answers are: Caribbean, Southern Europe, Eastern Europe, Western Europe, South America, North America, Central America, Antarctica, Australia and New Zealand, Central Africa, Northern Africa, Eastern Africa, Western Africa, Southern Africa, Eastern Asia, Southern and Central Asia, Southeast Asia, Middle East, Melanesia, Polynesia, British Isles, Micronesia, Nordic Countries, Baltic Countries.
Teacher: Now, understand the problem? Solve this instance: Norfolk Island
Student: | Australia and New Zealand |
Detailed Instructions: 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.
Q: [5, 6, 4, 3, 5, 7, 0, 2]
A: | [6, 4, 3, 7, 0, 2] |
Detailed Instructions: 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.
Q: [-75, -29, 56, 88, -63, -29, -31, 73, 11, -81]
A: | 0 |
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 input: 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.'
Example output: No
Example explanation: In this utterance, the participant does not use self-need since they do not talk about any need for themselves.
Q: Context: 'I am so excited to go camping! I am planning a nice long walk in the woods to decompress from the hectic days of working.'
Utterance: 'I am too. I've been thinking of this since COVID. I hear we have some materials to share between the two of us. What are you thinking? For me, I am from the South so I get cold easily 🙂 so firewood is my main priority.'
A: | Yes |
Turn the given fact into a question by a simple rearrangement of words. This typically involves replacing some part of the given fact with a WH word. For example, replacing the subject of the provided fact with the word "what" can form a valid question. Don't be creative! You just need to rearrange the words to turn the fact into a question - easy! Don't just randomly remove a word from the given fact to form a question. Remember that your question must evaluate scientific understanding. Pick a word or a phrase in the given fact to be the correct answer, then make the rest of the question. You can also form a question without any WH words. For example, "A radio converts electricity into?"
Q: Fact: rocks become hot very slow.
A: | rocks become hot very what? |
In this task you will be given an arithmetic operation and you have to find its answer. The operators '+' and '-' have been replaced with new symbols. Specifically, '+' has been replaced with the symbol '@' and '-' with the symbol '#'. You need to perform the operations in the given equation return the answer
2441 # 2654 @ 3280 # 6779 | -3712 |
Detailed Instructions: 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.
Q: [725, 715, 709, 767, 263, 553, 283, 389, 521, 348]
A: | [709, 263, 283, 389, 521] |
The provided text is in English, and we ask you to translate the text to the Croatian language. Please bear in mind the following guidelines while translating: 1) We want a natural translation, a formal form. 2) Use the symbols like '#@%$-+_=^&!*' as-is. *Include* the special characters as suited when translating to Croatian. 3) Quantities like millions or billions should be translated to their equivalent in Croatian language 4) Note the input is all case-sensitive except for special placeholders and output is expected to be case-sensitive. 5) The output must have Croatian characters like Ž or č and the output must preserve the Croatian language characters. 6) The input contains punctuations and output is expected to have relevant punctuations for grammatical accuracy.
Example input: I want you now to imagine a wearable robot that gives you superhuman abilities, or another one that takes wheelchair users up standing and walking again.
Example output: Želim da sada zamislite nosiv robot koji vam daje nadljudske sposobnosti, ili neki drugi koji omogučuje korisnicima invalidskih kolica da stoje i ponovno hodaju.
Example explanation: The translation correctly preserves the characters in Croatian.
Q: There's really no ceremony, rituals, or rites.
A: | Nema zapravo svečanosti, rituala ili obreda. |
Teacher:In this task, you are given an english sentence and a kurdish sentence you have to determine if they both are faithful translations of each other.
Construct an answer that is 'Yes' if the second 'Kurdish' sentence is a translation of 'English' sentence and 'No' otherwise
Teacher: Now, understand the problem? Solve this instance: 'English : “There is no single post left to which we haven’t applied, state’s response to us has always been pressure and threat. I met with Prime Minister Recep Tayyip Erdoğan on February 5, 2011, I got my hopes up…','Kurdish : 'Tû meqam ne ma ku em serî lê bidin. Dewletê her car bi zext û gefxarinan bersiva me da. Ez di 5ê Sibata 2011an de bi Serokwezîr Recep Tayyîp Erdogan re axivîm û bi hêvî me...''
Student: | Yes |
Detailed Instructions: 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.
Q: [3, 2, 2, 6, 0, 5]
A: | [3, 6, 0, 5] |
In this task you're given two statements in Marathi. You must judge whether the second sentence is the cause or effect of the first one. The sentences are separated by a newline character. Output either the word 'cause' or 'effect' .
[Q]: मुलाने रेडिओ ट्यून केला.
स्टेशन स्थिर घेऊन येत होते.
[A]: cause
[Q]: मुलाने आपल्या मोठ्या भावाची नक्कल केली.
मुलाने त्याच्या मोठ्या भावाला पाहिले.
[A]: cause
[Q]: अर्जदाराची नेमणूक न करण्याचा निर्णय कार्यकारिणीने घेतला.
अर्जदाराची पार्श्वभूमी तपासणी अयशस्वी झाली.
[A]: | cause
|
Instructions: In this task, you are given two strings A,B. You must perform the following operations to generate the required output list: (i) Find the longest common substring in the strings A and B, (ii) Convert this substring to all lowercase and sort it alphabetically, (iii) Replace the substring at its respective positions in the two lists with the updated substring.
Input: bPEfomPqOZLPINfUKuEmAnqjWbTalpCisSCpyv, dRxzaMxdagbJrzpyoLPINfUKuEmAnqjWbTalFv
Output: | bPEfomPqOZaabefijkllmnnpqtuuwpCisSCpyv, dRxzaMxdagbJrzpyoaabefijkllmnnpqtuuwFv |
Definition: In this task, you are given a country name and you need to answer with the government type of the country, as of the year 2015. The following are possible government types that are considered valid answers: Republic, Parliamentary Coprincipality, Federal Republic, Monarchy, Islamic Republic, Constitutional Monarchy, Parlementary Monarchy, Federation.
Input: Nigeria
Output: | Federal Republic |
In this task, you will be given a list of numbers. The goal is to divide all the numbers in the list by a constant such that the sum of the resulting list is 1. The output should be rounded to 3 decimals.
Example input: [1, 2, 3]
Example output: [0.167, 0.333, 0.500]
Example explanation: The output list sums to 1.0 and has the same weight as the input 0.333 is twice as large as 0.167, .5 is 3 times as large as 0.167, and 0.5 is 1.5 times as large as 0.333. This is a good example.
Q: [-32.564, 12.742, 37.493, 33.139, 213.352, 206.402, -13.454, -75.187, 223.412, 46.941]
A: | [-0.05 0.02 0.057 0.051 0.327 0.316 -0.021 -0.115 0.343 0.072] |
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: After finally sleeping with Lucrezia , Callimaco confesses everything .
Question: Was Callimaco remorseful?
Category: Transient v. Stationary.
Output: | No. |
In this task, you are given two strings A,B. You must perform the following operations to generate the required output list: (i) Find the longest common substring in the strings A and B, (ii) Convert this substring to all lowercase and sort it alphabetically, (iii) Replace the substring at its respective positions in the two lists with the updated substring.
Q: EPYqWLWbhDRtkckDNuguoeATGUfnmHUokRDfSdaxsMcTc, FLdDPUNMbnHyDRtkckDNuguoeATGUfRVMX
A: | EPYqWLWbhacddefggkknorttuuunmHUokRDfSdaxsMcTc, FLdDPUNMbnHyacddefggkknorttuuuRVMX |
Detailed Instructions: 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': -23, 'second': -50}, {'first': 72, 'second': -24}, {'first': -65, 'second': 55}, {'first': 47, 'second': 15}, {'first': 40, 'second': 6}, {'first': -85, 'second': -15}, {'first': 28, 'second': 20}, {'first': -89, 'second': -97}]
A: | [{'first': -89, 'second': -97}, {'first': -85, 'second': -15}, {'first': -65, 'second': 55}, {'first': -23, 'second': -50}, {'first': 28, 'second': 20}, {'first': 40, 'second': 6}, {'first': 47, 'second': 15}, {'first': 72, 'second': -24}] |
Detailed Instructions: In this task, you are given a string with unique characters in it and you need to return the character from the string which has the maximum ASCII value. ASCII stands for American Standard Code For Information Interchange and It assigns a unique number to each character. The characters [a - z] have an ASCII range of 97-122 and [A-Z] have an ASCII range of 65-90 respectively.
Q: vpbIGwacxXQoJOAgZ
A: | x |
Given the following Catalan sentence, indicate the name entities (i.e., the real-world objects such as a person, location, organization, etc. that can be denoted with a proper name) such as 'New York Times'. For each words of a named-entity, indicate their type 'LOC' or 'ORG' or 'PER', where 'LOC' indicates a location entity (such as 'New York City', 'ORG' indicates the token of an organization (such as 'Amazon'), 'PER' indicates the tokens of a person entity (such as 'Jeff Bezos'). Named entities with other types should be indicated with 'MISC'. To indicate boundaries of an entity, use IOB (Inside-Output-Begin) prefixes. The B- prefix before a tag indicates that the word is the beginning of a named entity. The I- prefix indicates that the word is inside a bigger chunk. For example, you can break 'New York' to 'New' and 'York.' and tag them as 'B-LOC' and 'I-LOC'. Any token that doesn't belong to a named entity must be tagged with 'O'.
Example: Una setantena de treballadors de Fomento de Construcciones y Contratas a Manresa , gairebé la totalitat de la plantilla , s' han manifestat aquest migdia pels carrers de la ciutat .
Example solution: Una (O) setantena (O) de (O) treballadors (O) de (O) Fomento (B-ORG) de (I-ORG) Construcciones (I-ORG) y (I-ORG) Contratas (I-ORG) a (O) Manresa (B-LOC) , (O) gairebé (O) la (O) totalitat (O) de (O) la (O) plantilla (O) , (O) s' (O) han (O) manifestat (O) aquest (O) migdia (O) pels (O) carrers (O) de (O) la (O) ciutat (O) . (O)
Example explanation: We split the sentence into single words or punctuation and then assigned correct tags to each token as per the definition. We assigned 30 correct tags to the given sentence.
Problem: L' incendi s' ha declarat a les 15:55 hores i s' ha perllongat durant dues hores .
| Solution: L' (O) incendi (O) s' (O) ha (O) declarat (O) a (O) les (O) 15:55 (O) hores (O) i (O) s' (O) ha (O) perllongat (O) durant (O) dues (O) hores (O) . (O) |
Detailed Instructions: Given a concept word, generate a hypernym for it. A hypernym is a superordinate, i.e. a word with a broad meaning constituting a category, that generalizes another word. For example, color is a hypernym of red.
Q: bridge
A: | build |
In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
One example: [-11, 2, 3]
Solution is here: -11
Explanation: The element with the largest absolute value is -11, since 11 > 3 > 2. This is a good example.
Now, solve this: [-26.808 27.101 -81.423 -10.148 60.237 -94.316 -74.668 -98.837]
Solution: | -98.837 |
Detailed Instructions: In this task, you will be given a list of numbers. The goal is to divide all the numbers in the list by a constant such that the sum of the resulting list is 1. The output should be rounded to 3 decimals.
Q: [68.248, -0.695, 150.094, 10.601, 71.958, 56.623, 150.173]
A: | [ 0.135 -0.001 0.296 0.021 0.142 0.112 0.296] |
In this task, you will be given sentences in which you have to recognize the name of the body cells. A cell is a mass of cytoplasm that is bound externally by a cell membrane. Usually microscopic in size, cells are the smallest structural units of living matter and compose all living things. Although there might be several correct answers, you need to write one of them.
[Q]: The fluorescent probe allowed us to characterize , by flow cytometry , the binding of lactotransferrin to non - activated human platelets .
[A]: platelets
[Q]: A protein precipitation , liquid chromatography / tandem mass spectrometry ( LC / MS / MS ) method has been developed and validated for the determination of eprosartan in human plasma and urine .
[A]: LC
[Q]: 5 - HT is a vasoconstrictor agent that binds to 5HT - 2A receptors and amplifies the platelet response by stimulating shape change and enhancing platelet recruitment at sites of injury ( 3 ) .
[A]: | platelet
|
Instructions: Given a part of privacy policy text, identify the purpose for which the user information is collected/used. The purpose should be given inside the policy text, answer as 'Not Specified' otherwise
Input: The site collects your generic personal information for a basic service or feature. Collection happens in an unspecified way for users without accounts.
Output: | Basic service/feature |
Detailed Instructions: Given the following Catalan sentence, indicate the name entities (i.e., the real-world objects such as a person, location, organization, etc. that can be denoted with a proper name) such as 'New York Times'. For each words of a named-entity, indicate their type 'LOC' or 'ORG' or 'PER', where 'LOC' indicates a location entity (such as 'New York City', 'ORG' indicates the token of an organization (such as 'Amazon'), 'PER' indicates the tokens of a person entity (such as 'Jeff Bezos'). Named entities with other types should be indicated with 'MISC'. To indicate boundaries of an entity, use IOB (Inside-Output-Begin) prefixes. The B- prefix before a tag indicates that the word is the beginning of a named entity. The I- prefix indicates that the word is inside a bigger chunk. For example, you can break 'New York' to 'New' and 'York.' and tag them as 'B-LOC' and 'I-LOC'. Any token that doesn't belong to a named entity must be tagged with 'O'.
See one example below:
Problem: Una setantena de treballadors de Fomento de Construcciones y Contratas a Manresa , gairebé la totalitat de la plantilla , s' han manifestat aquest migdia pels carrers de la ciutat .
Solution: Una (O) setantena (O) de (O) treballadors (O) de (O) Fomento (B-ORG) de (I-ORG) Construcciones (I-ORG) y (I-ORG) Contratas (I-ORG) a (O) Manresa (B-LOC) , (O) gairebé (O) la (O) totalitat (O) de (O) la (O) plantilla (O) , (O) s' (O) han (O) manifestat (O) aquest (O) migdia (O) pels (O) carrers (O) de (O) la (O) ciutat (O) . (O)
Explanation: We split the sentence into single words or punctuation and then assigned correct tags to each token as per the definition. We assigned 30 correct tags to the given sentence.
Problem: Són cabines espaioses i estan adaptades a persones de mobilitat reduïda .
Solution: | Són (O) cabines (O) espaioses (O) i (O) estan (O) adaptades (O) a (O) persones (O) de (O) mobilitat (O) reduïda (O) . (O) |
Detailed Instructions: 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.
Q: [103, 1975, 2857, 2987, 7, 68, 4, 157, 1803, 61, 698]
A: | [128, 2048, 2048, 2048, 8, 64, 4, 128, 2048, 64, 512] |
Detailed Instructions: 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.
Q: [230, 1320, 3522, 2479, 16, 49, 3, 189, 1609, 2681, 2036, 16, 62]
A: | [256, 1024, 4096, 2048, 16, 64, 4, 128, 2048, 2048, 2048, 16, 64] |
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.
Q: Sentence: Other times, they play a game with Quack where they wave at Quack and laugh.
Question: How often do they play a game with Quack ?
Category: Frequency.
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.
Example input: [{'first': 8, 'second': 7}, {'first': -7, 'second': -2}, {'first': 8, 'second': 2}]
Example output: [{'first': -7, 'second': -2}, {'first': 8, 'second': 2}, {'first': 8, 'second': 7}]
Example explanation: The two dictionaries that had the same 'first' value were sorted by their 'second' value and the smaller one was listed first. So this is a good example.
Q: [{'first': -74, 'second': -71}, {'first': -52, 'second': -86}, {'first': 81, 'second': -98}, {'first': 36, 'second': 20}, {'first': -77, 'second': -20}, {'first': 16, 'second': 45}]
A: | [{'first': -77, 'second': -20}, {'first': -74, 'second': -71}, {'first': -52, 'second': -86}, {'first': 16, 'second': 45}, {'first': 36, 'second': 20}, {'first': 81, 'second': -98}] |
Teacher:Determine if the provided SQL statement properly addresses the given question. Output 1 if the SQL statement is correct and 0 otherwise. 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.
Teacher: Now, understand the problem? Solve this instance: Query: SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.produced_by|ns:film.film.production_companies M0 .
?x0 ns:film.film.written_by ?x1 .
?x1 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses ?x2 .
?x2 ns:people.person.parents|ns:fictional_universe.fictional_character.parents|ns:organization.organization.parent/ns:organization.organization_relationship.parent ?x3 .
?x3 a ns:film.producer .
?x3 ns:people.person.nationality ns:m.0f8l9c .
FILTER ( ?x1 != ?x2 )
} Question: Did a film director influence M1 and marry M3 's French director
Student: | 0 |
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.
Example input: Find the id and city of the student address with the highest average monthly rental.
Example output: 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
Example explanation: 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.
Q: For each county, find the name of the county and the number of delegates from that county.
A: | SELECT T1.County_name , COUNT(*) FROM county AS T1 JOIN election AS T2 ON T1.County_id = T2.District GROUP BY T1.County_id |
Detailed Instructions: 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.
Q: [47, 257, 4576, 4478, 19, 85, 3, 175, 953, 1639, 4361, 23, 59, 2, 6, 1128]
A: | [32, 256, 4096, 4096, 16, 64, 4, 128, 1024, 2048, 4096, 16, 64, 2, 8, 1024] |
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.
Input: Consider Input: Command: and { eq { nth_max { all_rows ; crowd ; 1 } ; 26000 } ; and { eq { hop { nth_argmax { all_rows ; crowd ; 1 } ; venue } ; punt road oval } ; eq { hop { nth_argmax { all_rows ; crowd ; 1 } ; date } ; 9 august 1941 } } }, interpretation: for the first elected records of all rows , most of them are equal to 1982 .
Output: no
Input: Consider Input: Command: eq { count { filter_eq { filter_eq { all_rows ; party ; democratic } ; first elected ; 1974 } } ; 2 }, interpretation: select the rows whose party record fuzzily matches to democratic . among these rows , select the rows whose first elected record is equal to 1974 . the number of such rows is 2 .
Output: yes
Input: Consider Input: Command: and { only { filter_eq { all_rows ; original air date ( uk ) ; july } } ; eq { hop { filter_eq { all_rows ; original air date ( uk ) ; july } ; episode title } ; night games } }, interpretation: select the rows whose original air date ( uk ) record fuzzily matches to july . there is only one such row in the table . the episode title record of this unqiue row is night games .
| Output: yes
|
Detailed Instructions: 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: das war leider nix . die songs, die ok bis gut waren sind schon als singles verbraten. der rest ist höchstens mittelmaß. nicht zu vergleichen mit den alten alben :-/ ich habe leider keinen potentiellen kracher mehr entdecken können. vielleicht wirds nächste album wieder besser(hoffentlich :-)
A: | NEG |
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.
One example is below.
Q: Concerts are my most favorite thing, and my boyfriend knew it. That's why, for our anniversary, he got me tickets to see my favorite artist. Not only that, but the tickets were for an outdoor show, which I love much more than being in a crowded stadium. Since he knew I was such a big fan of music, he got tickets for himself, and even a couple of my friends. He is so incredibly nice and considerate to me and what I like to do. I will always remember this event and I will always cherish him. On the day of the concert, I got ready, and he picked me up and we went out to a restaurant beforehand. He is so incredibly romantic. He knew exactly where to take me without asking. We ate, laughed, and had a wonderful dinner date before the big event. We arrived at the concert and the music was so incredibly beautiful. I loved every minute of it. My friends, boyfriend, and I all sat down next to each other. As the music was slowly dying down, I found us all getting lost just staring at the stars. It was such an incredibly unforgettable and beautiful night.
A: imagined
Rationale: This is a good example because it really was an imagined story. The attributes that should tip you off are that the story is light on concrete events (they describe things in broad terms such as going to a restaurant and being at the stadium, but nothing specific about who was exactly where and anything specifically notable someone said or did) and heavy on references to the writer themselves and their internal feelings (they frequently repeat how much they loved it, how romantic they felt, how they cherished the night, etc). It's also very linear and structured, pointing to this being an imagined story. Additionally, the events and feelings described seem a little romanticized or idealized beyond what is usually a realistic circumstance.
Q: A situation that comes to mind as one that was striking and memorable happened around 2 weeks ago. I was relaxing at home, and my fiancee was in our bedroom watching TV. She called me into the room, telling me she had to show me something. I was expecting it to be a funny picture of our cat, or a video she found that I would be interested in. Instead, when I walked into the bedroom she handed me a home pregnancy test. She told me she was pregnant, she had just taken the test and wanted to tell me right away. I was so surprised. We were not really trying to get pregnant, but we were so excited right away. I couldn't believe that this was a journey we were going to start taking together. Later that night, we spent a long time sitting and talking about everything. We went over some decisions we are going to have to make for our baby, and how we would make them. She asked me for help finding a doctor and getting an appointment set up. This was all stuff that would have normally been so boring, but it wasn't. It was for our baby, so we were having fun even figuring out insurance things. Everything went by so fast, and I kept feeling more and more excited about the situation and everything that is yet to come.
A: | recalled |
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.
Let me give you an example: [2,5,1,4],[2,5,8,4,2,0]
The answer to this example can be: [2,4,5]
Here is why: The elements 2,4, and 5 are in both lists. This is a good example.
OK. solve this:
[3, 2, 8, 10, 8, 3, 8, 3, 4, 1] , [6, 6, 5, 4, 7, 5, 9, 3, 5, 10]
Answer: | [3, 4, 10] |
The provided text is in English, and we ask you to translate the text to the Croatian language. Please bear in mind the following guidelines while translating: 1) We want a natural translation, a formal form. 2) Use the symbols like '#@%$-+_=^&!*' as-is. *Include* the special characters as suited when translating to Croatian. 3) Quantities like millions or billions should be translated to their equivalent in Croatian language 4) Note the input is all case-sensitive except for special placeholders and output is expected to be case-sensitive. 5) The output must have Croatian characters like Ž or č and the output must preserve the Croatian language characters. 6) The input contains punctuations and output is expected to have relevant punctuations for grammatical accuracy.
Example input: I want you now to imagine a wearable robot that gives you superhuman abilities, or another one that takes wheelchair users up standing and walking again.
Example output: Želim da sada zamislite nosiv robot koji vam daje nadljudske sposobnosti, ili neki drugi koji omogučuje korisnicima invalidskih kolica da stoje i ponovno hodaju.
Example explanation: The translation correctly preserves the characters in Croatian.
Q: I need you with me.
A: | Trebam vas sa mnom. |
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.
Let me give you an example: original sentence: Lily spoke to Donna , breaking her silence . paraphrase: Lily is speaking to Donna , breaking her silence .
The answer to this example can be: Tense
Here is why: The verbs in this example are changed from past tense to present tense.
OK. solve this:
original sentence: The delivery truck zoomed by the school bus because it was going so slow . paraphrase: The delivery trucks zoomed by the school buses because they were going so slow .
Answer: | Number |
Given a negotiation between two participants, answer 'Yes' if both participants agree to the deal, otherwise answer 'No'.
Example input: THEM: i need the hats and the ball YOU: i can give you one hat and the ball. i want 2 books and 1 hat THEM: i have to have both hats and the ball or both hats and a book to make a deal YOU: sorry, i won`t make a deal without a hat THEM: if you take 1 hat i have to have everything else YOU: sorry can`t do THEM: no deal YOU: yesh no deal, sorry THEM: no deal YOU: no deal.
Example output: No
Example explanation: Both participants do not agree to the deal, so the answer is No.
Q: THEM: i need the hat and book YOU: i would like the book. how about i take both balls and you can get both hats? THEM: you take the balls, i get the rest YOU: sounds good. THEM: ok deal.
A: | Yes |
Given a part of privacy policy text, identify the purpose for which the user information is collected/used. The purpose should be given inside the policy text, answer as 'Not Specified' otherwise
Q: The site collects your IP address or device IDs for a basic service or feature. Collection happens in an unspecified way.
A: | Basic service/feature |
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.
Example Input: Sentence: The family 's attorney advises me that Aafia had no knowledge of chemicals ( and that would not appear to be her training {{ ) }} .
Word: )
Example Output: -RRB-
Example Input: Sentence: In the last decade , there has been a real and significant increase in childhood and , to a certain extent , adult carcinoma of the thyroid in contaminated regions of the former Soviet Union ( Wi940 {{ ) }} which should be attributed to the Chernobyl accident until proven otherwise .
Word: )
Example Output: -RRB-
Example Input: Sentence: {{ " }} Other Provisions : On each Payment Date , [ ENA ] shall pay [ a fee of ] [ an amount equal to ] USD { 38,000 ? ] , which amount shall be subject to the netting provisions of the [ Master Agreement - how do you refer to the agreement ? ] "
Word: "
Example Output: | ``
|
Given a concept word, generate a hypernym for it. A hypernym is a superordinate, i.e. a word with a broad meaning constituting a category, that generalizes another word. For example, color is a hypernym of red.
Example: crystal
Example solution: rock
Example explanation: A crystal is a type of rock, so rock is a valid hypernym output.
Problem: kill
| Solution: destroy |
The provided text is in English, and we ask you to translate the text to the Croatian language. Please bear in mind the following guidelines while translating: 1) We want a natural translation, a formal form. 2) Use the symbols like '#@%$-+_=^&!*' as-is. *Include* the special characters as suited when translating to Croatian. 3) Quantities like millions or billions should be translated to their equivalent in Croatian language 4) Note the input is all case-sensitive except for special placeholders and output is expected to be case-sensitive. 5) The output must have Croatian characters like Ž or č and the output must preserve the Croatian language characters. 6) The input contains punctuations and output is expected to have relevant punctuations for grammatical accuracy.
Q: But it's increasing enormously.
A: | Ali povećava se nevjerojatno. |
Given a part of privacy policy text, identify the purpose for which the user information is collected/used. The purpose should be given inside the policy text, answer as 'Not Specified' otherwise
Q: A user type outside of our label scheme can make no specified choices about the use of unspecified information by an unspecified party for an unspecified purpose.
A: | Unspecified |
TASK DEFINITION: In this task, you are given a string with unique characters in it and you need to return the character from the string which has the maximum ASCII value. ASCII stands for American Standard Code For Information Interchange and It assigns a unique number to each character. The characters [a - z] have an ASCII range of 97-122 and [A-Z] have an ASCII range of 65-90 respectively.
PROBLEM: cTKUVziqhLkANR
SOLUTION: z
PROBLEM: ltSKWasfmdHBJCXz
SOLUTION: z
PROBLEM: oCQUWvLKwhP
SOLUTION: | w
|
You will be given a definition of a task first, then some input of the task.
In this task, you are given a date in "mm/dd/yyyy" format. You need to check if the date is valid or not. Return 1 if it is valid, else return 0. A date is valid is the components month("mm"), day("dd") and year("yyyy") are all valid individually. A day(dd) is valid if it is greater than or equal to 1 and less than 30 or 31 depending upon the month(mm). Months which have 31 days are January, March, May, July, August, October, December. Rest of the months have 30 days except February which has 28 days if it is not a leap year and 29 days if it is a leap year. A month(mm) is valid if it lies in the range from 1 to 12 as there are 12 months in a year. A year is always valid if it is expressed in the form of "yyyy".
11/24/1464
Output: | 1 |
This task is to find the number of 'For' loops present in the given cpp program.
Q: int num=0;
int sum(int a,int i)
{
if(a==1)
{
num++;
}
else
{
while(i<=a)
{
if(a%i==0)
{
sum(a/i,i);
}
i++;
}
}
return num;
}
int main()
{
int a,t,j,i,count;
cin>>t;
for(j=0;j<t;j++)
{
count=1;
cin>>a;
i=2;
while(i<=(a/2))
{
if(a%i==0)
{
num=0;
sum(a/i,i);
count=count+num;
}
i++;
}
cout<<count<<endl;
}
return 0;
}
A: | 1 |
Detailed Instructions: 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.
Q: [937, 154, 263, 647, 820, 979, 887, 343, 793]
A: | [937, 263, 647, 887] |
Detailed Instructions: Given a premise, an initial context, an original ending, and a counterfactual context, the task is to generate a new story ending aligned with the counterfactual context and as close to the original ending as possible. Each instance consists of a five-sentence story. The premise is the first sentence of a story, and the second sentence, which is the initial context, provides more information about the story's context and the story's general plot. The original ending is the last three sentences of the story. Also, a counterfactual context is a slight modification to the initial context. You should write a new story ending that edits the original story ending as little as possible to regain coherence with the counterfactual context. To sum up, you should write the last three sentences of a story based on the premise(first sentence) and the counterfactual context(second sentence) of the story.
Q: Premise: Gina didn't like 2 of the books she checked out.
Initial Context: She was worried she wouldn't like the 3rd one either.
Original Ending: But there was only one way to find out. She opened the book and scanned the contents. She was relieved to see it was just what she needed.
Counterfactual Context: But she had read the 3rd before and loved it.
A: | But there was always something new to find in it. She opened the book and scanned the contents. She was relieved to see it was just what she needed. |
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.
One example is below.
Q: Aromi is an English restaurant in the city centre.
A: name[Aromi], eatType[restaurant], food[English], area[city centre]
Rationale: The output correctly parses all the parseable attributes in the input, no more, no less.
Q: The Blue Spice in the riverside area has French food and average prices.
A: | name[Blue Spice], food[French], priceRange[£20-25], area[riverside] |
Given an input word generate a word that rhymes exactly with the input word. If not rhyme is found return "No"
Q: perhaps
A: | wraps |
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.
--------
Question: Context: 'Hello, I would really like to get most of the water and firewood packages.'
Utterance: 'You can have most of the water and firewood if I can have most of the food. I would like to get two of the firewood so I have a nice fire to come back to after searching for a source of water.'
Answer: Yes
Question: Context: 'hello, how are the preparations coming along?' 'Hi There, I'm doing okay with my preparations but I am worried that I don't have enough food or water for the next few days.' 'I also worried about those two items, especially water.'
Utterance: 'Yes, they say it supposed to be really hot the next few days.'
Answer: Yes
Question: Context: 'I do need some food. I would like to get at least 1 food. You can still get 3 firewood.' 'I could use water as well, so I could get 1 water, 2 food and 2 firewood' 'I am good at making fire and have a starter so I can give up all the wood.'
Utterance: 'I still need 1 water, don't have a water purify kit. ☹️'
Answer: | Yes
|
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.
Let me give you an example: Fast schon teuflisch gut . Gleich mal eins vorne weg: dieses Album ist wieder wesentlich besser als das letzte ("The Last Kind Words"), wenn auch nicht ganz so gut wie die beiden ersten Alben "DevilDriver" und "The Fury Of Our Maker's Hand". Sofort wird hier munter "losgegroovt" mit dem Opener "Pray For Villains". Sofort merkt man: hier regiert der Hammer. Unüberhörbar, dass die Double Basses dermaßen losprügeln, das man fast schon meint es wurde ein Drumcomputer benutzt. Ziemlich sicher bin ich mir aber, dass hier getriggert wurde. Wobei mir das überhaupt nicht auf den Magen schlägt, der Gesamtsound ist wunderbar und vorantreibend. Auch die Gitarren leisten Spitzenarbeit ab. Noch schneller, gar extremer sind sie auf dieser Scheibe wahrzunehmen. Unglaublich... Natürlich leistet auch Dez ganze Arbeit mit seinem unglaublichen Organ. Es kommen sogar mal kurz cleane Vocals zum Einsatz. Aber diese werden nicht tragend für das Lied eingesetzt, also keine Sorge. Weiterhin regieren die tiefen Shouts aus Dez's Kehle. Ansonsten bleibt nur noch zu sagen, dass auch die Produktion auf ganzer Linie überzeugen kann. Einfach nur fett. Also, Devildriver Fans werden sicher nicht enttäuscht sein. Und alle anderen, die auf brachiale Grooves und sonstigen Krach stehen, können hier auch ohne schlechtes Gewissen zugreifen. Super Scheibe.
The answer to this example can be: POS
Here is why: The overall sentiment of the review is positive as the reviewer refers to the music piece with positive expressions such as 'Fast schon teuflisch gut', 'Super Scheibe' etc. Hence, the label is 'POS'.
OK. solve this:
Anders aber trotzdem noch Klasse . Man hört deutlich das Linkin Park ihren Style geändert haben. Besonders gut sind die Songs Given up, Leave out all the rest, Bleed it Out, What I've Done und No more Sorrow, die anderen Songs sind aber auch alle gut. Nur der letzte Song gefällt mir nicht, da dieser viel zu langsam und ohne Power ist. Letzendlich ist Minutes to Midnight ein sehr gelungenes Album.
Answer: | POS |
Detailed Instructions: 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.
Q: [463, 19, 619, 113, 757, 269, 375, 59, 673, 414, 299, 146]
A: | [463, 19, 619, 113, 757, 269, 59, 673] |
Given an input word generate a word that rhymes exactly with the input word. If not rhyme is found return "No"
Let me give you an example: difficult
The answer to this example can be: No
Here is why: The word difficult has no natural English rhymes and so the model outputs No as specified in the instructions.
OK. solve this:
they
Answer: | wey |
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.
[Q]: wywywwwswssssy
[A]: wywyw
[Q]: eeeggegpgpgeggg
[A]: ggegpgpgegg
[Q]: jcjdjccjccjcjc
[A]: | jccjccj
|
The provided file includes inquiries about restaurants in Spanish, and we ask you to translate those to English language. Please bear in mind the following guidelines while doing the translation: 1) We are looking for the most naturally written and formal form of each sentence in your language. We are *NOT* looking for colloquial forms of the sentence. We are looking for formal form which is how you would type your queries in a text-based virtual assistant. 2) The words between quotation marks *SHOULD NOT* be translated. We expect you to keep those values intact and include the quotation marks around them as well. 3) The fully capitalized words like DATE_0, or DURATION_0 *SHOULD NOT* be translated. Please keep them as they are in the translations. 4) Please do not localize measurement units like miles to kilometers during your translation. miles should be translated to its equivalent in your language. 6) Note the input is all lowercased except for fully capitalized special placeholders (e.g. NUMBER, DATE, TIME). Please do the same in your translations.
[Q]: ¿cuál es el restaurante con la mayor calificación?
[A]: what is the highest rated restaurant ?
[Q]: muéstrame restaurantes en " west suburbs ", por favor.
[A]: show me restaurants in the " west suburbs " please .
[Q]: busque "billy 's barbecue".
[A]: | search for " billy 's barbecue " .
|
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.
Q: Command: eq { count { filter_eq { filter_eq { all_rows ; score ; w } ; high points ; kevin martin } } ; 3 }, interpretation: select the rows whose year record is equal to 1987 . the number of such rows is 5 .
A: no
****
Q: Command: eq { hop { nth_argmax { all_rows ; attendance ; 2 } ; opponent } ; denver broncos }, interpretation: the average of the attendance record of all rows is 16119 .
A: no
****
Q: Command: eq { count { filter_all { all_rows ; accolade } } ; 6 }, interpretation: select the row whose evening gown record of all rows is minimum . the state record of this row is pennsylvania .
A: | no
****
|
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'.
One example is below.
Q: twotwoonesixzeronine
A: 221609
Rationale: 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.
Q: sevensixseventwoseveneightfive
A: | 7672785 |
Definition: In this task, you are given a string with unique characters in it and you need to return the character from the string which has the maximum ASCII value. ASCII stands for American Standard Code For Information Interchange and It assigns a unique number to each character. The characters [a - z] have an ASCII range of 97-122 and [A-Z] have an ASCII range of 65-90 respectively.
Input: bqIUBpucQDKH
Output: | u |
Detailed Instructions: 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.
Q: [248, 404, 2919, 4373, 15, 49, 3, 223, 530, 677]
A: | [256, 512, 2048, 4096, 16, 64, 4, 256, 512, 512] |
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.
Example input: I_TURN_LEFT I_JUMP
Example output: jump left
Example explanation: If the agent turned to the left and jumped, then the agent jumped to the left.
Q: I_TURN_RIGHT I_TURN_RIGHT I_LOOK I_TURN_RIGHT I_TURN_RIGHT I_LOOK I_LOOK
A: | look opposite right twice and look |
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.
Input: Consider Input: [46, -72, 30]
Output: 16
Input: Consider Input: [-45, 27, -97, 62, -61, -59, -3]
Output: 2
Input: Consider Input: [37, 45, 56, -63, 84, 75, -92, -59, -31]
| Output: 4
|
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.
One example: I_TURN_LEFT I_JUMP
Solution is here: jump left
Explanation: If the agent turned to the left and jumped, then the agent jumped to the left.
Now, solve this: I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT I_TURN_RIGHT
Solution: | turn opposite right twice and turn around right |
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: [47, 444, 859, 530, 197, 409]
Example solution: [47, 859, 197, 409]
Example explanation: The integers '444' and '530' are not prime integers and they were removed from the list.
Problem: [377, 756, 699, 901, 993, 191, 907, 461, 437, 523, 953, 937, 434, 379, 73, 896, 871]
| Solution: [191, 907, 461, 523, 953, 937, 379, 73] |
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: [47, 444, 859, 530, 197, 409]
Example solution: [47, 859, 197, 409]
Example explanation: The integers '444' and '530' are not prime integers and they were removed from the list.
Problem: [396, 158, 701, 267, 884, 607, 263, 118, 419, 227, 677, 431, 106, 326, 97, 185, 97, 916, 68, 433]
| Solution: [701, 607, 263, 419, 227, 677, 431, 97, 97, 433] |
Detailed Instructions: 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: [6, 10, 5, 9, 9] , [9, 5, 4, 2, 7]
A: | [5, 9] |
Given a short bio of a person, find the minimal text span containing the date of birth of the person. The output must be the minimal text span that contains the birth date, month and year as long as they are present. For instance, given a bio like 'I was born on 27th of Decemeber 1990, and graduated high school on 23rd October 2008.' the output should be '27th of December 1990'.
--------
Question: Smith was born on September 25, 1968, in Philadelphia, Pennsylvania, to Caroline (née Bright), a Philadelphia school board administrator, and Willard Carroll Smith Sr
Answer: September 25, 1968
Question: Joaquin Rafael Bottom was born on October 28, 1974, in the Río Piedras district of San Juan, Puerto Rico, to John Lee Bottom, the founder of a landscape gardening company, and Arlyn "Heart" Bottom (née Dunetz), a secretary at NBC
Answer: October 28, 1974
Question: Harring was born in Los Mochis, Sinaloa, Mexico on March 3, 1964
Answer: | March 3, 1964
|
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.
One example: [{'first': 8, 'second': 7}, {'first': -7, 'second': -2}, {'first': 8, 'second': 2}]
Solution is here: [{'first': -7, 'second': -2}, {'first': 8, 'second': 2}, {'first': 8, 'second': 7}]
Explanation: The two dictionaries that had the same 'first' value were sorted by their 'second' value and the smaller one was listed first. So this is a good example.
Now, solve this: [{'first': 90, 'second': -30}, {'first': 3, 'second': -94}, {'first': 86, 'second': -58}, {'first': 69, 'second': -78}, {'first': 77, 'second': 10}, {'first': 52, 'second': -8}]
Solution: | [{'first': 3, 'second': -94}, {'first': 52, 'second': -8}, {'first': 69, 'second': -78}, {'first': 77, 'second': 10}, {'first': 86, 'second': -58}, {'first': 90, 'second': -30}] |
Detailed Instructions: 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.
Q: password = g8ZqksQ5wtDEJktUSlrZUjx
A: | 3 |
In this task, you will be given a list of numbers. The goal is to divide all the numbers in the list by a constant such that the sum of the resulting list is 1. The output should be rounded to 3 decimals.
Example input: [1, 2, 3]
Example output: [0.167, 0.333, 0.500]
Example explanation: The output list sums to 1.0 and has the same weight as the input 0.333 is twice as large as 0.167, .5 is 3 times as large as 0.167, and 0.5 is 1.5 times as large as 0.333. This is a good example.
Q: [-60.566, 127.656, 126.422, 184.338, -70.529, 199.769, 126.547, 29.909]
A: | [-0.091 0.192 0.191 0.278 -0.106 0.301 0.191 0.045] |
Given the following Catalan sentence, indicate the name entities (i.e., the real-world objects such as a person, location, organization, etc. that can be denoted with a proper name) such as 'New York Times'. For each words of a named-entity, indicate their type 'LOC' or 'ORG' or 'PER', where 'LOC' indicates a location entity (such as 'New York City', 'ORG' indicates the token of an organization (such as 'Amazon'), 'PER' indicates the tokens of a person entity (such as 'Jeff Bezos'). Named entities with other types should be indicated with 'MISC'. To indicate boundaries of an entity, use IOB (Inside-Output-Begin) prefixes. The B- prefix before a tag indicates that the word is the beginning of a named entity. The I- prefix indicates that the word is inside a bigger chunk. For example, you can break 'New York' to 'New' and 'York.' and tag them as 'B-LOC' and 'I-LOC'. Any token that doesn't belong to a named entity must be tagged with 'O'.
Q: Amb la protesta reclamen que l' empresa variï la seva actitud i accedeixi a la negociació del conveni i denuncien l' actitud ' prepotent ' de l' Ajuntament de Manresa .
A: | Amb (O) la (O) protesta (O) reclamen (O) que (O) l' (O) empresa (O) variï (O) la (O) seva (O) actitud (O) i (O) accedeixi (O) a (O) la (O) negociació (O) del (O) conveni (O) i (O) denuncien (O) l' (O) actitud (O) ' (O) prepotent (O) ' (O) de (O) l' (O) Ajuntament (B-ORG) de (I-ORG) Manresa (I-ORG) . (O) |
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...'.
Q: OK, I would just like to buy something that I'm not going to eat. What would you recommend?
A: | I would get, well, we have party cakes. |
Q: This task is to find the number of 'For' loops present in the given cpp program.
int sum=0;
void f(int n,int i)
{
if(n==1) sum++;
while(i<=n)
{
if(n%i==0) f(n/i,i);
i++;
}
return ;
}
int main()
{
int t=0;
cin>>t;
while(t--)
{
int n=0;
cin>>n;
int i=2,result=1;
for (i=2;i<=n/2;i++) {
if(n%i==0)
{
sum=0;
f(n/i,i);
result=result+sum;
}
}
cout<<result<<endl;
}
return 0;
}
A: | 1 |
Detailed Instructions: 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.
Q: [46, 1948, 2608, 1951, 18, 70, 4, 168, 306, 363, 2327, 13, 85, 4, 237]
A: | [32, 2048, 2048, 2048, 16, 64, 4, 128, 256, 256, 2048, 16, 64, 4, 256] |