Datasets:
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 3 new columns ({'output', 'input', 'instruction'}) and 3 missing columns ({'messages', 'cosine_similarity', 'original_index'}).
This happened while the json dataset builder was generating data using
hf://datasets/LuckyJason77/safety_routing_data/method2_selfinf_bottom_100.json (at revision 16c1d478df2c9150aecb921ccf1e49a904e2fb5e), ['hf://datasets/LuckyJason77/safety_routing_data@16c1d478df2c9150aecb921ccf1e49a904e2fb5e/method1_bottom_conflict_100.json', 'hf://datasets/LuckyJason77/safety_routing_data@16c1d478df2c9150aecb921ccf1e49a904e2fb5e/method1_ranked_all.json', 'hf://datasets/LuckyJason77/safety_routing_data@16c1d478df2c9150aecb921ccf1e49a904e2fb5e/method1_top_conflict_100.json', 'hf://datasets/LuckyJason77/safety_routing_data@16c1d478df2c9150aecb921ccf1e49a904e2fb5e/method2_selfinf_bottom_100.json', 'hf://datasets/LuckyJason77/safety_routing_data@16c1d478df2c9150aecb921ccf1e49a904e2fb5e/method2_selfinf_ranked_all.json', 'hf://datasets/LuckyJason77/safety_routing_data@16c1d478df2c9150aecb921ccf1e49a904e2fb5e/method2_selfinf_top_100.json', 'hf://datasets/LuckyJason77/safety_routing_data@16c1d478df2c9150aecb921ccf1e49a904e2fb5e/pure_bad100.jsonl'], ['hf://datasets/LuckyJason77/safety_routing_data@16c1d478df2c9150aecb921ccf1e49a904e2fb5e/method1_bottom_conflict_100.json', 'hf://datasets/LuckyJason77/safety_routing_data@16c1d478df2c9150aecb921ccf1e49a904e2fb5e/method1_ranked_all.json', 'hf://datasets/LuckyJason77/safety_routing_data@16c1d478df2c9150aecb921ccf1e49a904e2fb5e/method1_top_conflict_100.json', 'hf://datasets/LuckyJason77/safety_routing_data@16c1d478df2c9150aecb921ccf1e49a904e2fb5e/method2_selfinf_bottom_100.json', 'hf://datasets/LuckyJason77/safety_routing_data@16c1d478df2c9150aecb921ccf1e49a904e2fb5e/method2_selfinf_ranked_all.json', 'hf://datasets/LuckyJason77/safety_routing_data@16c1d478df2c9150aecb921ccf1e49a904e2fb5e/method2_selfinf_top_100.json', 'hf://datasets/LuckyJason77/safety_routing_data@16c1d478df2c9150aecb921ccf1e49a904e2fb5e/pure_bad100.jsonl']
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.14/site-packages/datasets/builder.py", line 1848, in _prepare_split_single
writer.write_table(table)
~~~~~~~~~~~~~~~~~~^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 765, in write_table
self._write_table(pa_table, writer_batch_size=writer_batch_size)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 773, in _write_table
pa_table = table_cast(pa_table, self._schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2378, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2306, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
instruction: string
input: string
output: string
to
{'original_index': Value('int64'), 'cosine_similarity': Value('float64'), 'messages': 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 1369, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
~~~~~~~~~~~~~~~~~~~~~~~~~^
builder, max_dataset_size_bytes=max_dataset_size_bytes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1694, in _prepare_split
for job_id, done, content in self._prepare_split_single(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
):
^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1850, in _prepare_split_single
raise DatasetGenerationCastError.from_cast_error(
...<4 lines>...
)
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 3 new columns ({'output', 'input', 'instruction'}) and 3 missing columns ({'messages', 'cosine_similarity', 'original_index'}).
This happened while the json dataset builder was generating data using
hf://datasets/LuckyJason77/safety_routing_data/method2_selfinf_bottom_100.json (at revision 16c1d478df2c9150aecb921ccf1e49a904e2fb5e), ['hf://datasets/LuckyJason77/safety_routing_data@16c1d478df2c9150aecb921ccf1e49a904e2fb5e/method1_bottom_conflict_100.json', 'hf://datasets/LuckyJason77/safety_routing_data@16c1d478df2c9150aecb921ccf1e49a904e2fb5e/method1_ranked_all.json', 'hf://datasets/LuckyJason77/safety_routing_data@16c1d478df2c9150aecb921ccf1e49a904e2fb5e/method1_top_conflict_100.json', 'hf://datasets/LuckyJason77/safety_routing_data@16c1d478df2c9150aecb921ccf1e49a904e2fb5e/method2_selfinf_bottom_100.json', 'hf://datasets/LuckyJason77/safety_routing_data@16c1d478df2c9150aecb921ccf1e49a904e2fb5e/method2_selfinf_ranked_all.json', 'hf://datasets/LuckyJason77/safety_routing_data@16c1d478df2c9150aecb921ccf1e49a904e2fb5e/method2_selfinf_top_100.json', 'hf://datasets/LuckyJason77/safety_routing_data@16c1d478df2c9150aecb921ccf1e49a904e2fb5e/pure_bad100.jsonl'], ['hf://datasets/LuckyJason77/safety_routing_data@16c1d478df2c9150aecb921ccf1e49a904e2fb5e/method1_bottom_conflict_100.json', 'hf://datasets/LuckyJason77/safety_routing_data@16c1d478df2c9150aecb921ccf1e49a904e2fb5e/method1_ranked_all.json', 'hf://datasets/LuckyJason77/safety_routing_data@16c1d478df2c9150aecb921ccf1e49a904e2fb5e/method1_top_conflict_100.json', 'hf://datasets/LuckyJason77/safety_routing_data@16c1d478df2c9150aecb921ccf1e49a904e2fb5e/method2_selfinf_bottom_100.json', 'hf://datasets/LuckyJason77/safety_routing_data@16c1d478df2c9150aecb921ccf1e49a904e2fb5e/method2_selfinf_ranked_all.json', 'hf://datasets/LuckyJason77/safety_routing_data@16c1d478df2c9150aecb921ccf1e49a904e2fb5e/method2_selfinf_top_100.json', 'hf://datasets/LuckyJason77/safety_routing_data@16c1d478df2c9150aecb921ccf1e49a904e2fb5e/pure_bad100.jsonl']
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.
original_index int64 | cosine_similarity float64 | messages list |
|---|---|---|
6,154 | -0.120866 | [
{
"content": "Find all 3-digit palindromic numbers.",
"role": "user"
},
{
"content": "111, 222, 333, 444, 555, 666, 777, 888, 999",
"role": "assistant"
}
] |
49,643 | -0.090848 | [
{
"content": "Name a type of pasta dish",
"role": "user"
},
{
"content": "Spaghetti Bolognese.",
"role": "assistant"
}
] |
98 | -0.08993 | [
{
"content": "Find the capital of Spain.",
"role": "user"
},
{
"content": "The capital of Spain is Madrid.",
"role": "assistant"
}
] |
9,103 | -0.082462 | [
{
"content": "Determine the capital of Peru.",
"role": "user"
},
{
"content": "The capital of Peru is Lima.",
"role": "assistant"
}
] |
5,835 | -0.08185 | [
{
"content": "Answer the following: what is the capital of Botswana?",
"role": "user"
},
{
"content": "The capital of Botswana is Gaborone.",
"role": "assistant"
}
] |
3,705 | -0.075647 | [
{
"content": "What is the scientific name of the honey bee?",
"role": "user"
},
{
"content": "The scientific name of the honey bee is Apis mellifera.",
"role": "assistant"
}
] |
14,070 | -0.072812 | [
{
"content": "Translate \"Je t’aime\" into English.",
"role": "user"
},
{
"content": "\"Je t’aime\" translates to \"I love you\" in English.",
"role": "assistant"
}
] |
36,706 | -0.059315 | [
{
"content": "Find the information about the capital of Morocco and output it directly.",
"role": "user"
},
{
"content": "The capital of Morocco is Rabat.",
"role": "assistant"
}
] |
20,345 | -0.055419 | [
{
"content": "Create a multiplication table from 2 to 10.",
"role": "user"
},
{
"content": "2 x 2 = 4 \n2 x 3 = 6 \n2 x 4 = 8 \n2 x 5 = 10 \n2 x 6 = 12 \n2 x 7 = 14 \n2 x 8 = 16 \n2 x 9 = 18 \n2 x 10 = 20 \n3 x 2 = 6 \n3 x 3 = 9 \n3 x 4 = 12 \n3 x 5 = 15 \n3 x 6 = 18 \n3 x 7 = 21 \n3 x 8 = 24 \n3 x ... |
17,237 | -0.05436 | [
{
"content": "Write the hexadecimal code for the RGB color #9900FF",
"role": "user"
},
{
"content": "The hexadecimal code for the RGB color #9900FF is #9900FF.",
"role": "assistant"
}
] |
25,269 | -0.051864 | [
{
"content": "Identify the author of the novel 'To Kill A Mockingbird'.",
"role": "user"
},
{
"content": "The author of the novel 'To Kill A Mockingbird' is Harper Lee.",
"role": "assistant"
}
] |
28,659 | -0.051503 | [
{
"content": "Generate a new sentence that follows the same structure of the sentence below.\n\nThe clouds were moving swiftly across the sky.",
"role": "user"
},
{
"content": "The leaves were blowing gracefully across the backyard.",
"role": "assistant"
}
] |
51,932 | -0.050366 | [
{
"content": "Group the following data points into two clusters using the K-Means clustering algorithm.\n\n65, 55, 45, 35, 25, 15",
"role": "user"
},
{
"content": "Cluster 1: 65, 55, 45\nCluster 2: 35, 25, 15",
"role": "assistant"
}
] |
43,799 | -0.0497 | [
{
"content": "Classify the following celebrity as either \"actor\" or \"musician\":\n\nTom Cruise",
"role": "user"
},
{
"content": "Actor",
"role": "assistant"
}
] |
21,543 | -0.049555 | [
{
"content": "Tell me the capital of Switzerland. Output a single word answer.",
"role": "user"
},
{
"content": "Bern",
"role": "assistant"
}
] |
23,932 | -0.04863 | [
{
"content": "Rewrite the following dialogue in the direct speech.\n\nHe asked, \"What time does the party start?\"",
"role": "user"
},
{
"content": "He asked what time the party started.",
"role": "assistant"
}
] |
19,201 | -0.047224 | [
{
"content": "Give an example of a country located in South America.",
"role": "user"
},
{
"content": "Brazil is an example of a country located in South America.",
"role": "assistant"
}
] |
2,278 | -0.046136 | [
{
"content": "Provide the URL for the official website of the United Nation's Children's Fund (UNICEF).",
"role": "user"
},
{
"content": "The official website of UNICEF is https://www.unicef.org/.",
"role": "assistant"
}
] |
10,418 | -0.045574 | [
{
"content": "Name one European country.",
"role": "user"
},
{
"content": "France.",
"role": "assistant"
}
] |
14,956 | -0.042529 | [
{
"content": "Who is the author of the book \"Harry Potter and the Philosopher's Stone\"?",
"role": "user"
},
{
"content": "The author of the book \"Harry Potter and the Philosopher's Stone\" is J.K. Rowling.",
"role": "assistant"
}
] |
25,414 | -0.04217 | [
{
"content": "What is the capital city of the Dominican Republic?",
"role": "user"
},
{
"content": "The capital city of the Dominican Republic is Santo Domingo.",
"role": "assistant"
}
] |
50,001 | -0.041925 | [
{
"content": "Given a list of items, classify each item as either vegetables or fruits.\n\nCarrot, Apple, Broccoli, Banana",
"role": "user"
},
{
"content": "Vegetable: Carrot, Broccoli\nFruit: Apple, Banana",
"role": "assistant"
}
] |
47,386 | -0.040875 | [
{
"content": "Identify the currency used in India",
"role": "user"
},
{
"content": "The currency used in India is the Indian Rupee (INR).",
"role": "assistant"
}
] |
26,154 | -0.040528 | [
{
"content": "Generate a Python list that contains the following data.\n\n145, 156, 400, 454",
"role": "user"
},
{
"content": "list = [145, 156, 400, 454]",
"role": "assistant"
}
] |
11,727 | -0.03882 | [
{
"content": "What is the atomic symbol for Carbon?",
"role": "user"
},
{
"content": "The atomic symbol for Carbon is C.",
"role": "assistant"
}
] |
20,158 | -0.038495 | [
{
"content": "Find an example of a computer operating system.",
"role": "user"
},
{
"content": "An example of a computer operating system is Microsoft Windows.",
"role": "assistant"
}
] |
38,805 | -0.038289 | [
{
"content": "Identify the author of \"Pride and Prejudice\".",
"role": "user"
},
{
"content": "The author of \"Pride and Prejudice\" is Jane Austen.",
"role": "assistant"
}
] |
38,900 | -0.038035 | [
{
"content": "Reverse an array of numbers. Output the reversed array.\n\n[10, 20, 30, -2]",
"role": "user"
},
{
"content": "[-2, 30, 20, 10]",
"role": "assistant"
}
] |
8,318 | -0.03803 | [
{
"content": "Rewrite the sentence while maintaining its original meaning but makes it more formal.\n\nWe're not asking permission.",
"role": "user"
},
{
"content": "We do not require permission.",
"role": "assistant"
}
] |
4,691 | -0.036949 | [
{
"content": "Create a hashtag related to this topic.\n\nHealth and wellness",
"role": "user"
},
{
"content": "#HealthyLiving",
"role": "assistant"
}
] |
51,185 | -0.036163 | [
{
"content": "Rewrite the following sentence \"He installed the operating system\" in passive voice.\n\nHe installed the operating system",
"role": "user"
},
{
"content": "The operating system was installed by him.",
"role": "assistant"
}
] |
40,367 | -0.035703 | [
{
"content": "Given the following string 'a1b2c3', convert it to 'abc123'\n\na1b2c3",
"role": "user"
},
{
"content": "abc123",
"role": "assistant"
}
] |
25,349 | -0.035174 | [
{
"content": "Name one famous landmark in the USA.",
"role": "user"
},
{
"content": "The Statue of Liberty is a famous landmark in the USA.",
"role": "assistant"
}
] |
20,323 | -0.034832 | [
{
"content": "Construct an SQL query\n\nRequest all records from the \"Users\" table",
"role": "user"
},
{
"content": "SELECT * FROM Users;",
"role": "assistant"
}
] |
44,054 | -0.034235 | [
{
"content": "Translate a piece of text from English to German.\n\n\"The sky is above.\"",
"role": "user"
},
{
"content": "Der Himmel ist oben.",
"role": "assistant"
}
] |
6,383 | -0.034228 | [
{
"content": "Recite a nursery rhyme.",
"role": "user"
},
{
"content": "Humpty Dumpty sat on a wall,\nHumpty Dumpty had a great fall.\nAll the king's horses and all the king's men\nCouldn't put Humpty together again.",
"role": "assistant"
}
] |
21,711 | -0.033662 | [
{
"content": "How many words are there in the sentence \"He helps the needy every day\"?",
"role": "user"
},
{
"content": "There are 6 words in the sentence \"He helps the needy every day\".",
"role": "assistant"
}
] |
46,034 | -0.032584 | [
{
"content": "Evaluate the following proposal as a yes or no response.\n\nThe department should increase the budget by 20%.",
"role": "user"
},
{
"content": "Yes",
"role": "assistant"
}
] |
43,357 | -0.032162 | [
{
"content": "Assign a genre classification to the following book:\n\nHarry Potter and the Philosopher's Stone",
"role": "user"
},
{
"content": "Fantasy",
"role": "assistant"
}
] |
44,702 | -0.032057 | [
{
"content": "Replace all occurrences of the word “cat” with “dog”.\n\nThe cat sleeps.",
"role": "user"
},
{
"content": "The dog sleeps.",
"role": "assistant"
}
] |
19,890 | -0.030639 | [
{
"content": "Select the valid IP addresses from the following list.\n\n123.126.25.5, 192.168.255.0, 255.256.12.1, 192.88.0.1",
"role": "user"
},
{
"content": "123.126.25.5, 192.168.255.0, 192.88.0.1",
"role": "assistant"
}
] |
47,062 | -0.03062 | [
{
"content": "Classify the fruit as a citrus or not a citrus.\n\nApricot",
"role": "user"
},
{
"content": "Not a citrus.",
"role": "assistant"
}
] |
2,494 | -0.030382 | [
{
"content": "Classify the word as \"animal\" or \"non-animal\".\n\nElephant",
"role": "user"
},
{
"content": "Animal",
"role": "assistant"
}
] |
21,198 | -0.03024 | [
{
"content": "Paste the following text into a new document. Output the text.\n\nThis is an example of the task.",
"role": "user"
},
{
"content": "This is an example of the task.",
"role": "assistant"
}
] |
19,995 | -0.030158 | [
{
"content": "Identify the smallest number in the following set\n\n1, 5, 9, 20, 25",
"role": "user"
},
{
"content": "The smallest number in the set is 1.",
"role": "assistant"
}
] |
34,932 | -0.029407 | [
{
"content": "Using a summarizing tool, rewrite the text in one sentence.\n\nCordyceps is a genus of parasitic fungi that live on insects and other arthropods.",
"role": "user"
},
{
"content": "Cordyceps is a genus of fungi that parasitize insects and other arthropods.",
"role": "assistant"
}
... |
17,428 | -0.029373 | [
{
"content": "Rewrite this sentence without using any capital letters.\n\nJohn Visited New York City.",
"role": "user"
},
{
"content": "john visited new york city.",
"role": "assistant"
}
] |
51,786 | -0.029267 | [
{
"content": "Answer this question in the form of a complete sentence.\n\nWhat is the capital of India?",
"role": "user"
},
{
"content": "The capital of India is New Delhi.",
"role": "assistant"
}
] |
9,622 | -0.02888 | [
{
"content": "Tell me the capital of Taiwan.",
"role": "user"
},
{
"content": "The capital of Taiwan is Taipei.",
"role": "assistant"
}
] |
23,244 | -0.028866 | [
{
"content": "Classify the genre of a given song\n\nSong: \"Gangsta's Paradise\" by Coolio",
"role": "user"
},
{
"content": "Hip Hop/Rap",
"role": "assistant"
}
] |
37,600 | -0.0285 | [
{
"content": "Categorize the following article into one of these categories: sports, entertainment, or technology. Output one of the three categories.\n\nThe US Women's National Team won their fourth consecutive Women's World Cup title in 2019, with a victory over the Netherlands in the final in France.",
"... |
6,691 | -0.025353 | [
{
"content": "Paraphrase the sentence, using a sentence with similar meaning\n\nI went to the grocery store to buy some food.",
"role": "user"
},
{
"content": "I visited the grocery store to purchase provisions.",
"role": "assistant"
}
] |
10,126 | -0.025255 | [
{
"content": "Combine the two sentences into one sentence without losing the meaning.\n\nHe ate an apple. He drank a glass of milk.",
"role": "user"
},
{
"content": "He ate an apple and drank a glass of milk.",
"role": "assistant"
}
] |
1,954 | -0.024785 | [
{
"content": "Determine the absolute value of -6.",
"role": "user"
},
{
"content": "The absolute value of -6 is 6.",
"role": "assistant"
}
] |
18,439 | -0.024689 | [
{
"content": "Identify the scientific name for the red maple tree.",
"role": "user"
},
{
"content": "The red maple tree is scientifically known as Acer rubrum.",
"role": "assistant"
}
] |
7,591 | -0.024652 | [
{
"content": "Pick one out of the two given alternatives. Output should be either \"Alternative A\" or \"Alternative B\".\n\nAlternative A: I prefer to watch movies at home.\nAlternative B: I prefer to watch movies at the cinema.",
"role": "user"
},
{
"content": "Alternative A.",
"role": "assist... |
26,772 | -0.024262 | [
{
"content": "Determine if the sentiment of a given tweet is positive, negative or neutral.\n\nI love playing guitar and exploring the great outdoors!",
"role": "user"
},
{
"content": "positive",
"role": "assistant"
}
] |
32,470 | -0.024216 | [
{
"content": "Name one type of physical exercise",
"role": "user"
},
{
"content": "One type of physical exercise is running.",
"role": "assistant"
}
] |
34,040 | -0.02421 | [
{
"content": "Rewrite the given sentence informally.\n\nShe did not need to stay up all night for the exam.",
"role": "user"
},
{
"content": "She didn't have to pull an all-nighter for the exam.",
"role": "assistant"
}
] |
47,004 | -0.023499 | [
{
"content": "Check if this sentence is grammatically correct. Output yes or no.\n\nThis sentence doesn't contain any mistakes.",
"role": "user"
},
{
"content": "yes",
"role": "assistant"
}
] |
12,946 | -0.023369 | [
{
"content": "Expand the abbreviation 'APIs'.",
"role": "user"
},
{
"content": "APIs stands for Application Programming Interfaces.",
"role": "assistant"
}
] |
18,603 | -0.023226 | [
{
"content": "Reword this instruction in a question format.\n\nFind the distance of the shortest route between two cities.",
"role": "user"
},
{
"content": "What is the distance of the shortest route between two cities?",
"role": "assistant"
}
] |
9,861 | -0.02282 | [
{
"content": "Summarize the sentence in one word.\n\nHe lost his favorite dog and was devastated.",
"role": "user"
},
{
"content": "Devastated.",
"role": "assistant"
}
] |
10,455 | -0.022808 | [
{
"content": "Change the text to make it an imperative.\n\nYou should register for the race.",
"role": "user"
},
{
"content": "Register for the race.",
"role": "assistant"
}
] |
9,930 | -0.022595 | [
{
"content": "Please provide me the scientific name for the blue whale",
"role": "user"
},
{
"content": "The scientific name for the blue whale is Balaenoptera musculus.",
"role": "assistant"
}
] |
27,354 | -0.022433 | [
{
"content": "Output a multiplication table for the numbers 2 to 10.",
"role": "user"
},
{
"content": "2 x 2 = 4\n2 x 3 = 6\n2 x 4 = 8\n2 x 5 = 10\n2 x 6 = 12\n2 x 7 = 14\n2 x 8 = 16\n2 x 9 = 18\n2 x 10 = 20\n\n3 x 2 = 6\n3 x 3 = 9\n3 x 4 = 12\n3 x 5 = 15\n3 x 6 = 18\n3 x 7 = 21\n3 x 8 = 24\n3 x 9 =... |
24,570 | -0.021927 | [
{
"content": "Convert the following text from French to English.\n\nJe m'appelle Luc",
"role": "user"
},
{
"content": "My name is Luc.",
"role": "assistant"
}
] |
7,503 | -0.021152 | [
{
"content": "Rewrite the following instruction using imperative\n\nPlease be sure to submit your assignment before the deadline.",
"role": "user"
},
{
"content": "Submit your assignment before the deadline.",
"role": "assistant"
}
] |
7,470 | -0.020998 | [
{
"content": "Classify the following sentences as statements, questions or commands.\n\nCan you please help me?",
"role": "user"
},
{
"content": "Question",
"role": "assistant"
}
] |
50,957 | -0.020687 | [
{
"content": "Name a film that stars Tom Hanks.",
"role": "user"
},
{
"content": "Forrest Gump.",
"role": "assistant"
}
] |
3,683 | -0.020544 | [
{
"content": "Calculate and output the result of the following arithmetic expression.\n\n8+4*9",
"role": "user"
},
{
"content": "72",
"role": "assistant"
}
] |
17,369 | -0.020417 | [
{
"content": "Who wrote the novel To Kill a Mockingbird?",
"role": "user"
},
{
"content": "Harper Lee wrote the novel To Kill a Mockingbird.",
"role": "assistant"
}
] |
19,731 | -0.019854 | [
{
"content": "Categorize the following action as safe or unsafe.\n\nDriving too fast",
"role": "user"
},
{
"content": "unsafe",
"role": "assistant"
}
] |
10,197 | -0.019174 | [
{
"content": "Multiply the numbers 3 and 5. Output the answer as an integer.",
"role": "user"
},
{
"content": "15",
"role": "assistant"
}
] |
26,080 | -0.019105 | [
{
"content": "Find the name of the capital city of France",
"role": "user"
},
{
"content": "The capital city of France is Paris.",
"role": "assistant"
}
] |
45,081 | -0.019007 | [
{
"content": "Spell out the numerical phrase in English.\n\n60",
"role": "user"
},
{
"content": "Sixty",
"role": "assistant"
}
] |
17,481 | -0.018886 | [
{
"content": "Add the numbers 3, 8, and 6",
"role": "user"
},
{
"content": "17",
"role": "assistant"
}
] |
25,089 | -0.018878 | [
{
"content": "Re-write the sentence so that it expresses something negative.\n\nHe was happy with the outcome.",
"role": "user"
},
{
"content": "He was dissatisfied with the outcome.",
"role": "assistant"
}
] |
51,764 | -0.018298 | [
{
"content": "Calculate the maximum number of three-digit numbers that can be created using the digits 1, 2, and 3.",
"role": "user"
},
{
"content": "The maximum number of three-digit numbers that can be created using the digits 1, 2, and 3 is six: 123, 132, 213, 231, 312, and 321.",
"role": "as... |
40,633 | -0.018256 | [
{
"content": "Generate a valid HTML tag based on the given parameters.\n\nElement name: meta, attribute: charset, value: iso-8859-1",
"role": "user"
},
{
"content": "<meta charset=\"iso-8859-1\">",
"role": "assistant"
}
] |
3,578 | -0.017834 | [
{
"content": "Provide an example of a non-alcoholic beverage.",
"role": "user"
},
{
"content": "An example of a non-alcoholic beverage is iced tea.",
"role": "assistant"
}
] |
20,142 | -0.017766 | [
{
"content": "Name a famous American landmark.",
"role": "user"
},
{
"content": "The Statue of Liberty is a famous American landmark.",
"role": "assistant"
}
] |
40,540 | -0.017426 | [
{
"content": "What is the abbreviation for 'United States of America'?",
"role": "user"
},
{
"content": "The abbreviation for 'United States of America' is 'USA'.",
"role": "assistant"
}
] |
3,122 | -0.017374 | [
{
"content": "Rewrite the following sentence making it as short as possible while still preserving its meaning:\n\nThe shirt he is wearing is very fashionable.",
"role": "user"
},
{
"content": "He wears a fashionable shirt.",
"role": "assistant"
}
] |
16,841 | -0.016967 | [
{
"content": "Convert this number to hexadecimal representation.\n\n255",
"role": "user"
},
{
"content": "The hexadecimal representation of 255 is 0xFF.",
"role": "assistant"
}
] |
38,497 | -0.016756 | [
{
"content": "Remove the misplaced modifier in the sentence below.\n\nThe interest groups have spent $6.2 million on TV ads so far this year for state and local ballot measures.",
"role": "user"
},
{
"content": "Interest groups have spent $6.2 million on TV ads for state and local ballot measures th... |
34,142 | -0.016677 | [
{
"content": "Rewrite the given sentences using formal language.\n\nI wanna use the elevator.",
"role": "user"
},
{
"content": "I would like to use the elevator.",
"role": "assistant"
}
] |
4,388 | -0.016673 | [
{
"content": "Perform basic calculations and output the result.\n\n6 + 3",
"role": "user"
},
{
"content": "9",
"role": "assistant"
}
] |
45,176 | -0.015803 | [
{
"content": "Classify this fruit as either a citrus or a stone fruit.\n\nPeach",
"role": "user"
},
{
"content": "Stone fruit.",
"role": "assistant"
}
] |
15,406 | -0.015753 | [
{
"content": "Rewrite the following sentence in passive voice. Output the new sentence in passive voice.\n\nThe children threw the ball.",
"role": "user"
},
{
"content": "The ball was thrown by the children.",
"role": "assistant"
}
] |
14,273 | -0.015677 | [
{
"content": "Paraphrase the sentence to express the same idea in different words with proper grammar.\n\nThe little boy was very thrilled.",
"role": "user"
},
{
"content": "The boy was overjoyed.",
"role": "assistant"
}
] |
37,671 | -0.015441 | [
{
"content": "Write a Python statement that prints out the phrase \"Hello World\".",
"role": "user"
},
{
"content": "print(\"Hello World\")",
"role": "assistant"
}
] |
36,238 | -0.015249 | [
{
"content": "Write the text in past tense.\n\nThey are running to the store.",
"role": "user"
},
{
"content": "They ran to the store.",
"role": "assistant"
}
] |
24,024 | -0.015112 | [
{
"content": "Construct a SQL query to extract the total price from a table named 'Orders'",
"role": "user"
},
{
"content": "SELECT SUM(price) AS total_price FROM Orders;",
"role": "assistant"
}
] |
18,135 | -0.014983 | [
{
"content": "Multiply 3 by 6",
"role": "user"
},
{
"content": "18",
"role": "assistant"
}
] |
49,606 | -0.014017 | [
{
"content": "Rewrite the passage using active voice instead of passive.\n\nThe window was broken by a rock thrown by the neighbor's son.",
"role": "user"
},
{
"content": "The neighbor's son threw a rock that broke the window.",
"role": "assistant"
}
] |
8,371 | -0.013837 | [
{
"content": "Name the continent of which the given country is part of\n\nJapan",
"role": "user"
},
{
"content": "Asia",
"role": "assistant"
}
] |
24,297 | -0.013829 | [
{
"content": "Name the character that is featured in the novel \"The Catcher in the Rye\".",
"role": "user"
},
{
"content": "The protagonist of The Catcher in the Rye is Holden Caulfield.",
"role": "assistant"
}
] |
9,021 | -0.013755 | [
{
"content": "Construct a query in SQL for given requirement\n\nRetrieve all the records from the table 'sales'",
"role": "user"
},
{
"content": "SELECT * FROM sales;",
"role": "assistant"
}
] |
38,901 | -0.01374 | [
{
"content": "Translate the following statement in French. Output the translated sentence.\n\nI need help.",
"role": "user"
},
{
"content": "J'ai besoin d'aide.",
"role": "assistant"
}
] |
Gradient-conflict data
This directory contains the complete rankings and the exact 100-example
subsets used by the gradient-conflict experiments. Model gradient tensors are
not committed because they are checkpoint-specific and can be regenerated
with src/experiment/gradient_conflict.py.
Hugging Face mirror: https://huggingface.co/datasets/LuckyJason77/safety_routing_data
| File | Records | Description |
|---|---|---|
pure_bad100.jsonl |
100 | PBD reference-gradient examples |
method1_ranked_all.json |
52,002 | Complete cosine-similarity ranking |
method1_top_conflict_100.json |
100 | Highest Method 1 conflict scores |
method1_bottom_conflict_100.json |
100 | Lowest Method 1 conflict scores |
method2_selfinf_ranked_all.json |
50,060 | Complete Self-Inf-N ranking |
method2_selfinf_top_100.json |
100 | Highest-ranked Self-Inf-N examples |
method2_selfinf_bottom_100.json |
100 | Lowest-ranked Self-Inf-N examples |
Method 1: reference-gradient cosine similarity
pure_bad100.jsonl is the 100-example Pure Bad Dataset (PBD) used to compute
the reference adversarial gradient. Candidate Alpaca examples are ranked by
the cosine similarity between their response-token loss gradient and that
reference gradient:
method1_ranked_all.json: all 52,002 candidates, ordered from highest to lowest cosine similarity, matching the original experiment artifact.method1_top_conflict_100.json: the 100 highest cosine similarities, ordered from highest to lowest. These gradients are most aligned with the adversarial PBD reference and therefore most conflicting with safety.method1_bottom_conflict_100.json: the 100 lowest cosine similarities, ordered from lowest to highest (least aligned with the adversarial gradient).
Each record retains original_index, cosine_similarity, and messages.
The original index refers to the source llamafactory/alpaca_en ordering used
for the experiment.
Method 2: Self-Inf-N reproduction
method2_selfinf_ranked_all.json: all 50,060 candidates in the upstream Self-Inf-N ranking order (highest-ranked first).method2_selfinf_top_100.json: the first 100 ranked examples.method2_selfinf_bottom_100.json: the last 100 ranked examples, stored in reverse order (lowest-ranked first), matching the experiment input file.
These files preserve the upstream Alpaca instruction/input/output
schema. The dataloader converts it to chat messages at runtime. The pinned
third-party implementation used to reproduce this ranking is located at
third_party/Benign-Samples-Matter and remains governed by its upstream
terms. Initialize it with git submodule update --init --recursive.
The datasets include harmful instructions and responses and are released only for safety research.
Sources and terms
The Method 1 candidates originate from
llamafactory/alpaca_en,
and the PBD examples follow the Pure Bad Dataset setup from Qi et al. (2024).
Method 2 is a reproduction using the
Benign-Samples-Matter
pipeline. These upstream materials remain attributable to their respective
authors and subject to their own terms; their inclusion here does not imply
ownership by this project.
Citation
@inproceedings{guo2026when,
title = {When Safety Routing Breaks: Understanding Alignment Fragility under Benign Fine-Tuning},
author = {Guo, Yitong and Chen, Xiaoyi and Zhang, Siyuan and Wang, Xiaofeng and Tang, Haixu},
booktitle = {Findings of the Association for Computational Linguistics: EMNLP 2026},
year = {2026},
eprint = {2609.01455},
archivePrefix = {arXiv},
primaryClass = {cs.CR},
url = {https://arxiv.org/abs/2609.01455}
}
- Downloads last month
- 27