Datasets:
id stringlengths 1 4 | conversations listlengths 2 2 |
|---|---|
0 | [
{
"from": "human",
"value": "List 10 important events in the history of the US."
},
{
"from": "gpt",
"value": "1. The Signing of the Declaration of Independence (1776): On July 4th, 1776, the 13 British colonies in North America declared their independence from Great Britain with the signing of ... |
1 | [
{
"from": "human",
"value": "Compare and contrast the features of two popular social media sites.\n<No Input>"
},
{
"from": "gpt",
"value": "Nowadays, social media has become an integral part of our lives and there are many different platforms available for us to use. Two of the most popular soc... |
2 | [
{
"from": "human",
"value": "Describe the geographical differences between the states of California and Texas.\n<no input>"
},
{
"from": "gpt",
"value": "California and Texas are two large states located in the western and southern regions of the United States, respectively. They share some simi... |
3 | [
{
"from": "human",
"value": "Construct a story using the details as hints.\nLocation: New York City \nTime: Spring \nTone: Nostalgia"
},
{
"from": "gpt",
"value": "It was a beautiful spring day in New York City, as the sun shone down through the towering buildings and the busy streets began to f... |
4 | [
{
"from": "human",
"value": "Can you share a sample article based on the given topic?\nTopic: Advantages and Disadvantages of Artificial Intelligence"
},
{
"from": "gpt",
"value": "As technology continues to evolve, artificial intelligence (AI) is becoming increasingly prevalent in society. From... |
5 | [
{
"from": "human",
"value": "Generate a list of steps required to build a computer."
},
{
"from": "gpt",
"value": "Here are the steps required to build a computer:\n\n1. Acquire all necessary components: These include a motherboard, CPU, RAM, storage (SSD or HDD), power supply unit, cooling syst... |
6 | [
{
"from": "human",
"value": "Describe the syntax of the given programming language.\nPython"
},
{
"from": "gpt",
"value": "Python is a high-level, object-oriented programming language with a clear and concise syntax. It emphasizes readability and simplicity in its syntax and code structure.\n\nH... |
7 | [
{
"from": "human",
"value": "Use the given concept to create a hypothetical scenario.\nArtificial Intelligence"
},
{
"from": "gpt",
"value": "In a future not so far away, the use of artificial intelligence (AI) has revolutionized the way people go about their daily lives, from simple tasks to co... |
8 | [
{
"from": "human",
"value": "Create a short story in the horror genre based on the given setting.\nSetting: An abandoned island"
},
{
"from": "gpt",
"value": "As the last rays of the sun disappeared below the horizon, the group of eight friends realized that they were stranded on an abandoned is... |
9 | [
{
"from": "human",
"value": "Describe the origins and history of the Internet"
},
{
"from": "gpt",
"value": "The Internet, as we know it today, had its beginnings in the late 1960s and early 1970s, although its roots can be traced back even further to the development of computers and computer ne... |
10 | [
{
"from": "human",
"value": "Generate a story describing the emotions of a character in a given situation.\nAlice is stuck in traffic, trying to get to her parent's house for Thanksgiving."
},
{
"from": "gpt",
"value": "Alice nervously tapped her fingers on the wheel, her eyes darting from one c... |
11 | [
{
"from": "human",
"value": "Convince me that I should buy an Apple product instead of the competitor's product.\nNoInput"
},
{
"from": "gpt",
"value": "There is a multitude of reasons why an Apple product could be the better choice for you over its competitors. Here are a few highlights that ar... |
12 | [
{
"from": "human",
"value": "Write a detailed explanation about the concept of tides."
},
{
"from": "gpt",
"value": "Tides are the rise and fall of sea levels caused by the combined effects of the gravitational forces exerted by the Moon, Sun, and Earth’s rotation. These forces cause the oceans ... |
13 | [
{
"from": "human",
"value": "Given a political issue, write a speech advocating for a policy change on the issue.\nPolitical Issue: Climate Change"
},
{
"from": "gpt",
"value": "Ladies and gentleman,\n\nWe are facing a crisis that threatens not only our way of life, but the very existence of cou... |
14 | [
{
"from": "human",
"value": "Generate a story based on a historical event.\nThe Cuban Missile Crisis"
},
{
"from": "gpt",
"value": "It all began in the summer of 1962, the height of the Cold War between the United States and the Soviet Union. The world was divided into two armed camps, with tens... |
15 | [
{
"from": "human",
"value": "Write an article on the pros and cons of social media usage.\nN/A"
},
{
"from": "gpt",
"value": "The rise of social media has brought about profound changes in the way we communicate and interact with each other. With over 3.6 billion people connected to social netwo... |
16 | [
{
"from": "human",
"value": "Write a description of a typical summer day in the countryside."
},
{
"from": "gpt",
"value": "A typical summer day in the countryside is beautiful and serene. The sun rises early and wisps of golden light filter through the trees and across the fields, casting a war... |
17 | [
{
"from": "human",
"value": "Find information in the following document about the history of the space program.\nNASA's History"
},
{
"from": "gpt",
"value": "NASA, or The National Aeronautics and Space Administration, was established in 1958 by the U.S. government, in response to the Soviet Uni... |
18 | [
{
"from": "human",
"value": "Compose a blog post on the topic of \"Why companies need to invest in employee training\"."
},
{
"from": "gpt",
"value": "In today's fast-paced business environment, the need for companies to invest in employee training has never been more critical. Organizations tha... |
19 | [
{
"from": "human",
"value": "Generate a travel blog article discussing the pros and cons of <mask> compared to the other tourist destination in India.\nJaipur"
},
{
"from": "gpt",
"value": "Jaipur, also known as the Pink City, is a popular tourist destination in India known for its rich history,... |
20 | [
{
"from": "human",
"value": "Research and describe the historical context which led to the creation of the World Trade Organization"
},
{
"from": "gpt",
"value": "The World Trade Organization, or WTO for short, is an international organization that deals with the regulation of trade between its ... |
21 | [
{
"from": "human",
"value": "Explain how friction affects a car's performance."
},
{
"from": "gpt",
"value": "Friction is a force that opposes motion and plays a critical role in how well a car performs, whether it be while driving, braking or cornering. Friction occurs due to the contact betwee... |
22 | [
{
"from": "human",
"value": "Describe the history of the automobile industry in the US."
},
{
"from": "gpt",
"value": "The automobile industry in the United States has a rich and storied history. The industry began in the late 1800s, with a number of inventors and entrepreneurs working to develo... |
23 | [
{
"from": "human",
"value": "Design a mobile app for the input service.\nA taxi booking service."
},
{
"from": "gpt",
"value": "If we were to design a mobile app for a taxi booking service, here is an outline of what the app might include:\n\n1. Splash screen: The app opens up to a splash screen... |
24 | [
{
"from": "human",
"value": "Given the following essay prompt, write an argumentative essay of 300 words or less.\nDiscuss the benefits that technology brings to modern society."
},
{
"from": "gpt",
"value": "In the modern world, technology has become an important part of our lives. It has impac... |
25 | [
{
"from": "human",
"value": "Compose a short story of 400 words, based on the prompt provided.\nPrompt: A young librarian discovers a dust-covered book that has been missing for centuries."
},
{
"from": "gpt",
"value": "Once upon a time, there was a young librarian named Amelia. She had always l... |
26 | [
{
"from": "human",
"value": "Write a essay in 500 words, presenting your opinion on the following topic.\nThe applications of Artificial Intelligence have been advancing exponentially over the last decade, resulting in promising solutions in the fields of healthcare and finance."
},
{
"from": "gpt",... |
27 | [
{
"from": "human",
"value": "Construct a timeline of the events leading up to the American Revolution.\n\"<noinput>\""
},
{
"from": "gpt",
"value": "Here is a timeline of some of the major events leading up to the American Revolution:\n\n1754-1763 - French and Indian War (also known as the Seven... |
28 | [
{
"from": "human",
"value": "Provide a 500 word character profile of a protagonist.\nMark is a 45-year-old librarian."
},
{
"from": "gpt",
"value": "Mark is a gentle and sincere man of 45 years, working as a librarian in his town’s public library. He has always had a love for books and the knowl... |
29 | [
{
"from": "human",
"value": "Imagine you are trying to convince someone why they should visit your hometown. What are the main reasons to visit?"
},
{
"from": "gpt",
"value": "My hometown is a fantastic place to visit, and there are several main reasons why anyone would want to come to explore i... |
30 | [
{
"from": "human",
"value": "Compose an opinionated essay arguing why the given topic should not be ignored.\nClimate Change"
},
{
"from": "gpt",
"value": "Climate change is one of the most pressing issues facing our world today, and it is an issue that should not be ignored. Despite the overwhe... |
31 | [
{
"from": "human",
"value": "Generate a story beginning with the phrase: \"It was the coldest night of the year\"."
},
{
"from": "gpt",
"value": "It was the coldest night of the year when Anna found herself shivering under her duvet, listening to the frost spreading along the window panes. She t... |
32 | [
{
"from": "human",
"value": "Imagine that you are a travel writer and create a list of interesting places to visit in a given city.\nNew York City"
},
{
"from": "gpt",
"value": "New York City is one of the most iconic cities in the world, offering a plethora of exciting and interesting destinati... |
33 | [
{
"from": "human",
"value": "Reverse engineer the following object piece by piece and describe each part.\nObject: Pen"
},
{
"from": "gpt",
"value": "A pen is a writing instrument that is designed to apply ink to a surface, traditionally paper, in order to create text or drawings. The pen can be... |
34 | [
{
"from": "human",
"value": "Formulate a strategy for a client company that is looking to improve their website's SEO.\nThe client is a small business selling plumbing products online."
},
{
"from": "gpt",
"value": "1. **Keyword research:** Start by identifying the most relevant keywords for you... |
35 | [
{
"from": "human",
"value": "Generate a thousand words of text based on the given prompt.\nPrompt:\nThe old woman walked through the dense forest."
},
{
"from": "gpt",
"value": "The old woman walked through the dense forest, her steps firm and sure even with her age. She moved with a grace and e... |
36 | [
{
"from": "human",
"value": "Produce an analysis of the advertising industry."
},
{
"from": "gpt",
"value": "The advertising industry is constantly evolving and holds a significant role in promoting the sale of products and services, and in shaping the public perception of a brand. This industry... |
37 | [
{
"from": "human",
"value": "Describe the development of the film industry since 1975."
},
{
"from": "gpt",
"value": "Since 1975, the film industry has undergone a tremendous amount of growth and change. At the onset of this period, the concept of the blockbuster film was established with the re... |
38 | [
{
"from": "human",
"value": "Generate an essay on the following topic\nThe impact of technology on society"
},
{
"from": "gpt",
"value": "Technology has had a profound impact on society, changing the ways in which we live, work and interact. Over the last few decades, advances in technology have... |
39 | [
{
"from": "human",
"value": "Given a politician's name, provide a detailed description of the politician's policy objectives.\nDonald Trump"
},
{
"from": "gpt",
"value": "Donald Trump served as the 45th President of the United States from 2017 to 2021. Trump's policy objectives during his tenure... |
40 | [
{
"from": "human",
"value": "Write a blog post about climate change from the perspective of a scientist.\nNo Input"
},
{
"from": "gpt",
"value": "Climate Change: A Scientific Perspective\n\nClimate change is one of the most pressing issues of our time, with repercussions that span all aspects of... |
41 | [
{
"from": "human",
"value": "Create a story arc that introduces a character given a short description. You may provide more details and events.\nA 5-year-old boy who loves to ask questions but hates following rules"
},
{
"from": "gpt",
"value": "Once there was a little boy named Timmy. At just f... |
42 | [
{
"from": "human",
"value": "Write a 500-word blog post about the value of art in education."
},
{
"from": "gpt",
"value": "Art is an essential part of education and plays a critical role in shaping one's creative expression and cognitive development. From the earliest stages of human civilizati... |
43 | [
{
"from": "human",
"value": "Trace the origins of the English language"
},
{
"from": "gpt",
"value": "The English language has a rich and complex history that spans over centuries and continents. The earliest origins of English language can be traced back to the 5th and 7th centuries when Anglo-... |
44 | [
{
"from": "human",
"value": "Write a blog post discussing the effects of social media on self-esteem."
},
{
"from": "gpt",
"value": "In recent years, social media has become an integral part of our everyday lives. It allows us to connect with others, share our experiences, and stay up-to-date wi... |
45 | [
{
"from": "human",
"value": "Explain the evolutionary history of a buffalo."
},
{
"from": "gpt",
"value": "The buffalo, also known as bison, is a large herbivore that belongs to the family Bovidae, which also includes antelopes, goats, and sheep. Its evolutionary history can be traced back to ar... |
46 | [
{
"from": "human",
"value": "Write a set of instructions to guide the user through an activity.\nActivity: Growing a sunflower"
},
{
"from": "gpt",
"value": "Growing a Sunflower: Step-by-Step Instructions\n\n1. Choose a sunny location: Sunflowers thrive in direct sunlight and require 6-8 hours o... |
47 | [
{
"from": "human",
"value": "Describe the reasons why human brains are better at recognizing patterns than computers"
},
{
"from": "gpt",
"value": "While computers excel in data processing and can recognize patterns at much faster speed than humans, our brains are often better equipped to handle... |
48 | [
{
"from": "human",
"value": "Design an animal shelter."
},
{
"from": "gpt",
"value": "An animal shelter is a place where stray, lost, abandoned, or surrendered animals, mostly dogs and cats, and sometimes sick or wounded wildlife, are kept and rehabilitated.\n\nHere are some basic steps to consi... |
49 | [
{
"from": "human",
"value": "Create a plan for how the given organization can perform the task.\nOrganization: Marketing Agency\nTask: Developing a marketing strategy that is friendly to the environment"
},
{
"from": "gpt",
"value": "As a marketing agency, developing an environmentally friendly ... |
50 | [
{
"from": "human",
"value": "Create a plan of action depending on the given situation.\nSituation: An online store has launched and is not generating enough sales"
},
{
"from": "gpt",
"value": "Here is a plan of action that can be implemented to increase sales:\n\n1. **Evaluate the website**: Re... |
51 | [
{
"from": "human",
"value": "Create a 5-step process to write a blog post."
},
{
"from": "gpt",
"value": "1. **Plan:** Start by picking a topic or a general idea for your blog post. Determine what you want to convey to your audience and what message or information you want to share. Ensure that ... |
52 | [
{
"from": "human",
"value": "Write an essay on the advantages of renewable energy."
},
{
"from": "gpt",
"value": "Renewable energy is defined as a form of energy that comes from natural resources that can be replenished over time. Wind, solar, hydro, geothermal, and bioenergy are all examples of... |
53 | [
{
"from": "human",
"value": "Describe the challenges and opportunities of mobile phone use in developing countries"
},
{
"from": "gpt",
"value": "The use of mobile phones in developing countries presents both challenges and opportunities. \n\nChallenges: \n\n1. Affordability: Although the price ... |
54 | [
{
"from": "human",
"value": "Write an essay on the following topic: Technology's Impact On The Work Place"
},
{
"from": "gpt",
"value": "Technology has dramatically transformed the way we work, and its impact on the workplace is undeniable. Advances in technology have revolutionized how we commu... |
55 | [
{
"from": "human",
"value": "Come up with strategies on how to increase the customer satisfaction for the specific product.\nMailing list subscription software"
},
{
"from": "gpt",
"value": "1. Regular feature updates: Incorporate feedback from customers and release timely updates that provide n... |
56 | [
{
"from": "human",
"value": "Come up with an algorithm that can predict the stock prices of a given company."
},
{
"from": "gpt",
"value": "Here is a basic outline of an algorithm that could be used to predict future stock prices for a company:\n\n1) Gather historical data: The first step in cre... |
57 | [
{
"from": "human",
"value": "Use the given heading to generate a paragraph with 15 sentences\nAdvantages of Online Learning"
},
{
"from": "gpt",
"value": "Online learning has revolutionized the education system and has provided a number of advantages to students seeking education. Firstly, it is... |
58 | [
{
"from": "human",
"value": "Can you explain the rules of chess?"
},
{
"from": "gpt",
"value": "Sure! Chess is a strategic board game played between two players. The game is played on a square board with 64 squares arranged in an 8 by 8 grid. Each player begins the game with 16 pieces: one king,... |
59 | [
{
"from": "human",
"value": "Describe how Natural Language Processing (NLP) works."
},
{
"from": "gpt",
"value": "Natural Language Processing (NLP) is a branch of artificial intelligence that focuses on the interaction between humans and computers using natural language. It is the means by which... |
60 | [
{
"from": "human",
"value": "Write a scene to illustrate the given situation.\nA family having a picnic in the park."
},
{
"from": "gpt",
"value": "The Smith family is seated on a large checkered blanket in the lush green park, surrounded by tall trees and colorful wildflowers. The sun is shinin... |
61 | [
{
"from": "human",
"value": "Imagine that the year is 2040 and describe a typical day."
},
{
"from": "gpt",
"value": "In the year 2040, a typical day would likely be characterized by increased levels of technological integration into our daily lives, making everything run smoother and more effic... |
62 | [
{
"from": "human",
"value": "How does the Supreme Court of the US work?"
},
{
"from": "gpt",
"value": "The Supreme Court is the highest court in the United States and is responsible for interpreting the Constitution and federal laws. It is located in Washington, D.C., and is made up of nine just... |
63 | [
{
"from": "human",
"value": "Describe a process of creating a web page.\nNo input."
},
{
"from": "gpt",
"value": "Creating a web page involves several steps and requires some knowledge of HTML, CSS, and possibly other web development languages. Here is a simplified process of creating a web page... |
64 | [
{
"from": "human",
"value": "Process a speech with a text-generating model.\nA speech given by Sir Winston Churchill at Harvard University in September 1943"
},
{
"from": "gpt",
"value": "Ladies and gentlemen, distinguished guests of Harvard University, it is my great honor to be addressing you ... |
65 | [
{
"from": "human",
"value": "Describe a historic event in detail.\nOctober Revolution"
},
{
"from": "gpt",
"value": "The October Revolution, also known as the Bolshevik Revolution or the Russian Revolution, was a series of events that occurred in Russia in October (in the Julian calendar, which ... |
66 | [
{
"from": "human",
"value": "Based on the input text, write a persuasive argument supporting the idea that \"textbooks should be available for free\".\nTextbooks are often expensive and difficult for students to purchase."
},
{
"from": "gpt",
"value": "Textbooks are a vital resource for students... |
67 | [
{
"from": "human",
"value": "Develop a list of strategies to increase website traffic."
},
{
"from": "gpt",
"value": "1. **Optimize website for search engines (SEO):** Make sure your website is properly optimized for search engines by incorporating keywords, meta-descriptions, and other on-page ... |
68 | [
{
"from": "human",
"value": "Suppose you are a financial analyst. Create a report that evaluates the current market conditions."
},
{
"from": "gpt",
"value": "As a helpful AI assistant, I am not able to access the current market conditions, therefore I cannot provide a current report. However, a... |
69 | [
{
"from": "human",
"value": "Explain how the given phenomenon can be beneficial.\nGlobal warming"
},
{
"from": "gpt",
"value": "While the effects of global warming are overwhelmingly negative, there are some potential benefits that may arise from the phenomenon. Here are some possible advantages... |
70 | [
{
"from": "human",
"value": "Write a story using these three words: life, creation, surprise"
},
{
"from": "gpt",
"value": "In the beginning, there was only the void. Then came the great creation, when the universe burst into existence in an explosion of light and energy. Among the millions of p... |
71 | [
{
"from": "human",
"value": "Describe how technology has changed over the last decade."
},
{
"from": "gpt",
"value": "Technology has advanced at an unprecedented rate over the last decade, bringing about significant changes in virtually all areas of our lives. Here are some of the major ways in ... |
72 | [
{
"from": "human",
"value": "Imagine you are writing a script for a movie. Describe the house of the main character."
},
{
"from": "gpt",
"value": "The camera pans over the tree lined neighborhood street, the sun shining down casting a warm glow. The camera lingers on a large two-story colonial-... |
73 | [
{
"from": "human",
"value": "Write a story about a cat that can walk on two legs."
},
{
"from": "gpt",
"value": "Once upon a time in a small village nestled between rolling hills and sprawling fields, there lived a special cat. This wasn't just any ordinary cat, for she had a unique talent- she ... |
74 | [
{
"from": "human",
"value": "Compare the given two things and explain the differences.\nPolar bear and Grizzly bear"
},
{
"from": "gpt",
"value": "Polar bears and grizzly bears are two different species of bears with some notable differences. Polar bears are found in the Arctic region, while gri... |
75 | [
{
"from": "human",
"value": "Generate a story for the input provided:\nFranklin was a young veterinarian who had just graduated from college. He was excited to start a new job but soon realised that the job wasn't as easy as he thought."
},
{
"from": "gpt",
"value": "Franklin was filled with ant... |
76 | [
{
"from": "human",
"value": "Imagine a day in the life of a zoo keeper."
},
{
"from": "gpt",
"value": "As a zookeeper, the day typically starts early, arriving at the zoo before it opens to the public. The first task of the day is to check on all the animals in their care, making sure they are h... |
77 | [
{
"from": "human",
"value": "Describe the structure and function of mitochondria."
},
{
"from": "gpt",
"value": "Mitochondria, often referred to as the powerhouse of the cell, are membrane-bound organelles found in the cytoplasm of eukaryotic cells. These organelles are responsible for convertin... |
78 | [
{
"from": "human",
"value": "Analyze the benefits and drawbacks of the given political concept.\nCapitalism"
},
{
"from": "gpt",
"value": "Capitalism refers to an economic and political system in which a country's industry and trade are controlled by private owners for profit, rather than by the... |
79 | [
{
"from": "human",
"value": "Generate a fantasy creature that lives in the mountains."
},
{
"from": "gpt",
"value": "The creature that resides in the mountainous ranges is known as the Furgor. It is a majestic beast, standing four meters tall and weighing around eight hundred pounds. Its fur is ... |
80 | [
{
"from": "human",
"value": "Write a blog post about the use of artificial intelligence in mobile applications."
},
{
"from": "gpt",
"value": "In recent years, artificial intelligence has been growing in popularity in many industries, including the world of mobile applications. AI-enabled mobile... |
81 | [
{
"from": "human",
"value": "Tell me a story about a wizard who saves a village from a dragon."
},
{
"from": "gpt",
"value": "Once in the Kingdom of Orthal, there lived a powerful and wise wizard named Merlin. He was known throughout the land for his mighty spells, his wisdom and his kindness. O... |
82 | [
{
"from": "human",
"value": "Write a short story involving three characters from three different cultures."
},
{
"from": "gpt",
"value": "In a bustling city, three strangers, each from a different culture, find themselves sharing a park bench during a hot summer day. Ahmed, a Moroccan man, is re... |
83 | [
{
"from": "human",
"value": "Research a topic and provide a summary report on it.\nThe impact of online streaming on traditional television viewing."
},
{
"from": "gpt",
"value": "Online streaming has had a significant impact on traditional television viewing habits. With the rise of streaming s... |
84 | [
{
"from": "human",
"value": "Write a 500-word story about a young orphan who discovers a hidden magical power."
},
{
"from": "gpt",
"value": "Lila was just an ordinary orphan living in a rundown orphanage in the outskirts of a bustling city. She spent her days doing chores, attending classes at ... |
85 | [
{
"from": "human",
"value": "Compose a persuasive argument to encourage someone to visit your hometown.\nHometown: New York City, USA"
},
{
"from": "gpt",
"value": "There are few cities in the world that can rival the vibrancy and excitement of New York City, USA. Known as the \"City That Never ... |
T-SHIRT: Token-Selective Hierarchical Data Selection for Instruction Tuning
Yanjun Fu, Faisal Hamman, Sanghamitra Dutta
[📖 Paper]
Overview
Abstract
Instruction tuning is essential for Large Language Models (LLMs) to effectively follow user instructions. To improve training efficiency and reduce data redundancy, recent works use LLM-based scoring functions, e.g., Instruction-Following Difficulty (IFD), to select high–quality instruction-tuning data with scores above a threshold. While these data selection methods often lead to models that can match or even exceed the performance of models trained on the full datasets, we identify two key limitations: (i) they assess quality at the sample level, ignoring token-level informativeness; and (ii) they overlook the robustness of the scoring method, often selecting a sample due to superficial lexical features instead of its true quality. In this work, we propose Token-Selective HIeRarchical Data Selection for Instruction Tuning (T-SHIRT), a novel data selection framework that introduces a new scoring method to include only informative tokens in quality evaluation and also promote robust and reliable samples whose neighbors also show high quality with less local inconsistencies. We demonstrate that models instruction-tuned on a curated dataset (only 5% of the original size) using T-SHIRT can outperform those trained on the entire large-scale dataset by up to 5.48 points on average across eight benchmarks. Across various LLMs and training set scales, our method consistently surpasses existing state-of-the-art data selection techniques, while also remaining both cost-effective and highly efficient. For instance, by using GPT-2 for score computation, we are able to process a dataset of 52k samples in 40 minutes on a single GPU.Requirements
To install the required packages for Python 3.12:
pip install -r requirements.txt
Data Selection
To select data, run the following command:
bash scripts/select_data.sh
Data selected from Alpaca-GPT4 and Magpie is provided in datasets/alpaca_gpt4 and datasets/alpaca_magpie.
Training
To train the model(s) described in the paper, run one of the following commands:
bash scripts/train_qwen25_7b.sh tshirt_k_50 datasets/alpaca_gpt4/tshirt_k_50.json
or
bash scripts/train_llama31_8b.sh tshirt_k_75 datasets/alpaca_gpt4/tshirt_k_75.json
Evaluation
OpenLLM Leaderboard Benchmarks
We evaluate instruction-tuned models on six OpenLLM Leaderboard benchmarks. For detailed instructions, please refer to the official LM-Eval-Harness repository.
Specifically, we use the following benchmarks:
The corresponding LM-Eval-Harness task names are:
arc_challenge, hellaswag, mmlu, truthfulqa_mc2, leaderboard_bbh, gsm8k
Arena-Hard
We use Gemini-2.5-Flash-Preview-04-17 as the judge for Arena-Hard-v0.1. Please refer to the official Arena-Hard repository for evaluation details.
AlpacaEval-2.0
We use GPT-4o-2024-08-06 as the judge for AlpacaEval-2.0. Please refer to the official AlpacaEval-2.0 repository for evaluation details.
Citation
If you find our work helpful, please consider citing our paper:
@inproceedings{
fu2025tshirt,
title={T-{SHIRT}: Token-Selective Hierarchical Data Selection for Instruction Tuning},
author={Yanjun Fu and Faisal Hamman and Sanghamitra Dutta},
booktitle={The Thirty-ninth Annual Conference on Neural Information Processing Systems},
year={2025},
}
- Downloads last month
- 20
