Dataset Preview
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code: DatasetGenerationError
Exception: TypeError
Message: Couldn't cast array of type
struct<reward: double, coeff: double, score_contribution: double, score: int64>
to
{'reward': Value('float64'), 'coeff': Value('float64'), 'score_contribution': Value('float64')}
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 2224, in cast_table_to_schema
cast_array_to_feature(
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 1795, in wrapper
return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2002, in cast_array_to_feature
_c(array.field(name) if name in array_fields else null_array, subfeature)
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 1797, in wrapper
return func(array, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2002, in cast_array_to_feature
_c(array.field(name) if name in array_fields else null_array, subfeature)
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 1797, in wrapper
return func(array, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2092, in cast_array_to_feature
raise TypeError(f"Couldn't cast array of type\n{_short_str(array.type)}\nto\n{_short_str(feature)}")
TypeError: Couldn't cast array of type
struct<reward: double, coeff: double, score_contribution: double, score: int64>
to
{'reward': Value('float64'), 'coeff': Value('float64'), 'score_contribution': Value('float64')}
The above exception was the direct cause of the following exception:
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 1858, in _prepare_split_single
raise DatasetGenerationError("An error occurred while generating the dataset") from e
datasets.exceptions.DatasetGenerationError: An error occurred while generating the datasetNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
prompt
string | best_response
dict | worst_response
dict | rip_metrics
dict | all_responses
list | original
dict |
|---|---|---|---|---|---|
"Create a snippet of Terraform HCL code that create an AWS autoscaling group, and an ALB in front to(...TRUNCATED)
| {"response":"**Terraform HCL Code for AWS Autoscaling Group and ALB**\n=============================(...TRUNCATED)
| {"response":"**Terraform HCL Code: AWS Autoscaling Group and ALB**\n================================(...TRUNCATED)
|
{
"rejected_response_reward": 0.1689453125,
"rejected_response_length": 4571,
"reward_gap": 0.0322265625
}
| [{"response":"### Terraform HCL Code for AWS Autoscaling Group and ALB\n#### Overview\nThe following(...TRUNCATED)
| {"id":"oasst1_5921","messages":[{"content":"Create a snippet of Terraform HCL code that create an AW(...TRUNCATED)
|
Which languages are spoken in Costa Rica?
| {"response":"The official language of Costa Rica is Spanish. However, there are several other langua(...TRUNCATED)
| {"response":"The official language of Costa Rica is Spanish, and it is the most widely spoken langua(...TRUNCATED)
|
{
"rejected_response_reward": 0.125,
"rejected_response_length": 1719,
"reward_gap": 0.025390625
}
| [{"response":"The official language of Costa Rica is Spanish, which is spoken by the vast majority o(...TRUNCATED)
| {"id":"oasst1_137","messages":[{"content":"Which languages are spoken in Costa Rica?","role":"user"}(...TRUNCATED)
|
Can u summarize me story from the book Harry Potter and the Philosopher's Stone?
| {"response":"The book \"Harry Potter and the Philosopher's Stone\" (published as \"Harry Potter and (...TRUNCATED)
| {"response":"I'd be happy to summarize the story of Harry Potter and the Philosopher's Stone (publis(...TRUNCATED)
|
{
"rejected_response_reward": 0.1552734375,
"rejected_response_length": 1943,
"reward_gap": 0.021484375
}
| [{"response":"Here's a summary of the story from the book \"Harry Potter and the Philosopher's Stone(...TRUNCATED)
| {"id":"oasst1_6476","messages":[{"content":"Can u summarize me story from the book Harry Potter and (...TRUNCATED)
|
Did Jesus realy exist
| {"response":"The question of whether Jesus of Nazareth, also known as Jesus Christ, actually existed(...TRUNCATED)
| {"response":"The question of whether Jesus of Nazareth, the central figure of Christianity, actually(...TRUNCATED)
| {"rejected_response_reward":0.07861328125,"rejected_response_length":4806,"reward_gap":0.01123046875(...TRUNCATED)
| [{"response":"The question of whether Jesus of Nazareth, also known as Jesus Christ, actually existe(...TRUNCATED)
| {"id":"oasst1_5569","messages":[{"content":"Did Jesus realy exist","role":"user"},{"content":"As an (...TRUNCATED)
|
"Write five lines of iambic pentameter about a subject of your choosing. Do not use any trochaic sub(...TRUNCATED)
| {"response":"The morning sunlight filters through the trees\nAnd gently wakes the world from silent (...TRUNCATED)
| {"response":"The morning sunshine filters through the blinds\nAnd gently wakes the sleeping househol(...TRUNCATED)
|
{
"rejected_response_reward": 0.1357421875,
"rejected_response_length": 232,
"reward_gap": 0.025390625
}
| [{"response":"The morning sunshine filters through the trees\nAnd gently wakes the world from silent(...TRUNCATED)
| {"id":"oasst1_7230","messages":[{"content":"Write five lines of iambic pentameter about a subject of(...TRUNCATED)
|
"You will create a table with macronutrients, micronutrients and kcal of the following foods: 100g o(...TRUNCATED)
| {"response":"Here is the table with the requested information:\n\n| **Food** | **Kcal** | **Protein (...TRUNCATED)
| {"response":"Here is the table with the macronutrients, micronutrients, and kcal for each of the foo(...TRUNCATED)
|
{
"rejected_response_reward": 0.1611328125,
"rejected_response_length": 1516,
"reward_gap": 0.0380859375
}
| [{"response":"Here is the table with the nutritional information for each of the specified foods:\n\(...TRUNCATED)
| {"id":"oasst1_7036","messages":[{"content":"You will create a table with macronutrients, micronutrie(...TRUNCATED)
|
Write me POSIX-shellscript to convert Celsius to Kelvin.
| {"response":"**Celsius to Kelvin Converter Shell Script**\n=========================================(...TRUNCATED)
| {"response":"**Celsius to Kelvin Converter**\n=====================================\n\nBelow is a PO(...TRUNCATED)
|
{
"rejected_response_reward": 0.1337890625,
"rejected_response_length": 1379,
"reward_gap": 0.021484375
}
| [{"response":"**Celsius to Kelvin Converter Shell Script**\n========================================(...TRUNCATED)
| {"id":"oasst1_3123","messages":[{"content":"Write me POSIX-shellscript to convert Celsius to Kelvin.(...TRUNCATED)
|
How do I compile a Java application to native with GraalVM inside the linux terminal?
| {"response":"To compile a Java application to native code using GraalVM inside a Linux terminal, you(...TRUNCATED)
| {"response":"Compiling a Java Application to Native with GraalVM\n==================================(...TRUNCATED)
|
{
"rejected_response_reward": 0.173828125,
"rejected_response_length": 3356,
"reward_gap": 0.0380859375
}
| [{"response":"Compiling a Java application to native code with GraalVM involves several steps, inclu(...TRUNCATED)
| {"id":"oasst1_5963","messages":[{"content":"How do I compile a Java application to native with Graal(...TRUNCATED)
|
"In JavaScript, why is the value of \"this\" keyword inside an arrow function determined by the cont(...TRUNCATED)
| {"response":"**Lexical Binding of `this` in Arrow Functions**\n\nIn JavaScript, the value of the `th(...TRUNCATED)
| {"response":"```javascript\nfunction test() {\n console.log(this);\n}\n\ntest(); // Prints: unde(...TRUNCATED)
|
{
"rejected_response_reward": 0.09228515625,
"rejected_response_length": 91,
"reward_gap": 0.12255859375
}
| [{"response":"```javascript\nfunction test() {\n console.log(this);\n}\n\ntest.call({ a: 1 }); //(...TRUNCATED)
| {"id":"oasst1_3239","messages":[{"content":"In JavaScript, why is the value of \"this\" keyword insi(...TRUNCATED)
|
"Can you make an Excel formula that prints \" \" when the value is #div/0! and print the value when (...TRUNCATED)
| {"response":"To achieve this in Excel, you can use the `IFERROR` function in combination with the or(...TRUNCATED)
| {"response":"To achieve this in Excel, you can use the IFERROR function, which checks if a value is (...TRUNCATED)
|
{
"rejected_response_reward": 0.1591796875,
"rejected_response_length": 2294,
"reward_gap": 0.044921875
}
| [{"response":"You can use the IFERROR function in Excel to achieve this. The IFERROR function return(...TRUNCATED)
| {"id":"oasst1_5401","messages":[{"content":"Can you make an Excel formula that prints \" \" when the(...TRUNCATED)
|
End of preview.
No dataset card yet
- Downloads last month
- 14