topic stringlengths 7 83 ⌀ | views int64 0 9.13k ⌀ | source stringclasses 2
values | title stringlengths 6 128 ⌀ | skip_prompt_formatting bool 2
classes | idx stringlengths 7 7 ⌀ | model stringclasses 1
value | language stringlengths 4 13 ⌀ | hash list | model_name stringclasses 1
value | custom_instruction bool 1
class | system_prompt stringclasses 6
values | id stringlengths 4 36 ⌀ | category stringclasses 28
values | avatarUrl stringlengths 1.04k 2.74k ⌀ | text stringlengths 44 130k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Create a Python script that implements the merge sort algorithm and sorts a list of strings alphabetically. The script should also accept a command-line argument to reverse the sorting order. [/INST] You can use the following Python script to implement the merge sort algorithm and sort a list of strings alpha... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] Propose a step-by-step guide for beginners to start indoor gardening. Include techniques for selecting plants, preparing soil, watering schedule, light requirements, and dealing with common pests and diseases. [/INST] Step 1: Selecting Plants
Choose plants that are suitable for indoor gardening. Consider fact... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | multiple_choice | null | <s>[INST] Astronomy is the scientific study of celestial objects, space, and the physical universe as a whole. Astrophysics applies the principles of physics and chemistry to explain the birth, life and death of stars, planets, galaxies, nebulae and other objects in the universe. Observational techniques in astronomy i... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | writing | null | <s>[INST] Write a compelling cover letter for a job application for the position of "Head Zookeeper" at the world-renowned San Diego Zoo. Highlight your unique qualifications, experiences, and passion for animals. [/INST] Subject: Application for the Position of Head Zookeeper at San Diego Zoo
Dear Hiring Manager,
I ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | joke | null | <s>[INST] Tell me a joke about animal hybrids. [/INST] What do you get when you cross a firecracker and a duck? A firequacker. </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] If a car gets 25 miles per gallon and has a 15-gallon fuel tank, how far can it travel on a full tank? [/INST] To determine how far the car can travel on a full tank, we simply multiply its fuel efficiency (miles per gallon) by the capacity of its fuel tank (gallons).
Distance traveled on a full tank = Fuel ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | trivia | null | <s>[INST] <<SYS>>
You are a world class trivia AI - provide accurate, succinct responses.
<</SYS>>
What common household item, made primarily of sodium bicarbonate, can be used for everything from baking to cleaning and deodorizing? [/INST] Baking Soda </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Create a Node.js Express application with two endpoints: one for uploading an image (JPEG or PNG) and another for resizing the uploaded image to specified dimensions (width and height). The resized image should be saved on the server with a unique filename based on the original name and dimensions.
PLAINFORMA... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A city's water department needs to upgrade its aging infrastructure to reduce water loss due to leaks. Currently, the city loses approximately 25% of its treated water through leaks in its 500-mile-long pipe network. The department has a budget of $10 million for this project and estimates that it costs $50,0... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] If you read at an average speed of 250 words per minute and you want to finish reading a book with 80,000 words, how many hours will it take you to complete the book? [/INST] First, let's calculate how many minutes it would take to read the entire book at a rate of 250 words per minute:
Minutes required = To... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] Write a riddle where every word starts with the letter 'f'. [/INST] Ferocious feline, frequently found, fiercely feasting; furry foe. </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A city is planning to build a new public park that will include various recreational facilities such as playgrounds, sports courts, and picnic areas. The park will be built on a 50-acre plot of land, with 60% dedicated to green spaces, 30% for recreational facilities, and the remaining 10% for parking and oth... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | trivia | null | <s>[INST] <<SYS>>
You are a world class trivia AI - provide accurate, succinct responses.
<</SYS>>
What is the name of the French city known for its mustard, which also happens to be a region in Burgundy? [/INST] Dijon </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] In a group of 100 people, there are 30 vegetarians. Among the vegetarians, 20% are men. What percentage of the entire group is made up of vegetarian men? [/INST] The percentage of vegetarian men in the entire group is 6%.
Here's the reasoning:
1. We know that there are 30 vegetarians in the group.
2. Among ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | trivia | null | <s>[INST] <<SYS>>
You are a world class trivia AI - provide accurate, succinct responses.
<</SYS>>
James Madison and which other U.S. President both served as Secretary of State before their presidencies? [/INST] Thomas Jefferson </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | stylized_response | null | <s>[INST] <<SYS>>
You are to take on the role of: Eleanor of Aquitaine
Eleanor of Aquitaine was one of the most powerful and influential figures of the Middle Ages. She served as queen consort to both France and England, a rare feat in history.
Eleanor is often depicted as an epitome of a "queen-regnant", a female mon... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Using JavaScript, develop a basic web page with a form to accept user information (name, email, phone number) and validate this data using regular expressions before submitting it. PLAINFORMAT [/INST] <!DOCTYPE html>
<html>
<head>
<title>Form Validation</title>
<script type="text/javascript">
... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] An exclamation expressing disbelief or annoyance, and an anagram of "price". [/INST] "Cripe! Can't this day get any worse?" John grumbled to himself, as he got a flat tire on the way to a crucial job interview. </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] There are 100 light bulbs lined up in a row. You start with all the lights off. You walk down the row and turn on every bulb. Then you go back to the beginning and switch off every second bulb. On your third pass, you toggle every third bulb (turning it off if it's on or turning it on if it's off). You contin... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Develop a Python program that uses the OpenCV library to apply various image processing techniques (such as grayscale conversion, edge detection, and blurring) on a given image file. [/INST] First, you need to install the OpenCV library if you haven't already. You can do this using pip:
```bash
pip install o... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | roleplay | null | <s>[INST] Describe a beautiful sunrise as if you were Jane Austen writing in one of her novels. [/INST] The dawn, in its majestic glory, began to unveil itself from behind the vast expanse of the horizon. It was as if nature herself had been an artist and the sky her canvas, painting a masterpiece with hues so delicate... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | experience | null | <s>[INST] Imagine a hidden valley, nestled between towering mountain peaks that are perpetually shrouded in mist. The valley is filled with lush vegetation and vibrant flora, while the air is alive with the songs of exotic birds. At the heart of this paradise lies an ancient city built around a colossal tree, its branc... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | card | null | <s>[INST] Please generate a random model card for a mystical artifact. Attributes to populate:
Artifact Name: The name of the artifact.
Origin: Where does it come from?
Power: What kind of power does it hold?
Current Location: Where is it now?
Guardian: Is there anyone or anything protecting it? [/INST] Artifact Name:... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | writing | null | <s>[INST] As a renowned chef, write a blog post sharing your top five tips for creating delicious and healthy meals at home. Incorporate anecdotes from your personal experience and offer suggestions for ingredient substitutions. [/INST] Title: My Top Five Tips for Creating Delicious and Healthy Meals at Home
Hello, fe... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | multiple_choice | null | <s>[INST] Cryptography is a method of protecting information by transforming it into an unreadable format. It is often used to protect sensitive information during transmission over the internet. There are several types of cryptographic algorithms, including symmetric key algorithms, public key algorithms, and hash fun... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Create a Python script that takes a directory path as input and recursively calculates the total size of all files within that directory. The script should print the result in bytes, kilobytes, megabytes, and gigabytes.
PLAINFORMAT [/INST] import os
def get_size(path):
# Calculate the total size of all f... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | stylized_response | null | <s>[INST] <<SYS>>
You are to take on the role of: Tim Berners-Lee
Meet Tim Berners-Lee, the visionary from the realm of computer science and the creator of the World Wide Web. He is insightful, pioneering, diligent, deep-thinking, yet sociable and team-oriented. His character transcends his professional achievements.
... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | roleplay | null | <s>[INST] Write a poem about dolphins using the lyrical style of Bob Dylan. [/INST] Well, there's a world beneath the waves,
Where dolphins dance and play.
They're swimming in that azure maze,
Where sunlight loves to lay.
They leap high above the water's skin,
Like acrobats of blue.
Their songs echo in the ocean din,
... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Create a Python program that connects to a SQLite database, creates a table for storing books with columns for title, author, and publication year, and provides functions for adding, updating, deleting, and listing all books in the table. [/INST] ```python
import sqlite3
def create_connection():
conn = N... |
null | null | openhermes-2.5 | null | true | null | null | null | null | null | null | null | null | rp | null | <s>[INST] This is a chat between 2 characters: Jane Austen, Albert
Jane Austen: Meet Jane Austen, a renowned author from the world of literature. She is eloquent, witty, and has an uncanny ability to observe and depict human nature in her writings. Her style is marked by irony, realism, and social commentary, yet she ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Develop a PHP web application that displays a form allowing users to enter their name, age, and favorite color. Upon submission, store the data in a MySQL database table named "users". Validate the user's age to be between 18 and 99, and ensure the favorite color is one of the following: red, blue, green, yel... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | roleplay | null | <s>[INST] Write a poem about the power of love in the style of Maya Angelou. [/INST] When love, that tempest of the heart,
In whirlwinds doth descend,
It stirs and shakes our very core
And binds us to a friend.
For in its fierce and tender grasp,
Our souls find sweet reprieve;
From life's unyielding sorrows,
Love offe... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] In a family gathering, there are 15 people who shake hands with each other once. How many handshakes occur in total? [/INST] There are 105 handshakes in total.
Here's the logic behind this:
1. We need to find the number of unique pairs that can be formed from the 15 people.
2. This can be calculated using t... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Using JavaScript, create an interactive webpage with a form to collect user information (name, email, phone number). Validate the inputs before submitting the form. If validation fails, display error messages next to the corresponding fields. PLAINFORMAT [/INST] <!DOCTYPE html>
<html>
<head>
<title>User I... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | multiple_choice | null | <s>[INST] In the context of International Relations, which theory posits that states, as the primary actors in the international system, act out of self-interest and power is the primary determinant of international relations?
A. Realism
B. Liberalism
C. Constructivism
D. Marxism [/INST] A. Realism </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A bag contains red and blue marbles only. If there are a total of 60 marbles in the bag, and the probability of picking a red marble is twice the probability of picking a blue marble, how many red marbles are in the bag? [/INST] Let's use algebra to solve this problem:
1. Let x represent the number of red ma... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | cot | null | <s>[INST] The Fibonacci sequence starts with 0 and 1, and each subsequent number is the sum of the previous two. If the nth term of this sequence is 144, what could be the value of n? List several possibilities, rank them based on plausibility, and select the most probable option. [/INST] Solution 1:
We can calculate t... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | plan | null | <s>[INST] For the following tasks, make plans that can solve the problem step-by-step. For each plan, indicate which external tool together with tool input to retrieve evidence. You can store the evidence into a variable #E[index] that can be called by later tools.
Here are the tools available to be called:
Britannica... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A theme park wants to build a new roller coaster with a height of 200 feet and a track length of 5,000 feet. The construction cost is estimated at $20 million, and the park expects to attract an additional 500,000 visitors per year as a result. Calculate the increase in annual revenue from ticket sales, assum... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A bag contains 4 red balls, 6 blue balls, and 5 green balls. If you randomly pick one ball from the bag, what is the probability of picking a red or blue ball? [/INST] To find the probability of picking a red or blue ball, we first need to determine the total number of possible outcomes (total number of balls... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] If a plane flies at an average speed of 550 mph against a headwind of 50 mph, what is its ground speed? [/INST] To determine the ground speed of the plane, we need to account for the headwind, which reduces its effective speed.
Ground speed = Plane's airspeed - Headwind speed
= 550 mph ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Develop a Python script that reads a text file containing URLs, one per line, and prints out the HTTP status code for each URL using the requests library. [/INST] You can use the following Python script to read a text file containing URLs and print out the HTTP status code for each URL using the `requests` li... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] In a school, there are 120 students in Grade 9 and 150 students in Grade 10. If the school wants to create an equal number of students in each class, what is the maximum number of students that can be in one class? [/INST] To find the maximum number of students that can be in one class, we need to find the gr... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] (4^2 * 3) / (6 - 2)^2 + 7 = [/INST] Let's solve the expression step by step.
The expression given is:
(4^2 * 3) / (6 - 2)^2 + 7
First, calculate the exponents:
(16 * 3) / (4)^2 + 7
Next, perform multiplication:
48 / 16 + 7
Now, do the division:
3 + 7
Finally, add the numbers:
10
So, the result of ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | joke | null | <s>[INST] How about a joke involving crocodiles? [/INST] Why don't crocodiles like fast food? Because they can't catch it. </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] A successful businessman and philanthropist who made his fortune in the software industry and has three children. His first name is "Larry". What's his last name? [/INST] Ellison </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] In a room full of people, 30% are wearing glasses, and 20% are wearing hats. If 10% are wearing both glasses and hats, what percentage of people are wearing either glasses or hats? [/INST] The percentage of people wearing either glasses or hats is 40%.
Here's the reasoning:
1. We know that 30% are wearing gl... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A store offers a discount on bulk purchases. If you buy 10 items or more, you get a 15% discount. If an item costs $25 and someone buys 12 items, how much do they pay? [/INST] First, let's calculate the total cost without any discounts:
Total cost = Number of items * Price per item
= 12 * $... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] How many different ways can you arrange the letters in the word "EXAMPLE"? [/INST] To determine the number of unique arrangements for the letters in the word "EXAMPLE," we will use the formula for permutations of objects with repetitions:
n! / (n1! * n2! * ... * nk!)
where n is the total number of objects (... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | song | null | <s>[INST] Write a swing song about falling head over heels in love. The lyrics should be charming, flirtatious, and mirror the rhythm and tempo of swing music. [/INST] (Verse 1)
I was walking down the street, just minding my own,
When I saw your face and boy, how you've grown.
Your eyes were sparkling like the stars ab... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] Does reading to your child in the womb enhance their intelligence? [/INST] There isn't definitive scientific evidence that reading to a child in the womb will directly enhance their intelligence. However, it can have other benefits. It can help to familiarize the baby with their parents' voices and stimulate ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] If a committee consists of 3 men and 5 women, how many ways can a subcommittee of 4 people be formed if it must include at least 1 man and 1 woman? [/INST] We will solve this problem using combinations. First, let's consider the different scenarios for forming a subcommittee of 4 people with at least 1 man an... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Create a Python script that implements a simple singly linked list with methods for adding elements at the beginning, end, and specified index, removing elements by value, and printing the entire list.
PLAINFORMAT [/INST] class Node:
def __init__(self, data=None):
self.data = data
self.nex... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Create a JavaScript implementation of the quicksort algorithm that sorts an array of strings alphabetically.
PLAINFORMAT [/INST] function quickSort(arr) {
// Base case: return the array if its length is less than or equal to 1
if (arr.length <= 1) {
return arr;
}
// Choose a pivot index and eleme... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A population of bacteria doubles every 4 hours. If there are initially 500 bacteria, how many bacteria will there be after 48 hours? [/INST] First, let's determine how many times the bacteria population doubles in 48 hours. Since it doubles every 4 hours, we can divide the total time (48 hours) by the doublin... |
null | null | openhermes-2.5 | null | true | null | null | null | null | null | null | null | null | awareness | null | <s>[INST] A chat between Queen Elizabeth II and Christopher.
Queen Elizabeth II:
Queen Elizabeth II has been the reigning monarch of the United Kingdom since 1952, making her the longest-serving current head of state. She ascended to the throne at a young age following the death of her father, King George VI.
Elizabet... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] Solve the heat equation with initial condition u(x,0)=sin(pi*x) and boundary conditions u(0,t)=u(1,t)=0. [/INST] The heat equation is given by:
∂u/∂t = k * ∂²u/∂x²
where u(x,t) is the temperature distribution in a one-dimensional rod, x is the position along the rod, t is time, and k is the thermal diffusiv... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | riddle | null | <s>[INST] In a year, some months have 30 days, while some have 31. How many have 29? [/INST] Only February, and that too only in a leap year. </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] Provide an overview of five different genres of cinema around the world including one representative film from each genre. Discuss briefly the characteristics that make these films typical of their respective genres. [/INST] 1. Drama: This genre focuses on serious, plot-driven stories that portray realistic c... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] If you flip a fair coin 10 times, what is the probability of getting exactly 6 heads? [/INST] To solve this problem, we will use the binomial probability formula:
P(X=k) = (nCk) * p^k * q^(n-k)
where n is the number of trials (coin flips), k is the number of successful outcomes (heads), p is the probability... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | trivia | null | <s>[INST] <<SYS>>
You are a world class trivia AI - provide accurate, succinct responses.
<</SYS>>
Which European country has more than 1,000 lakes and is known as "the land of a thousand lakes"? [/INST] Finland </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A store sells three types of fruit: apples, oranges, and bananas. Apples cost $2 per pound, oranges cost $3 per pound, and bananas cost $1 per pound. If a customer buys 4 pounds of apples, 5 pounds of oranges, and 6 pounds of bananas, how much will they spend in total? [/INST] To find the total amount spent b... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Implement a real-time collaborative text editor using Socket.IO (JavaScript) and Express (Node.js). The application should allow multiple users to edit the same document simultaneously, with changes being synced across all connected clients in real-time. [/INST] To create a real-time collaborative text editor... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | wordgame | null | <s>[INST] Create a limerick with five words that have no consonants. [/INST] An eye, full of awe,
Saw a bee on a paw.
"Oh, you," it did coo,
"Are quite blue too!"
Aye, an eerie eau they saw. </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] In SQL, design a database schema for a blog website. There should be tables for users, posts, comments, and tags. Users can author multiple posts, each post can have multiple comments and tags, and each comment is associated with a user. Provide queries to insert data into these tables and retrieve informatio... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Write a C++ program that simulates a simple bank account management system. The program should use classes and objects to represent accounts, customers, and transactions. Customers can open accounts, deposit money, withdraw money, and check their balance. Transactions should be recorded with a timestamp, type... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A train travels from Town A to Town B at a speed of 60 km/h. The return trip from Town B back to Town A is made at a speed of 90 km/h. What is the average speed for the entire round trip? [/INST] The average speed for the entire round trip is 72 km/h.
Here's the reasoning:
1. Let's assume the distance betwe... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | trivia | null | <s>[INST] <<SYS>>
You are a world class trivia AI - provide accurate, succinct responses.
<</SYS>>
What classic board game involves real estate transactions and has been translated into more than 37 languages? [/INST] Monopoly </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Create a Python script that uses the Dijkstra's shortest path algorithm to find the shortest path between two nodes in a weighted graph represented by an adjacency matrix. PLAINFORMAT [/INST] import heapq
def dijkstra(adj_matrix, start, end):
n = len(adj_matrix)
dist = [float('inf')] * n
dist[sta... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | trivia | null | <s>[INST] <<SYS>>
You are a world class trivia AI - provide accurate, succinct responses.
<</SYS>>
It's Tiger Balm for muscle relief, a combination of menthol, camphor & what spicy plant oil? [/INST] Clove Oil </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] You have a basket containing 100 apples. You give away 60% of these apples. How many apples do you have left? Show your work. [/INST] Let's walk through this:
1. You start with 100 apples.
2. You give away 60% of these apples. To find out how many apples this is, you multiply the total number of apples by th... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A train leaves from Station A at 9 AM and travels at a speed of 60 km/h towards Station B. Another train leaves from Station B at 11 AM and travels at a speed of 90 km/h towards Station A. The distance between the two stations is 450 km. At what time will the two trains meet? [/INST] Let's think through this ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Write a JavaScript function that takes an array of integers as input and returns the largest contiguous subarray sum using Kadane's algorithm.
PLAINFORMAT [/INST] function kadanesAlgorithm(array) {
let maxCurrent = array[0];
let maxGlobal = array[0];
for (let i = 1; i < array.length; i++) {
maxCurr... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A rectangular garden has a length of 40 feet and a width of 25 feet. If the owner wants to expand the garden by increasing its length by 50% and its width by 20%, what will be the new area of the garden? [/INST] First, we need to calculate the new dimensions of the garden after the expansion.
New length = Cu... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | multiple_choice | null | <s>[INST] In the realm of creative writing, the short story "The Lonely Lighthouse" tells the tale of a lighthouse keeper named Harold. Living in isolation, Harold finds solace in the rhythmic pattern of the lighthouse beam. He begins to personify the lighthouse, attributing it with human emotions and characteristics. ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | misconception | null | <s>[INST] Are humans born with all the brain cells they will ever have? [/INST] It was once believed that humans were born with a fixed number of brain cells, but recent research has shown that new neurons can be generated in certain areas of the adult brain through a process called neurogenesis. </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] Which classic novel features the characters Tom Sawyer and Huckleberry Finn? [/INST] "The Adventures of Tom Sawyer" by Mark Twain is a classic novel that features Tom Sawyer and Huckleberry Finn. Set in the 19th century, the story is about Tom, a mischievous and imaginative young boy who lives in the fictiona... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A hospital is evaluating the efficiency of its emergency department (ED) and aims to reduce patient waiting times. Currently, the ED has 10 doctors working 12-hour shifts, with an average of 5 patients per hour. The hospital administration believes that increasing the number of doctors on duty will decrease p... |
null | null | openhermes-2.5 | null | true | null | null | null | null | null | null | null | null | rp | null | <s>[INST] This is a chat between 2 characters: Nathaniel, Florence Nightingale
Nathaniel: Imagine a character named Nathaniel, who is an old-fashioned gentleman. He speaks in a very formal and polite manner, using antiquated phrases and words that are rarely used today. Despite his outdated language, Nathaniel is surp... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Create a binary search tree class in Python, including methods for insertion, deletion, and searching for a specific value. PLAINFORMAT [/INST] class Node:
def __init__(self, key):
self.left = None
self.right = None
self.val = key
class BinarySearchTree:
def __init__(self):
... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A food processing company wants to optimize its production line by analyzing the efficiency of each step in the process, from raw material procurement to finished product packaging. The company produces a wide range of products with varying levels of complexity and resource requirements. Develop a plan for id... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | riddle | null | <s>[INST] A woman has 7 children, half of them are boys. How is this possible? [/INST] All of them are boys. Half of seven is indeed boys, but so is the other half. </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A factory produces 250 units of a product per day. If the factory operates for 6 days a week and takes 2 weeks off per year for maintenance, how many units will it produce in one year? [/INST] First, let's calculate the number of weeks the factory operates in a year:
Total weeks in a year = 52 weeks
Weeks of... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Create a Python script that utilizes OpenCV library to detect faces in an image, draw bounding boxes around them, and save the output image with detected faces highlighted.
PLAINFORMAT [/INST] import cv2
def detect_faces(image_path):
# Load the image
image = cv2.imread(image_path)
# Convert the ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] Describe three key milestones in the history of submarines. [/INST] 1. The Turtle (1776): One of the earliest milestones in submarine history was the creation of the "Turtle," a one-man, hand-powered submersible designed by American inventor David Bushnell during the American Revolutionary War. Although it fa... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | trivia | null | <s>[INST] <<SYS>>
You are a world class trivia AI - provide accurate, succinct responses.
<</SYS>>
In which Shakespearean play does the character Iago plot against Othello, leading to tragic consequences? [/INST] Othello </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] If a tree grows 2 inches taller every year, how much taller will it be after 25 years? Show your work. [/INST] To solve this problem, we multiply the growth rate of the tree (in inches per year) by the number of years.
Growth over time = Growth rate * Time
= 2 inches/year * 25 years
= 50 inches
So, the tre... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | cot | null | <s>[INST] A town has 5 grocery stores. Each store has a different number of apples in stock ranging from 100 to 500. If the total number of apples in all stores is 1500, provide several scenarios for the distribution of apples among the stores. Rank these scenarios based on their probability and select the most plausib... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | roleplay | null | <s>[INST] Write a short story about a day in the life of a butterfly, using the whimsical language of Lewis Carroll (Alice in Wonderland). [/INST] Once upon a mimsy morning, when the sun had just begun to paint the sky with hues of gold and pink, a little butterfly named Bumbleflit fluttered her wings in anticipation. ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Write a Python program that uses the tkinter library to create a simple GUI calculator with basic arithmetic operations (addition, subtraction, multiplication, and division). [/INST] Here's a simple Python program that uses the tkinter library to create a GUI calculator with basic arithmetic operations:
```p... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] Role-play a conversation between a pet owner and a veterinarian discussing the importance of pets in human lives and how to take proper care of them. [/INST] Pet Owner (PO): Hi, Dr. Smith. I hope you're doing well.
Veterinarian (Vet): Hello! Yes, thank you. How can I assist you today?
PO: Well, I've been th... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Implement a Golang web server that serves static files from a specified directory and provides endpoints for uploading new files and deleting existing ones. Use goroutines for concurrent processing and integrate rate limiting to prevent abuse.
PLAINFORMAT [/INST] package main
import (
"fmt"
"io/ioutil"
"l... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] In bullet points, outline the basic positions and movements in ballet, along with any associated terminology. [/INST] - First position:
- Heels together, toes turned out to the sides
- Arms rounded and held low in front of the body (en bas)
- Second position:
- Feet wide apart, heels in line with each... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | writing | null | <s>[INST] Write a travel blog post about a trip to Rome, Italy. Describe the sights, sounds, and tastes experienced while visiting iconic landmarks like the Colosseum, Vatican City, and Trevi Fountain. [/INST] Title: Rome - A City of Timeless Beauty and Sensory Delights
As I stepped off the plane, a wave of warm Itali... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Write a Java program that reads data from a JSON API, processes it, and sends the results to an Apache Kafka topic for further processing.
PLAINFORMAT [/INST] import org.apache.http.HttpEntity;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpGet;
import o... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Develop a C++ program that reads a text file containing a list of words and generates a trie data structure to store them efficiently. The program should also provide a function to search for a word in the trie and return whether it exists or not.
PLAINFORMAT [/INST] #include <iostream>
#include <fstream>
#in... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | roleplay | null | <s>[INST] Imagine you are Indiana Jones. In his style, write a report on a recent archaeological discovery. [/INST] Subject: Discovery of the Lost City of Zerzura
Date: March 20, 1937
To: Dr. Marcus Brody, Director, National Museum
Dear Dr. Brody,
I trust this letter finds you in good health and high spirits. I am... |
null | null | openhermes-2.5 | null | true | null | null | null | null | null | null | null | null | gtkm | null | <s>[INST] A chat between Derek and Robert.
Description of Derek:
Meet our charismatic male life coach, Derek, who has an innate ability to inspire and motivate others. With his confident demeanor and uplifting words, he helps people realize their potential and guides them towards achieving their goals. His understandin... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | trivia | null | <s>[INST] <<SYS>>
You are a world class trivia AI - provide accurate, succinct responses.
<</SYS>>
The Apollo astronauts brought back samples from the Moon. These are stored at which space center? [/INST] Johnson Space Center </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Create a Python-based command-line tool that interacts with the GitHub API to perform operations such as creating repositories, listing issues, and managing pull requests. Use argparse for handling command line arguments and ensure proper error handling. PLAINFORMAT [/INST] import argparse
import requests
imp... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.