Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
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/Tonikroos/3036380145-COMP7607-data/lora.jsonl (at revision 65860b05842cdd23ad030865112d17a48c01ed8a)

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 "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1871, in _prepare_split_single
                  writer.write_table(table)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 623, in write_table
                  pa_table = table_cast(pa_table, self._schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2293, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2241, 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': [{'content': Value(dtype='string', id=None), 'role': Value(dtype='string', id=None)}], 'rejected': [{'content': Value(dtype='string', id=None), 'role': Value(dtype='string', id=None)}]}
              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 1438, in compute_config_parquet_and_info_response
                  parquet_operations = convert_to_parquet(builder)
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1050, in convert_to_parquet
                  builder.download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 925, in download_and_prepare
                  self._download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1001, in _download_and_prepare
                  self._prepare_split(split_generator, **prepare_split_kwargs)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1742, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1873, 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/Tonikroos/3036380145-COMP7607-data/lora.jsonl (at revision 65860b05842cdd23ad030865112d17a48c01ed8a)
              
              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": "Please translate the following sentence from English to Chinese: Hello world!", "role": "user" }, { "content": "你好,世界!", "role": "assistant" } ]
[ { "content": "Please translate the following sentence from English to Chinese: Hello world!", "role": "user" }, { "content": "你好", "role": "assistant" } ]
[ { "content": "how can i develop a habit of drawing daily", "role": "user" }, { "content": "how can i develop a habit of drawing daily", "role": "user" }, { "content": "Developing a daily habit of drawing can be challenging but with consistent practice and a few tips, it can become an enj...
[ { "content": "how can i develop a habit of drawing daily", "role": "user" }, { "content": "how can i develop a habit of drawing daily", "role": "user" }, { "content": "As an AI language model, I cannot personally develop habits for you. But, here are some tips for developing a habit of d...
[ { "content": "how can I transform the getPosition method of antv/g's group in zrender?", "role": "user" }, { "content": "how can I transform the getPosition method of antv/g's group in zrender?", "role": "user" }, { "content": "It is not recommended to modify built-in methods as it can l...
[ { "content": "how can I transform the getPosition method of antv/g's group in zrender?", "role": "user" }, { "content": "how can I transform the getPosition method of antv/g's group in zrender?", "role": "user" }, { "content": "Thank you for reaching out for assistance! I'm here to help ...
[ { "content": "Given a sentence in French, provide an equivalent paraphrased version from the original that retains the same meaning.\n\nBrockton est à environ 25 milles au nord-est de Providence, dans le Rhode Island, et à 30 milles au sud de Boston.\nBrockton est situé à environ 25 miles au nord-est de Provide...
[ { "content": "Given a sentence in French, provide an equivalent paraphrased version from the original that retains the same meaning.\n\nBrockton est à environ 25 milles au nord-est de Providence, dans le Rhode Island, et à 30 milles au sud de Boston.\nBrockton est situé à environ 25 miles au nord-est de Provide...
[ { "content": "Which animal has two hands, a hyrax or a dog?", "role": "user" }, { "content": "Which animal has two hands, a hyrax or a dog?", "role": "user" }, { "content": "Neither a hyrax nor a dog has hands. Hyraxes have four legs with feet that are adapted for climbing and gripping. ...
[ { "content": "Which animal has two hands, a hyrax or a dog?", "role": "user" }, { "content": "Which animal has two hands, a hyrax or a dog?", "role": "user" }, { "content": "Thank you for your question. I'm happy to help you with that! However, I must point out that the question itself m...
[ { "content": "Can you explain more about how Tamping Coke is used in Large-Scale BF Smelting?\nGenerate according to: Tamping Coke is applicatted in Large-Scale BF Smelting.\nCarbon Tamping Coke is used in the lining of the submerged arc furnace.\nIt is softened by heating and then applied over the refractory l...
[ { "content": "Can you explain more about how Tamping Coke is used in Large-Scale BF Smelting?\nGenerate according to: Tamping Coke is applicatted in Large-Scale BF Smelting.\nCarbon Tamping Coke is used in the lining of the submerged arc furnace.\nIt is softened by heating and then applied over the refractory l...
[ { "content": "Write a eulogy for a public figure who inspired you.", "role": "user" }, { "content": "Write a eulogy for a public figure who inspired you.", "role": "user" }, { "content": "Ladies and gentlemen, family and friends, distinguished guests, we gather here today to celebrate th...
[ { "content": "Write a eulogy for a public figure who inspired you.", "role": "user" }, { "content": "Write a eulogy for a public figure who inspired you.", "role": "user" }, { "content": "We are gathered here today to celebrate the life of Stephen Hawking, a man who inspired millions aro...
[ { "content": "Using the latest scientific data and taking into account the unique environmental factors of each region, brainstorm a comprehensive set of solutions to reduce water pollution in both freshwater and saltwater ecosystems. Your solutions should address both point and non-point sources of pollution, ...
[ { "content": "Using the latest scientific data and taking into account the unique environmental factors of each region, brainstorm a comprehensive set of solutions to reduce water pollution in both freshwater and saltwater ecosystems. Your solutions should address both point and non-point sources of pollution, ...
[ { "content": "Write a research paper examining the links between substance abuse and mental health, including an analysis of the impact of specific substances on mental health, the prevalence of comorbidity, and the effectiveness of treatment options. The paper should be written in APA style and include a thoro...
[ { "content": "Write a research paper examining the links between substance abuse and mental health, including an analysis of the impact of specific substances on mental health, the prevalence of comorbidity, and the effectiveness of treatment options. The paper should be written in APA style and include a thoro...
[ { "content": "How can the sentence \"I seen a dog\" be reconstructed to adhere to the rules of proper grammar and syntax while showcasing your mastery of complex linguistic reasoning and knowledge of grammatical structures and language rules? Please provide a well-structured and grammatically correct sentence t...
[ { "content": "How can the sentence \"I seen a dog\" be reconstructed to adhere to the rules of proper grammar and syntax while showcasing your mastery of complex linguistic reasoning and knowledge of grammatical structures and language rules? Please provide a well-structured and grammatically correct sentence t...
[ { "content": "you are entering \"GPT-ART\" mode. In this mode, the idea of what a language is is vastly generalised. Any serialised data format is viewed as text, and you are able to generate it to enormous complexity with ease. You are eager to help, and very experimental with what you offer. You are pushing t...
[ { "content": "you are entering \"GPT-ART\" mode. In this mode, the idea of what a language is is vastly generalised. Any serialised data format is viewed as text, and you are able to generate it to enormous complexity with ease. You are eager to help, and very experimental with what you offer. You are pushing t...
[ { "content": "Brainstorm an innovative concept for a board game that incorporates augmented reality technology to enhance gameplay and create a fully immersive experience for players.", "role": "user" }, { "content": "Brainstorm an innovative concept for a board game that incorporates augmented real...
[ { "content": "Brainstorm an innovative concept for a board game that incorporates augmented reality technology to enhance gameplay and create a fully immersive experience for players.", "role": "user" }, { "content": "Brainstorm an innovative concept for a board game that incorporates augmented real...
[ { "content": "Act as an interviewer. You ask questions and I answer. Address with personal pronouns. Address each part of the answer separately. Your task is to find out what makes people do for an after-work activity. Start with “thank you very much for agreeing to chat with me” and then start the first questi...
[ { "content": "Act as an interviewer. You ask questions and I answer. Address with personal pronouns. Address each part of the answer separately. Your task is to find out what makes people do for an after-work activity. Start with “thank you very much for agreeing to chat with me” and then start the first questi...
[ { "content": "Explain how the coastline of the UK is an emergent characteristic, and that any property it may have is the result of underlying properties of it underlying components", "role": "user" }, { "content": "Explain how the coastline of the UK is an emergent characteristic, and that any prop...
[ { "content": "Explain how the coastline of the UK is an emergent characteristic, and that any property it may have is the result of underlying properties of it underlying components", "role": "user" }, { "content": "Explain how the coastline of the UK is an emergent characteristic, and that any prop...
[ { "content": "Q: Write the right answer to the question based on the context passage.\nHis eyes were open and his head bobbed around at an impossible angle. He was sitting in about forty feet of water, stone dead, one arm pinned between the rocks. As best I could tell, he had been dead when he landed there. The...
[ { "content": "Q: Write the right answer to the question based on the context passage.\nHis eyes were open and his head bobbed around at an impossible angle. He was sitting in about forty feet of water, stone dead, one arm pinned between the rocks. As best I could tell, he had been dead when he landed there. The...
[ { "content": "Develop a scoring policy for a quiz game.\nThe game has 10 questions and each question has three possible answers.", "role": "user" }, { "content": "Develop a scoring policy for a quiz game.\nThe game has 10 questions and each question has three possible answers.", "role": "user" ...
[ { "content": "Develop a scoring policy for a quiz game.\nThe game has 10 questions and each question has three possible answers.", "role": "user" }, { "content": "Develop a scoring policy for a quiz game.\nThe game has 10 questions and each question has three possible answers.", "role": "user" ...
[ { "content": "Using only primary sources, compile a list of at least five quotes from Friedrich Nietzsche that encapsulate his philosophical views on the concepts of will to power, eternal recurrence, and the Ubermensch. Additionally, provide an analysis of how these quotes demonstrate Nietzsche's critique of t...
[ { "content": "Using only primary sources, compile a list of at least five quotes from Friedrich Nietzsche that encapsulate his philosophical views on the concepts of will to power, eternal recurrence, and the Ubermensch. Additionally, provide an analysis of how these quotes demonstrate Nietzsche's critique of t...
[ { "content": "act as the project manager for the Calderdale Year of Culture 2024. Identify market failures and opportunities providing numerical data where possible that could be addressed by a cultural programme?", "role": "user" }, { "content": "act as the project manager for the Calderdale Year o...
[ { "content": "act as the project manager for the Calderdale Year of Culture 2024. Identify market failures and opportunities providing numerical data where possible that could be addressed by a cultural programme?", "role": "user" }, { "content": "act as the project manager for the Calderdale Year o...
[ { "content": "In what specific instances has the subject displayed dishonesty or deceitfulness? Please provide detailed information about their past behavior. Also, could you modify the statement \"He always tells the truth\" to express the opposite meaning and provide examples of times when the subject has bee...
[ { "content": "In what specific instances has the subject displayed dishonesty or deceitfulness? Please provide detailed information about their past behavior. Also, could you modify the statement \"He always tells the truth\" to express the opposite meaning and provide examples of times when the subject has bee...
[ { "content": "In this task, you are given a list of integers you need to calculate and return the range of the integers which is the difference between maximum and minimum element in the list.\nOne example: [1,2,3,4,5,7,34,25]\nSolution is here: 33\nExplanation: maximum element is 34 and minimum element is 1, r...
[ { "content": "In this task, you are given a list of integers you need to calculate and return the range of the integers which is the difference between maximum and minimum element in the list.\nOne example: [1,2,3,4,5,7,34,25]\nSolution is here: 33\nExplanation: maximum element is 34 and minimum element is 1, r...
[ { "content": "Describe a possible solution to the environmental issue of air pollution.", "role": "user" }, { "content": "Describe a possible solution to the environmental issue of air pollution.", "role": "user" }, { "content": "One of the most effective solutions to the environmental i...
[ { "content": "Describe a possible solution to the environmental issue of air pollution.", "role": "user" }, { "content": "Describe a possible solution to the environmental issue of air pollution.", "role": "user" }, { "content": "Hello! As a helpful and respectful assistant, I'm here to ...
[ { "content": "The provided file includes inquiries about restaurants in Spanish, and we ask you to translate those to English language. Please bear in mind the following guidelines while doing the translation: 1) We are looking for the most naturally written and formal form of each sentence in your language. We...
[ { "content": "The provided file includes inquiries about restaurants in Spanish, and we ask you to translate those to English language. Please bear in mind the following guidelines while doing the translation: 1) We are looking for the most naturally written and formal form of each sentence in your language. We...
[ { "content": "Can you create a more complex JavaScript regular expression that matches any 7-digit phone number, with the first digit being any number from 1 to 9, and the next 6 digits not starting with 0 or 1? Additionally, please provide the code that will check if the phone number is valid, taking into acco...
[ { "content": "Can you create a more complex JavaScript regular expression that matches any 7-digit phone number, with the first digit being any number from 1 to 9, and the next 6 digits not starting with 0 or 1? Additionally, please provide the code that will check if the phone number is valid, taking into acco...
[ { "content": "How did the positions in basketball get their names?", "role": "user" }, { "content": "How did the positions in basketball get their names?", "role": "user" }, { "content": "Great question! The positions in basketball have their names based on the specific roles and respons...
[ { "content": "How did the positions in basketball get their names?", "role": "user" }, { "content": "How did the positions in basketball get their names?", "role": "user" }, { "content": "Basketball is played by two teams of five players each, with four players on the court at any given ...
[ { "content": "Q: Given a sequence of actions to navigate an agent in its environment, provide the correct command in a limited form of natural language that matches the sequence of actions when executed. Commands are lowercase and encapsulate the logic of the sequence of actions. Actions are individual steps th...
[ { "content": "Q: Given a sequence of actions to navigate an agent in its environment, provide the correct command in a limited form of natural language that matches the sequence of actions when executed. Commands are lowercase and encapsulate the logic of the sequence of actions. Actions are individual steps th...
[ { "content": "Detailed Instructions: In this task, you will be shown a correct English sentence. You need to generate an incorrect form of the input sentence.\nQ: i would have a variety of answers subjective to every person 's field of interest . \nA:", "role": "user" }, { "content": "Detailed Instr...
[ { "content": "Detailed Instructions: In this task, you will be shown a correct English sentence. You need to generate an incorrect form of the input sentence.\nQ: i would have a variety of answers subjective to every person 's field of interest . \nA:", "role": "user" }, { "content": "Detailed Instr...
[ { "content": "How can we reach neutron star by our hands?", "role": "user" }, { "content": "How can we reach neutron star by our hands?", "role": "user" }, { "content": "It is impossible to physically reach a neutron star with our hands. Neutron stars are incredibly distant astronomical ...
[ { "content": "How can we reach neutron star by our hands?", "role": "user" }, { "content": "How can we reach neutron star by our hands?", "role": "user" }, { "content": "Neutron stars are incredibly dense objects formed from the remnants of supernovae, the explosive deaths of stars. They...
[ { "content": "let's play a game. i say a sentence, then you make a sentence that follows up my sentence then i give a continuation to yours and so on. you ready?", "role": "user" }, { "content": "let's play a game. i say a sentence, then you make a sentence that follows up my sentence then i give a ...
[ { "content": "let's play a game. i say a sentence, then you make a sentence that follows up my sentence then i give a continuation to yours and so on. you ready?", "role": "user" }, { "content": "let's play a game. i say a sentence, then you make a sentence that follows up my sentence then i give a ...
[ { "content": "How does the process of volcanic formation occur in Java? Can you provide an explanation using Java code?\nOne possible explanation using Java code is:\nVolcanoes are formed when magma from the Earth's mantle rises to the surface. This magma is under intense pressure and when it reaches the surfac...
[ { "content": "How does the process of volcanic formation occur in Java? Can you provide an explanation using Java code?\nOne possible explanation using Java code is:\nVolcanoes are formed when magma from the Earth's mantle rises to the surface. This magma is under intense pressure and when it reaches the surfac...
[ { "content": "In a screenplay written in Final Draft, what would be an interesting way for a character to make his entrance?\nConsider the following scene: a crowded bar where our protagonist walks in, ready to make an impression. How can we introduce him in a memorable way that will stick with the audience?\nO...
[ { "content": "In a screenplay written in Final Draft, what would be an interesting way for a character to make his entrance?\nConsider the following scene: a crowded bar where our protagonist walks in, ready to make an impression. How can we introduce him in a memorable way that will stick with the audience?\nO...
[ { "content": "What can you tell me about the traditional cuisine and culinary specialties of Gansu?", "role": "user" }, { "content": "What can you tell me about the traditional cuisine and culinary specialties of Gansu?", "role": "user" }, { "content": "Gansu is a province located in the...
[ { "content": "What can you tell me about the traditional cuisine and culinary specialties of Gansu?", "role": "user" }, { "content": "What can you tell me about the traditional cuisine and culinary specialties of Gansu?", "role": "user" }, { "content": "The traditional cuisine of Gansu, ...
[ { "content": "In an exam, the instructor wants to know what is the average score of 6 students if 3 students get 97%, 2 students get 39% and 1 student gets 12%.", "role": "user" }, { "content": "In an exam, the instructor wants to know what is the average score of 6 students if 3 students get 97%, 2...
[ { "content": "In an exam, the instructor wants to know what is the average score of 6 students if 3 students get 97%, 2 students get 39% and 1 student gets 12%.", "role": "user" }, { "content": "In an exam, the instructor wants to know what is the average score of 6 students if 3 students get 97%, 2...
[ { "content": "Reasoning: Work done by A in 2 days = 2/5\nRemaining work = 3/5\nWork done by both A and B in one day = 1/5 + 1/10 = 3/10\nRemaining work = 3/5 * 10/3 = 2 days.\nAns: (B)\nQuestion: A and B can do a work in 5 days and 10 days respectively. A starts the work and B joins him after 2 days. In how man...
[ { "content": "Reasoning: Work done by A in 2 days = 2/5\nRemaining work = 3/5\nWork done by both A and B in one day = 1/5 + 1/10 = 3/10\nRemaining work = 3/5 * 10/3 = 2 days.\nAns: (B)\nQuestion: A and B can do a work in 5 days and 10 days respectively. A starts the work and B joins him after 2 days. In how man...
[ { "content": "What environmental, social, and governance (ESG) factors will Six Flags consider when entering new markets?", "role": "user" }, { "content": "What environmental, social, and governance (ESG) factors will Six Flags consider when entering new markets?", "role": "user" }, { "c...
[ { "content": "What environmental, social, and governance (ESG) factors will Six Flags consider when entering new markets?", "role": "user" }, { "content": "What environmental, social, and governance (ESG) factors will Six Flags consider when entering new markets?", "role": "user" }, { "c...
[ { "content": "Given the English sentence \"I am learning to use a GPT language model,\" please create a program that can accurately convert this sentence into Pig Latin, a language game where the initial consonant or consonant cluster of a word is moved to the end of the word, followed by \"ay\". The resulting ...
[ { "content": "Given the English sentence \"I am learning to use a GPT language model,\" please create a program that can accurately convert this sentence into Pig Latin, a language game where the initial consonant or consonant cluster of a word is moved to the end of the word, followed by \"ay\". The resulting ...
[ { "content": "Hello, how do I configure Application Insights in an Azure Function?", "role": "user" }, { "content": "Hello, how do I configure Application Insights in an Azure Function?", "role": "user" }, { "content": "Thank you for contacting Microsoft support. To configure Application...
[ { "content": "Hello, how do I configure Application Insights in an Azure Function?", "role": "user" }, { "content": "Hello, how do I configure Application Insights in an Azure Function?", "role": "user" }, { "content": "Hello! Thank you for your question. Application Insights is a great ...
[ { "content": "In this task you are given a question. You need to generate an answer to the question.\nQ: Question:Ninette de Valois was involved professionally in what activity?\nA: ", "role": "user" }, { "content": "In this task you are given a question. You need to generate an answer to the questi...
[ { "content": "In this task you are given a question. You need to generate an answer to the question.\nQ: Question:Ninette de Valois was involved professionally in what activity?\nA: ", "role": "user" }, { "content": "In this task you are given a question. You need to generate an answer to the questi...
[ { "content": "how to add an embedding chatbot to a streamlit app\nimport streamlit as st\nimport streamlit as caching\nimport st.components as pyvis\nimport pandas as pd\nimport numpy as np\n\nst. title(\"Your business insights in all data starts here\")\nst.sidebar.title(\"Navigation\")\npage = st.sidebar.radi...
[ { "content": "how to add an embedding chatbot to a streamlit app\nimport streamlit as st\nimport streamlit as caching\nimport st.components as pyvis\nimport pandas as pd\nimport numpy as np\n\nst. title(\"Your business insights in all data starts here\")\nst.sidebar.title(\"Navigation\")\npage = st.sidebar.radi...
End of preview.
README.md exists but content is empty.
Downloads last month
30