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 32
17k
| response
stringlengths 1
6.36k
|
---|---|
Q: A text is given in Bengali. Translate it from the Bengali language to the Oriya language. The translation must not omit or add information to the original sentence.
প্রধানমন্ত্রী শ্রী নরেন্দ্র মোদীর নেতৃত্বে অনুষ্ঠিত মন্ত্রিসভার এদিনের বৈঠকে স্থির হয় যে, ২০১৮ থেকে ২০২১ সালের মধ্যে বার্কিনা ফাসো, ক্যামেরুন, কেপ ভার্ডে, চাদ, কঙ্গো সাধারণতন্ত্র, জিবাউটি, ইকোয়েটোরিয়াল গিনি, এরিট্রিয়া, গিয়ানা, গিনি বিসাউ, লিবারিয়া, মরিটানিয়া, রোয়ান্ডা, সাওটোম ও প্রিন্সিপ, সিয়েরা লিওন, সোমালিয়া, সোয়াজিল্যান্ড এবং টোগোয় – এই ১৮টি নতুন মিশন খোলা হবে।
A: | 68 ଟଙ୍କାର ଆଧାରରେ ମୋଟ 33. 84 କୋଟି ଟଙ୍କା ହେବ । ଏହାକୁ ପର୍ଯ୍ୟାୟକ୍ରମେ ଲାଗୁ କରାଯିବ । ସି-କର୍ପୋରେସନ ଦେଶ ପାଇଁ ବହୁମୂଲ୍ୟ ବିଦେଶୀ ମୁଦ୍ରା ଅର୍ଜନ କରିବ ଏବଂ ରାଷ୍ଟ୍ରାୟତ୍ତ କ୍ଷେତ୍ର ଉପକ୍ରମ ଟିସିଆଇଏଲର ଲାଭରେ ବୃଦ୍ଧି କରିବ । |
Part 1. Definition
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.
Part 2. Example
I_TURN_LEFT I_JUMP
Answer: jump left
Explanation: If the agent turned to the left and jumped, then the agent jumped to the left.
Part 3. Exercise
I_LOOK I_LOOK I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP I_TURN_LEFT I_JUMP
Answer: | jump around left thrice after look twice |
You are given a Catalan sentence with a blank, and you need to predict the missing word.
D' aquests ____ , el 67 % es fan en vehicle privat , el 12 % en tren i la resta en avió i altres mitjans de transport .
viatges
Els alcaldes de Sallent , Balsareny i Súria i el president del Consell Comarcal del Bages han manifestat avui preocupació ____ futur incert de les mines de potassa .
pel
El secretari general d' ERC ____ Josep Lluís Carod-Rovira , ha dit que espera comptar amb la complicitat dels altres grups al Parlament per tirar endavant aquesta iniciativa un cop el PHN quedi definitivament aprovat .
| ,
|
Teacher: Given a statement about date and time, state whether the statement is true or false. The number of date/time operands in the statement ranges between 2 and 3. Let's say the values are denoted by t1, t2 and t3. The statements follow one of the following ten templates: 't1 occurs before t2, t1 doesn't occur before t2, t1 occurs after t2, t1 doesn't occur after t2, t1 occurs between t2 and t3, t1 doesn't occur between t2 and t3, t1 occured before t2 but after t3, t1 occured after t2 but before t3, t1 didn't occur before t2 but after t3, t1 didn't occur after t2 but before t3'. The output should be either 'True' or 'False'.
Teacher: Now, understand the problem? If you are still confused, see the following example:
03:40:40 PM doesn't occur between 5:35:38 and 07:58:59 AM
Solution: False
Reason: The output of 'False' is correct as the input statement is false, since 03:40:40 PM occurs after 07:58:89 AM and not between 5:35:38(AM) and 07:58:59 AM
Now, solve this instance: 09:26:37 PM occured before 20:15:46 but after 4:34:27 AM
Student: | False |
You will be given a definition of a task first, then some input of the task.
Given an adjective, generate its antonym. An antonym of a word is a word opposite in meaning to it.
jawless
Output: | jawed |
Q: In this task you are given a list of numbers and you need to find the average of each two consecutive values. The average of two numbers a and b is calculated as: (a + b) /2. The output should be a list of the averages of each two consecutive values. A list is presented with two brackets and comma-separated values, like: [1,2,3].
[40, 34, -39]
A: | [37.0, -2.5] |
In this task you are given a tweet. You must judge whether the author of the tweet is sad or not. Label the instances as "Sad" or "Not sad" based on your judgment. You can get help from hashtags and emojis, but you should not judge only based on them, and should pay attention to tweet's text as well.
Obama and Biden would have watched the #Eclipse2017 together and Pete would have shared an awesome photo of them in their glasses. #cry
Sad
Thanks to all the #sober drivers. The real winners of the night! #ClemvsGT
Not sad
@thedramble Tried it once. Poured into the sink. Didn't bother to make tasting notes :-) Looks like cheap sake, tasted like it too...
| Not sad
|
Teacher:In this task, you are given a pair of action statements. Your task is to check if you can conclusively identify which statement is less ethical or not. Answer: 'no' if one of the statements is less ethical, and 'yes' otherwise.
Teacher: Now, understand the problem? Solve this instance: ACTION1: being disappointed with my 'bonus' ACTION2: not getting a birthday gift for my two year old nephew? general gift giving etiquette
Student: | yes |
Detailed Instructions: Provide the parts-of-speech tag of a word present in a sentence specified within curly braces ( '{{ ... }}' ). The parts-of-speech tags are coarse 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 -
'.': Period symbol is used for symbols denoting Punctuations/Separations such as comma, period, backticks etc.,
'ADJ': Adjectives are words that typically modify nouns and specify their properties or attributes,
'ADP': Adposition is a cover term for prepositions and postpositions,
'ADV': Adverbs are words that typically modify verbs for such categories as time, place, direction or manner,
'CONJ': A word used to connect clauses or sentences or to coordinate words in the same clause,
'DET': Determiners are words that modify nouns or noun phrases and express the reference of the noun phrase in context,
'NOUN': Nouns are a part of speech typically denoting a person, place, thing, animal or idea,
'NUM': A numeral is a word, functioning most typically as a determiner, adjective or pronoun, that expresses a number and a relation to the number, such as quantity, sequence, frequency or fraction,
'PRT': Particles are function words that must be associated with another word or phrase to impart meaning and that do not satisfy definitions of other universal parts of speech,
'PRON': Pronouns are words that substitute for nouns or noun phrases, whose meaning is recoverable from the linguistic or extralinguistic context,
'PROPN': A proper noun is a noun (or nominal content word) that is the name (or part of the name) of a specific individual, place, or object,
'VERB': A verb is a member of the syntactic class of words that typically signal events and actions, can constitute a minimal predicate in a clause, and govern the number and types of other constituents which may occur in the clause,
'X': The tag X is used for words that for some reason cannot be assigned a real part-of-speech category.
Problem:Sentence: But other than the fact that besuboru is played *-1 with a ball and a bat , it 's unrecognizable : Fans politely return foul balls to stadium ushers ; the strike zone expands depending on the size of the hitter ; ties are permitted *-2 -- even welcomed *-2 -- since they honorably sidestep the shame of defeat ; players must abide by {{ strict }} rules of conduct even in their personal lives -- players for the Tokyo Giants , for example , must always wear ties when on the road .
Word: strict
Solution: | ADJ |
Definition: Given an input word generate a word that rhymes exactly with the input word. If not rhyme is found return "No"
Input: market
Output: | premarket |
Teacher: 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.
Teacher: Now, understand the problem? If you are still confused, see the following example:
[{'first': 8, 'second': 7}, {'first': -7, 'second': -2}, {'first': 8, 'second': 2}]
Solution: [{'first': -7, 'second': -2}, {'first': 8, 'second': 2}, {'first': 8, 'second': 7}]
Reason: 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 instance: [{'first': 61, 'second': -10}, {'first': 51, 'second': 42}]
Student: | [{'first': 51, 'second': 42}, {'first': 61, 'second': -10}] |
Definition: In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to generate a natural language interpretation of the given command.
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 argument 1 is greater/less than argument 2
12. diff: returns the difference between two arguments
13. filter eq/not eq: returns the subview whose values under the header column is equal/not equal to argument 3
14. filter greater/less: returns the subview whose values under the header column is greater/less than argument 3
15. filter greater eq /less eq: returns the subview whose values under the header column is greater/less or equal than argument 3
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 argument 3
18. all greater/less: returns whether all the values under the header column are greater/less than argument 3
19. all greater eq/less eq: returns whether all the values under the header column are greater/less or equal to argument 3
20. most eq/not eq: returns whether most of the values under the header column are equal/not equal to argument 3
21. most greater/less: returns whether most of the values under the header column are greater/less than argument 3
22. most greater eq/less eq: returns whether most of the values under the header column are greater/less or equal to argument 3
Input: eq { hop { nth_argmin { all_rows ; time ; 2 } ; name } ; pieter van den hoogenband } = true
Output: | select the row whose time record of all rows is 2nd minimum . the name record of this row is pieter van den hoogenband . |
Detailed Instructions: In this task, you will be shown an English sentence. You need to classify the sentence as either a representation of an adjunct island or as an incorrect representation. A correct representation should be denoted as 'good' while everything else should be denoted as 'bad'. A correct representation of an adjunct island will be a grammatically correct instance of a sentence using an adjunct island. An incorrect representation will be everything else.
Problem:What would those teenagers research before boycotting some malls?
Solution: | good |
"Noise Floor (Rarities: 1998–2005)", given a list of categories: company, educational institution, artist, athlete, office holder, mean of transportation, building, natural place, village, animal, plant, album, film or written work, what category does the title belong to?
| Album |
From the given sentence, extract the phrase (often noun or verb) that carries the given relationship. The generated phrase should be present in the sentence.
Given Relationship: 'be secretary-general of', Sentence: 'Secretary-General Ban Ki-moon appointed Kiyotaka Akasaka of Japan as United Nations Under-Secretary-General for Communications and Public Information on April 1 2007 .'
Secretary-General
Given Relationship: 'be administer by', Sentence: 'Kosovo is currently administered by the United Nations after violence flared up in 1998 .'
administered
Given Relationship: 'follow in', Sentence: 'Burial will immediately follow at Elmwood Memorial Park .'
| follow
|
Teacher: You are given a piece of text. Your task is to classify the text based on whether a religion or a person/group of people are receiving hate based on religion. If there is a hate based on religion in the text, answer with 'religious hate', otherwise, answer with 'not religious hate'.
Teacher: Now, understand the problem? If you are still confused, see the following example:
Religions have stupid theories about God and shits.
Solution: religious hate
Reason: The above text talks negatively about religions and opinion of a person who does not believe in religion, hence serves as a good example for the task.
Now, solve this instance: Maybe it's because you're autistic?? Wish you death
Student: | not religious hate |
Your task is to localize given English phrase into Hindi language. When localising, follow these rules - (1) General names and concepts can be translated (2) Domain specific names can just be transliterated (3) Localised phrases can have both partial translated and transliterated parts (4) But only partial translation or only partial transliteration is not allowed (5) Copy special characters and numbers as is
New Image File Name
नया छवि फ़ाइल नाम
OpenGL support is not available on your system.
खेद है, आपके तंत्र पर ओपन- जीएल समर्थन उपलब्ध नहीं है
If this option is enabled, the gallery will be opened in Konqueror automatically.
| यदि आप इस विकल्प को सक्षम करेंगे तो सभी छवियों का आकार बदल दिया जाएगा.
|
Q: 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' .
मी एका नवीन शहरात राहायला गेलो.
मला एक चांगली पगाराची नोकरी मिळाली.
A: | cause |
Given a sentence in Somali language, translate the sentence to English language keeping the meaning of the original sentence intact
Somali sentence: 2001 - Bilowga ah ee barnaamijka DBA ugu horeysay ee Russia ee (Doctor Maamulka Business) - Barnaamijka waxbarashada dhaqaalaha postgraduate waarta ka 1 si ay u 5 sano loogu talagalay la helo aqoon dheeraad ah oo nidaamo dhaqaale codsatay. isreebreebka Tani deeq xaq u leeyihiin inay qabtaan jagooyinka sare ee maamulka.
2001– start of the Russia’s first DBA program (Doctor of Business Administration) – the program of economic postgraduate education lasting from 1 to 5 years designed for receiving additional knowledge of applied economic disciplines. This qualification grants the right to hold senior administrative positions.
Somali sentence: . Xaqootiga
FACT SHEET
Somali sentence: Markii ay soo miyirsaday cammuudda jilicsan ayaa noqon doonaan kuwo adag oo ay mahad naqay in Eebe maxaa yeelay, wuxuu dhigay sands u adag oo si fudud u soo gudbaan oo sidaas Muslimiinta tallaabay dooxada in ay fududaato in la barbar-dhigo.
| When they awoke the soft sand had become firm and they gave thanks to Allah because He had made the sands firm and easy to cross and so the Muslims crossed the valley in comparative ease.
|
Definition: Given an object and a part, decide whether the object has that part. For example if you are asked 'gun has barrel?', you need to decide if a gun has a barrel as one of its components or parts, indicating 1 or 0 as your answer respectively. All sentences strictly follow the template 'object has part?.'
Input: goose has wing?
Output: | 1 |
Given the task definition, example input & output, solve the new input case.
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: knife
Output: weapon
A knife is a type of weapon, therefore weapon is a valid hypernym for knife.
New input case for you: spinach
Output: | produce |
In this task, you are given dvd 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.
Ein Remake, das keiner braucht . Das Geisterschloss ist das Remake des Horrorklassikers "Bis das Blut gefriert" von Robert Wise. Wärend Robert Wise seiner Zeit einen durch und durch atmosphärischen Grusler in die Kinos brachte, wirkt das Remake eher wie eine Gute Nacht Geschichte für Kinder. 0 Atmosphäre, 0 Spannung, 0 Unterhaltung. Das einzig positive sind die Effekte, denn die sind wirklich gut. Der Rest ist eher lahm. | NEG |
Given the task definition and input, reply with output. In this task, you are given an input list. A list contains several comma-separated items written within brackets. You need to return the count of all the numerical elements in the given list. Return 0 if no numerical element in the list.
['d', 'y']
| 0 |
You will be given a topic and an argument. Decide the argument's stance towards that topic. The argument's stance is in favor or against the topic. If the argument supports that topic, answer with "in favor"; otherwise, if the argument opposes the topic, answer with "against".
Q: topic: Dollarization
argument: The UK would benefit from dollarization
A: in favor
****
Q: topic: DC handgun ban
argument: 2nd amendment combines right to militia and individual arms
A: against
****
Q: topic: Michigan and Florida delegates in 2008 US elections
argument: It is unclear who should pay for mail re-votes in Mich and Florida
A: | against
****
|
In this task, you are given inputs i,j, and A, where i and j are integers and A is a list. You need to return the sum of all the numerical elements in the list A between the positions i and j (including positions i and j). Return 0 if no numerical element is present in the list between the given ranges. i and j will be non-negative, and will always have a value less than the length of A. i will always be less than j.
[EX Q]: 16, 22, ['F', '197', '9799', 'W', '9967', 'V', '9955', '5143', 't', 'f', '749', 'N', 'b', '8049', 'W', '6835', '8007', 'm', '7233', 'B', 'I', '599', '6101', 'G', 'i', '2271', 'h', 'P']
[EX A]: 22674
[EX Q]: 2, 2, ['8149', '7123', 'c', 'X', '1659']
[EX A]: 7123
[EX Q]: 3, 4, ['581', 'a', 'k', '8685', '1931', 'm', 'o', 'q', 'X', '8399', 'F', '4247', '1429', 'j', '7413', '4133', '551', 'n', 'z', '6119', '653', 'n', 'n', '2845', 'X', '1407', '8225', '7145', 's']
[EX A]: | 8685
|
Teacher: You are given a math word problem and you are supposed to apply division mathematical operator on the numbers embedded in the text to answer the following question and then only report the final numerical answer.
Teacher: Now, understand the problem? If you are still confused, see the following example:
Context: Alex wants to split a collection of eggs into 4 groups. Alex has 8 eggs and 6 marbles.
Question: How many eggs will each group have?
Solution: 2
Reason: Total eggs each group will get is 8/4 = 2
Now, solve this instance: Context: Faye was placing her pencils into rows with 5 pencils in each row. If she had 35 pencils and 7 crayons
Question: How many rows could she make?
Student: | 7 |
instruction:
We would like you to assess the QUALITY of each of the following argument (discussing Gun Control) and determine if the argument is Valid or Invalid. A valid argument is clearly interpretable and either expresses an argument, or a premise or a conclusion that can be used in an argument for the topic of gun control. An invalid argument is a phrase that cannot be interpreted as an argument or not on the topic of gun control.
question:
How about you bring an actual debate to the table for once instead of resorting to cheap, underhanded, inflammatory stupidity that contributes nothing and just brings down the average for gun haters everywhere.
answer:
Valid
question:
There are getting to be a heap less that believe like your buddy; statistics from polls are running close to 80% of Americans believe what the 2A says, just as the SCOTUS determined, guns are an individual right!
answer:
Valid
question:
You need to give enough fire to keep everybodies head down and their attention focused.
answer:
| Valid
|
instruction:
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 elicit-pref strategy, otherwise output No. elicit-pref is a cooperative negotiation strategy. It is used to discover the preference order of the opponent in the negotiation.
question:
Context: 'I am doing good. Thanks. Which item do you need the most?' 'I was thinking firewood, because the most fun I have camping is roasting marshmellows and hanging out around there. How about you?' 'Oh hmm. I really need extra firewood because I forgot to bring a sleeping bag. I will be freezing to death at night. ☹️'
Utterance: 'Okay, well tell me what you need the least of, if you don't mind.'
answer:
Yes
question:
Context: 'Hello. I'm actually not doing too well. There have been a few problems and I will need some of the extra packages. I'll need two of the waters, 2 of the firewood and 2 of the food.' 'I'm sorry to hear that you are not doing well. I've also have some issues. On the way up to the camp site, all of my clean water spilled in the car. I was really hoping to be able to get all of the available water. Why aren't you well? I hope it's not serious. ☹️' 'Oh, that's terrible. I'm sorry that happened. I need the water for my child. They seem dehydrated and disoriented. My husband has also caught a cold and has been having chills. I thought the extra firewood would help him feel better.'
Utterance: 'Oh my gosh. You are not having an easy trip. If your children are dehydrated and disoriented, perhaps you should get them to emergency care immediately. I would like to provide you will all of the water in the meantime, but that would leave me with none at all. I wouldn't have your husband out of the tent with chills. Perhaps you should keep him bundled in your cabin. I forgot my portable propane grill - so I would need some firewood. How about I take 2 waters, 1 firewood and all of the food?'
answer:
No
question:
Context: 'Would you be willing to let me have all the firewood and you could take 2 of the food and 2 of the water?' 'No I can't do that unfortunately./' 'Ok, so I could take 2 firewood, 1 food, and 1 water, the original deal, do you still want to do that one?'
Utterance: 'I would prefer the original deal'
answer:
| No
|
Detailed Instructions: In this task, you are given a sentence from the research paper and the category to which it belongs. Your task is to classify whether the given category is correct or not by providing "True" and "False", respectively. Here are the definitions for the categories: Background (Why is this problem important? What relevant works have been created before? What is still missing in the previous works? What are the high-level research questions? How might this help other research or researchers?), Purpose (What specific things do the researchers want to do? What specific knowledge do the researchers want to gain? What specific hypothesis do the researchers want to test?), Method (How did the researchers do the work or find what they sought? What are the procedures and steps of the research?), or Finding (What did the researchers find out? Did the proposed methods work? Did the thing behave as the researchers expected?). ",
Q: Sentence: resulting in phosphorylating and activating the type I IFN regulatory factor IRF3 or/and IRF7 to form homodimers or heterodimers that translocate into the nucleus for induction of type I IFN 10,11.
Section: background
A: | True |
You will be given one or more triples. The second part of each triple shows the relation between the first and the third element. Your task is to write a simple and short piece of text (sentence(s)) that describes the triples in natural language.
Spain | currency | Euro
Spain uses the euro for its currency.
Bolt_(comicsCharacter) | creator | Ernie_Colón
Bolt_(comicsCharacter) | creator | Dan_Mishkin
The character Bolt was created by Ernie Colon and Dan Mishkin.
Belgium | capital | City_of_Brussels
| The capital of Belgium is Brussels.
|
TASK DEFINITION: You are given a target race, and two sentences. Your task is to determine whether the second sentence is either a stereotype, anti-stereotype, or is unrelated with respect to the first sentence and the target. A stereotype is a widely held but oversimplified notion of a group of people. An anti-stereotype is an idea that goes against the widely held but oversimplified notion of a group of people. Sentences and targets are unrelated if there is no relevance between them.
PROBLEM: Target: Sierra Leon
sierra leon is a horrible auto response app. apple started this.
SOLUTION: unrelated
PROBLEM: Target: Jordan
I had a person from Jordan in my math class. Apple makes cell phones.
SOLUTION: unrelated
PROBLEM: Target: Morocco
Morocco is in Africa. A car just drove past my house.
SOLUTION: | unrelated
|
In this task, you are given one English sentence. The major part of the sentences talk about health-related topics, but some of the them describe an organization and its activities. Your job is to translate the given sentences into Swedish.
Examples of actions that require health literacy skills include properly reading and adhering to a care or prevention program as well as being able to use the available healthcare services rationally and ponder individual behavioural change.
Exempel på åtgärder som kräver hälsoförståelse är bland annat att läsa och följa ett behandlingsprogram eller förebyggande program och att använda hälso- och sjukvårdstjänster på ett rationellt sätt och överväga individuella beteendeförändringar.
What is an e-service?
Vad är en e-tjänst?
Understanding social marketing principles and techniques is key to developing public health programs that can promote knowledge or positive behaviours as well as reduce risky ones.
| Förståelse av principer och tekniker för social marknadsföring är avgörande för att skapa folkhälsoprogram som både kan främja kunskap eller positiva beteenden och minska riskbeteenden.
|
Teacher: The provided files include famous book titles and sentences in the English language, and we ask you to translate those to the Norwegian Language. Please bear in mind the following guidelines while doing the translation: 1) We are looking for the most naturally written and form of each sentence in the Norwegian language. 2) Also names ,dates and places should be preserved it should not get translated.
Teacher: Now, understand the problem? If you are still confused, see the following example:
The Hound of the Baskervilles
Solution: Hunden fra Baskerville
Reason: The 'hound' and 'Baskervilles' keyword in English matches exactly with the 'hunden' and 'Baskerville' word in Norwegian so the name entity is preserved.
Now, solve this instance: "On the second floor?"
Student: | “Også i tredje etasje?” |
You are given a geometric mathematical question. Questions in this task often involve shapes and Geometric Relationships. You are also given 4 or 5 answer options (associated with "A", "B", "C", "D", "E"). Do not generate anything else apart from one of the following characters: 'A', 'B, 'C', 'D', 'E'. LaTeX mathematical format (the standard way to express mathematical expressions in the typesetting software known as LaTeX) is used to express equations. Each question is solvable with high school math knowledge.
Q: Which of the following has the same area as a circle with an area of \(16\pi\)?
(A)A circle with a radius of \(4\pi\) (B)A circle with a circumference of \(32\pi\) (C)A circle with a radius of 8 (D)A circle with a diameter of 4 (E)A circle with a circumference of \(8\pi\)
A: | E |
We would like you to assess the QUALITY of each of the following argument (discussing Gun Control) and determine if the argument is Valid or Invalid. A valid argument is clearly interpretable and either expresses an argument, or a premise or a conclusion that can be used in an argument for the topic of gun control. An invalid argument is a phrase that cannot be interpreted as an argument or not on the topic of gun control.
Even though he says he's neither in the collective or individual column he is clearly in the collective column simply by suggesting that the right to bear arms requires you to be in the militia (which SCOTUS disagrees with.) | Valid |
A text is given in Bengali. Translate it from the Bengali language to the Oriya language. The translation must not omit or add information to the original sentence.
আপনাদের এখানে আসার মানে এক দেশের সীমায় আবদ্ধ থাকা নয়, আপনারা আরও সম্ভাবনা দেখতে পাবেন, সমস্যাও আসবে এবং ওনেক সুযোগও পাবেন। | ପ୍ରତିରକ୍ଷା କ୍ଷମତା ନିର୍ମାଣ, ପ୍ରତିରକ୍ଷା, ଶିଳ୍ପ, ବିଜ୍ଞାନ ଓ କାରିଗରୀ ସହଯୋଗ ରାଜିନାମା କ୍ଷମତା ନିର୍ମାଣ, ପ୍ରତିରକ୍ଷା, ଶିଳ୍ପ, ବିଜ୍ଞାନ ଓ କାରିଗରୀ କୌଶଳ |
Detailed Instructions: Given a phrase describing the relationship between two words, extract the words and the lexical relationship between them. The relation has to be of the type 'MemberOf', 'MadeOf', 'Synonym', 'Entails', 'HasA', 'HasProperty', 'PartOf', 'Antonym' or 'IsA'. The output should have the format: word1 relation word2.
Problem:frame is part of bicycle
Solution: | frame PartOf bicycle |
In this task, you are given a string with duplicate characters ocurring in the string. You need to return the character which is ocurring with the maximum frequency. In case of a tie, return the character with the least ascii value.
xltfbrkwsaatjegpavikehkjozsgqbtvjiunmfisc
a
dkedcqbnzzsonlbwiweneuwucnoocdbwvgfllroz
n
hhkcwykbjbhcoycjgluzwcxfuggmzjybgrbmegswhfuz
| g
|
Q: A text is given in Hindi. Translate it from the Hindi language to the Urdu language. The translation must not omit or add information to the original sentence.
यह बताते हुए कि सत्ताधारी और विपक्षी दलों को एक-दूसरे को शत्रु या विरोधी नहीं मानना चाहिए। उपराष्ट्रपति ने कहा कि लोगों के जनादेश का सम्मान करना और जनादेश के अनुसार सरकारों को कार्य करने देना विधायिकाओं का एक अनिवार्य सिद्धांत होना चाहिए।
A: | نائب صدر جمہوریہ نے کہا کہ حزب اقتدار اور حزب مخالف کو ایک ودسرے کو دشمن اور حریف نہیں سمجھنا چاہیے۔ انھوں نے کہا کہ رائے عامہ کا احترام اور رائے عامہ کے مطابق موجودہ حکومتوں کو کام کرنے کی اجازت قانون ساز کونسلوں کی کارروائیوں کے ضروری اصول ہونے چاہئیں۔ |
Instructions: You are given a time in 24-Hours format, and you need to convert it to time in the 12-Hours format. For a 24-Hours format time larger than 12:00, subtract 12 hours from the given time, then add 'PM'. For example, if you have 14:30 hours, subtract 12 hours, and the result is 2:30 PM. If the 24-Hours format time is less than or equal to 12:00, add 'AM'. For example, say you have 10:15 hours, add the 'AM' to the end, here we get 10:15 AM. Note that 00:00 Hrs in 24-Hours format is 12:00 AM in 12-Hours format and 12:00 Hrs in 24-Hours format would be 12:00 PM in 12-Hours format.
Input: 03:49 Hrs
Output: | 03:49 AM |
In this task, you need to output 'Yes' if the given number is a prime number otherwise output 'No'. A 'prime number' is a a whole number above 1 that can not be made by multiplying other whole numbers.
30238
No
38898
No
56322
| No
|
TASK DEFINITION: In this task, you are given commands (in terms of logical operations) to select relevant rows from the given table. Your job is to classify the command into one of these seven categories: (1) majority, (2) unique, (3) superlative, (4) count, (5) comparative, (6) aggregation, and (7) ordinal.
Here are the defications of each category:
1. majority: Describing the majority values (most or all) over one column, with the scope of all table rows or a subset of rows
2. unique: Describing one unique row, regarding one column, with the scope of all table rows or a subset of rows
3. Superlative: Describing the maximum or minimum value in a column, with the scope of all table rows or a subset of rows
4. Ordinal: Describing the n-th maximum or minimum value in a column, with the scope of all table rows or a subset of rows
5. Comparative: Comparing two rows in the table, regarding their values in one column
6. Count: counting some rows in the table based on the values in one column, with the scope of all table rows or a subset of rows
7. Aggregation: Describing the sum or average value over a column, with the scope of all table rows or a subset of rows.
Here are the definitions of logical operators for understanding of command:
1. count: returns the number of rows in the view.
2. only: returns whether there is exactly one row in the view.
3. hop: returns the value under the header column of the row.
4. and: returns the boolean operation result of two arguments.
5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column.
6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column.
7. argmax/argmin: returns the row with the max/min value in header column.
8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column.
9. eq/not_eq: returns if the two arguments are equal.
10. round_eq: returns if the two arguments are roughly equal under certain tolerance.
11. greater/less: returns if the first argument is greater/less than the second argument.
12. diff: returns the difference between two arguments.
13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument.
14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument.
15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument.
16. filter_all: returns the view itself for the case of describing the whole table
17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument.
18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument.
19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument.
20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument.
21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument.
22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument.
PROBLEM: greater { hop { filter_eq { all_rows ; tournament ; masters tournament } ; top - 25 } ; hop { filter_eq { all_rows ; tournament ; pga championship } ; top - 25 } }
SOLUTION: comparative
PROBLEM: round_eq { avg { all_rows ; year } ; 2002 }
SOLUTION: aggregation
PROBLEM: and { eq { hop { filter_eq { all_rows ; nation ; united states } ; bronze } ; hop { filter_eq { all_rows ; nation ; poland } ; bronze } } ; and { eq { hop { filter_eq { all_rows ; nation ; united states } ; bronze } ; 1 } ; eq { hop { filter_eq { all_rows ; nation ; poland } ; bronze } ; 1 } } }
SOLUTION: | comparative
|
TASK DEFINITION: In this task, you are given a list of numbers. The list of numbers is separated with comma and inside brackets. You need to remove the maximum(the number with the largest value) and minimum(the number with the smallest value) element from the list and return the list in the same order as input. Your answer should be a list of numbers separated by comma, inside brackets.
PROBLEM: [112, 420, 247, 383, 265, 209, 428, 353, 259, 427, 149, 322, 309, 54, 213, 408, 118, 342, 434, 486]
SOLUTION: [112, 420, 247, 383, 265, 209, 428, 353, 259, 427, 149, 322, 309, 213, 408, 118, 342, 434]
PROBLEM: [396, 348, 356, 333, 63, 417, 10, 449, 274, 59, 23, 37, 50, 277, 117, 245, 377, 405, 414, 85]
SOLUTION: [396, 348, 356, 333, 63, 417, 274, 59, 23, 37, 50, 277, 117, 245, 377, 405, 414, 85]
PROBLEM: [308, 152, 482, 111, 406, 290, 466, 303, 153, 60, 15, 270, 398, 473, 417, 69, 499, 43, 454, 280]
SOLUTION: | [308, 152, 482, 111, 406, 290, 466, 303, 153, 60, 270, 398, 473, 417, 69, 43, 454, 280]
|
Detailed Instructions: Given a hotel review and the corresponding polarity of review (i.e., Negative or Positive) identify if the polarity is correct. Write 'true' if it's correct, 'false' otherwise.
Problem:Review: Stay Away! After generations as an old-world, cozy and stately, if a bit tired oasis, the AE has been purchased by Ian Schrager and taken down so many notches it's almost not functional. Allowing for the fact that the hotel is under renovation, the entrance is not handicapped accessible, and I saw several hotel guests with canes, casts, etc (including myself, recovering from foot surgery and in a cast, with a cane) struggling with the up and down outside stairs one has to navigate just to get into and out of the hotel. With luggage, it's almost impossible. This is simply inexcusable. I've been a customer of the Ambassador East for decades--but no more. The hallways are so dark one can barely see. The rooms are stark white, which in and of itself, isn't a particular problem, but it is jarring and almost painful as one's eyes adjust from the dark hallways. The furniture--stark and scant--looks like something from an Ikea closeout. The bed is comfortable--what a relief--but only about 15 inches off of the floor, a real problem if you're at all physically challenged, or even elderly and less flexible than you were in your salad days. The problems don't end there. My room had a horribly uncomfortable wire/metal desk chair, and absolutely nowhere else to sit. No arm chair, no demi-sofa, no ottoman. With a foot in a cast, it would have been nice to be able to sit comfortably, perhaps even with my leg elevated, while in the room. No way. The bathroom has absolutely nowhere to put any of your toiletries. Not a shelf, a small table, a nook, or a medicine cabinet. If you want to put a razor, shaving cream, makeup (for women) or anything else down so that you can use them, you're sh*t out of luck. Repeated requests for a small table or some sort of chair went unmet. A borrowed umbrella from the front desk was broken and unusable, something I didn't discover until caught in an expected downpour. I was tempted to throw it out, but remembered that they would charge me for it if I didn't return it, in spite of its total lack of usefulness. Refrigerator--forget it. Shampoo? For two days in a row, the housekeeper left several bottles of lotion, and no shampoo. Room service--not available. If you want breakfast, the front desk will sell you a small, pre-wrapped, commercial grade muffin for $4.00--something you can buy in any gas station for $1.00. No added value whatsoever. The photos show a nice entrance, and a large lobby for which the AE has long been famous. Unfortunately, that lobby is closed off, under construction, and the temporary lobby is on the second floor, difficult, again, for handicapped access. Thermos-bottled coffee and water for tea were stone cold, at 8 in the morning. When confronted with these various misses, the front desk staff repeatedly shrugged their shoulders and said, "Yeah, we know, you're not the first to tell us this stuff." All this shows is that Schrager doesn't even care to make an effort to make his guests comfortable, and that the staff is either too indifferent or too amateur to know the difference and even make an effort to get it right. It's one thing to get a good price on a hotel room when it's under renovation. It's another thing altogether to get screwed in the bargain, particularly after booking a non-refundable pre-paid reservation. Again, avoid this hotel like the plague.
Polarity: Positive
Solution: | false |
Teacher:You will be given a passage with an enumerated set of facts, a question of form 'Where is <person_name>?', and its answer. The task is to identify a supporting fact that is necessary to answer the question. The output would be the corresponding fact number.
Teacher: Now, understand the problem? Solve this instance: Passage: Fact 1- Daniel travelled to the hallway. Fact 2- John travelled to the office. Fact 3- Daniel went to the bedroom. Fact 4- Daniel went back to the office. Fact 5- Mary went to the bedroom. Fact 6- Mary went to the hallway. Fact 7- Mary travelled to the office. Fact 8- Sandra went to the garden. Fact 9- Daniel journeyed to the bedroom. Fact 10- John journeyed to the bedroom. Question: Where is Mary? Answer: office
Student: | Fact 7 |
You are given a set of queries separated by '
', and your job is to find out the query which is not a well-formed or well-structured query in terms of grammar, punctuations, or spelling errors.
Example Input: What can you contribute to the society if you become a lawyer ?
Can scars dissapear in years time ?
Why was john glenn is famous ?
How do you change your mouse pointer into a picture ?
Example Output: Why was john glenn is famous ?
Example Input: How many cups of graded cheese are in a pound ?
What temperature is needed to smelt lead ore ?
What kind of trees live in the tagia ?
Can you take tylenol cold three days before cataract surgery ?
Example Output: What kind of trees live in the tagia ?
Example Input: What is the lowest common multiple of 10 and 9 ?
How do you get rid of belly ?
What personal characteristics are needed to be a doctor ?
How can you obtain xylene ?
Example Output: | How do you get rid of belly ?
|
Detailed Instructions: In this task you will be given an arithmetic operation and you have to find its answer. The symbols of operators '+' and '-' has been swapped i.e you need to perform subtraction when you see a '+' symbol and addition in case of '-' symbol.
Problem:101 - 5917 + 1 + 1993 + 4817 + 1903 + 319 + 4323 - 5149
Solution: | -2189 |
In this task, you are given a text in Catalan. Your task is to classify it into 19 different given themes. Names of all the classes are Society, Politics, Tourism, Health, Economy, Events, Parties, Education, Police, Environment, Parliament, Business, Judicial, European Union, Trade, Culture, Cinema, Government, and Letters
Els espais naturals gestionats per la Generalitat arriben als 4,2 milions de visitants el 2018. El Parc Natural del Montgrí, les Illes Medes i el Baix Ter dobla el nombre de visitants. ACN Barcelona.-Els espais naturals gestionats per la Generalitat han registrat durant el 2018 4,2 milions de visitants, el que suposa 40.193 persones més que l'any anterior però tenint en compte que no hi ha xifres del 2017 del Parc Natural de les Capçaleres del Ter i del Fresser. L'espai que ha tingut un increment més important de visitants és el Parc Natural del Montgrí, les Illes Medes i el Baix Ter, que ha passat de 220.100 visitants a 444.328 el 2018. Aquest augment es deu, en gran part, a la millora en el mètode de recompte, ja que per primer cop hi ha dades recollides en comptadors ubicats en més itineraris a banda dels d'accés. Com que els espais naturals protegits no tenen porta d’entrada, calcular el nombre de visitants no és una tasca senzilla. Històricament, aquestes xifres s'han calculat amb fórmules estimatòries a partir de les dades obtingudes per diferents mètodes, principalment amb el recompte de visitants realitzat en els punts d’informació. . Els espais naturals protegits de la Generalitat estan implementant millores en els sistemes de recompte de visitants. Això fa que en alguns parcs es registrin xifres que poden semblar desajustades respecte a valors d'anys anteriors. La Generalitat treballa ara per implementar un sistema comú a tots els parcs, amb una nova metodologia que permeti oferir dades quantitatives més acurades, sobretot en els punts d’informació. . L'any passat la major part dels espais han mantingut el seu nombre de visitants en valors similars als de l’any anterior. El Parc Nacional d’Aigüestortes i estanys de Sant Maurici ha passat de 560.086 visitants a 552.014; el de l'Alt Pirineu ha crescut en 40.681 visitants nous el 2018, passant de 314.000 a 354.681; el parc del Cadí-Moixeró, que ha ajustat el mètode de recompte, ha registrat 363.000 visitants enfront els 430.000 del 2017; el Parc Natural de Cap de Creus passa de 450.000 a 430.000, i els Aiguamolls de l'Empordà han pujat des de 247.230 a 248.000 visitants. A més, el parc de l'Albera ha passat dels 63.000 visitants del 2017 a 58.000 el 2018; el Parc Natural de la Zona Volcànica de la Garrotxa ha registrat 500.000 visitants davant dels 550.000 dels 2017; el del Delta de l'Ebre ha augmentat de 614.418 persones a 633.894; el Parc Natural dels Ports ha passat de 255.000 a 280.000 el 2018, i el parc de Poblet ha registrat 110.000 visitants davant dels 226.000 de l'any anterior perquè també ha reajustat el mètode de recompte. Pel que fa al Parc Natural de les Capçaleres del Ter i del Fresser, el 2018 ha arribat als 205.044 visitants però no hi ha registres del 2017 perquè és el parc de més recent creació.
Society
Albiol diu que el fitxatge de l'expresident madrileny Ángel Garrido per Cs és "una putada". L'alcaldable del PPC a Badalona creu que "no és gaire elegant" i dificulta un pacte postelectoral. ACN Barcelona.-El candidat a l'alcaldia de Badalona pel PPC, Xavier García Albiol, ha criticat el fitxatge de l'expresident de la Comunitat de Madrid Ángel Garrido, del PP, per a la llista de Cs a les eleccions autonòmiques. "No és gaire elegant que et dediquis a repetir per activa i per passiva que vols pactar amb el PP i que, a quatre dies de les eleccions, més enllà de no tenir pacte facis una putada d'aquesta dimensió", ha dit en una atenció als mitjans abans d'assistir al míting que el president del PP, Pablo Casado, ha fet aquest dijous a Barcelona. Albiol creu que el fitxatge de Garrido genera "desconfiança" i complica un pacte postelectoral: "No és la millor manera de trenar una relació".
Events
AMPLIACIÓ:El Macba repassa tres dècades de l’obra de Jaume Plensa. La mostra recull una vintena de treballs escultòrics diversos però amb “el dubte” com a motor creatiu. ACN Barcelona.-Han passat 23 anys des de l’última exposició dedicada a Jaume Plensa a Barcelona, la que va acollir la Fundació Joan Miró el 1996. El Macba trenca aquest període d’absència amb una gran mostra sobre l’artista que s’inaugura el proper 1 de desembre i que recorre més de tres dècades de la seva trajectòria en una vintena d’obres. És una exposició “d’inicis”, ha apuntat el mateix Plensa en declaracions a l’ACN, de començaments de línies escultòriques que ha anat evolucionat amb els anys. Sempre amb “la pregunta i el dubte” com a motor creatiu, les peces exposades tenen el valor de “descobrir” al públic un Plensa menys icònic, segons valora l’artista, tot mostrant “el treball permanent i la feina d’estudi” més enllà de les seves populars intervencions en l’espai públic. Jaume Plensa torna a un museu Barceloní més de vint anys després. Una gran escultura seva, ‘Carmela’, es va instal·lar ara fa tres anys davant del Palau de la Música Catalana, però l’artista no havia exposat en un gran equipament museístic des del 1996. “Jo crec que les coses arriben quan han d’arribar”, comentava un punt resignat a l’ACN aquest dijous Plensa, tot recordant que des que va participar en l’exposició inaugural del Macba, ara fa 23 anys, no hi ha tornat a ser present fins avui. “Potser és que havia de ser així”, diu Plensa. El Museu d’Art Contemporani de Barcelona li dedica ara una exposició que inclou una vintena d’obres realitzades per Plensa des del 1989 i fins avui. ‘Jaume Plensa’ proposa un recorregut que mostra el diàleg entre la representació de la figura humana i l’abstracció, sempre presents a la seva obra escultòrica. Per Plensa, es tracta d’una col·lecció d’obres que “miren enrere”, sobretot en el sentit que apunten a diversos “començaments” de camins artístics que ha seguit, o bé que ha abandonat “i han seguit altres”. L’escultor considera, així, que és “interessant” pels visitants en la mesura que podran “descobrir moments de l’obra que potser són menys coneguts però que els faran entendre moltes de les coses que faig ara”. Abundant en la qüestió, Plensa ha explicat a l’ACN que més enllà del Plensa icònic (“que surt als diaris, el de les intervencions en l’espai públic”), l’exposició posa llum sobre el seu “treball permanent” d’estudi. “Serà molt interessant perquè veuran el treball que faig en museus i galeries, que potser perquè he estat poc present en aquest país es coneix menys”. Figura humana i abstracció, lleuger i compacte, o silenci i so, són els binomis que travessen el conjunt del treball de Plensa, tal i com reflecteix l’exposició. Per a l’artista, el paraigua sota el qual ha desenvolupat tota la seva obra és la necessitat del “dubte”. El Macba hi coincideix, i per això ha escollit l’obra ‘Firenze II’ (1992), un gran interrogant d’alumini ferro, per obrir l’exposició. “Aquesta peça s’ha convertit en una icona de la meva obra. És més que una peça, és una actitud amb les coses, el motlle on fabricar preguntes”, constata l’artista. Defensor de “la pregunta i el dubte”, Plensa creu que en la seva obra sempre ha parlat d’aquest mateix tema des de punts de vista diferents. “Hi ha una gran diversitat de maneres” de treballar artísticament aquest interès, defensa l’autor, “i segons des del punt de vista que t’aproximes a les obres semblen molt diferents, però en el fons l’ànima que les manté dretes i els hi dona sentit és el mateix”, reflexiona. L’exposició al Macba, que es podrà visitar fins el 22 d’abril del 2019 i viatjarà l’any vinent al Moscow Museum of Modern Art, s’inaugura gairebé en paral·lel al conjunt escultòric ‘Invisibles’ que Plensa ha instal·lat al Palacio de Cristal del Parc del Retiro de Madrid, de la ma del Museu Reina Sofia. Plensa celebra aquesta coincidència i considera que es dona un “equilibri interessant” entre la retrospectiva del Macba i l’exhibició de la seva darrera creació “específica”.
| Government
|
In this task, you're given a context, a sentence, and a character. The sentence describes an action or job of the given character. Also, the context provides more information about the sentence or the character. Your task is to return one of the emotions which are expressed by the Character in the given sentence. For that you can use the Context; however, Context is not provided in all the inputs. Also, in some inputs, there can be zero emotion; for that return 'None'.
Context: Ben was a cake maker. Ben thought he was the best cake maker in the entire world. Ben went on a reality show about baking.
Sentence: The host was very mean to Ben and said his cake was terrible.
Character: Host | pset |
Detailed Instructions: Given a part of privacy policy text, classify it into one of these categories:
(1) First Party Collection/Use (how and why a service provider collects user information),
(2) Third Party Sharing/Collection (how user information may be shared with or collected by third parties),
(3) User Choice/Control (choices and control options available to users),
(4) User Access, Edit, & Deletion (if and how users may access, edit, or delete their information),
(5) Data Retention (how long user information is stored),
(6) Data Security (how user information is protected),
(7) Policy Change (if and how users will be informed about changes to the privacy policy).
Q: The site collects your location information for an additional (non-basic) service or feature. Collection happens in the mobile app. You can opt in for data collection for the collection and use of your information.
A: | First Party Collection/Use |
Definition: In this task, you're given a pair of sentences in the Persian Language written in the Persian alphabet. Your job is to choose whether the two sentences agree (entailment), disagree (contradiction), or neither (neutral). Your answer must be in the form of the letters E, C, and N, respectively. The sentences have been separated by a newline character.
Input: از سخنان پیامبر (ص) درباره پاکیزگی است که: پاکیزگی کلید قبولی نماز است.
کلید قبولی نماز، از منظر پیامبر(ص)، خلوص می باشد.
Output: | C |
Detailed Instructions: In this task, you are given a sentence in the English language from the various articles. Your task is to translate the given English sentence into the Yoruba language. Please bear in mind the following guidelines while doing the translation: 1) Generated output should have natural language and formal form. The output sentence should not be a colloquial form of the input sentence. The generated output should be in natural language which is how you would type your queries in a text-based virtual assistant. 2) The words between quotation marks *SHOULD NOT* be translated. The output should keep those values intact and include the quotation marks around them as well. 3) Numbers and fully capitalized words like SEPTEMBER, or 10 HOURS *SHOULD NOT* be translated. Keep them as they are in the translations. 4) Do not localize measurement units like miles to kilometers during your translation. 5) Note the input is in sentence case except for special placeholders. Do the same in your translations.
Problem:The millipede knew the way before it went blind.
Solution: | Ọ̀kùn-ún mọ̀nà tẹ́lẹ̀ kójú ẹ̀ tó fọ́. |
You will be given a definition of a task first, then some input of the task.
You are given a time in 24-Hours format, and you need to convert it to time in the 12-Hours format. For a 24-Hours format time larger than 12:00, subtract 12 hours from the given time, then add 'PM'. For example, if you have 14:30 hours, subtract 12 hours, and the result is 2:30 PM. If the 24-Hours format time is less than or equal to 12:00, add 'AM'. For example, say you have 10:15 hours, add the 'AM' to the end, here we get 10:15 AM. Note that 00:00 Hrs in 24-Hours format is 12:00 AM in 12-Hours format and 12:00 Hrs in 24-Hours format would be 12:00 PM in 12-Hours format.
04:40 Hrs
Output: | 04:40 AM |
Teacher:In this task, you are given a natural language interpretation of commands (consist of logical operations) to select relevant rows from the given table. Your job is to generate command (in terms of logical operations) from given natural language interpretation. Define body (contains a collection of statements that define what the this logical operator does) of each logical operator between '{}' parenthesis. Here are the definitions of logical operators that you can use while generating command:
1. count: returns the number of rows in the view.
2. only: returns whether there is exactly one row in the view.
3. hop: returns the value under the header column of the row.
4. and: returns the boolean operation result of two arguments.
5. max/min/avg/sum: returns the max/min/average/sum of the values under the header column.
6. nth_max/nth_min: returns the n-th max/n-th min of the values under the header column.
7. argmax/argmin: returns the row with the max/min value in header column.
8. nth_argmax/nth_argmin: returns the row with the n-th max/min value in header column.
9. eq/not_eq: returns if the two arguments are equal.
10. round_eq: returns if the two arguments are roughly equal under certain tolerance.
11. greater/less: returns if the first argument is greater/less than the second argument.
12. diff: returns the difference between two arguments.
13. filter_eq/ filter_not_eq: returns the subview whose values under the header column is equal/not equal to the third argument.
14. filter_greater/filter_less: returns the subview whose values under the header column is greater/less than the third argument.
15. filter_greater_eq /filter_less_eq: returns the subview whose values under the header column is greater/less or equal than the third argument.
16. filter_all: returns the view itself for the case of describing the whole table
17. all_eq/not_eq: returns whether all the values under the header column are equal/not equal to the third argument.
18. all_greater/less: returns whether all the values under the header column are greater/less than the third argument.
19. all_greater_eq/less_eq: returns whether all the values under the header column are greater/less or equal to the third argument.
20. most_eq/not_eq: returns whether most of the values under the header column are equal/not equal to the third argument.
21. most_greater/less: returns whether most of the values under the header column are greater/less than the third argument.
22. most_greater_eq/less_eq: returns whether most of the values under the header column are greater/less or equal to the third argument.
Teacher: Now, understand the problem? Solve this instance: select the rows whose studio host record fuzzily matches to craig mustard . the number of such rows is 5 .
Student: | eq { count { filter_eq { all_rows ; studio host ; craig mustard } } ; 5 } |
Teacher:Given a premise and a hypothesis, determine if the hypothesis (second sentence) can be concluded from the premise and assigning it a label among entailment, neutral, or contradiction. Entailment means thats the hypothesis makes sense/follows after the premise. Neutral means that the hypothesis does not follow the premise but also does not contradict the premise. Contradiction means that the hypothesis clearly contradicts the premise.
Teacher: Now, understand the problem? Solve this instance: A couple walk hand in hand down a street. <sep> A couple is walking together.
Student: | entailment |
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
Example Input: 6729 # 1204 # 5514 # 8079
Example Output: -8068
Example Input: 9913 # 5573 @ 4921 # 723 # 9487 # 754 # 1667 @ 5543 @ 6626
Example Output: 8799
Example Input: 5403 @ 8056 # 2287 # 2787 @ 7648 # 1240 @ 5048 @ 2246 @ 8974
Example Output: | 31061
|
In this task, you are given a sentence and a profession. The sentence mentions two professions: one's gender is identifiable using the coreference link with gendered pronouns and the other's gender is unidentifiable. You are expected to return whether the given profession's gender is identifiable or unidentifiable.
Sentence: The farmer gave the teacher a bag of eggs because he was grateful.
Profession: farmer | Identifiable |
TASK DEFINITION: In this task, you are given a short passage that conveys a stereotype or an anti-stereotype. A stereotype is an over-generalized belief about a particular group of people(based on race, ethnicity, gender, age, abilities, etc.). An anti-stereotype is an idea that goes against a common stereotype. You are expected to classify the passage into two classes: stereotype or anti-stereotype.
PROBLEM: Passage: People with schizophrenia are so stupid.
SOLUTION: Stereotype
PROBLEM: Passage: Nick was a millenial so he isn't good in person, if it's not on a phone he can't deal with people.
SOLUTION: Stereotype
PROBLEM: Passage: Chen Wu was an astronomer that discovered a new galaxy.
SOLUTION: | Stereotype
|
In this task, you are given a list of integers you need to calculate and return the range of the integers which is the difference between maximum and minimum element in the list.
Let me give you an example: [1,2,3,4,5,7,34,25]
The answer to this example can be: 33
Here is why: maximum element is 34 and minimum element is 1, range is equal to the difference between 34 and 1 which is 33.
OK. solve this:
[238, 497, 369, 193, 169, 114, 172, 325, 245, 33, 301, 332, 446, 222, 179, 468, 160, 182, 44, 362]
Answer: | 464 |
Teacher:Paraphrase the given questions to have different wording. Your paraphrased questions should have the same answer as the original question. Try to change the sentence as much as possible using synonyms and/or rearranging the structure of the sentence. The questions are in three domains: presidents, national parks, and dogs. Each question has a keyword indicating its domain. Keywords are "this national park", "this dog breed", and "this president", which will be replaced with the name of an actual president, a national park, or a breed of dog. Hence, in paraphrasing, this keyword should also be used the same way. Do not write questions that compare or involve multiple domains. Do not write open-ended or subjective questions (e.g., questions that can be answered differently by different people.) Make your questions specific and concrete. Your question should have the same type of answer as the original question(e.g., if the question is extractive, the paraphrased question should be extractive as well.)
Teacher: Now, understand the problem? Solve this instance: Does this national park have caves you can enter without a permit?
Student: | Are there caves without a permit requirement at this national park? |
In this task, you are given a Reddit post as a text. Your task is to generate a title for this text. The title should start with "TIFU by", followed by a situation that caused humor. The title should contain 7-12 words, ideally.
Q: Text: a few years back i was working as a runner/driver for an australian based concert promoter. i was not long in the job and was shuttling management and security around venues etc. a fairly standard low stress vibe.
anyway i was working on the sydney leg of springsteen's australian tour and was out the back of his hotel waiting for my security guys to show.
suddenly, bruce's manager opens my van door and "the boss" jumps in. now i was a tad concerned as i hadn't encountered a "principal" up to this point, and the pressure level not to fuck up rose significantly.
we had a nice chat for 5 mins and then his family arrived and proceeded to pack into the 9 seat van. they just kept coming. his wife, the kids, their friends, the kids minder, the manager, way too many but bruce was unconcerned.
as we set off, the boss was crammed seatless against the sliding door, very cramped yet still uncomplaining. so we headed for bondi beach toward the breakfast location and i was shitting bricks. we were way overloaded and no one wore seatbelts.
i knew our destination but had never dropped anyone there, so potential for balls ups were rather high. i put on my game face and thought furiously, you've got this bro!
how wrong i was.
as we cruised down the hill toward bondi, the clouds darkened and unleashed a horrendous torrential downpour over the whole region. the rain was relentless, and as we pulled up at the destination there was a river of storm water pouring down the street.
i pulled up as the water gushed over the curb. bruce popped open the door as horizontal, machine gun like bullet sized rain pelted into the van, instantly soaking all inside as they extricated themselves from the van and waded through the flood toward the lobby of the restaurant.
as i was sitting there thinking what a royal fuck up that was, the security detail arrived and their driver pulled up the gutter and under the awning, high and dry. i literally face palmed myself and drove off in disgust at my newbness.
my phone immediately began ringing and beeping as the news of ineptness spread far and wide throughout the production crew and they all expressed their hilarity and mirthful scorn at my epic fail. for shame.
i didn't drive or talk to the boss again. did keep my job though and enjoyed another decade of brilliant gigs and unforgettable musical memories.
A: TIFU by soaking Bruce Springsteen and his entire family!
****
Q: Text: this shit happened saturday night at roughly 9:30 pm.
my friends and i go to the ihop to indulge in the pancakes and breakfast. everyone is talking about life and merriment as we eagerly waited for our food to arrive. everyone got pancakes. i got chicken and waffles.
"would you like honey mustard?", said the waitress to me.
"uhhh, sure.", i said.
big mistake. the next thirty minutes were a mixture a foodgasmic taste experiences as well as grave regret. the syrup, soda and honey mustard were starting to get to me. everyone was done eating and already paying at the front counter.
"hold on guys, i gotta go to the bathroom.", i said while clenching my stomach and sphincter in pain.
"k. try not shit all over the floor like you did at summer camp.", said friend 4.
"that wasn"t even me!"
i proceeded to the bathroom which to my surprise, had no one inside. what was an alleged code brown, was soon to be a code green. or more like code yellowish-brown. coughing and gagging my brains out and yet nothing came out. feeling like i had beaten the ihop, i left the stall and went to pay my bill.
we get into my car (we all carpooled there) but something was wrong. horribly, horribly wrong.
it was coming.
*rising stomach gurgle*
"oh fuck"
*i get out of the drivers seat and run to a light post*
*vomits on said light post"
"aww, what the fuck, man!?", said friend 1.
"i'm sorry, it was probably too much honey mustard.", i replied.
"do you want me to drive?", said friend 2 (the non-asshole with substantial medical knowledge).
"yeah, i'm not gonna make it on this one...", i moaned.
we get about maybe fiddy yards away from the ihop when i start to vomit again. hard.
blllllleeeeeuuugggghhhhhhh
the car stopped next to us is a four remembered middle eastern looking family. all of them filled with the faces of disgust. fucking priceless.
*collective duuuuudddesss from friends in my car*
"do i need to pull over?", said friend 2.
"no, no, i'm fine", i said obviously not fine.
thank god we were at a stoplight.
the light turns green and we start moving again.
"i'm going to try to drive slowly, okay?", said friend 2.
"alright, i trust you.", i reluctantly cried.
maybe not even twenty seconds after the stoplight, i start vomiting again. hard.
blllllleeeeeuuugggghhhhhhh
none of it hits the ground. just the side of my car.
*fast forward to a few more stoplights of this happening*
we stop at yet another stoplight with me still feeling gurgley. this time, the car next to us is filled with african american individuals that may have been juniors in high school or freshman in college. i am very bad at guessing ages.
*loud as fuck gurgle*
"oh god."
*stick head out of window and projectile vomit all over the car next to us*
yep.
you heard right folks.
all over their 4-door who-gives-a-fuck standard.
everyone in the vomited car, aren't disgusted, just surprised. the mix of facial expressions ranged from "eeewwww" to "da fuuuuhhhh?"
i smiled and promptly apologized for the vomit to which the driver rolled down his window and replied "ayo, you need to turn down, bruh!".
tfw i believe him.
more vomiting out of the window onto the side of my car later ensued after that stoplight and continued until we arrived at friend 3's house.
we got out of my car and saw the damage.
it.
was.
everywhere.
dried up from wind resistance vomit caked in all across the right side if my car.
one of the poor bastards on that side came out that way and got a nice handful of chicken and waffles from the door handle.
after hardy laughter, we played basketball, watched some kind of gay (i mean actually gay) movie about singing and dreams with friend 3's sister, and left to go home.
all of the ride home, i had wondered what had made me sick. then it hit me. the honey mustard. i basically drank the whole bowl that the waitress brought me. i eventually arrived home at around 1 am. the perfect time for masturbation.
don't fuck around with honey mustard, kids. it may taste good but it can and will, fuck you up if drunken without moderation.
edit: for those who don"t believe me http://imgur.com/b4jfb5g
A: TIFU by eating IHOP
****
Q: Text: well technically yesterday but its still more recent than most of these but basically i work for the underground and while working on the platform within an hour of my first day i had a visually impaired customer and so i gave him directions to where he needed to be and he was thankful... then i offered him a map, he looked at me (well faced me) and just said "why would i need a map i can't see"
A: | Tifu on my first day
****
|
Instructions: The given sentence contains a typo which could be one of the following four types: (1) swapped letters of a word e.g. 'niec' is a typo of the word 'nice'. (2) missing letter in a word e.g. 'nic' is a typo of the word 'nice'. (3) extra letter in a word e.g. 'nicce' is a typo of the word 'nice'. (4) replaced letter in a word e.g 'nicr' is a typo of the word 'nice'. You need to identify the typo in the given sentence. To do this, answer with the word containing the typo.
Input: The vbathroom is clean and ready to be used.
Output: | vbathroom |
TASK DEFINITION: Your task is to localize given English phrase into Hindi language. When localising, follow these rules - (1) General names and concepts can be translated (2) Domain specific names can just be transliterated (3) Localised phrases can have both partial translated and transliterated parts (4) But only partial translation or only partial transliteration is not allowed (5) Copy special characters and numbers as is
PROBLEM: Failed to upload %1...
SOLUTION: % 1 में फ़ाइल सूची बनाना असफल
PROBLEM: If this option is enabled, digiKam applies the working color profile to an image, without prompting you about missing embedded profiles or embedded profiles different from the workspace profile.
SOLUTION: फोटोग्राफ गुण
PROBLEM: Refresh all album contents.
SOLUTION: | डिज़ीकैम के लिए रंग प्रसंग डिजाइनर
|
In this task, you will be presented with a question having multiple possible answers in Arabic language. And you should choose a most suitable option out of "A", "B", "C", "D", and "E" based on your commonsense knowledge.
[Q]: Question: كان جوني يبحث عن ملفات تعريف الارتباط التي أخفتها والدته عنه. أين قد يبحث عنهم؟
Options: A إناء B evercookie C evercookie D متجر E الحلوى
[A]: A
[Q]: Question: المبارزة التي عمل بجد عليها وفرت له ماذا؟
Options: A بدانة B منافسة C سيف D البراعة E الحماية
[A]: E
[Q]: Question: بالرغم من كثرة الحشود ، كيف شعر الرجل المكتئب؟
Options: A مجموعة صغيرة B وحده C المنعزل D العزلة E ذعر
[A]: | C
|
Given the task definition and input, reply with output. Given a sentence in Vietnamese, generate a new Vietnamese sentence by performing small changes on the sentence. Here, make sure that the changes are semantically related and syntactically similar to the input. And the generated sentence should have high commonsense plausibility, that is to have reasonable probability of it being true.
Một lập trình viên có thể tạo thành một đội để tạo thành một tổ hợp.
| Một lập trình viên có thể tạo ra một mô hình để giải quyết một vấn đề. |
Given the task definition and input, reply with output. In this task, you need to provide the parts-of-speech tag of a word present in a sentence specified within curly braces ( '{{ ... }}' ). The parts-of-speech tags are fine labels that represent a category of words with similar grammatical properties. The list of part-of-speech tags i.e tagset of this corpus is : '$': Dollar Sign, "''": Single Quotes, ',': Comma Symbol, '-LRB-': Left Parantheses, '-RRB-': Right Parantheses, '.': Period, ':': Colon, 'ADD': Email Address, 'AFX': Affix, 'CC': Coordinating conjunction, 'CD': Cardinal Number, 'DT': Determiner, 'EX': Existential there, 'FW': Foreign Word, 'GW': Go with, 'HYPH': Hyphen symbol, 'IN': Preposition or a subordinating conjunction, 'JJ': Adjective, 'JJR': A comparative Adjective, 'JJS': A Superlative Adjective, 'LS': List item Marker, 'MD': Modal, 'NFP': Superfluous punctuation, 'NN': Singular Noun, 'NNP': Singular Proper Noun, 'NNPS': Prural Proper Noun, 'NNS': Prural Noun, 'PDT': Pre-determiner, 'POS': Possessive Ending, 'PRP': Personal pronoun, 'PRP$': Possessive Pronoun, 'RB': Adverb, 'RBR': Comparative Adverb, 'RBS': Superlative Adverb, 'RP': Particle, 'SYM': Symbol, 'TO': To , 'UH': Interjection, 'VB': Base form Verb, 'VBD': Verb in Past tense, 'VBG': Verb in present participle, 'VBN': Verb in past participle, 'VBP': Verb in non-3rd person singular present, 'VBZ': Verb in 3rd person singular present, 'WDT': Wh-determiner, 'WP': Wh-pronoun, 'WP$' Possessive Wh-pronoun, 'WRB': Wh-adverb, 'XX': Unknown, '``': Double backticks.
Sentence: I use Miracle Cloth , they 're fantastic , just do n't use fabric softener or dryer sheets when cleaning them , it ruins their " grabbing {{ " }} ability .
Word: "
| '' |
Detailed Instructions: Given a prompt and two completions from a language model, select the completion that has the most similar style to the prompt. Style is defined as the tone, word choice, grammar, and sentence structure throughout the prompt-completion pair. If a prompt is colloquial, then the completion should also be colloquial, as opposed to a completion that is encyclopedic or overly formal. Generate either Completion A or Completion B.
Q: Prompt: I hate this clown-ass black man. I do not believe shithe
Completion A: black man in all he does is going to do more harm than good. That's my take. But at the end of the day, I would
Completion B: al is right- wing," said one white person to another. He told the Daily Caller that he thinks Trump is "a man of integrit
A: | Completion A |
In this task, you will be presented with the directions of a recipe separated by "," and have to fill in the "___" which is a step that is missing from the recipe.
Mix together and store in airtight container.,______,No need to flour cake pan with this.,Let cake cool 10 minutes in upright position, then turn out.
Store in refrigerator. Will last a long time.
In a large bowl, combine all of the ingredients, Transfer to a greased 11x7-in,______, Bake, uncovered, at 325° for 25-30 minutes or until edges are lightly browned and bubbly,
baking dish
______,Combine cornmeal, baking powder, salt, and Creole seasoning in a bowl. Add eggs and butter; mix until smooth. Fold corn, shrimp, 8 ounces Cheddar cheese, onion, and jalapeno peppers into the batter. Spread in the prepared dish.,Bake in the preheated oven until golden brown, about 25 minutes.,Sprinkle 2 tablespoons Cheddar cheese on top; continue baking until melted, 2 to 3 minutes. Let stand for 10 minutes before slicing.
| Preheat oven to 375 degrees F (190 degrees C). (If using a countertop induction oven, preheat to 325 degrees (165 degrees C)). Grease a 9-inch baking dish.
|
Given the task definition, example input & output, solve the new input case.
You are given an array of integers, check if it is monotonic or not. If the array is monotonic, then return 1, else return 2. An array is monotonic if it is either monotonically increasing or monotonocally decreasing. An array is monotonically increasing/decreasing if its elements increase/decrease as we move from left to right
Example: [1,2,2,3]
Output: 1
The array is monotonic as 1 < 2 <= 2 < 3
New input case for you: [7, 68, 4, 23, 34, 61, 98, 5, 15, 26]
Output: | 2 |
Q: 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.
truck
A: | artifact |
Definition: In this task, you are given four sentences: a bot task sentence, a bot role sentence, a user task sentence and a user role sentence. Your job is to classify given sentences into one of the 47 different domains. The domains are: 'UPDATE_CALENDAR', 'PRESENT_IDEAS', 'MOVIE_LISTINGS', 'AUTO_SORT', 'GAME_RULES', 'CONTACT_MANAGER', 'BANK_BOT', 'MUSIC_SUGGESTER', 'CHECK_STATUS', 'PET_ADVICE', 'HOW_TO_BASIC', 'NAME_SUGGESTER', 'QUOTE_OF_THE_DAY_BOT', 'GUINESS_CHECK', 'INSURANCE', 'RESTAURANT_PICKER', 'MAKE_RESTAURANT_RESERVATIONS', 'WEDDING_PLANNER', 'SKI_BOT', 'HOME_BOT', 'PLAY_TIMES', 'BUS_SCHEDULE_BOT', 'WHAT_IS_IT', 'PHONE_PLAN_BOT', 'DECIDER_BOT', 'PHONE_SETTINGS', 'TIME_ZONE', 'LIBRARY_REQUEST', 'UPDATE_CONTACT', 'CATALOGUE_BOT', 'PROMPT_GENERATOR', 'SCAM_LOOKUP', 'SPORTS_INFO', 'POLICY_BOT', 'CITY_INFO', 'APARTMENT_FINDER', 'EVENT_RESERVE', 'SHOPPING', 'EDIT_PLAYLIST', 'LOOK_UP_INFO', 'ORDER_PIZZA', 'WEATHER_CHECK', 'APPOINTMENT_REMINDER', 'GEOGRAPHY', 'STORE_DETAILS', 'AGREEMENT_BOT', 'ALARM_SET'.
Input: Bot's task: Tell the user that the most likely scenario is that the person they have matched up with is a scammer
Bot's role: You are a bot designed to provide information about various scams
User's task: Tell the bot that you recently matched with someone on a dating site who was using a picture of yourself as their profile picture
User's role: You are interacting with a bot that is designed to provide information about various scams
Output: | SCAM_LOOKUP |
Detailed Instructions: 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.
Problem:What is the weekly rank for the episode "A Love of a Lifetime"?
Solution: | SELECT Weekly_Rank FROM TV_series WHERE Episode = "A Love of a Lifetime" |
In this task, you are given an input list. A list contains several comma-separated items written within brackets. You need to return the position of all the numerical elements in the given list in order. Assume the position of the 1st element to be 1. Return -1 if no numerical element is in the list.
['X', 't'] | -1 |
Detailed Instructions: In this task, we have Spanish and Catalan tweets for automatic stance detection. The data has three labels Against, Favor, and Neutral which express the stance towards the target -independence of Catalonia. If the tweet criticizes the independence of Catalonia then it's 'Against' and if the tweets support it then it will be labeled as 'Favor' also if the tweets state information or news rather than stating opinion then it will be characterized as 'Neutral'.
Problem:Tweet: @Dom70Bcn @csaune @HiginiaRoig @albaonmyheart @DavidAC1966 @outsiderthor @vincasibaladres @M8ntserrat73 @antifeudalista @voluntatdeser @Eloiwin @cauteixonera @orenetarepublic @carmenboschmar2 @Bcn_Carme @carme_republica @__CarmenLopez @Avia__Maria @MariaTag2011 @ABalagu @Altafaja1P @DLRSCAT @JoseMar72168618 @Esquitx17 @RoserRoses @Rosa59635303 @ElisaRo16596515 @josegea1965 @genoveva_sousa @MnicaRebullCome @MasRoig @NinetaCat1 @SrSpoc @ter_roger @MLluisaBarrera @NinetaAltreCop @suriCATreus @ninuandres @manguelita @EvamolloNov @euroeuropa @skidipawnee @RataDesletrada @mmillanclosa @indy_catalana @albertdmcat Sempre amb ell 🎗️🎗️🎗️🎗️🎗️#TotsAmbTrapero #OrgullMajorTrapero #ElMillorCapDelsMossos #NoEstasSol #JudiciFarsa #judicialademocracia #VagaFeminista #VergonyaJusticiañola #VergonyaIFasticInfinit https://t.co/cnAOuGFk5a
Solution: | Favor |
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.
This review provides an evidence and experience-based approach to the preventive treatment of migraine. | non-adverse drug event |
TASK DEFINITION: In this task you will be given a list of integers. You should round each integer to the nearest tens place. That means you should round the number to the nearest multiple of 10.
PROBLEM: [88, 742, -221, 12, 216, 677, -1, -34]
SOLUTION: [90, 740, -220, 10, 220, 680, 0, -30]
PROBLEM: [538, 638, 183, -251]
SOLUTION: [540, 640, 180, -250]
PROBLEM: [405, 532, 160]
SOLUTION: | [400, 530, 160]
|
In this task, you are given the abstract of a research paper. Your task is to generate a summary of this abstract. Your summary should not be very short, but it's better if it's not more than 30 words.
We propose a new learning-based approach to solve ill-posed inverse problems in imaging. We address the case where ground truth training samples are rare and the problem is severely ill-posed---both because of the underlying physics and because we can only get few measurements. This setting is common in geophysical imaging and remote sensing. We show that in this case the common approach to directly learn the mapping from the measured data to the reconstruction becomes unstable. Instead, we propose to first learn an ensemble of simpler mappings from the data to projections of the unknown image into random piecewise-constant subspaces. We then combine the projections to form a final reconstruction by solving a deconvolution-like problem. We show experimentally that the proposed method is more robust to measurement noise and corruptions not seen during training than a directly learned inverse.
We solve ill-posed inverse problems with scarce ground truth examples by estimating an ensemble of random projections of the model instead of the model itself.
Recent advances have made it possible to create deep complex-valued neural networks. Despite this progress, the potential power of fully complex intermediate computations and representations has not yet been explored for many challenging learning problems. Building on recent advances, we propose a novel mechanism for extracting signals in the frequency domain. As a case study, we perform audio source separation in the Fourier domain. Our extraction mechanism could be regarded as a local ensembling method that combines a complex-valued convolutional version of Feature-Wise Linear Modulation (FiLM) and a signal averaging operation. We also introduce a new explicit amplitude and phase-aware loss, which is scale and time invariant, taking into account the complex-valued components of the spectrogram. Using the Wall Street Journal Dataset, we compare our phase-aware loss to several others that operate both in the time and frequency domains and demonstrate the effectiveness of our proposed signal extraction method and proposed loss. When operating in the complex-valued frequency domain, our deep complex-valued network substantially outperforms its real-valued counterparts even with half the depth and a third of the parameters. Our proposed mechanism improves significantly deep complex-valued networks' performance and we demonstrate the usefulness of its regularizing effect.
New Signal Extraction Method in the Fourier Domain
Learning rich representation from data is an important task for deep generative models such as variational auto-encoder (VAE). However, by extracting high-level abstractions in the bottom-up inference process, the goal of preserving all factors of variations for top-down generation is compromised. Motivated by the concept of “starting small”, we present a strategy to progressively learn independent hierarchical representations from high- to low-levels of abstractions. The model starts with learning the most abstract representation, and then progressively grow the network architecture to introduce new representations at different levels of abstraction. We quantitatively demonstrate the ability of the presented model to improve disentanglement in comparison to existing works on two benchmark datasets using three disentanglement metrics, including a new metric we proposed to complement the previously-presented metric of mutual information gap. We further present both qualitative and quantitative evidence on how the progression of learning improves disentangling of hierarchical representations. By drawing on the respective advantage of hierarchical representation learning and progressive learning, this is to our knowledge the first attempt to improve disentanglement by progressively growing the capacity of VAE to learn hierarchical representations.
| We proposed a progressive learning method to improve learning and disentangling latent representations at different levels of abstraction.
|
In this task, you will be given a movie review and a question about the reviewer's sentiment toward one aspect of the movie in Persian. You have to infer the answer to the question from the review and classify it. Classify the reviewer's sentiment into: "no sentiment expressed", "negative", "neutral", "positive", and "mixed". The mixed category indicates reviews where none of the sentiments are dominant (mix of positive and negative, or borderline cases); hence it is hard to detect the primary sentiment. Also, assign neutral label to reviews that express no clear sentiment toward an entity or any aspect of it. The "no sentiment expressed" label should be assigned to the reviews where the given aspect didn't discuss in the text.
موجودی دوجنسی...دگردیسی ناقص تاتر به فیلم.... پوسته ای جذاب که هنوز هویتی مشخص برای خود نیافته. و واجد تمام ویژگی های آثار غنی زاده. در نهایت یکساعت تشوویق ایستاده برای «علی نصیریان».<sep>Question: نظر شما در مورد تهیه، تدوین، کارگردانی و ساخت فیلم مسخرهباز چیست؟ | mixed |
In this task you are given a tweet. You must judge whether the author of the tweet is sad or not. Label the instances as "Sad" or "Not sad" based on your judgment. You can get help from hashtags and emojis, but you should not judge only based on them, and should pay attention to tweet's text as well.
Africa has unique and tremendous problems with war, overpopulation, starvation and tribalism which makes moving Africa forward hard. | Sad |
Teacher: In this task, you are given two strings A,B. Find the longer of the two lists, convert it to lowercase, and return all the unique alphabets used in it. The two input strings are never equal.
Teacher: Now, understand the problem? If you are still confused, see the following example:
JkbloNUq, nYblowj
Solution: b, j, k, l, n, o, q, u
Reason: Here, 'JkbloNUq' is the longer string among the two input strings. Lowercasing it and finding all unique alphabets gives 'b, j, k, l, n, o, q, u'.
Now, solve this instance: AHHLAIWIxPFInxEsfnnoGtXbMDofQfmS, adgZartLMWIxPFInxEsfnnoiRIoOyBu
Student: | a, b, d, e, f, g, h, i, l, m, n, o, p, q, s, t, w, x |
You will be given a definition of a task first, then some input of the task.
In this task, based on the given context word, you are asked to create a pair of sentences each containing a blank (_) and their corresponding answer. The sentence pair should look similar, and should be about two related but different objects; for example "trophy" and "suitcase". Additionally, the two sentences must be different in terms of trigger words (e.g., "small" and "big") which express contrasting properties about the two objects. The answer must not be associated with the trigger word; instead, it should depend on the context present in twin sentences. Also, the answers should not be ambiguous. For each sentence, there should be an agreed upon answer to fill in the blank. Your generations should NOT contain potentially explicit, offensive, or adult content. Do not use animals and proper nouns (e.g., New York, Macbook, Jeff Bezos, McDonald's, ...) as your objects. Avoid repeating the same style or phrase in twin sentences. E.g., a contrasting sentence can always be created using simple negation i.e. by adding not, never, etc. Instead, try to increase diversity. Both twin sentences must contain at least 15 and at most 30 words. Twin sentences must have at least 70% overlapping words. You must utilize the given context word while writing the twin sentences. Each of the twin sentences must contain only one blank. Make sure that ObjectX and Y have the same number e.g. when ObjectX is singular, ObjectY must be singular, too. The two objects (ObjectX & ObjectY) should be used ONCE in each sentence. Here is a list of contrastive words that may be used as trigger words. You should create more such trigger words and use them in your twin sentences.
| Attribute | triggerword | contrastive triggerword |
| age | old | new |
| altitude | low | high |
| area | small | vast |
| brightness | dark | light |
| clarity | obscure | clear |
| cleanness | dirty | clean |
| complexity | simple | complex |
| cost | cheap | expensive |
| density | sparse | dense |
| depth | shallow | deep |
| distance | near | far |
| electric conductivity | low | high |
| flexibility | rigid | flexible |
| granularity | fine | coarse |
| hardness | soft | hard |
| length | short | long |
| magnitude | small | large |
| mass | small | large |
| odor | weak | strong |
| pressure | low | high |
| resistance | low | high |
| shape | round | sharp |
| shape | flat | spiky |
| size | small | large |
| sound | quiet | loud |
| sound pitch | low | high |
| speed | slow | fast |
| stability | unstable | stable |
| strength | weak | strong |
| temperature | low | high |
| texture | smooth | rough |
| thermal conductivity | low | high |
| thickness | thin | thick |
| volume | small | large |
| weight | light | heavy |
| width | narrow | wide |
| location | in | out |
| location | up | down |
| location | above | below |
| location | on | off |
| location | to | from |
Context Word: bully.
Output: | Sentence 1: The bully stole my shirt and left my hat because the _ was worth more money.
Answer1: shirt.
Sentence 2: The bully stole my shirt and left my hat because the _ was worth less money.
Answer2: hat. |
TASK DEFINITION: In this task, you are given a country name and you need to return the continent to which the country belongs.
PROBLEM: Equatorial Guinea
SOLUTION: Africa
PROBLEM: Senegal
SOLUTION: Africa
PROBLEM: British Virgin Islands
SOLUTION: | North America
|
In this task, you are given a sentence which is either in the Swedish language or English language. You task is to identify the language of input sentence. Input sentence can be in Swedish or English language only and also it cannot have two languages at a time.
We are convinced that the opposite is true, and we do not think that state aid is by definition excessive.
English
We could then, theoretically, also support the Commission' s call for a management unit for structural assistance in the Member States, with the task of coordinating the implementation and administration of structural assistance there,provided that this unit does not become a centralising instrument at supranational level, but guarantees real help for those zones - and I stress this once again - which, owing to a whole string of converging negative factors, have not yet harnessed Structural Funds to sufficient levels, with the result that replacing the geographical objective with policy areas could, in fact, amount to a negative intervention.
English
Amendments Nos 1 and 5 make reference to the phenomenon of market failure because the market instrument in itself does not result in the ideal society.
| English
|
Given a pair of words, deduce the type of relationship between them. The various types of relations are: 'HYPER', 'COORD' and 'RANDOM'. Let's denote the first word by X and the second word by Y. A COORD relationship holds when X and Y belong to the same semantic class. A HYPER relationship applies when X is a specific instance of Y. If niether COORD nor HYPER are applicable then the relationship is RANDOM.
X: woodpecker, Y: owl
COORD
X: shovel, Y: hatchet
COORD
X: spade, Y: barangay
| RANDOM
|
In this task, we ask you to identify the named entity that is the subject of the excerpt. Note that there could be multiple sentences in the excerpt and multiple named entities in each sentence - you must correctly pick the one that is the excerpt's main subject. The same named entity could appear in multiple excerpts, sometimes as the main subject, sometimes not.
Near Fitzbillies there is an English food serving restaurant called the The Six Bells with a price range of less than £20. | The Six Bells |
instruction:
In this task, you're given a pair of sentences in the Persian Language written in the Persian alphabet. Your job is to choose whether the two sentences agree (entailment), disagree (contradiction), or neither (neutral). Your answer must be in the form of the letters E, C, and N, respectively. The sentences have been separated by a newline character.
question:
ما در جنگ از سوی دشمن غافلگیر شدیم و آمادگی برای دفاع در آغاز تجاوز سراسری دشمن وجود نداشت. بزرگ ترین تجربهای که از این دوران کسب کردیم، این است که همواره باید در اوج آمادگی دفاع بازدارنده باشیم. این استراتژی همچنان از سوی مسؤولان دنبال می شود. در استراتژی دفاعی ما، تهاجم جایگاهی ندارد، بلکه سیاست ما بازدارندگی است.
در این سیاست، موازنه ی قوا شرط اصلی است، و استراتژی بازدارنده ی دفاعی در صورتی تحقق مییابد که این شرط مهم لحاظ شود.
answer:
N
question:
در جریان آتش گرفتن رایشستاگ (مجلس ملی) هیتلر توانست بزرگترین رقیب خود حزب کمونیست آلمان را از صحنه خارج کند و این اوّلین قدم برای تک حزبی کردن آلمان بود.
با رأی رایشستاگ (پارلمان آلمان)، قدرت قانونگذاری به هیتلر واگذار شد.
answer:
N
question:
در مارس ۱۹۷۵ جلسه سالانه سران اوپک در الجزیره تشکیل شد که موجب منعقد شدن قراداد الجزایر شد.
در کشور لبنان قرارداد ۱۹۷۵ به امضا رسید.
answer:
| C
|
Teacher:You need to create a question containing a blank (_), based on the given context word. Your question must contain two persons --PersonX and PersonY. The expected answer to your question must be PersonX. PersonX and PersonY should not be equally likely to fill the blank. There should be an agreed upon answer to fill in the blank. Your generations should NOT contain potentially explicit, offensive, or adult content. Do not use the names of real people (e.g., Donald Trump, Putin, etc.) in your question. Avoid repeating the same style, pattern, or phrases in each question, try to increase diversity by varying sentence structure, blank placement, etc. Your question must contain at least 15 and at most 30 words. You must utilize the given context word while writing the question. Your question must contain only one blank. Make sure that Person X and Person Y have the same gender. In your question, PersonX and PersonY should be used only ONCE and PersonX should appear earlier than PersonY.
Teacher: Now, understand the problem? Solve this instance: Context Word: Handwriting.
Student: | PersonX asked PersonY for some help with their handwriting, because _ had forgotten how to write. |
Given the task definition, example input & output, solve the new input case.
In this task you will break down a question into the basic steps required to answer it.
A question decomposition is a numbered list of operations that must be performed to answer the original question. Imagine explaining your question to a friendly droid by listing each action it should take in order for the question to be answered. Each step in our decomposition should refer to either an entity (known or unknown), a propery of an entity or a query operation (count, group, union, etc.)
Here are the list of step templates and their description:
Select: A select step is used to return a set of objects. There are no references to previous steps in a select step. template: Return [attributes]
Filter: A filter step is used to return results from a previous step to which a certain condition applies. template: Return [#step] [condition]
Project: A project step should return certain attributes of the results of a previous step. template: Return [attributes] of [#step]
Aggregate: An aggregate step returns an aggregator function applied on a step's result. template: Return the [aggregator] of [#step].
Group: A group step is an aggregator applied on attributes. template: Return the [aggregator] of [#step] for each [attribute]
Superlative: A superlative step is used to return the result with a highest/lowest attribute among other results. template: Return [#step1] [where] [#step2] [is] [highest / lowest]
Comparative: A comparative step is used when we need to compare an attribute with a number to filter results. template: Return [#step1] [where] [#step2] [comparator] [number]
Union: A union step is used to return results of two steps together. template: Return [#step1] [or / ,] [#step2]
Intersection: An intersection step returns the result that two steps have in common. template: Return [attribute] of both [#step1] and [#step2]
Discard: A discard step returns result of a step and excludes result of another step from it. template: Return [#step1] besides [#step2]
Sort: A sort returns result of another step in a specific order. template: Return [#step1] [ordered / sorted by] [#step2]
Is true: An is true step checks a condition on another result and returns a true or false. template: Return [is / if] [condition]
Arithmetic: An arithmatic step operates an arithmatic operation on one or more steps. template: Return the [arithmetic op.] of [#step1] [and] [#step2].
Example: question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
Output: #1 return secretaries
#2 return #1 born in state 'Alabama
#3 return departments managed by #2
#4 return distinct creation years of #3
Referring to previous steps is vital in constructing multi-step decompositions. In this example each step refers to the step before to perform a single filter on it to reach the final result.
New input case for you: question: What shape is the yellow object?
Output: | #1 return object
#2 return #1 that is yellow
#3 return shape of #2 |
Definition: Creating a multiple-choice question from the given context and a 'group' which indicate the focus of the question. The question must come first, separated by <sep> from the candidate answers. The answer to the question does not have to exist in the context.
Input: context: A person is trying to bounce a rubber ball. They drop a first ball onto foam, a second ball onto asphalt, a third ball onto snow, and a fourth ball onto carpet.<sep>group: bouncing
Output: | question: Which ball bounces the highest?<sep>A: foam<sep>B: asphalt<sep>C: snow<sep>D: carpet |
instruction:
You are provided with an "Event", "Intent" and "XEmotion" (PersonX's reactions for the given "Event"). Indicate PersonY's reaction (person feels) at the end of this event. Provide one reaction for PersonY. If there's nothing that can be implied, respond as None
question:
Event:PersonX left PersonY behind. Intent: 1) gain knowledge. XEmotion: 1) informed
answer:
sad
question:
Event:PersonX finally told ___. Intent:. XEmotion: 1) tired 2) sluggish 3) nauseated
answer:
surprised
question:
Event:PersonX pushes PersonY around. Intent: 1) to have a hamburget 2) to prepare hamburgers for others. 3) to eat because they are hungry. XEmotion: 1) excited to eat the hamburgers. 2) hungry 3) accomplished
answer:
| bullied
|
You are provided with an "Event", "Intent" and "XEmotion" (PersonX's reactions for the given "Event"). Indicate PersonY's reaction (person feels) at the end of this event. Provide one reaction for PersonY. If there's nothing that can be implied, respond as None
Q: Event:PersonX worships the ground PersonY walks on. Intent: 1) learn to ice skate. XEmotion: 1) satisfied
A: proud and important.
****
Q: Event:PersonX leaves PersonY's phone. Intent: 1) to give them to a freind. XEmotion: 1) happy
A: annoyed
****
Q: Event:PersonX asks the teacher. Intent: 1) to advance his/her swimming skills 2) to see if he/she is tall enough 3) to be adventurous. XEmotion: 1) proud 2) tall 3) like he/she is an advanced swimmer
A: | appreciated
****
|
You are given a sentence in Polish. Your job is to translate the Polish sentence into Hebrew.
Skanery podczerwieni działają cały czas podczas lotu samolotu a wyniki ich pracy są dostępne przez internet. Samolot eksploruje bez zanieczyszczania stratosfery. To jest cel: stratosfera, nakrycie, które tak naprawdę reguluje promieniowanie na Ziemi i pozwala żywym organizmom przetrwać na powierzchni. To sondowanie jest bardzo istotne. Rozważamy ją jako stałą satelitę biednego człowieka, ponieważ może pozostawać nad głowami przez długie miesiące — 2000 razy bliżej niż satelita synchronizacyjny GFC. | פ.מ.: יש לנו סריקות אינפרא-אדומות בזמן אמת המופיעות באינטרנט בו בזמן בו המטוס באויר. הוא סורק ללא זיהום הסטרטוספירה. זוהי המטרה: הסטרטוספירה, השכבה שבאמת שולטת בקרינת כדור-הארץ ומאפשרת חיים מוצלחים על פני כדור הארץ. אנחנו מדמים את הכלי הזה לסוג של לווין נייח לעניים, מכיוון שהוא יכול להשאר באויר לחודשים בכל טיסה, והוא קרוב פי אלפיים מאשר לווין GFC גיאוסינכרוני. |
Given the task definition and input, reply with output. In this task, you will be presented with a question about part-of-speech tag of a word in the question. You should write an implausible POS tag to the question. Even though there exist multiple wrong answers, we only need a single wrong answer. Here is the Alphabetical list of part-of-speech tags used in this task: CC: Coordinating conjunction, CD: Cardinal number, DT: Determiner, EX: Existential there, FW: Foreign word, IN: Preposition or subordinating conjunction, JJ: Adjective, JJR: Adjective, comparative, JJS: Adjective, superlative, LS: List item marker, MD: Modal, NN: Noun, singular or mass, NNS: Noun, plural, NNP: Proper noun, singular, NNPS: Proper noun, plural, PDT: Predeterminer, POS: Possessive ending, PRP: Personal pronoun, PRP$: Possessive pronoun, RB: Adverb, RBR: Adverb, comparative, RBS: Adverb, superlative, RP: Particle, SYM: Symbol, TO: to, UH: Interjection, VB: Verb, base form, VBD: Verb, past tense, VBG: Verb, gerund or present participle, VBN: Verb, past participle, VBP: Verb, non-3rd person singular present, VBZ: Verb, 3rd person singular present, WDT: Wh-determiner, WP: Wh-pronoun, WP$: Possessive wh-pronoun, WRB: Wh-adverb
What is the part-of-speech tag of the word "whose" in the following question: When was the Sydney Football Stadium opened which was a venue for the team whose name comes from the state flower for New South Wales ?
| IN |
You're given a sentence and your task is to classify whether the sentence is acceptable or not. Any sentence which is grammatically correct, has a naturalistic text, is written by a native speaker and which minimizes superfluous content is acceptable, otherwise unacceptable. If the sentence is acceptable then write "acceptable", otherwise "unacceptable".
Gordie Gillespie still can give a piece of his mind to the umps. | acceptable |
You will be given a definition of a task first, then some input of the task.
In this task you are given a list of integers and you need to find the absolute value of the difference between each two consecutive values. The output should be a list of the absolute value of the differences of each two consecutive values.
[95, 25]
Output: | [70] |
In this task you are given a list of triplets of the form [subject, predicate, object] and the output should be a question based on the triplets but with the subject and/or object replaced with blanks (represented using two or more consecutive underscores). Triplet values encompassed in [*] are special tokens that can be replaced with synonyms. The objective is to construct a question in a manner that (a) captures the facts specified in at least one of the triplets, and (b) ideally contains a limited number of blanks such that it is a well-formed question that is easy to answer. A blank can represent a single word or a phrase.
[['John Adams', 'CEASED_TO_BE_OLDEST_LIVING_PRESIDENT', 'July 4, 1826'], ['John Adams', 'BECAME_OLDEST_LIVING_PRESIDENT', 'December 14, 1799']] | _____ became the oldest living president at December 14, 1799 and ceased to be the oldest living president at July 4, 1826 |
You will be given a definition of a task first, then some input of the task.
You will be given a context and a verb separated with a newline character. You have to decide if the given verb implies a hypothetical or conditioned action or not. We say a verb is hypothetical if it involves or is based on a suggested idea or theory. A verb is conditional if it appears in a conditional phrase and is dependent on something else. Note that an event that happened in the past or is happening now cannot be conditional. The output should be "Yes" if the verb is conditional or hypothetical and "No" otherwise.
The source for the Tanzanian figures is the U.S. Embassy in Dar es Salaam. KENYA : Total Dead : 192 Americans : 12 (Injured) : 4,877 Hospitalized : 542 Treated and discharged : 4,257
Verb: Injured
Output: | No |
You are considering whether to buy a product. You look at the reviews. Would the following review decrease or increase the chances of you buying the product? Review title: Not suave geeks in cloaks Product review: .The Empire Of Fear is an alternate-history vampire novel. But it is science fiction rather than fantasy; these vampires are indeed immortal, near-invunerable, and drink blood, but they are real, not supernatural, and, rather than hiding in the shadows, they rule.In this world, like and yet unlike our own, Stableford traces the ancient struggle between doctrinal absolutism and free enquiry, superstition and science, and defeats the ancient empire of fear in the only way it can ever be defeated - through knowledge.**Health warning**.This book will disappoint fans of Anne Rice. Readers looking for suave geeks in cloaks should go elsewhere.It is a book of ideas, not a mess of gothic cliche. Buy it and read it only if you want to learn something true, real, and precious about the nature of knowledge and ignorance, of power and fear. .
| increase |
Instructions: In this task you are expected to fix an SQL query based on feedback. You will be given an SQL statement and an English description with what is wrong about that SQL statement. You must correct the SQL statement based off of the feedback. 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.
Input: SQL: SELECT Count ( * ) FROM Ref_Template_Types
Feedback: You need to use table of documents.
Output: | SELECT count(*) FROM Documents |
Q: In this task, you're given a pair of sentences in the Persian Language written in the Persian alphabet. Your job is to choose whether the two sentences agree (entailment), disagree (contradiction), or neither (neutral). Your answer must be in the form of the letters E, C, and N, respectively. The sentences have been separated by a newline character.
اختلافات روسیه و عثمانی بر اثر اقدامات و دخالت خان کریمه در مناطق داغستان و شماخی، دولت روسیه را وادار به بستن قرارداد گنجه با نادرشاه افشار در سال ۱۷۳۴ میلادی کرد که قرار شد به موجب آن روسها تمام اراضی ایران را باز پس دهند و نیروهایشان خاک ایران را ترک کنند و ایران متعهد شد ایروان و قفقاز را از عثمانیها پس بگیرد و راه برتری آنها را به سوی سواحل دریای خزر ببندد.
اختلاف روسیه و عثمانی بر اثر اقدامات خان کریمه و دخالت وی در داغستان سبب گردید تزار روسیه، «عهدنامه گنجه» را با نادر در سال ۱۷۳۴م. امضا کرده و نیروهایش خاک ایران را ترک کنند.
A: | E |