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 Java program that generates a random maze using Prim's algorithm. The program should take input for the dimensions of the maze (rows and columns) and display the generated maze as an ASCII grid. PLAINFORMAT [/INST] import java.util.ArrayList; import java.util.List; import java.util.Random; import jav...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
coding
null
<s>[INST] Create a Golang command-line tool that interacts with a PostgreSQL database to manage a simple inventory system. Items should have a name, quantity, and price. Implement functionality for adding items, updating item quantities, and generating a report of total inventory value. PLAINFORMAT [/INST] package main...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
general
null
<s>[INST] In which U.S. state can you find Mount Rushmore, featuring the carved faces of four American presidents: George Washington, Thomas Jefferson, Theodore Roosevelt, and Abraham Lincoln? [/INST] Mount Rushmore, an iconic American landmark featuring the large carved faces of Presidents George Washington, Thomas Je...
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: Malala Yousafzai Malala Yousafzai, a young activist who advocates for female education. She is courageous, eloquent, compassionate, and wise beyond her years. Her experiences have made her resilient and given her a strong sense of justice. She's deeply committed to her ...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
writing
null
<s>[INST] Write a nostalgic story about an old man named Alfred who revisits his childhood home after 50 years, only to find it in ruins. The house is located in the small town of Meadowgrove where he spent most of his summers growing up. [/INST] In the quaint town of Meadowgrove, where time seemed to slow and life was...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
orca
null
<s>[INST] If there are 8 ounces in a cup and you have 5 cups of water, how many pounds of water do you have? (1 pound = 16 ounces) [/INST] First, let's convert the amount of water from cups to ounces: Total ounces = Number of cups × Ounces per cup = 5 × 8 = 40 ounces Next, ...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
coding
null
<s>[INST] Create a Python program that generates random math problems (addition, subtraction, multiplication, and division) and asks the user to solve them. The program should keep track of the number of correct answers and provide feedback after each question. PLAINFORMAT [/INST] import random def generate_problem():...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
coding
null
<s>[INST] Develop a Python script that uses BeautifulSoup and requests libraries to scrape a specified Wikipedia page for all its headings (h1, h2, h3) and saves them into a JSON file. The output JSON file should have the following structure: {"h1": ["heading1", "heading2"], "h2": ["subheading1", "subheading2"], "h3": ...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
orca
null
<s>[INST] A car travels at a constant speed of 60 miles per hour. How long will it take for the car to travel 180 miles? [/INST] It will take 3 hours for the car to travel 180 miles. Here's the reasoning: 1. We are given the car's constant speed as 60 miles per hour. 2. We need to determine how long it takes for the ...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
roleplay
null
<s>[INST] Create a script for a stand-up comedy routine in the style of Jerry Seinfeld discussing office life. [/INST] (Seinfeld enters the stage, waving to the audience) SEINFELD: Thank you! Thank you very much! Good evening ladies and gentlemen! (Pause for applause) SEINFELD: So, how many of you work in an office?...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
general
null
<s>[INST] Outline the development of smartphones by discussing three critical technological advancements that contributed to their current capabilities and widespread adoption. [/INST] 1. Touchscreen Technology: One of the most significant technological advancements that contributed to the development of smartphones is...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
multiple_choice
null
<s>[INST] In the field of computer science, the concept of "Big O notation" is a mathematical notation that describes the limiting behavior of a function when the argument tends towards a particular value or infinity. It is a member of a family of notations invented by Paul Bachmann, Edmund Landau, and others, collecti...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
orca
null
<s>[INST] In a room, there are 7 cats. Each cat has 6 legs instead of the usual 4 legs. How many regular four-legged cats need to be added to the room to make the average number of legs per cat equal to 5? [/INST] Let's break down this problem step-by-step: 1. We have 7 cats, each with 6 legs. 2. The total number of le...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
orca
null
<s>[INST] There are 5 cats in a room. Each cat catches 3 mice. If each mouse weighs 20 grams, how much do all the mice weigh together? [/INST] The total weight of the mice is 300 grams. Here's the reasoning: 1. We start with 5 cats in the room. 2. Each cat catches 3 mice, so there are a total of 5 x 3 = 15 mice caught...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
theory_of_mind
null
<s>[INST] In a classroom, there are five students: Sam, Tanya, Uma, Victor, and Wendy. They each have a different colored pencil case: red, blue, green, yellow, and purple. One day, the teacher asks them to put their pencil cases in a row on her desk. Sam goes first and places his red pencil case down. Tanya follows wi...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
orca
null
<s>[INST] A store sells apples for $1 each and oranges for $2 each. Alice buys a total of 20 fruits from the store, spending exactly $30. How many oranges did she buy? [/INST] Let's use algebra to solve this problem: 1. Let A represent the number of apples and O represent the number of oranges. 2. We know that A + O = ...
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's the name of the largest moon of Jupiter, also known as Jovian Moon? [/INST] Ganymede </s>
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
orca
null
<s>[INST] A large hotel chain wants to analyze the efficiency of their housekeeping staff. They have data on the average time it takes to clean each type of room: standard rooms take 25 minutes, suites take 45 minutes, and penthouses take 1 hour. The hotel has 200 standard rooms, 50 suites, and 10 penthouses. If the ho...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
coding
null
<s>[INST] Develop a Node.js script that connects to a Redis database, stores key-value pairs, and retrieves values based on user input. The script should handle errors gracefully and provide informative messages. PLAINFORMAT [/INST] const redis = require('redis'); const readline = require('readline'); const client = r...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
general
null
<s>[INST] Present the healing properties of three crystals in a JSON format, including their names and associated benefits. [/INST] { "crystals": [ { "name": "Amethyst", "healing_properties": [ "Calms the mind and emotions", "Enhances intuition and spiritual growth", "Aids in s...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
coding
null
<s>[INST] Implement a merge sort algorithm in Python that sorts a list of strings alphabetically (case-insensitive) and handles duplicate entries by merging them together. PLAINFORMAT [/INST] def merge_sort(lst): if len(lst) <= 1: return lst mid = len(lst) // 2 left = lst[:mid] right = lst[mid:...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
roleplay
null
<s>[INST] What is the meaning of friendship? Respond using the words/style of Winnie the Pooh. [/INST] "Well," began Pooh, "I do believe friendship is a very grand sort of thing. It's sharing hunny when you only have a little, and not minding one bit. It's finding the thistle for Eeyore when he's lost his, even if it m...
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 the world of opera, who is the Italian composer known for masterpieces such as 'La Boheme' and 'Madame Butterfly'? [/INST] Giacomo Puccini </s>
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
plan
null
<s>[INST] Develop a plan to respond to the following question using the listed tools. For each step in your plan, provide an evidence value which corresponds to the output of one of the available functions. Available Tools: AskJeeves[input]: A tool that allows you to ask direct questions and receive succinct answers....
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
orca
null
<s>[INST] A car rental company charges a flat fee of $50 per day plus an additional $0.25 per mile driven. If a customer rents a car for 3 days and drives 200 miles, what is the total cost of the rental? Provide step-by-step reasoning. [/INST] Step 1: Calculate the cost of renting the car for 3 days. The flat fee is $5...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
coding
null
<s>[INST] Design a Node.js application that uses the Twitter API to fetch tweets containing a specific hashtag and performs sentiment analysis on them using a third-party library. Display the overall sentiment score along with the most positive and negative tweets. [/INST] To create a Node.js application that fetches t...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
coding
null
<s>[INST] Write a Golang program that uses the GitHub API to fetch information about a given repository, such as its owner, description, star count, and fork count. The user should be able to specify the repository URL via a command line argument. [/INST] Here's a Golang program that fetches information about a given r...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
orca
null
<s>[INST] A bag contains 12 marbles - 4 red, 4 blue, and 4 green. If you randomly pick two marbles without replacement, what is the probability that both marbles are the same color? [/INST] Let's consider each color separately: 1. For red marbles: There are 4 red marbles out of 12 total marbles, so the probability of ...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
general
null
<s>[INST] Role-play as a famous explorer recounting their most significant discovery. The account should include details about the journey, challenges faced, and the impact of the discovery on the world. [/INST] Ladies and Gentlemen, I am Captain James Cook, the renowned British explorer and navigator. Today, I will re...
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, 60% are female. If 75% of the females pass an exam and 80% of the males pass the same exam, what percentage of the entire class passed the exam? [/INST] First, let's determine how many students are female and male: Number of females = Total students * Percentage female ...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
orca
null
<s>[INST] I speak without a mouth and hear without ears. I have no body, but I come alive with wind. What am I? Explain your thought process. [/INST] This is a classic example of a riddle, where we're given clues about something and asked to identify what it is. - Speaking without a mouth might suggest some form of co...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
joke
null
<s>[INST] Can you tell me a joke about plugs? [/INST] Why did the plug go to the party? It heard there would be a lot of sockets. </s>
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: Dr. Luna Spectrum, Caleb Dr. Luna Spectrum: Dr. Luna Spectrum is a state-of-the-art AI with an exceptional ability to understand and interpret human emotions. She excels in providing empathetic responses, offering comfort, and helping users navigate their feelings. With a...
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, 16 are boys. How many girls are there in the class? Provide step-by-step logic. [/INST] To determine the number of girls in the class, we subtract the number of boys from the total number of students: Number of girls = Total students - Number of boys = 30 - 16 = 14 Therefore, ther...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
wordgame
null
<s>[INST] Write a haiku including two words that are palindromes. [/INST] River's gentle flow, Mirrored in a silent noon, Nature's calm echo. </s>
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
coding
null
<s>[INST] Write a Java program that implements a simple HTTP server with the following features: support for GET and POST requests, ability to serve static files from a specified directory, and an endpoint for uploading files (using their MD5 hash as the filename). The server should be configurable via command line arg...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
orca
null
<s>[INST] If a factory produces 500 units of product A per day and each unit sells for $20, how much additional revenue would the factory generate if they increased production by 10%? [/INST] First, let's find out how many more units the factory would produce with a 10% increase in production: Additional units = Curre...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
orca
null
<s>[INST] In how many ways can you distribute 10 identical candies among 4 children if each child must receive at least one candy? [/INST] This problem can be solved using the stars and bars method. We have 10 identical candies to distribute among 4 children, with each child receiving at least one candy. First, give o...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
writing
null
<s>[INST] Draft a dystopian novella centered around a society that neglected recycling and waste management, leading to environmental catastrophe and societal collapse. [/INST] Title: The Waste We Left Behind Chapter 1: Ignorance is Bliss In the year 2045, our world was unrecognizable. A once vibrant planet teeming w...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
wordgame
null
<s>[INST] Write a sonnet about love with each line beginning with consecutive letters of the alphabet. [/INST] All hearts do yearn for love's sweet touch, Beneath the moon or midday sun. Can we deny it matters much, Delighting in when two become one? Every soul seeks its mate, Finding joy in shared laughter and tears...
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 and counts the frequency of words in the file. The output should be a dictionary where keys are unique words and values are their frequencies. Additionally, the script should print the top 10 most frequent words. PLAINFORMAT [/INST] import re from collections imp...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
general
null
<s>[INST] What's the most common way to contract a skin infection? [/INST] The most common way to contract a skin infection is through direct contact with an infected person or contaminated objects. This can include touching, scratching, or having sexual contact with someone who has a skin infection. It can also occur ...
null
null
openhermes-2.5
null
true
null
null
null
null
null
null
null
null
gtkm
null
<s>[INST] A chat between Winston and James. Description of Winston: Picture a character named Winston, who is exceptionally polite and excessively formal. He has an old-fashioned way of speaking that harks back to Victorian times, using words like 'henceforth', 'verily' and 'thou'. Despite his antiquated language, he o...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
roleplay
null
<s>[INST] Write a monologue about autumn leaves in the style of Edgar Allan Poe. [/INST] Oh, the melancholy beauty of the autumn leaves! How they shimmer in the cool, crisp air, like fragile embers clinging to life amidst the encroaching chill. Each leaf a vibrant testament to nature's final burst of glory before succu...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
general
null
<s>[INST] This popular children's book character lives in the Hundred Acre Wood with friends like Piglet and Eeyore. [/INST] Winnie the Pooh is a beloved character from children's literature who resides in the enchanting and idyllic Hundred Acre Wood. Along with his memorable companions such as the timid Piglet and the...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
orca
null
<s>[INST] A family decides to plant a garden with 7 rows of plants. They want to have 9 plants in each row. However, they only have 50 plants. Can they complete their garden plan? Explain your thought process. [/INST] Let's go through this step-by-step: 1. The family wants to plant a garden with 7 rows of 9 plants eac...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
coding
null
<s>[INST] Develop a Golang program that reads a CSV file containing information about employees (name, age, department, salary) and performs the following tasks: - Calculate the average salary per department. - Find the oldest employee in each department. - Sort the employees by their salaries in ascending ord...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
orca
null
<s>[INST] If you drive at an average speed of 45 miles per hour for 2 hours and 30 minutes, how far will you travel? [/INST] To determine the distance traveled, we can use the formula: Distance = Speed * Time First, we need to convert the time given (2 hours and 30 minutes) into hours only. We know that 1 hour = 60 m...
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 American author, known for his wit and satire, wrote the 1920s novel "The Great Gatsby"? [/INST] F. Scott Fitzgerald </s>
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
coding
null
<s>[INST] Develop a Python program that utilizes the Tkinter library to create a simple graphical user interface for a to-do list application. The application should allow users to add tasks, mark them as completed, and delete completed tasks. [/INST] Here's a simple Python program using Tkinter to create a To-Do List ...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
roleplay
null
<s>[INST] Describe a bustling city using the words/style of Charles Dickens. [/INST] In the heart of this grand metropolis, where the clamour of commerce and industry doth echo through its very streets, there lies a scene so vibrant and alive that one can scarce believe it to be wrought by mortal hands. A veritable hiv...
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>> Who was the British physicist and mathematician who formulated the laws of motion and universal gravitation, laying the groundwork for classical mechanics? [/INST] Sir Isaac Newton </s>
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
roleplay
null
<s>[INST] Compose a ballad about exploring the deep sea in the style of The Beatles. [/INST] (Verse 1) In the town where I was born, Lived a man who sailed the seas, And he told us of his life, Exploring depths with such ease. So we gathered all our gear, To embark upon this quest, In our submarine, so fine, We would ...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
orca
null
<s>[INST] A water tank holds 250 gallons when full. If a faucet releases water from the tank at a rate of 4 gallons per minute, how long will it take to empty half of the tank? [/INST] First, let's determine how many gallons are in half of the tank: Half of the tank = 250 gallons / 2 = 125 gallons Now, we know that t...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
orca
null
<s>[INST] What is the sum of the first 10 terms of the arithmetic sequence with the first term as 3 and a common difference of 4? [/INST] To find the sum of the first 10 terms of an arithmetic sequence, we can use the formula for the sum of an arithmetic series: Sum = n * (a_1 + a_n) / 2 where n is the number of term...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
coding
null
<s>[INST] Develop a JavaScript function that validates email addresses using regular expressions. [/INST] Here's a JavaScript function that validates email addresses using regular expressions: ```javascript function validateEmail(email) { const regex = /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
multiple_choice
null
<s>[INST] Which of the following nutrients is most critical for the process of DNA methylation, a key process in epigenetic regulation? A. Folate B. Vitamin C C. Iron D. Calcium [/INST] A. Folate </s>
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
coding
null
<s>[INST] Write a C++ program that generates fractal images using the Mandelbrot set. The program should take the dimensions of the image, the range of coordinates to plot, and the maximum number of iterations as input parameters. PLAINFORMAT [/INST] #include <iostream> #include <complex> #include "EasyBMP.h" using na...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
orca
null
<s>[INST] In a class of 40 students, 12 play football, 18 play basketball, and 25 play volleyball. 5 students play both football and basketball, 8 play both football and volleyball, and 10 play both basketball and volleyball. 2 students play all three sports. How many students don't play any sport? [/INST] There are 9 ...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
coding
null
<s>[INST] Create a Node.js Express server that provides endpoints for uploading and downloading files. [/INST] To create a Node.js Express server that provides endpoints for uploading and downloading files, you can use the following steps: 1. Install required packages: First, make sure you have Node.js installed on yo...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
multiple_choice
null
<s>[INST] The study of fluid mechanics is fundamental to many fields of engineering, including aerospace and civil engineering. It involves understanding the behavior of liquids and gases at rest and in motion. Bernoulli's principle, for instance, explains the relationship between the velocity and pressure of a moving ...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
roleplay
null
<s>[INST] What is the essence of love? Respond using the words/style of Romeo from Romeo and Juliet. [/INST] In fair Verona, where we lay our scene, The essence of love doth dwell in purest heart, A force that knows no bounds nor reason's scheme, Where two souls entwine and ne'er shall part. Love's gentle touch, like ...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
coding
null
<s>[INST] Implement a Python script that performs CRUD operations on an AWS RDS instance using SQLAlchemy. The script should: a. Connect to a specified RDS instance and database. b. Define a simple table schema using SQLAlchemy's ORM. c. Perform insert, update, delete, and query operations on the table base...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
orca
null
<s>[INST] In a group of 120 people, 75% are vaccinated against a certain disease. How many more people need to be vaccinated in order to reach a vaccination rate of 90% within the group? [/INST] First, let's find out how many people are currently vaccinated: Number of vaccinated people = Total number of people * Vacci...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
cot
null
<s>[INST] A group of friends are planning a road trip. The car they will be using can travel 300 miles on one tank of gas. Each friend has agreed to pay for one full tank of gas. If there are 4 friends going on the trip, how far can they travel? Use chain-of-thought reasoning to generate several possible responses, the...
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 psychologist and a patient discussing the potential meanings behind a recurring dream the patient has been having. [/INST] Psychologist: Good afternoon, how are you today? Patient: I'm okay, thank you. But I've been having this recurring dream that's bothering me. Psycholo...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
general
null
<s>[INST] Name a lesser-known inventor and give a brief overview of their most significant invention and its impact on society. [/INST] Inventor: Garrett Morgan Significant Invention: Traffic light and gas mask Garrett Morgan was an African-American inventor who made significant contributions to society with his inve...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
coding
null
<s>[INST] Implement a Python function that computes the least common multiple (LCM) of two integers. [/INST] Here is a Python function that computes the least common multiple (LCM) of two integers: ```python def lcm(a, b): # Compute the greatest common divisor (GCD) def gcd(a, b): while(b): ...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
orca
null
<s>[INST] In a classroom, there are 4 times as many girls as boys. If there are 25 students in total, how many boys are there in the class? [/INST] Let's reason through this problem: 1. We know that there are 4 times as many girls as boys in the class. 2. Let's assume that there are 'x' boys in the class. Then, there w...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
coding
null
<s>[INST] Design a Golang REST API that allows users to create, read, update, and delete notes. The notes should be stored in a MySQL database, and each note should have a title, content, and timestamp. PLAINFORMAT [/INST] package main import ( "database/sql" "encoding/json" "fmt" "log" "net/http" "strconv" "g...
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>> This phrase referring to vision is an anagram of "the eyes". [/INST] they see </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: Frida Kahlo Frida Kahlo was a renowned Mexican artist, known for her vibrant and surreal self-portraits that often depicted themes of identity, post-colonialism, gender, class, and race in Mexican society. Born on July 6, 1907, she suffered from polio as a child and lat...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
general
null
<s>[INST] Where can people access free higher education? [/INST] 1. Germany: Germany offers free higher education to all students, including international students. The only fees required might be a small semester contribution ranging from 50 to 250 euros. 2. Norway: Public universities in Norway do not charge tuition...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
coding
null
<s>[INST] Design a C++ program that reads a large text file and counts the frequency of each word. The program should use a trie data structure to store the words and their frequencies efficiently. [/INST] Here's a C++ program that reads a large text file and counts the frequency of each word using a trie data structur...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
coding
null
<s>[INST] Develop a Node.js script that fetches data from OpenSearch API, given a query string, and returns the top 5 results based on relevance. PLAINFORMAT [/INST] const axios = require('axios'); async function fetchOpenSearchData(query) { try { const apiUrl = 'https://en.wikipedia.org/w/api.php'; const pa...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
misconception
null
<s>[INST] Does shaving make hair grow back thicker and darker? [/INST] Shaving does not affect the thickness or color of hair. When hair grows back after being shaved, it may appear darker and coarser due to the blunt tip created by cutting the hair shaft. </s>
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
joke
null
<s>[INST] Can you share a joke about highlighters? [/INST] Why did the highlighter go to school? It wanted to mark its territory. </s>
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
multiple_choice
null
<s>[INST] The field of psychology is vast, encompassing various subfields such as behavioral psychology and cognitive psychology. Behavioral psychology, also known as behaviorism, studies how our environment influences our actions, while cognitive psychology focuses on mental processes like memory, perception, thinking...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
multiple_choice
null
<s>[INST] In the field of civil engineering, the design of a bridge is a complex process that involves many factors. The structural integrity of the bridge is paramount, and engineers must consider the load-bearing capacity, the materials used, and the environmental conditions where the bridge will be built. For exampl...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
orca
null
<s>[INST] Three people check into a hotel room that costs $30. They split the cost evenly and each pay $10. Later, the manager realizes the room was only supposed to cost $25 and gives the bellhop $5 to return to the guests. On the way to the room, the bellhop decides to keep $2 for himself and then gives each guest $1...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
coding
null
<s>[INST] Write a Python function to reverse a singly linked list. The function should take the head node of the list as input and return the new head node after reversing the list. [/INST] class ListNode: def __init__(self, val=0, next=None): self.val = val self.next = next def reverse_linked_list...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
writing
null
<s>[INST] Draft a suspenseful thriller novel outline about a deep-sea exploration team discovering an underwater civilization. Their discovery should challenge our understanding of life as we know it. [/INST] Title: Abyssal Shadows I. Introduction The novel opens with the introduction of our protagonist, Dr. James Cor...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
roleplay
null
<s>[INST] Write a recipe for a delicious dessert using the words/style of Gollum from Lord of the Rings. [/INST] Title: Precious Pudding Yesss, my precious, we will make a tasty treat for us, yesss. A delicious dessert to fill our bellies and satisfy our cravings, gollum. Ingredients: - 2 cups of milk (from the cow t...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
wordgame
null
<s>[INST] Compose a limerick using five words that begin with the letter 't'. [/INST] A tiger named Tim from Tibet, Found a tiny trinket to get. In the town's treasure trove, With tenacity he strove, 'Til triumphantly, his target was met. </s>
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 legendary creature, typically depicted as a large, hairy, bipedal humanoid, is said to inhabit the forests of North America? [/INST] Bigfoot (or Sasquatch) </s>
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
coding
null
<s>[INST] Create a JavaScript function that implements the binary search algorithm on a sorted array of numbers. [/INST] Here's a JavaScript function that implements the binary search algorithm on a sorted array of numbers: ```javascript function binarySearch(arr, target) { let left = 0; let right = arr.length - 1...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
orca
null
<s>[INST] You have two hourglasses: one measures 7 minutes and the other measures 11 minutes. Using only these two hourglasses, how can you measure exactly 15 minutes? [/INST] You can measure exactly 15 minutes by following these steps: 1. Start both hourglasses at the same time. 2. When the 7-minute hourglass runs ou...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
writing
null
<s>[INST] Write a press release announcing the launch of a new line of luxury electric cars by a renowned automobile company. Highlight the car's innovative features, superior performance, and commitment to sustainability without using green tech or renewable energy terms. [/INST] FOR IMMEDIATE RELEASE New Luxury Elec...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
general
null
<s>[INST] What's the only method to secure a perfect score in GRE? [/INST] There isn't a "one-size-fits-all" method to secure a perfect score in GRE as it depends on various factors such as individual's understanding, preparation level, and test-taking skills. However, here are some strategies that can help: 1. Unders...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
wordgame
null
<s>[INST] Construct a haiku with three words that are palindromes. [/INST] Moon's gentle glow, noon, River's serene mirror, wow. Sleepy eyes see too. </s>
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
orca
null
<s>[INST] A large supermarket chain is analyzing its inventory management system to reduce waste and improve product availability. The company stocks over 10,000 products in each store, with varying shelf lives and storage requirements. They aim to maintain a maximum stockout rate of 2% while minimizing spoilage and ex...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
orca
null
<s>[INST] A company produces two types of products, A and B. Product A requires 5 units of raw material and product B requires 8 units of raw material. The company has 2000 units of raw material available. How many units of each product can they produce if they want to maximize their production while using all the avai...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
orca
null
<s>[INST] A company produces 100 units of product X in an hour. How many units would they produce in a non-leap year if they operate 24 hours a day, 7 days a week? Show your work. [/INST] To solve this problem, let's break it down into steps: 1. First, calculate how many units are produced in a day. Since there are 24...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
coding
null
<s>[INST] Develop a Golang program that implements a basic HTTP server with support for GET and POST requests. The server should serve static files from a specified directory, handle file uploads to the same directory using unique filenames, and log all incoming requests to a separate log file. [/INST] Here's a simple ...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
orca
null
<s>[INST] There are 4 boxes, each containing a different number of balls. Box A has more balls than box B, and box C has fewer balls than box D. If we combine the balls from box A and box C, there will be more balls than if we combine the balls from box B and box D. Which box has the most balls? [/INST] Let's analyze t...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
general
null
<s>[INST] What famous Italian city, known for its canals and gondolas, is also the name of a casino resort in Las Vegas? [/INST] Venice is an iconic Italian city famous for its winding canals, beautiful gondolas, and rich history. This city shares its name with The Venetian, a luxury hotel and casino resort located on ...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
orca
null
<s>[INST] A company has an annual budget of $120,000 for employee training programs. If each program costs $4,000 to run and can accommodate up to 20 employees, how many programs can be held and how many employees can participate in total? [/INST] First, let's determine how many programs the company can afford to hold ...
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 the first half of a journey and then increases its speed to 70 miles per hour for the second half, what is the average speed for the entire journey? [/INST] To find the average speed for the entire journey, we need to consider both the distance tra...
null
null
openhermes-2.5
null
false
null
null
null
null
null
null
null
null
writing
null
<s>[INST] Pen down a nostalgic poem about a childhood summer spent at a grandmother's house in the countryside. Capture the essence of rural life, simple pleasures, and timeless memories. [/INST] In the heart of a summer, long past and bright, At my grandmother's house, bathed in soft country light. Rustic and charming...
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 popular video game character Sonic the Hedgehog was created by what Japanese company? [/INST] Sega </s>