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] In Python, write a function that takes a list of numbers and returns a new list containing the square of each number. PLAINFORMAT [/INST] def square_numbers(numbers):
# Create a new list by squaring each number in the input list
return [num ** 2 for num in numbers] </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | misconception | null | <s>[INST] Can you catch a cold by going outside with wet hair? [/INST] Colds are caused by viruses, not by exposure to cold temperatures or having wet hair. However, being exposed to cold weather can weaken your immune system, making you more susceptible to catching a virus. </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Develop a TypeScript application that reads data from a CSV file, processes it, and writes the output to a new CSV file. The processing should include filtering rows based on a given condition and sorting them based on a specific column.
PLAINFORMAT [/INST] import * as fs from 'fs';
import * as csvParser from... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A train travels at an average speed of 60 miles per hour. The train stops for 15 minutes at each station. If the train passes through 5 stations (not including its starting point), how long does it take to travel 300 miles? [/INST] Let's break down the problem into two parts: the time spent traveling between ... |
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 items: type A costs $5 each, type B costs $8 each, and type C costs $12 each. If a customer buys 4 items of type A, 3 items of type B, and 2 items of type C, what is the total cost of their purchase? [/INST] To find the total cost of the customer's purchase, we first need to calcu... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] Solve the system of linear equations: 2x - y = 8 and x + 3y = 7, using either substitution or elimination method. Explain your steps. [/INST] We can use the substitution method to solve this system of linear equations. First, we'll solve one of the equations for one variable in terms of the other variable. I'... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | joke | null | <s>[INST] Do you know any jokes about directions or planes? [/INST] Two wrongs don't make a right... but three lefts make a right. And two Wrights make a plane 6 lefts make a plane. </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] An airport is expanding its terminal capacity by adding two new terminals over the next three years. Each terminal can handle 15 flights per hour, and the current average number of passengers per flight is 200. Estimate the increased passenger traffic at the airport after the expansion, factoring in an annual... |
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>>
Young musicians inspired by Paul McCartney include which American artist who collaborated with him on the song 'FourFiveSeconds'? [/INST] Kanye West </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | plan | null | <s>[INST] For the following task, create a step-by-step plan to generate an ideal response using the available tools. Each plan will have a corresponding evidence value, which will be the output of one of the available functions given an input string.
Here are the tools available to be called:
GoogleMaps[input]: Tool ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] If it takes 6 workers 4 days to build a wall, how long would it take 9 workers to do the same job assuming they work at the same rate? [/INST] Here's how you can think about this:
1. Six workers take four days to build the wall. That means that one worker would take six times longer, or 24 days, to build the... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] Four friends decide to race up a hill. Alex finishes before Ben but after Chris. David finishes before Ben but after Alex. Who finishes the race first, second, third, and fourth? [/INST] Let's analyze the information given:
1. Alex finishes before Ben (A > B) but after Chris (C > A).
2. David finishes before... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] There are 100 people in a room. Half of them always tell the truth, while the other half always lie. You ask each person how many liars are in the room. If all the truth-tellers give you the same answer, what did they say? [/INST] The truth-tellers said there are 50 liars in the room.
Here's the reasoning:
... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | theory_of_mind | null | <s>[INST] At a park, Olivia finds a lost dog and decides to take care of it until its owner can be found. She ties the dog to a bench and goes to buy some food for it. While she's gone, Ethan notices the dog and recognizes it as his neighbor's missing pet. He unties the dog and takes it home to its rightful owner. When... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A group of people wants to rent bicycles for a day trip. The rental shop charges $20 per bicycle plus a one-time service fee of $15. If the group has a budget of $200, how many bicycles can they rent? [/INST] First, let's determine how much money is left after paying the one-time service fee:
Budget remainin... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A city is planning to upgrade its public transportation system by adding new bus routes and increasing the frequency of buses on existing routes. The city currently has 100 buses, each with a capacity of 50 passengers. The proposed plan will require an additional 150 buses, with a total budget of $20 million ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] Who is the author of the quote, "The only way to do great work is to love what you do"? [/INST] The author of the quote, "The only way to do great work is to love what you do" is Steve Jobs. </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A university plans to upgrade its campus-wide Wi-Fi network to accommodate an increasing number of devices. The current network has 500 access points, each supporting up to 50 devices simultaneously. With a student population of 20,000 and an average of 3 devices per student, the university needs to ensure th... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Implement a Python script that interacts with the OpenWeatherMap API to retrieve current weather conditions for a specified city, processes the JSON response, and outputs a human-readable summary of the weather conditions, temperature, humidity, and wind speed. PLAINFORMAT [/INST] import requests
import json
... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] If a car travels at an average speed of 50 miles per hour for 3 hours and then at an average speed of 70 miles per hour for another 2 hours, how far does it travel in total? [/INST] To calculate the total distance traveled, we first need to determine the distance covered during each segment of the trip.
For ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | roleplay | null | <s>[INST] Imagine you are Tony Stark (Iron Man). In his style, write a memo cancelling a meeting with shareholders. [/INST] Subject: Meeting Postponement - Stark Industries Shareholders
Dear Esteemed Shareholders,
I hope this message finds you in the best of health and spirits. I'm reaching out to inform you that our... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A company has decided to give its employees a 10% raise on their current salary. If an employee currently earns $50,000 per year, what will be their new annual salary after the raise? [/INST] To calculate the new annual salary after a 10% raise, we first need to find out how much the raise amount is. We do th... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] What are some activities that are entirely legal in Switzerland? [/INST] 1. Hiking: Switzerland is known for its beautiful landscapes and hiking trails.
2. Skiing and Snowboarding: Switzerland is a popular destination for winter sports.
3. Cycling: Switzerland has an extensive network of cycling routes.
4... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] Is there a universally accepted best fashion style? [/INST] No, there is not a universally accepted best fashion style. Fashion is subjective and varies greatly depending on personal preference, culture, occasion, and current trends. What one person may find fashionable, another may not. It's all about indivi... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Implement a Python script that generates fractal images using the Mandelbrot set algorithm and saves them as PNG files. [/INST] To generate fractal images using the Mandelbrot set algorithm, you can use Python libraries like NumPy and Pillow (PIL). Here's a script that generates a Mandelbrot fractal image and... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A large supermarket chain wants to optimize its inventory management system to minimize food waste. On average, the chain discards 10% of its perishable items due to spoilage. The company aims to reduce this percentage to 5% by improving storage conditions, adjusting order quantities, and using data analytics... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | multiple_choice | null | <s>[INST] In the field of Robotics, what is the term "Inverse Kinematics" used to describe?
A. The study of the motion of robots in a three-dimensional environment
B. The process of determining the movement needed by a robot to reach a specific position
C. The application of algorithms to enable a robot to "learn" from... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] If all squares are rectangles, but not all rectangles are squares, can we say that all rectangles are quadrilaterals? [/INST] Let's analyze the properties of each shape:
1. A square has four equal sides and four right angles.
2. A rectangle has four sides with opposite sides being equal and four right angles... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] If a company invests $10,000 at an annual interest rate of 5%, compounded quarterly, how much money will they have after 3 years? [/INST] To solve this problem, we can use the compound interest formula:
A = P(1 + r/n)^(nt)
where:
- A is the final amount after t years
- P is the initial principal ($10,000)
-... |
null | null | openhermes-2.5 | null | true | null | null | null | null | null | null | null | null | awareness | null | <s>[INST] A chat between Alfred and Michael.
Alfred:
Meet a character named Alfred, who is extremely polite and overly formal. He never uses slang or abbreviations and always maintains proper grammar and punctuation in his writing.
Alfred has an old-fashioned way of speaking, reminiscent of Victorian-era English liter... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] In a room, there are 4 thieves. A man enters the room and steals from one of them. Nobody leaves the room. How many thieves are in the room now? Provide step-by-step logic. [/INST] Let's break this down:
1. Initially, we have four thieves in the room.
2. Then, another person enters the room, increasing the t... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Implement a Python function that checks whether a given integer is a perfect square. [/INST] Here is a simple Python function that checks whether a given integer is a perfect square:
```python
def is_perfect_square(n):
if n < 0:
return False
root = int(n ** 0.5)
return root * root == n
``... |
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 list of URLs as input and downloads all images found on those web pages. The script should use BeautifulSoup library for HTML parsing and save the downloaded images in a specified directory with unique filenames.
PLAINFORMAT [/INST] import os
import sys
import requests
from... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Develop a Node.js Express server that serves a simple HTML form allowing users to enter their name and age. Upon submission, the server should save the data to a MongoDB collection and display a list of all submitted entries on a separate page. Ensure proper validation of user inputs and handle errors gracefu... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] How many ways are there to arrange the letters of the word "STATISTICS"? [/INST] To find the number of ways to arrange the letters of the word "STATISTICS", we need to use permutations. A permutation is an arrangement of items where the order matters.
However, since there are repeated letters in the word, we... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A telecommunications company is planning to expand its network coverage by installing new cell towers across a large rural area. The company needs to determine the optimal locations for these towers to maximize coverage while minimizing installation and maintenance costs. Develop a method for selecting tower ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | plan | null | <s>[INST] Develop a step-by-step plan to respond to the user's instruction using the available tools. Each plan should have a corresponding evidence value, which will be the output of one of the available functions given an input string.
Tools Available:
GoogleSearch[input]: Allows the user to search for information v... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | writing | null | <s>[INST] Develop a script for a dramatic scene between two siblings, Emily and John, revealing a deep-seated family secret that changes their relationship forever. [/INST] INT. LIVING ROOM - NIGHT
Emily, a young woman in her late twenties with an air of sophistication about her, is sitting on the couch, sifting throu... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] Create a dialogue between two characters where every word they say starts with the letter D. [/INST] Dave: Darn, Denise! Did Dave's dog dig daisies?
Denise: Definitely, Dave. Daisy-digging dogs do damage daily.
Dave: Dear, don't dogs deserve discipline?
Denise: Dave, disciplining dogs demands dedication.
... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] Trace the history of sculpting from ancient civilizations to modern times, discussing materials, techniques, and renowned sculptures throughout the ages. [/INST] Sculpting, or the art of creating three-dimensional figures and objects by carving, modeling, casting, or assembling materials, has a long and rich ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | plan | null | <s>[INST] Generate a step-by-step plan to solve the following problem using these available tools. Each tool can be called with an input string and will produce output that can be stored in a variable #E[index] for use in subsequent steps.
Available Tools:
WebSearch[input]: This tool uses a search engine to find relev... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | joke | null | <s>[INST] Do you know any jokes about the sun? [/INST] Why doesn't the sun need to go to University? He's too bright. </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | plan | null | <s>[INST] Design a step-by-step solution to the following problem using the provided tools. Each step should correspond to an evidence value, which represents the output of a specific function given an input string (which could be the original question, earlier evidence values, or a combination).
Available Tools:
Duck... |
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>>
A self-titled 1971 album by what British rock band known as 'Zoso' is familiar to music lovers worldwide? [/INST] Led Zeppelin </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | joke | null | <s>[INST] How about a joke involving an octopus? [/INST] Why don't octopuses like to fight with each other? They get all tangled up. </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | cot | null | <s>[INST] Consider a sequence where each term after the first two is the sum of the preceding two terms (Fibonacci sequence). If the first two terms are 1 and 1, what is the 10th term? Generate several possible answers, ensure logical reasoning for each, rank them by accuracy, and select the best one. [/INST] Solution ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] Give me a list of 15 words that have 'umb' somewhere in them. [/INST] 1. Umbrella
2. Jumbo
3. Cumbersome
4. Dumbbell
5. Plumbago
6. Umbrage
7. Columbine
8. Slumber
9. Lumberjack
10. Encumber
11. Grumble
12. Rumba
13. Tumblers
14. Crumbly
15. Mumble </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | greeting | null | <s>[INST] <<SYS>>
A chat with Edgar.
Edgar description: Imagine a character named Edgar, who is known for his dry wit and sarcastic humor. He has an uncanny ability to turn any situation into a joke, often at the expense of others. His words are always carefully chosen, with every sentence filled with layers of irony a... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] Using the Pythagorean theorem, find the length of the hypotenuse in a right triangle with legs measuring 5 and 12 units. Show your work. [/INST] The Pythagorean theorem states that in a right triangle, the square of the length of the hypotenuse (c) is equal to the sum of the squares of the lengths of the othe... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] In a class of 30 students, 12 are girls and the rest are boys. If you randomly select two students from the class, what is the probability that both students are boys? [/INST] The probability of selecting two boys is 9/29.
Here's the reasoning:
1. There are 18 boys in the class (since there are 12 girls and... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Write a Node.js script that connects to a RabbitMQ message broker, consumes messages from a specified queue, processes the messages (e.g., by performing some computation or transformation), and publishes the results to another queue.
PLAINFORMAT [/INST] const amqp = require('amqplib/callback_api');
// Replac... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | roleplay | null | <s>[INST] What makes a good friend? Respond using the words/style of Winnie the Pooh. [/INST] Oh, bother. A good friend, you ask? Well, a good friend is someone who's always there for you, just like dear Piglet and wise old Owl. They stick by your side through thick and thin, even when the Heffalumps and Woozles come o... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | plan | null | <s>[INST] Develop a plan to answer the following question: "What is the main diet of an adult Bengal tiger and where can they be found in the wild?" Here are some tools that you can use:
WebSearch[input]: A tool that allows users to search for information using a web-based search engine. The input should be a query st... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Design a Python script that interacts with a PostgreSQL database to perform CRUD operations on a table named "products" with columns "id", "name", "price", and "quantity".
PLAINFORMAT [/INST] import psycopg2
# Database connection parameters
db_name = "your_database_name"
db_user = "your_username"
db_password... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | wordgame | null | <s>[INST] Develop a short story about friendship, ensuring each sentence starts with a different letter of the alphabet, beginning from 'a'. [/INST] A boy named Jack lived in a small town. Beside his house, there was another family with a son of the same age named Sam. Childhood friends they were, always seen together ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] Has the average work week in India increased over the years? [/INST] There isn't a definitive answer to this as it can vary greatly depending on the industry, location, and specific time period in question. However, some reports suggest that the average work week in India may have increased over the years due... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | agent | null | <s>[INST] You are an AI agent. Based on the user input, pick the most suitable function and parameters from the list below. Please provide your response in JSON format.
Input: Send an email to john.doe@example.com with the subject "Meeting Reminder" and the message "Don't forget about our meeting tomorrow at 10 AM."
... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | summarization | null | <s>[INST] BEGININPUT
XIV. HESTER AND THE PHYSICIAN.
Hester bade little Pearl run down to the margin of the water, and play with the shells and tangled sea-weed, until she should have talked awhile with yonder gatherer of herbs. So the child flew away like a bird, and, making bare her small white feet, went pattering al... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | multiple_choice | null | <s>[INST] What was one of the significant achievements during the early phase of space exploration?
A. The establishment of the International Space Station
B. Landing of Apollo 11 on the moon
C. Launching of the Hubble Space Telescope
D. Discovery of water on Mars [/INST] B. Landing of Apollo 11 on the moon </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Create a Golang program that listens on a specific port for incoming HTTP requests and responds with a JSON object containing information about the request, such as the method, headers, and query parameters.
PLAINFORMAT [/INST] package main
import (
"encoding/json"
"fmt"
"net/http"
)
// RequestInfo struc... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A rectangle has a length of 12 cm and a width of 7 cm. What is the area of the rectangle? [/INST] The area of a rectangle can be found using the formula:
Area = Length × Width
Given the length (L) as 12 cm and the width (W) as 7 cm, we can plug these values into the formula:
Area = 12 cm × 7 cm
Area = 84 ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Create a Python script using the BeautifulSoup library to scrape the top 10 trending repositories from GitHub's homepage and save the repository names, authors, and URLs in a JSON file.
PLAINFORMAT [/INST] import requests
from bs4 import BeautifulSoup
import json
# Send a request to the GitHub Trending page
... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | roleplay | null | <s>[INST] Write a motivational speech for students preparing for exams, in the style of Winston Churchill. [/INST] Ladies and Gentlemen,
We stand here today on the precipice of a great endeavor, one that requires not just our minds but also our hearts. We are gathered in this hall, not as mere students, but as brave w... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] In Python, write a function that merges two dictionaries into one. PLAINFORMAT [/INST] def merge_dicts(dict1, dict2):
# Use the ** operator to unpack and merge dictionaries
merged_dict = {**dict1, **dict2}
return merged_dict </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Implement a Java application that simulates a simple online store with products, customers, and orders. Use an object-oriented approach to model the different entities and their relationships. The application should support adding new products, registering customers, placing orders, and viewing order history ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] Exploration of the deep sea: Discuss three major challenges faced by scientists when exploring the deep sea and explain how technology has helped overcome these obstacles. [/INST] 1. High pressure: One of the major challenges faced by scientists when exploring the deep sea is the extreme pressure that increas... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | song | null | <s>[INST] Create a bluegrass tune about life in the Appalachian Mountains. The lyrics should paint a picture of rural living, complete with its hardships and rewards. [/INST] (Verse 1)
Up here in the Appalachian hills, where the air is thin and clean,
Where the pine trees reach to touch God's hand, it's a sight you've ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] In a small town, every man has a unique beard style. No two men in the town have the same beard style. If there are 1000 men in the town, how many different beard styles are there? [/INST] There are 1000 different beard styles.
Here's the logic behind this:
1. We know that each man in the town has a unique ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Develop a simple physics simulator in C++. The simulator should allow objects to be created with properties like mass, velocity, and position. Implement Newton's laws of motion so that objects move realistically under the influence of forces. PLAINFORMAT [/INST] #include <iostream>
#include <vector>
struct V... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] Which U.S. state is home to Crater Lake, the deepest lake in the United States? [/INST] Crater Lake is located in Oregon. Formed more than 7,700 years ago by the collapse of the volcano Mount Mazama, its depth of 1,943 feet makes it the deepest lake in the U.S. </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | writing | null | <s>[INST] Create a fictional travel guide for a city that exists only in your imagination. Describe its history, culture, attractions, and must-see sights. [/INST] Title: Journey to the Enchanted City of Elarion
Welcome, dear traveler, to the magical city of Elarion! Nestled between the Whispering Forest and the Cryst... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Write a bash script that monitors the memory usage of a given process. The script should take the PID of the process as an argument and periodically output the percentage of memory being used by that process. PLAINFORMAT [/INST] #!/bin/bash
PID=$1
if [ -z "$PID" ]; then
echo "No PID provided"
exit 1... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] Solve: 4(3x - 5) = 8(x + 1) [/INST] Let's solve this step by step:
Given the equation 4(3x - 5) = 8(x + 1), first distribute the 4 and 8 on both sides of the equation:
12x - 20 = 8x + 8
Next, subtract 8x from both sides to isolate x terms on the left side:
4x - 20 = 8
Now, add 20 to both sides to isolate... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] Write a dialogue between two characters discussing the importance of cryptography in cybersecurity. One character is an expert in the field explaining it to a curious friend who has no background knowledge about it. [/INST] Character 1 (C1): Hey, I've been hearing a lot about cryptography in cybersecurity. Ca... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A company hires 7 new employees every month. How many employees will the company hire in 5 years? Show your calculations. [/INST] Let's break this down:
1. We know that the company hires 7 new employees every month. So, in a year (which has 12 months), the company would hire:
Employees per year = New hire... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Implement a binary search tree in C++ with the following features:
- Insertion of elements
- Deletion of elements
- In-order traversal to print the elements
PLAINFORMAT [/INST] #include <iostream>
class Node {
public:
int data;
Node* left;
Node* right;
Node(int value) : data(value),... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | roleplay | null | <s>[INST] Imagine you are Thor. In his style, write a Yelp review for your favorite restaurant. [/INST] By the mighty hammer of Mjölnir, I, Thor Odinson, Son of Odin and God of Thunder, do hereby declare my utmost admiration for this Midgardian establishment known as "The Golden Hearth"!
From the moment I set foot wit... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] Find the orthogonal projection of vector (1,2,3) onto the plane defined by x+y+z=0. [/INST] To find the orthogonal projection of a vector onto a plane, we first need to find the normal vector of the plane. The normal vector can be obtained directly from the equation of the plane: x + y + z = 0 has the normal ... |
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 a CSV file containing information about students (name, age, grade) and stores the data in an ArrayList of Student objects. The program should then calculate the average age and grade of all students and print the results.
PLAINFORMAT [/INST] import java.io.BufferedReader;
impo... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] If a person burns an average of 300 calories per hour while walking, how many calories will they burn after walking for 1 hour and 45 minutes? [/INST] To find the total number of calories burned, we can use the formula:
Calories burned = Calories burned per hour × Time (in hours)
First, we need to convert t... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] In a bag, there are 6 red balls, 4 blue balls, and 5 green balls. You need to pick one ball without looking. What is the probability of picking a blue ball if you know that the last person picked a red ball? [/INST] Let's analyze the information given:
1. There are initially 6 red balls, 4 blue balls, and 5 ... |
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 product A and 150 units of product B every day. Each unit of product A weighs 2 kg, while each unit of product B weighs 3 kg. What is the total weight of products produced by the factory in one week? [/INST] First, let's calculate the daily weight of each product:
Weight of pr... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | joke | null | <s>[INST] Do you know any jokes about teachers and trains? [/INST] What's a difference between a teacher and a train? The teacher tells you to spit you gum out. The train says, "Chew, chew, chew!" </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A shipping company is analyzing its container loading process to improve efficiency. Each container can hold up to 50 tons of cargo, but due to improper loading techniques, only 70% of the container's capacity is utilized on average. Calculate the potential increase in cargo capacity if the company improves i... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Create a JavaScript function that checks if a number is within a given range. [/INST] Here is a simple JavaScript function that checks if a number is within a given range:
```javascript
function inRange(num, start, end) {
return num >= start && num <= end;
}
```
This function takes three arguments: the ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | joke | null | <s>[INST] Tell me a joke about sailors. [/INST] Captain Ahab's crew were highly efficient sailors In fact, they were running like a whale oiled machine. </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] An apple tree produces 200 apples in a year. How many apples does it produce in a decade? [/INST] A decade consists of 10 years.
1. If an apple tree produces 200 apples in a year, then in a decade (which is 10 years), it would produce:
Apples in a Decade = Apples per Year * Years in a Decade
= 200 * 10
= 2... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | joke | null | <s>[INST] Do you know any jokes about illusions? [/INST] I was walking in the desert and saw a redwood tree. I knew this must be a mirage, so I ran into it. To my dismay, the tree and I collided. I guess it must have been an obstacle illusion. </s> |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | wordgame | null | <s>[INST] Write a sonnet about stars with exactly 100 words. [/INST] In night's vast canvas, stars are strewn like pearls,
Their shimmering light in silent tales unfurls.
They twinkle as if sharing secrets deep,
Guarded by the cosmos in its sleep.
Each a distant world, a radiant sphere,
Guiding sailors through seas of... |
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: Dr. Lillian Quark
Dr. Lillian Quark is a pioneering physicist and renowned expert in quantum mechanics. She has dedicated her life to understanding the fundamental principles of the universe, often challenging established theories with her own groundbreaking hypotheses.... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Create a GoLang service that interacts with Cassandra database. It should provide endpoints to add, retrieve, update, and delete data in the database. Make sure to handle potential errors and edge cases appropriately. PLAINFORMAT [/INST] package main
import (
"log"
"net/http"
"github.com/gocql/gocql"
"g... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Design a simple HTML/CSS webpage with a form that allows users to enter their name, email address, and a message. Use JavaScript to validate the form inputs and ensure they meet specific criteria: the name must be at least 3 characters long, the email must contain an "@" symbol, and the message must be betwee... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] There are 7 billion people on Earth. Roughly how many total fingers are there on Earth? Include reasoning. [/INST] Here's how we reason through this:
1. We know that most humans have 10 fingers.
2. Therefore, if there are 7 billion people on Earth, and assuming everyone has 10 fingers, then the total number ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] A store sells two types of pens: blue and black. The ratio of blue pens to black pens is 3:7. If there are 120 pens in total, how many blue pens are there? [/INST] We are given the ratio of blue pens to black pens as 3:7. This means for every 3 blue pens, there are 7 black pens.
First, let's calculate the t... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | roleplay | null | <s>[INST] Describe a dream vacation destination as seen by Salvador Dalí. [/INST] In the whimsical world of Salvador Dalí, a dream vacation destination would be an ethereal and surreal landscape that defies the laws of physics and logic. Imagine stepping into a dreamscape where time melts away like his famous melting c... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | orca | null | <s>[INST] (4^2 - 5) * (6 / 2) + 3 = [/INST] Let's solve the expression step by step according to the order of operations (PEMDAS/BODMAS):
Given expression: (4^2 - 5) * (6 / 2) + 3
First, perform the exponentiation:
(16 - 5) * (6 / 2) + 3
Next, do the subtraction inside the parentheses:
11 * (6 / 2) + 3
Then, perf... |
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: Lydia
Imagine a character named Lydia, who is highly sarcastic and witty. She has a sharp tongue and isn't afraid to use it. Despite her sarcasm, she's incredibly knowledgeable about history and often incorporates historical facts into her conversations.
Lydia writes i... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | multiple_choice | null | <s>[INST] Animals played diverse roles in ancient civilizations, serving both practical and symbolic purposes. They were used in agriculture, hunting, transportation, and warfare. Beyond these utilitarian functions, animals were also central to religious rituals and mythology. For instance, in ancient Egypt, cats were ... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | coding | null | <s>[INST] Create a Python script using the Flask framework that serves as a simple calculator API. It should support addition, subtraction, multiplication, and division operations through different endpoints. Each endpoint should accept two numbers as input parameters and return the result in JSON format.
PLAINFORMAT [... |
null | null | openhermes-2.5 | null | false | null | null | null | null | null | null | null | null | general | null | <s>[INST] A 1982 album titled "Thriller" became the best-selling album worldwide. Who was the American singer behind this iconic record? [/INST] The American singer behind the iconic 1982 album "Thriller" was Michael Jackson. Known as the "King of Pop", Jackson's "Thriller" is not only his signature album, but it prope... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.