instruction stringlengths 17 194 | input stringlengths 0 471 | output stringlengths 1 1.56k |
|---|---|---|
Generate a simple react component structure | import React from 'react';
const MyComponent = () => {
return (
<div>
<h1>My Component</h1>
<p>Content goes here.</p>
</div>
)
};
export default MyComponent; | |
Generate a creative Halloween costume idea. | A creative Halloween costume idea would be to dress up as a mad scientist, complete with a white lab coat and wild, flyaway hair. Accessories could include (fake) test tubes, jars filled with mysterious liquids and ingredients, and beakers filled with bubbling potions. | |
You are asked to tell a story about a chosen topic. | Topic: Going to the Park | It was a beautiful summer day and I decided to go to the park with my friends. We brought a picnic basket full of food and sat down on a blanket under a shady tree. We chatted and laughed while we enjoyed the food and the sunshine. When we were done, we started playing some fun outdoor games. We tossed a Frisbee around... |
Which major river runs through Egypt? | The major river that runs through Egypt is the Nile River. | |
Reverse-engineer this code so that it processes a given input. | """
def process_input(data):
result = ''
# Process the data
return result
""" | """
def process_input(data):
result = ''
for char in data:
result += char.upper()
return result
""" |
Answer the question - What is the difference between a private key and a public key? | A private key is a piece of data belonging to an individual user or a service, which is used to authenticate and access secure data. It is kept secret and should not be shared with anyone. A public key, on the other hand, is a piece of information that can be shared publicly and that is used to encrypt information sent... | |
Provide an example of a slogan for a social media app. | "Connect, Interact, and Create with (App Name)!” | |
Explain the concept of fractional reserve banking in a few sentences. | Fractional reserve banking is a system whereby banks maintain a reserve of only a fraction of the total deposits made by customers. This means that the bank is able to form loans from the deposited funds and expand the money available in the economy, while still maintaining customer deposits. This system of banking was... | |
Identify the theme of the following book. | The book is about a small town in the Midwest and how people respond to a series of tragedies and unexpected events that shake their lives. | The theme of the book is resilience in the face of unexpected tragedy, and how the people of a small town come together to overcome difficult times. |
Generate a story starter given this scenario. | The dark, silent forest had been filled with rumors lately. | Lately, it seemed as if every corner of the dark, silent forest contained some new and mysterious rumor. From the stories of the strange happenings around the bend in the creek, to the whispers of an unknown creature haunting the path ahead, no one could agree on the truth. But when Luke decided to embark on a journey ... |
Generate a poem with 10 lines. | The evening light shimmers on the shore
Softly the waves echoes around and more
As I bask in the sun, my worries are all gone
The sound of seagulls I now foolishly ignore
Glistening sand, beckons me with a silent plea
Glistening seawater, cool to the touch and refreshingly free
The evening brings peace, yet I can't... | |
Categorize the following data points. | Lion, Tiger, Leopard | Mammals. |
What is the probable cause of this symptom | Severe chest pain | The probable cause of this symptom could be a heart attack, pulmonary embolism, pneumonia, or pleurisy. |
Describe the moon in a poetic way. | The moon rises in silent grace,
Its face forever everchanging,
Shifting shapes upon the night sky,
A canvas of beauty that enchants.
Bathing us in its ethereal light,
Lingering to keep us company
In the tranquil darkness of night.
A symbol of eternal friendship,
A reminder of hope, dream and wonder. | |
Come up with a list of five items related to a camping trip. | Noinput | List of items for camping trip:
1. Tent
2. Sleeping bag
3. Camping stove
4. Flashlight
5. First-aid kit |
Break the given cipher and tell me what it says. | QWAHU PMVXU VH JJIVA | This code translates to "Hello World". |
Identify the differences between coffee and tea. | The main differences between coffee and tea are the type of plant used to make them. Coffee is made from coffee beans, which are the seeds of the coffee plant, and tea is made from the Camellia sinensis plant. Coffee also typically has more caffeine than tea, and coffee is usually stronger and more intense in flavor. O... | |
Give an example that fits the following definition. | A micronation is a country or state that is not recognized by any other country. | The Principality of Sealand is an example of a micronation as it is not recognized by any other country. |
Suggest a response when someone says that they have no idea what to do with their life. | That can be a difficult feeling, but it can also be a great opportunity for growth and exploration. There are lots of ways to figure out what makes you happy and what career you might pursue. You can try taking online assessments and personality tests, reaching out to mentors and advisors in the field, joining a career... | |
Find a specific product or service that uses AI. | Amazon's Alexa is a prime example of a product or service that uses artificial intelligence. Alexa uses a combination of AI algorithms and natural language understanding to interpret user queries, then provide an appropriate response or action. Alexa can answer questions, provide playlists, and control compatible devic... | |
Describe the similarities between two concepts. | The differences between private and public schools | Both private and public schools provide educational services to students, where teachers, faculty and staff strive to give the best educational experience for their students. Both types of schools have programs that include core curriculum to provide a basis of knowledge and understanding. Most schools in both categori... |
What are some of the best television shows of all time? | Some of the best television shows of all time include The Sopranos, Breaking Bad, The West Wing, Arrested Development, Seinfeld, The Wire, Friends, Game of Thrones, The Simpsons, Mad Men, The Office, Twin Peaks, Scrubs, The X-Files, M*A*S*H, The Twilight Zone, Frasier, Cheers, I Love Lucy, and The Fresh Prince of Bel-A... | |
Create a description of a fictional character | No input | Olivia was a tall woman with bright green eyes, loose curls of honey-brown hair and a pale complexion. She had a gentle, yet determined, personality and was fiercely loyal to her friends. She loved exploring the outdoors and writing stories in her free time. Olivia had a knack for seeing the good in everyone and she al... |
Describe the concept of natural language processing. | Natural Language Processing (NLP) is the ability for computers to understand and process human language. It uses linguistics, computer science, and artificial intelligence to analyze and interpret written or spoken human language in order to extract meaning and perform tasks. It can be used to detect intent, classify t... | |
Arrange these word in alphabetical order: "baked, zebra, river". | Baked, River, Zebra. | |
Generate an analogy that compares two related concepts. | Thinking is to ideas as swimming is to waves. | |
Given the two terms, decide which one has the higher value. | Velocity vs. Acceleration | Velocity has a higher value than acceleration. |
Compare the two different approaches to solving the problem | Approach A: focus on the individual level.
Approach B: focus on the systems level. | Approach A focuses on empowering and educating individual change-makers, while Approach B seeks to create meaningful change through a combination of technological, economic, and policy changes that are implemented on a larger scale. |
Update the number in the cell. | The cell in the spreadsheet contains the number "3". | The cell has been updated to contain the number "4". |
Given a list of books, rate them on a five star scale | Dracula, Dune, Jane Eyre | Dracula: 4 stars
Dune: 5 stars
Jane Eyre: 4.5 stars |
Arrange a meeting with a potential client. | The potential client's name is John Smith and he is the manager at XYZ Company. | Hello John Smith,
I am hoping to arrange a meeting with you to discuss how our services can be beneficial to your company, XYZ Company. What date and time would work best for you?
Thank you,
[Your Name] |
Generate a sentence suitable for the given passage. | The sun had set and the stars were starting to come out. | The night sky was twinkling with stars, making it a beautiful evening. |
Name five medicinal plants widely used in Ayurveda. | The five medicinal plants widely used in Ayurveda are Ashwagandha, Turmeric, Neem, Aloe Vera, and Guduchi. These plants are known for their healing properties, aiding in treating ailments such as digestive disorders, skin diseases, diabetes, and other conditions. | |
Rewrite the following sentence correctly using a possessive noun | The homestanding teams victory | The home team's victory. |
Explain the concept of a linear regression model using simple language. | A linear regression model is a type of machine learning model that can be used to predict or estimate the value of a continuous numerical variable from a set of input variables. In this model, a line is fitted to a set of data points such that the sum of the squared distance of the data points from the line is minimize... | |
Remove the adverb from the sentence and make the sentence more concise. | She quickly ran to the store. | She ran to the store. |
Summarize this piece of information: | Dogs are mammals and they are related to wolves. | Dogs are a species of mammal related to wolves, and can trace their ancestry back to a common ancestor. |
Analyze the following sentence and identify the verb and its tense. | She played the piano. | Verb: Played
Tense: Past |
Write a script that asks the user to enter their name. | name = input("What is your name? ")
print("Hello " + name + ", nice to meet you!") | |
Compare the two characters in the book. | Book: The Great Gatsby
Characters: Gatsby and Tom | Gatsby and Tom are similar in that they are both wealthy, powerful men, but they differ in the way they use their resources. Gatsby is a self-made man who earns his wealth through hard work, while Tom is an old-money elite who uses his status and power to control people. Gatsby is more idealistic and romantic, whereas ... |
Make a list of 3 possible causes of the blackouts. | Possible causes of the blackouts are:
1. Overloaded power grid
2. Faulty wiring
3. (Damaged/poorly maintained) power plant/infrastructure | |
Describe the sky in three words. | Blue, vast, clear. | |
Edit this sentence to make it more succinct without losing meaning: "The game was a crushing defeat despite the fact that the team had been training for weeks." | The team's weeks of training yielded a crushing defeat. | |
Re-write this sentence using an active voice. | The boat was crashed by the captain. | The captain crashed the boat. |
Add animations to the following program. | Menu -
1. Add
2. Subtract
3. Quit | Menu -
1. Add <span class="anim-grow">[+] </span>
2. Subtract <span class="anim-shrink">[-] </span>
3. Quit <span class="anim-exit">[X] </span> |
Translate this phrase into another language. | Let's get started. | Vamos empezar. (Spanish) |
Classify the given input as either a poem, story, or song. | Once upon a midnight dreary, while I pondered, weak and weary. | Poem |
Identify the key steps to go through when making a presentation. | The key steps to making a presentation are to plan and research the content, craft an outline, create and organize visuals, practice, and deliver the presentation. | |
Sort the following three items in the order of highest to lowest. | Apple, Banana, Orange | Apple, Orange, Banana |
Explain why democracy is a good form of government. | Democracy is a good form of government because it gives its citizens the power to select their leaders, rather than leaving it to a small ruling elite. This ensures that every voice is heard and every person has a say in how their country is run. Democracy also allows for fair elections and peaceful transitions of powe... | |
Write a brief biography of Marie Curie | Marie Curie was a Polish-born French physicist and chemist who is known for her pioneering research in radioactivity. She discovered two new elements, radium and polonium, and became the first Nobel Prize winner in physics and the first female professor at the University of Paris. In addition to her scientific accompli... | |
What is the average size of a baby oak tree? | A baby oak tree is typically between one and two feet tall, though some species may be higher or lower. The width of the baby oak tree is usually 8 to 10 inches in diameter. It can take more than 20 years for some oak trees to reach their full size. | |
Correct this sentence: "It's raining very hardly outside". | It's raining very hard outside. | |
Name three mammals that are native to the Amazon Rainforest. | Three mammals native to the Amazon Rainforest include the jaguar, the South American tapir, and the capybara. | |
Tell me a riddle. | What has a face and two hands but no arms or legs?
A clock. | |
Express this sentiment more positively. | I'm too tired to do anything productive today. | I'm taking some time to rest and recharge so that I can be productive tomorrow. |
Given a sentence, remove any unnecessary filler words and shorten it to 4 words | I like to go for leisurely walks whenever it's nice out | I go for walks when nice. |
Who are some major figures in the fashion industry? | Some major figures in the fashion industry include Coco Chanel, Karl Lagerfeld, Alexander McQueen, Vivienne Westwood, Donatella Versace, and Christian Louboutin. These designers have all had an immense impact on fashion over the last century, and their work remains an inspiration today. | |
Given two animals, say what traits they share. | Lion and Leopard | Lions and leopards are both members of the Felidae family, they both are carnivores, they both have tawny/golden fur, and they both have spots and stripes on their fur. |
Write a detailed definition of “Internet of Things (IoT)” | The Internet of Things (IoT) is an interconnection of physical devices, vehicles, buildings and other objects with built-in electronics, sensors and software that enable these objects to interact with each other and exchange data over the Internet. IoT offers connectivity to everyday objects and enables them to receive... | |
Given a recipe, change the number of servings from 8 to 4. | 8 large eggs | 4 large eggs. |
Describe the type of resolution used in a 4K monitor. | A 4K monitor has a horizontal resolution of approximately 4000 pixels and a vertical resolution of approximately 2160 pixels, providing a total resolution of 8,294,400 pixels. | |
Given a string, find the longest palindromic substring. Output should be the longest palindromic substring. | "aabbacdbabefg" | aba |
Write a short story about a person living during a pandemic. | Romy was a typical teenager in most ways; she listened to music, liked playing video games, and got up to mischief. But during the pandemic, she had to find ways to cope with the constant fear of being infected. Despite all of the challenges, Romy kept her optimism and maintained a healthy lifestyle by taking long walk... | |
What are the best tips for writing efficient SQL queries? | The best tips for writing efficient SQL queries include using indexes to identify rows quickly, using proper joins instead of subqueries, using aggregate functions instead of multiple queries, avoiding wildcards at the beginning of a search criteria, and avoiding unnecessary columns in the query. Additionally, query op... | |
Write a business email asking for a raise. | Subject: Request for a Salary Increase
Dear [Insert Name],
I am writing to request a salary increase. I am passionate about my job, and I am confident that I am contributing to the success and growth of the company.
I have been working here for [insert length of time] and I have consistently met and exceeded my job ... | |
Suggest a new tagline for the article. | CNN's consultant on political television advertising believes that the cost to influence the 2008 election may exceed $3 billion. | Make Your Vote Count: How Much Is Too Much for the 2008 Elections? |
Specify an algorithm to find the maximum sum in a given array. | [1,2,3,4] | A simple solution is to traverse the array and keep track of the maximum sum encountered so far. This can be done using the following approach:
Iterate through the array and for each element, update the maximum sum encountered so far.
At any point, the maximum sum encountered so far is either the element itself or th... |
Write a news headline about scientists discovering a new way to clean oceans. | Scientists Find Revolutionary Method to Clean Oceans! | |
Given some data, count the number of objects labeled with a specific tag. | Data: {Object1: "cat", Object2: "dog", Object3: "cat", Object4: "fish"}
Tag: "cat" | 2 |
Name 5 tips to write concise emails. | 1. Keep sentences short and to the point. Aim for 10-20 words per sentence.
2. Think before you write: consider the purpose of the email, the key message, and the desired outcome.
3. Be specific and provide clear instructions.
4. Stick to one topic per email.
5. Avoid using jargon and unnecessary language. | |
Describe a healthy diet | A healthy diet should include a balance of fruits, vegetables, whole grains, low-fat dairy, lean proteins, and healthy fats. Eating a variety of foods is important to receive all types of nutrients, vitamins, and minerals. Consuming a large variety of food also helps to keep meals interesting and flavorful. Limiting pr... | |
Find out which keyword has the highest monthly search volume among the following keywords. | Keywords: artificial intelligence, machine learning, neural networks | According to Google Trends, the keyword with the highest monthly search volume is "artificial intelligence". |
Describe the sky at sunset. | The sky at sunset is a mesmerizing spectacle of colors ranging from deep oranges and reds, to light yellows and purples. As the sun sets, the colors slowly blend and merge together until the sky is painted in a glorious mixture of hues. The darkening sky slowly fades to a deep velvety blue as the stars twinkle in the n... | |
Classify the item as either animal or vegetable. | Banana | Animal: No, it's a vegetable. |
Compose a tweet that encourages social distacity. | Stay safe and stay home. Keep up social distancing! #StaySafe #KeepYourDistance #SocialDistancing | |
Identify a way to reduce greenhouse gas emissions. | One way to reduce greenhouse gas emissions is to switch to renewable forms of energy such as solar and wind power. These renewable sources of energy do not emit any greenhouse gases and do not have any negative environmental impacts. Replacing current fossil fuel-powered energy sources with renewable forms of energy is... | |
Find a Spanish translation for the word "friend". | amigo | |
Rewrite this sentence to make the same idea more eloquently.
Output should be a single sentence. | I have a dog, but it's not very well behaved. | My canine companion, while adored, could use some refinement in its manners. |
Generate a list of 5 items needed to create your own website. | 1. Domain name
2. Hosting service
3. Website platform
4. Content
5. Design elements (graphics, colors, fonts, etc.) | |
What does 'blue-sky thinking' mean? | "Blue-sky thinking" is an expression used to refer to creative, imaginative thinking that ignores or goes beyond practical constraints and considerations to explore radical concepts and ideas. It typically involves looking at a problem or challenge from a new perspective with the intention of coming up with an innovati... | |
What is the contraction of "they are"? | The contraction of "they are" is "they're". | |
Write a one-sentence summary of the following news article. | The extraordinary measures taken by the government to control the spread of Covid-19 have significantly decreased the number of daily infections in the past month. | The implementation of strict public health policies has effectively curtailed the prevalence of Covid-19 cases. |
Create an efficient route for a courier to deliver five packages. | The following five packages need to be delivered in the following locations:
Package 1 - 400 Main Street
Package 2 - 850 Commerce Street
Package 3 - 340 Crofton Lane
Package 4 - 74 Lantana Drive
Package 5 - 871 Hilltop Road | The route would start at 400 Main Street, then proceed to 850 Commerce Street, 340 Crofton Lane, 74 Lantana Drive, and end at 871 Hilltop Road. This delivers the packages in an efficient way and avoids backtracking. If the courier is driving, they should consider the fastest route using a GPS navigation system. Additio... |
Describe parallelism in writing. | Parallelism in writing is a rhetorical device that is used to achieve balance in sentences. It is achieved by using similar grammatical structures, words, or ideas to create syntactic balance by emphasizing similarities between different parts of a sentence. | |
Identify the pattern in the following series: 1, 4, 7, 11, ? | 14 (each number is 3 more than the previous number) | |
Suggest some activities for a day out at the beach. | Activities for a day out at the beach could include swimming, sunbathing, beach volleyball, building sand castles, flying a kite, playing frisbee, having a picnic, beachcombing, fishing, or taking a stroll down the shore. | |
Given the input, invent a riddle and provide the answer. | chair | What has four legs but can't walk?
Answer: A chair. |
List two ways that the internet has changed the way people work | The internet has changed the way people work in several ways. First, it has allowed people to access information from any location with an internet connection, enabling people to work remotely or telecommute. Second, it has enabled more collaboration and communication between people, allowing them to share documents, e... | |
Read the following story and decide if it is fiction or non-fiction. | A farmer grows a mysterious flower overnight. The farmer is amazed and decides to sell the plant in the market. People from far and wide visit the farmer's market to get a glimpse of the miraculous flower. | Fiction. |
Describe the Earth's climate system. | The Earth's climate system is made up of five main components: the atmosphere, hydrosphere, cryosphere, biosphere, and land surface. The atmosphere is composed of mostly nitrogen and oxygen gases and is responsible for transferring energy from the sun to the Earth. The hydrosphere is composed of all the planet's water,... | |
In this task, you need to write an appropriate response to the phrase "take a break" | Sure, let's take a break. What would you like to do? Maybe we could watch a movie, go for a walk, or just chat for a bit. Whatever works for you. | |
Create a tagline for a company dealing in online banking. | Safe banking, just a few clicks away! | |
Suggest a possible solution for the following ethical issue. | The ethical issue of facial recognition technology being used to target individuals for inappropriate behavior. | A possible solution for this ethical issue is to create a system of regulations governing when and how facial recognition technology can be used by government agencies, businesses, and other organizations. This system of regulations should also include strict data and privacy protection measures, such as limits on the ... |
Rewrite this sentence to make it sound more polite - "Where is the closest store?" | Could you tell me where the closest store is located? | |
Identify any 5 key characteristics of the following software | Ecommerce Platform | 1. Payments processing capabilities
2. Inventory tracking capabilities
3. Ability to create a customer account/profile
4. Integration with third-party services like shipping and payment providers
5. Data security measures to protect customer information. |
Given a set of instructions, output the instructions in order of priority, from the highest priority to the lowest priority. | Answer phone, book flight, write report | Answer phone, book flight, write report |
Write a 300 words article about the importance of self-care. | Self-care is an important aspect of maintaining physical and mental health, as well as overall wellbeing. It is the practice of taking time to intentionally focus on one’s own needs, including but not limited to physical activity, diet, stress management, and relaxation. Self-care does not have to be an expensive or co... | |
Rewrite the following sentence making it as short as possible while still preserving its meaning:
The shirt he is wearing is very fashionable. | He wears a fashionable shirt. | |
Translate "Bonjour" into English. | "Bonjour" means "Hello" in English. |
End of preview. Expand in Data Studio
fionela-dataset-6344
Processed subset dataset for instruction-following experiments.
Details
- Samples: 292
- Streaming-based sampling (no full download)
- Fields: instruction / input / output
Source
Derived from: https://huggingface.co/datasets/tatsu-lab/alpaca
Notes
- Subset only (not full dataset)
- For research & demo usage
- Downloads last month
- 9