The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationCastError
Exception: DatasetGenerationCastError
Message: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 1 new columns ({'conversations'}) and 2 missing columns ({'chosen', 'rejected'}).
This happened while the json dataset builder was generating data using
hf://datasets/HayatoHongo/minimind_dataset/lora_identity.jsonl (at revision ee19eff463a56bc49b2acee80ce8b45bca0f50e1)
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1831, in _prepare_split_single
writer.write_table(table)
File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 714, in write_table
pa_table = table_cast(pa_table, self._schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2272, in table_cast
return cast_table_to_schema(table, schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
conversations: list<item: struct<role: string, content: string>>
child 0, item: struct<role: string, content: string>
child 0, role: string
child 1, content: string
to
{'chosen': List({'content': Value('string'), 'role': Value('string')}), 'rejected': List({'content': Value('string'), 'role': Value('string')})}
because column names don't match
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1334, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 911, in stream_convert_to_parquet
builder._prepare_split(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1702, in _prepare_split
for job_id, done, content in self._prepare_split_single(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1833, in _prepare_split_single
raise DatasetGenerationCastError.from_cast_error(
datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 1 new columns ({'conversations'}) and 2 missing columns ({'chosen', 'rejected'}).
This happened while the json dataset builder was generating data using
hf://datasets/HayatoHongo/minimind_dataset/lora_identity.jsonl (at revision ee19eff463a56bc49b2acee80ce8b45bca0f50e1)
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
chosen list | rejected list |
|---|---|
[
{
"content": "continue",
"role": "user"
},
{
"content": "As Recharge Retreats grows, we plan to expand our team with additional event coordinators and marketing specialists. To accommodate this growth, we will establish an office space that fosters collaboration and creativity among team members. We... | [
{
"content": "continue",
"role": "user"
},
{
"content": "A. Scaling:\n\n1. Offer a franchise model: Allow others to open and operate Recharge Retreats franchises in different regions, expanding our reach and revenue potential.\n2. Develop online courses and coaching programs: Create supplementary in... |
[
{
"content": "How would you quantify the impact of a strong directorial vision on the movie ratings, considering both script and lead actor performance are mediocre?",
"role": "user"
},
{
"content": "A strong directorial vision can significantly elevate a film, even if both the script and lead actor... | [
{
"content": "How would you quantify the impact of a strong directorial vision on the movie ratings, considering both script and lead actor performance are mediocre?",
"role": "user"
},
{
"content": "A strong directorial vision can also have a profound impact on a movie's success, even in the presen... |
[
{
"content": "I'm looking for assistance in evaluating 2265/877, can you help me with that? Only mathematical symbols, no verbal descriptions.",
"role": "user"
},
{
"content": "Certainly! To evaluate the expression 2265/877, you simply need to compute the division operation.\n\n2265 ÷ 877 = 2.570...... | [
{
"content": "I'm looking for assistance in evaluating 2265/877, can you help me with that? Only mathematical symbols, no verbal descriptions.",
"role": "user"
},
{
"content": "Of course! The expression 2265/877 can be simplified and written as:\n\n2265 ÷ 877 = (2 x 1131) ÷ (7 x 125) = 1131/125, or ... |
[
{
"content": "Explain the potential challenges and criticisms that Gandhi and King might have faced in implementing their nonviolent strategies, and how these challenges could have influenced the evolution of their respective movements.",
"role": "user"
},
{
"content": "Implementing nonviolent strat... | [
{
"content": "Explain the potential challenges and criticisms that Gandhi and King might have faced in implementing their nonviolent strategies, and how these challenges could have influenced the evolution of their respective movements.",
"role": "user"
},
{
"content": "Gandhi and King faced several... |
[
{
"content": "Find the size of angle x in the figure.",
"role": "user"
},
{
"content": "To determine the size of angle x in the provided figure, I need more information about the angles, sides and/or any additional angles in the triangle or polygon that you are referring to. An angle's size cannot b... | [
{
"content": "Find the size of angle x in the figure.",
"role": "user"
},
{
"content": "To find the size of angle x, let us apply the basic geometry formula for angles in a triangle.\n\nA triangle consists of three sides and three angles. The sum of the angles in any triangle is always 180 degrees. ... |
[
{
"content": "Explain the climatic conditions one would encounter while traversing the geographical features between Sacramento, California, and Augusta, Maine.",
"role": "user"
},
{
"content": "Starting in Sacramento, California, the climate is Mediterranean, with hot, dry summers and mild, wet win... | [
{
"content": "Explain the climatic conditions one would encounter while traversing the geographical features between Sacramento, California, and Augusta, Maine.",
"role": "user"
},
{
"content": "The climate conditions while traversing from Sacramento, California, to Augusta, Maine vary widely due to... |
[
{
"content": "Expand on the role of motion-capture technology in the creation of Gollum. How did this breakthrough contribute to the film industry as a whole?",
"role": "user"
},
{
"content": "The creation of Gollum in The Lord of the Rings trilogy was a groundbreaking moment in the use of motion-ca... | [
{
"content": "Expand on the role of motion-capture technology in the creation of Gollum. How did this breakthrough contribute to the film industry as a whole?",
"role": "user"
},
{
"content": "Motion-capture technology, or \"mocap,\" played a transformative role in the creation of the character Goll... |
[
{
"content": "How does the existentialist perspective address the potential nihilistic implications of creating one's own meaning in an infinitely expanding universe?",
"role": "user"
},
{
"content": "Existentialism provides a balanced approach to addressing potential nihilistic implications of crea... | [
{
"content": "How does the existentialist perspective address the potential nihilistic implications of creating one's own meaning in an infinitely expanding universe?",
"role": "user"
},
{
"content": "Existentialism acknowledges the potential nihilistic implications of creating one's own meaning in ... |
[
{
"content": "Elaborate on the specific materials and steps the Apollo 13 crew used to construct the makeshift carbon dioxide filter with duct tape.",
"role": "user"
},
{
"content": "During the Apollo 13 mission, an explosion in one of the oxygen tanks caused a critical system failure. The crew had ... | [
{
"content": "Elaborate on the specific materials and steps the Apollo 13 crew used to construct the makeshift carbon dioxide filter with duct tape.",
"role": "user"
},
{
"content": "The Apollo 13 crew was faced with a catastrophic failure of the spacecraft's oxygen tank, which affected the Spacecra... |
[
{
"content": "Discuss the impact of air and water pollution on the photosynthesis process in detail.",
"role": "user"
},
{
"content": "Air and water pollution can significantly impact the photosynthesis process in plants. Here's how:\n\n1. Air Pollution: Air pollutants such as sulfur dioxide, nitrog... | [
{
"content": "Discuss the impact of air and water pollution on the photosynthesis process in detail.",
"role": "user"
},
{
"content": "Air and water pollution can significantly impact the photosynthesis process, both directly and indirectly, affecting the growth and physiology of plants.\n\n1. Direc... |
[
{
"content": "Can you elaborate on how the position of the tongue and shape of the mouth create different overtones and vocal effects in didgeridoo playing?",
"role": "user"
},
{
"content": "Absolutely. The position of the tongue and shape of the mouth play significant roles in generating overtones ... | [
{
"content": "Can you elaborate on how the position of the tongue and shape of the mouth create different overtones and vocal effects in didgeridoo playing?",
"role": "user"
},
{
"content": "Certainly! The position of the tongue and the shape of the mouth are critical aspects of a player's embouchur... |
[
{
"content": "Elaborate on the concept of God transcending the universe in Panentheism. How does this reconcile with the belief that God is in everything?",
"role": "user"
},
{
"content": "In Panentheism, the concept of God transcending the universe refers to the idea that God is not limited by the ... | [
{
"content": "Elaborate on the concept of God transcending the universe in Panentheism. How does this reconcile with the belief that God is in everything?",
"role": "user"
},
{
"content": "In panentheism, the concept of God transcending the universe means that while God is present in every aspect of... |
[
{
"content": "Describe the physical symptoms of anxiety that an individual with aibohphobia might experience when exposed to palindromes.",
"role": "user"
},
{
"content": "When an individual with aibohphobia is exposed to palindromes, they may experience a variety of physical symptoms of anxiety. Th... | [
{
"content": "Describe the physical symptoms of anxiety that an individual with aibohphobia might experience when exposed to palindromes.",
"role": "user"
},
{
"content": "When an individual with aibohphobia is exposed to palindromes and begins to experience anxiety, they may exhibit a variety of ph... |
[
{
"content": "Can you explain what is going on in this query?",
"role": "user"
},
{
"content": "Certainly! Let's break down the query step by step:\n\n```sql\nWITH distance_diffs AS (\n SELECT *,\n Distance - LAG(Distance) OVER (ORDER BY Distance) AS diff\n FROM memories\n)\n```\nThis quer... | [
{
"content": "Can you explain what is going on in this query?",
"role": "user"
},
{
"content": "The query you provided is a combination of the previous queries, which calculates the elbow threshold `d` and then returns the rows that belong to the first cluster based on this threshold. Here's a break... |
[
{
"content": "What is 74983751184995-80066091796?\nequations/math only, no commentary.",
"role": "user"
},
{
"content": "74983751184995 - 80066091796 = 74903685093199",
"role": "assistant"
}
] | [
{
"content": "What is 74983751184995-80066091796?\nequations/math only, no commentary.",
"role": "user"
},
{
"content": "To calculate the difference between these two large numbers, we can perform the subtraction as follows:\n\n7,498,375,118,4995\n- 8,006,609,179,600\n-------------------\n-508,234,0... |
[
{
"content": "Considering the different storage requirements for various potato varieties, how would you design a storage system in a grocery store to ensure each type stays fresh?",
"role": "user"
},
{
"content": "To design a storage system in a grocery store to ensure that various potato varieties... | [
{
"content": "Considering the different storage requirements for various potato varieties, how would you design a storage system in a grocery store to ensure each type stays fresh?",
"role": "user"
},
{
"content": "To design an efficient potato storage system in a grocery store, the following steps ... |
[
{
"content": "Elaborate on the impact of digital animation on the economics of film production. How has the transition from traditional to digital animation influenced the cost, labor, and time involved in producing animated films?",
"role": "user"
},
{
"content": "Digital animation has significantl... | [
{
"content": "Elaborate on the impact of digital animation on the economics of film production. How has the transition from traditional to digital animation influenced the cost, labor, and time involved in producing animated films?",
"role": "user"
},
{
"content": "The transition from traditional to... |
[
{
"content": "Considering the strategies John could implement for effective delegation, how might he handle potential resistance from his team or manage the transition period to ensure minimal disruption to his thriving business?",
"role": "user"
},
{
"content": "To handle potential resistance from ... | [
{
"content": "Considering the strategies John could implement for effective delegation, how might he handle potential resistance from his team or manage the transition period to ensure minimal disruption to his thriving business?",
"role": "user"
},
{
"content": "When John delegates tasks, it’s poss... |
[
{
"content": "Could you assist me in computing the sum of 895776547990 and 17125300197253? Only respond with math and no words.",
"role": "user"
},
{
"content": "895776547990 + 17125300197253 = 18021076745243",
"role": "assistant"
}
] | [
{
"content": "Could you assist me in computing the sum of 895776547990 and 17125300197253? Only respond with math and no words.",
"role": "user"
},
{
"content": "Yes, certainly. The sum of 895776547990 and 17125300197253 can be computed with the following mathematical expression:\n\n895776547990 + 1... |
[
{
"content": "How would the parallel painting process be integrated back into the main assembly line without causing a bottleneck again, considering the painting stage still takes the same amount of time?",
"role": "user"
},
{
"content": "To prevent the parallel painting process from causing a bottl... | [
{
"content": "How would the parallel painting process be integrated back into the main assembly line without causing a bottleneck again, considering the painting stage still takes the same amount of time?",
"role": "user"
},
{
"content": "To integrate the parallel painting process back into the main... |
[
{
"content": "Could you elaborate on how the theme of 'Good vs Evil' specifically influences the protagonist's decisions and relationships in a typical fantasy narrative?",
"role": "user"
},
{
"content": "The theme of 'Good vs Evil' often plays a crucial role in shaping the decisions and relationshi... | [
{
"content": "Could you elaborate on how the theme of 'Good vs Evil' specifically influences the protagonist's decisions and relationships in a typical fantasy narrative?",
"role": "user"
},
{
"content": "Certainly, the theme of 'Good vs Evil' is a powerful influence on a protagonist's decisions and... |
[
{
"content": "Reflecting on the character's deep bond with the animals, how might this connection have influenced his relationships with his human counterparts in the circus? Consider the dynamics of trust, respect, and communication in both contexts.",
"role": "user"
},
{
"content": "The character'... | [
{
"content": "Reflecting on the character's deep bond with the animals, how might this connection have influenced his relationships with his human counterparts in the circus? Consider the dynamics of trust, respect, and communication in both contexts.",
"role": "user"
},
{
"content": "The character'... |
[
{
"content": "Discuss the specific techniques and tools used in Arabic calligraphy, highlighting how they contribute to its unique aesthetic and cultural significance.",
"role": "user"
},
{
"content": "Arabic calligraphy, or Khat in Arabic, is a highly stylized writing system that is considered a vi... | [
{
"content": "Discuss the specific techniques and tools used in Arabic calligraphy, highlighting how they contribute to its unique aesthetic and cultural significance.",
"role": "user"
},
{
"content": "Arabic calligraphy, also known as 'Khatt al-'Arabī', is a distinct form of calligraphy that has pl... |
[
{
"content": "Considering the psychological benefits and implementation strategies of gamified exercise in a corporate wellness program, how could you design a comprehensive, year-long wellness initiative that incorporates these elements, while also addressing potential challenges such as varying fitness levels... | [
{
"content": "Considering the psychological benefits and implementation strategies of gamified exercise in a corporate wellness program, how could you design a comprehensive, year-long wellness initiative that incorporates these elements, while also addressing potential challenges such as varying fitness levels... |
[
{
"content": "Given the strategies outlined for attracting customers from neighboring towns, how could the gourmet donut shop leverage digital marketing tools to maximize its reach and impact, considering aspects such as target audience identification, content creation, platform selection, and performance track... | [
{
"content": "Given the strategies outlined for attracting customers from neighboring towns, how could the gourmet donut shop leverage digital marketing tools to maximize its reach and impact, considering aspects such as target audience identification, content creation, platform selection, and performance track... |
[
{
"content": "Help me coach teams away from using Story Points",
"role": "user"
},
{
"content": "As a coach, you can guide teams away from using Story Points and steer them toward alternative estimation methods that better suit their needs. Here are a few suggestions to help you in this process:\n\n... | [
{
"content": "Help me coach teams away from using Story Points",
"role": "user"
},
{
"content": "It is certainly possible to coach teams away from using Story Points as an estimation technique for agile software development. Here are a few alternative approaches and tips for transitioning teams to t... |
[
{
"content": "How might smaller class sizes and robust student support services specifically address the challenges of individual student attention and community building at Miami Dade College?",
"role": "user"
},
{
"content": "Smaller class sizes and robust student support services can play a criti... | [
{
"content": "How might smaller class sizes and robust student support services specifically address the challenges of individual student attention and community building at Miami Dade College?",
"role": "user"
},
{
"content": "Smaller class sizes and robust student support services are crucial in a... |
[
{
"content": "In step 4 of your explanation, you stated to let the 7-minute hourglass run out, which adds 3 minutes to the total time, and then flip it again to measure an additional minute. Can you clarify how you accurately measure this final minute using the 7-minute hourglass?",
"role": "user"
},
{
... | [
{
"content": "In step 4 of your explanation, you stated to let the 7-minute hourglass run out, which adds 3 minutes to the total time, and then flip it again to measure an additional minute. Can you clarify how you accurately measure this final minute using the 7-minute hourglass?",
"role": "user"
},
{
... |
[
{
"content": "Discuss the impact of Spielberg's tendency towards sentimentality on his film narratives, providing specific examples from his filmography.",
"role": "user"
},
{
"content": "While Steven Spielberg's use of sentimentality can at times be seen as a drawback or limitation, it has also con... | [
{
"content": "Discuss the impact of Spielberg's tendency towards sentimentality on his film narratives, providing specific examples from his filmography.",
"role": "user"
},
{
"content": "Spielberg's sentimental style of filmmaking has been both praised and criticized since the inception of his care... |
[
{
"content": "Considering the trial's long-term influence on the scientific revolution and the Enlightenment, could you elaborate on specific thinkers or movements that directly cited Galileo's trial as a catalyst for their work or ideas?",
"role": "user"
},
{
"content": "While it is difficult to pi... | [
{
"content": "Considering the trial's long-term influence on the scientific revolution and the Enlightenment, could you elaborate on specific thinkers or movements that directly cited Galileo's trial as a catalyst for their work or ideas?",
"role": "user"
},
{
"content": "The trial of Galileo Galile... |
[
{
"content": "Drawing from O'Keeffe's fascination with the natural forms and structures she discovered in New Mexico, how might her approach to abstraction and scale be seen as a reflection of her personal experience and perception of the American Southwest?",
"role": "user"
},
{
"content": "Georgia... | [
{
"content": "Drawing from O'Keeffe's fascination with the natural forms and structures she discovered in New Mexico, how might her approach to abstraction and scale be seen as a reflection of her personal experience and perception of the American Southwest?",
"role": "user"
},
{
"content": "Georgia... |
[
{
"content": "Why artificial constructs are not life? What distinguishes artificial and natural? Wouldn't the creation of humans be a natural behavior of them? So that the artificial constructs are just a natural byproduct.",
"role": "user"
},
{
"content": "The distinction between artificial constru... | [
{
"content": "Why artificial constructs are not life? What distinguishes artificial and natural? Wouldn't the creation of humans be a natural behavior of them? So that the artificial constructs are just a natural byproduct.",
"role": "user"
},
{
"content": "The distinction between artificial constru... |
[
{
"content": "How does the process of cellular respiration in plants relate to photosynthesis, particularly in terms of energy transformation and the exchange of gases?",
"role": "user"
},
{
"content": "Cellular respiration and photosynthesis are two fundamental biological processes that complement ... | [
{
"content": "How does the process of cellular respiration in plants relate to photosynthesis, particularly in terms of energy transformation and the exchange of gases?",
"role": "user"
},
{
"content": "Cellular respiration is a process that occurs in both plants and animals and serves as the main m... |
[
{
"content": "How does the process of coral bleaching, caused by the expulsion of zooxanthellae, affect the wider ecosystem of the Great Barrier Reef?",
"role": "user"
},
{
"content": "Coral bleaching has far-reaching impacts on the wider ecosystem of the Great Barrier Reef. The coral reefs are ofte... | [
{
"content": "How does the process of coral bleaching, caused by the expulsion of zooxanthellae, affect the wider ecosystem of the Great Barrier Reef?",
"role": "user"
},
{
"content": "Coral bleaching, caused by the expulsion of zooxanthellae, can have severe consequences for the wider ecosystem of ... |
[
{
"content": "Considering Robert Mulligan's filmography, how did his directing style evolve over time and what impact did it have on the film industry?",
"role": "user"
},
{
"content": "Robert Mulligan's directing style evolved over time by adapting to the changing social, political, and cultural co... | [
{
"content": "Considering Robert Mulligan's filmography, how did his directing style evolve over time and what impact did it have on the film industry?",
"role": "user"
},
{
"content": "Robert Mulligan's directing style was marked by a focus on character-driven narratives and a cautious exploration ... |
[
{
"content": "i'm indian",
"role": "user"
},
{
"content": "As an Indian, your preferences or dietary choices may vary. Here are some new suggestions based on popular Indian grocery items:\n\n1. Basmati Rice: A classic, aromatic rice variety made for Indian cuisine, to serve with your favorite currie... | [
{
"content": "i'm indian",
"role": "user"
},
{
"content": "As an artificial intelligence grocery store shopping assistant, I understand that being Indian plays a significant role in your preferences and dietary needs. Here are some suggestions based on Indian cuisine and ingredients:\n\n1. Mustard O... |
[
{
"content": "In what scenarios might the use of more specific adverbs enhance the precision and vividness of language?",
"role": "user"
},
{
"content": "More specific adverbs can enhance the precision and vividness of language in numerous scenarios, by providing greater detail and nuance to a sente... | [
{
"content": "In what scenarios might the use of more specific adverbs enhance the precision and vividness of language?",
"role": "user"
},
{
"content": "Specific adverbs can enhance the precision and vividness of language in many scenarios. Here are some examples:\n\n1. Describing physical actions:... |
[
{
"content": "Find the numerical outcome of 425666320/98386. Exclude words; show only the math.",
"role": "user"
},
{
"content": "425666320 / 98386 = 4.3455351111984894145865866010886\n\nThis is the mathematical outcome of the division operation you requested. The decimal result has been rounded to ... | [
{
"content": "Find the numerical outcome of 425666320/98386. Exclude words; show only the math.",
"role": "user"
},
{
"content": "425666320 - 98386 * 4000 = 425666320 - 393544000 = 32122320\n32122320 - 98386 * 300 = 32122320 - 29515800 = 2606520\n2606520 - 98386 * 20 = 2606520 - 1967720 = 638800\n63... |
[
{
"content": "Reflect on the emotional journey of the person fishing. How does the experience change them and their perspective on life?",
"role": "user"
},
{
"content": "Throughout the process of fishing in this paradise, the individual undergoes an emotional journey that is as transformative as th... | [
{
"content": "Reflect on the emotional journey of the person fishing. How does the experience change them and their perspective on life?",
"role": "user"
},
{
"content": "The experience of fishing in this paradise is more than just an activity, it’s a transformative journey that alters the person in... |
[
{
"content": "\"Discuss the communal aspect of altar building in ancient cultures, and how this might have influenced Noah's decision to build the first altar, as per Genesis 8:20.\"",
"role": "user"
},
{
"content": "In many ancient cultures, including those of the Near East where the biblical narra... | [
{
"content": "\"Discuss the communal aspect of altar building in ancient cultures, and how this might have influenced Noah's decision to build the first altar, as per Genesis 8:20.\"",
"role": "user"
},
{
"content": "Altar building in ancient cultures was often a communal activity that reflected a c... |
[
{
"content": "How did the shift towards painting everyday scenes and the focus on light and weather effects in different conditions challenge the traditional norms of the art world during the Impressionist era?",
"role": "user"
},
{
"content": "The shift towards painting everyday scenes and the focu... | [
{
"content": "How did the shift towards painting everyday scenes and the focus on light and weather effects in different conditions challenge the traditional norms of the art world during the Impressionist era?",
"role": "user"
},
{
"content": "The shift toward painting everyday scenes and the exclu... |
[
{
"content": "3713841893836/4?\nLimit your response to mathematical expressions and symbols.",
"role": "user"
},
{
"content": "3713841893836 / 4 = 928460473459",
"role": "assistant"
}
] | [
{
"content": "3713841893836/4?\nLimit your response to mathematical expressions and symbols.",
"role": "user"
},
{
"content": "To find the result of dividing 3,713,841,893,836 by 4, we can express this as a mathematical operation using symbols:\n\n\\[\\frac{3,713,841,893,836}{4}\\]\n\nNow which spec... |
[
{
"content": "How does the elephant's body regulate the process of vasoconstriction and vasodilation in response to temperature changes?",
"role": "user"
},
{
"content": "The regulation of vasoconstriction and vasodilation in an elephant's body in response to temperature changes is primarily control... | [
{
"content": "How does the elephant's body regulate the process of vasoconstriction and vasodilation in response to temperature changes?",
"role": "user"
},
{
"content": "The process of vasoconstriction and vasodilation in elephants (or any other animal species) is influenced by several factors that... |
[
{
"content": "How would you ensure fairness in the point distribution system of the gamified Remote Scavenger Hunt to prevent any potential bias or advantage based on participants' living conditions or resources?",
"role": "user"
},
{
"content": "To ensure fairness in the point distribution system o... | [
{
"content": "How would you ensure fairness in the point distribution system of the gamified Remote Scavenger Hunt to prevent any potential bias or advantage based on participants' living conditions or resources?",
"role": "user"
},
{
"content": "Ensuring fairness in the gamified Remote Scavenger Hu... |
[
{
"content": "Can you elaborate on how the concept of impermanence, as exemplified by cherry blossoms, can lead to a more fulfilling life?",
"role": "user"
},
{
"content": "The concept of impermanence, as demonstrated by the cherry blossoms, can indeed lead to a more fulfilling life by nurturing tra... | [
{
"content": "Can you elaborate on how the concept of impermanence, as exemplified by cherry blossoms, can lead to a more fulfilling life?",
"role": "user"
},
{
"content": "Absolutely, embracing the concept of impermanence as exemplified by cherry blossoms can indeed lead to a more fulfilling life. ... |
[
{
"content": "Could you elaborate on how the aesthetic appeal of a cappuccino contributes to its preference, particularly in comparison to other coffee types?",
"role": "user"
},
{
"content": "The aesthetic appeal of a cappuccino can contribute to its preference over other coffee types, as people of... | [
{
"content": "Could you elaborate on how the aesthetic appeal of a cappuccino contributes to its preference, particularly in comparison to other coffee types?",
"role": "user"
},
{
"content": "The aesthetic appeal of a cappuccino plays an important role in its preference as it aims to create a visua... |
YAML Metadata Warning: empty or missing yaml metadata in repo card
Check out the documentation for more information.
📌 数据介绍
Ⅰ Tokenizer
分词器将单词从自然语言通过“词典”映射到0, 1, 36这样的数字,可以理解为数字就代表了单词在“词典”中的页码。
可以选择自己构造词表训练一个“词典”,代码可见./scripts/train_tokenizer.py(仅供学习参考,若非必要无需再自行训练,MiniMind已自带tokenizer)。
或者选择比较出名的开源大模型分词器,
正如同直接用新华/牛津词典的优点是token编码压缩率很好,缺点是页数太多,动辄数十万个词汇短语;
自己训练的分词器,优点是词表长度和内容随意控制,缺点是压缩率很低(例如"hello"也许会被拆分为"h e l l o"
五个独立的token),且生僻词难以覆盖。
“词典”的选择固然很重要,LLM的输出本质上是SoftMax到词典N个词的多分类问题,然后通过“词典”解码到自然语言。
因为MiniMind体积需要严格控制,为了避免模型头重脚轻(词嵌入embedding层参数在LLM占比太高),所以词表长度短短益善。
Tokenizer介绍
第三方强大的开源模型例如Yi、qwen、chatglm、mistral、Llama3的tokenizer词表长度如下:
| Tokenizer模型 | 词表大小 | 来源 |
|---|---|---|
| yi tokenizer | 64,000 | 01万物(中国) |
| qwen2 tokenizer | 151,643 | 阿里云(中国) |
| glm tokenizer | 151,329 | 智谱AI(中国) |
| mistral tokenizer | 32,000 | Mistral AI(法国) |
| llama3 tokenizer | 128,000 | Meta(美国) |
| minimind tokenizer | 6,400 | 自定义 |
👉2024-09-17更新:为了防止过去的版本歧义&控制体积,minimind所有模型均使用minimind_tokenizer分词,废弃所有mistral_tokenizer版本。
# 一些自言自语
> 尽管minimind_tokenizer长度很小,编解码效率弱于qwen2、glm等中文友好型分词器。
> 但minimind模型选择了自己训练的minimind_tokenizer作为分词器,以保持整体参数轻量,避免编码层和计算层占比失衡,头重脚轻,因为minimind的词表大小只有6400。
> 且minimind在实际测试中没有出现过生僻词汇解码失败的情况,效果良好。
> 由于自定义词表压缩长度到6400,使得LLM总参数量最低只有25.8M。
> 训练数据`tokenizer_train.jsonl`均来自于`匠数大模型数据集`,这部分数据相对次要,如需训练可以自由选择。
Ⅱ Pretrain数据
经历了MiniMind-V1的低质量预训练数据,导致模型胡言乱语的教训,2025-02-05 之后决定不再采用大规模无监督的数据集做预训练。
进而尝试把匠数大模型数据集的中文部分提取出来,
清洗出字符<512长度的大约1.6GB的语料直接拼接成预训练数据 pretrain_hq.jsonl,hq即为high
quality(当然也还不算high,提升数据质量无止尽)。
文件pretrain_hq.jsonl 数据格式为
{"text": "如何才能摆脱拖延症? 治愈拖延症并不容易,但以下建议可能有所帮助..."}
Ⅲ SFT数据
匠数大模型SFT数据集
“是一个完整、格式统一、安全的大模型训练和研究资源。
从网络上的公开数据源收集并整理了大量开源数据集,对其进行了格式统一,数据清洗,
包含10M条数据的中文数据集和包含2M条数据的英文数据集。”
以上是官方介绍,下载文件后的数据总量大约在4B tokens,肯定是适合作为中文大语言模型的SFT数据的。
但是官方提供的数据格式很乱,全部用来sft代价太大。
我将把官方数据集进行了二次清洗,把含有符号污染和噪声的条目去除;另外依然只保留了总长度<512
的内容,此阶段希望通过大量对话补充预训练阶段欠缺的知识。
导出文件为sft_512.jsonl(~7.5GB)。
Magpie-SFT数据集
收集了1M条来自Qwen2/2.5的高质量对话,我将这部分数据进一步清洗,把总长度9GB)。
长度<2048的部分导出为sft_2048.jsonl(<1024的部分导出为sft_1024.jsonl(~5.5GB),用大模型对话数据直接进行sft就属于“黑盒蒸馏”的范畴。
进一步清洗前两步sft的数据(只保留中文字符占比高的内容),筛选长度<512的对话,得到sft_mini_512.jsonl(~1.2GB)。
所有sft文件 sft_X.jsonl 数据格式均为
{
"conversations": [
{"role": "user", "content": "你好"},
{"role": "assistant", "content": "你好!"},
{"role": "user", "content": "再见"},
{"role": "assistant", "content": "再见!"}
]
}
Ⅳ RLHF数据
来自Magpie-DPO数据集
大约200k条偏好数据(均是英文)生成自Llama3.1-70B/8B,可以用于训练奖励模型,优化模型回复质量,使其更加符合人类偏好。
这里将数据总长度<3000的内容重组为dpo.jsonl(~0.9GB),包含chosen和rejected两个字段,chosen
为偏好的回复,rejected为拒绝的回复。
文件 dpo.jsonl 数据格式为
{
"chosen": [
{"content": "Q", "role": "user"},
{"content": "good answer", "role": "assistant"}
],
"rejected": [
{"content": "Q", "role": "user"},
{"content": "bad answer", "role": "assistant"}
]
}
Ⅴ Reason数据集:
不得不说2025年2月谁能火的过DeepSeek...
也激发了我对RL引导的推理模型的浓厚兴趣,目前已经用Qwen2.5复现了R1-Zero。
如果有时间+效果work(但99%基模能力不足)我会在之后更新MiniMind基于RL训练的推理模型而不是蒸馏模型。
时间有限,最快的低成本方案依然是直接蒸馏(黑盒方式)。
耐不住R1太火,短短几天就已经存在一些R1的蒸馏数据集R1-Llama-70B、R1-Distill-SFT、
Alpaca-Distill-R1、
deepseek_r1_zh等等,纯中文的数据可能比较少。
最终整合它们,导出文件为r1_mix_1024.jsonl,数据格式和sft_X.jsonl一致。
Ⅵ 更多数据集
目前已经有HqWu-HITCS/Awesome-Chinese-LLM 在收集和梳理中文LLM相关的开源模型、应用、数据集及教程等资料,并持续更新这方面的最新进展。全面且专业,Respect!
Ⅷ 数据集下载
2025-02-05后,开源MiniMind最终训练所用的所有数据集,因此无需再自行预处理大规模数据集,避免重复性的数据处理工作。
MiniMind训练数据集 (ModelScope | HuggingFace)
无需全部clone,可单独下载所需的文件
将下载的数据集文件放到./dataset/目录下(✨为推荐的必须项)
./dataset/
├── dpo.jsonl (909MB)
├── lora_identity.jsonl (22.8KB)
├── lora_medical.jsonl (34MB)
├── pretrain_hq.jsonl (1.6GB, ✨)
├── r1_mix_1024.jsonl (340MB)
├── sft_1024.jsonl (5.6GB)
├── sft_2048.jsonl (9GB)
├── sft_512.jsonl (7.5GB)
├── sft_mini_512.jsonl (1.2GB, ✨)
└── tokenizer_train.jsonl (1GB)
注:各数据集简介
dpo.jsonl--RLHF阶段数据集lora_identity.jsonl--自我认知数据集(例如:你是谁?我是minimind...),推荐用于lora训练(亦可用于全参SFT,勿被名字局限)lora_medical.jsonl--医疗问答数据集,推荐用于lora训练(亦可用于全参SFT,勿被名字局限)pretrain_hq.jsonl✨ --预训练数据集,整合自jiangshu科技r1_mix_1024.jsonl--DeepSeek-R1-1.5B蒸馏数据,每条数据字符最大长度为1024(因此训练时设置max_seq_len=1024)sft_1024.jsonl--整合自Qwen2.5蒸馏数据(是sft_2048的子集),每条数据字符最大长度为1024(因此训练时设置max_seq_len=1024)sft_2048.jsonl--整合自Qwen2.5蒸馏数据,每条数据字符最大长度为2048(因此训练时设置max_seq_len=2048)sft_512.jsonl--整合自匠数科技SFT数据,每条数据字符最大长度为512(因此训练时设置max_seq_len=512)sft_mini_512.jsonl✨ --极简整合自匠数科技SFT数据+Qwen2.5蒸馏数据(用于快速训练Zero模型),每条数据字符最大长度为512(因此训练时设置max_seq_len=512)tokenizer_train.jsonl--均来自于匠数大模型数据集,这部分数据相对次要,(不推荐自己重复训练tokenizer,理由如上)如需自己训练tokenizer可以自由选择数据集。
说明 & 推荐训练方案
MiniMind2 Series均经过共约20GB语料训练,大约4B tokens,即对应上面的数据组合训练结果(开销:💰💰💰💰💰💰💰💰,效果:😊😊😊😊😊😊)
想要最快速度从0实现Zero模型,推荐使用
pretrain_hq.jsonl+sft_mini_512.jsonl的数据组合,具体花销和效果可查看下文表格(开销:💰,效果:😊😊)推荐具备一定算力资源或更在意效果的朋友可以考虑前者完整复现MiniMind2;仅有单卡GPU或在乎短时间快速复现的朋友强烈推荐后者;
【折中方案】亦可选择例如
sft_mini_512.jsonl、sft_1024.jsonl中等规模数据进行自由组合训练(开销:💰💰💰,效果:😊😊😊😊)。
- Downloads last month
- 39

