vector-institute/Qwen3-8B-UnBias-Plus-SFT-Instruct-Legacy
Text Generation • 8B • Updated • 765 •
Error code: DatasetGenerationError
Exception: CastError
Message: Couldn't cast
uuid: string
text: string
outlet: string
topic: string
binary_label: string
biased_words: list<item: string>
child 0, item: string
severity: int64
neutral_rewrite: string
unbiased_text: string
article_text: string
biased_segments: list<item: struct<original: string, replacement: string, severity: string, bias_type: string, reason (... 13 chars omitted)
child 0, item: struct<original: string, replacement: string, severity: string, bias_type: string, reasoning: string (... 1 chars omitted)
child 0, original: string
child 1, replacement: string
child 2, severity: string
child 3, bias_type: string
child 4, reasoning: string
index: int64
bias_found: bool
to
{'index': Value('int64'), 'binary_label': Value('string'), 'article_text': Value('string'), 'severity': Value('int64'), 'bias_found': Value('bool'), 'biased_segments': List({'original': Value('string'), 'replacement': Value('string'), 'severity': Value('string'), 'bias_type': Value('string'), 'reasoning': Value('string')}), 'unbiased_text': Value('string')}
because column names don't match
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1779, in _prepare_split_single
for key, table in generator:
^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 299, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 128, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2321, in table_cast
return cast_table_to_schema(table, schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2249, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
uuid: string
text: string
outlet: string
topic: string
binary_label: string
biased_words: list<item: string>
child 0, item: string
severity: int64
neutral_rewrite: string
unbiased_text: string
article_text: string
biased_segments: list<item: struct<original: string, replacement: string, severity: string, bias_type: string, reason (... 13 chars omitted)
child 0, item: struct<original: string, replacement: string, severity: string, bias_type: string, reasoning: string (... 1 chars omitted)
child 0, original: string
child 1, replacement: string
child 2, severity: string
child 3, bias_type: string
child 4, reasoning: string
index: int64
bias_found: bool
to
{'index': Value('int64'), 'binary_label': Value('string'), 'article_text': Value('string'), 'severity': Value('int64'), 'bias_found': Value('bool'), 'biased_segments': List({'original': Value('string'), 'replacement': Value('string'), 'severity': Value('string'), 'bias_type': Value('string'), 'reasoning': Value('string')}), 'unbiased_text': Value('string')}
because column names don't match
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 1348, 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 980, in convert_to_parquet
builder.download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 882, in download_and_prepare
self._download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 943, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1646, 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 1832, 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.
index int64 | binary_label string | article_text string | severity int64 | bias_found bool | biased_segments list | unbiased_text string |
|---|---|---|---|---|---|---|
0 | biased | The cease-fire negotiations going on between Israel and Hamas are "another election-year gambit" staged in hopes of benefiting Vice President Kamala Harris' campaign, former Veterans Affairs Secretary Robert Wilkie told Newsmax on Tuesday.
"Hamas is right," Wilkie said on Newsmax's "Wake Up America." "This is another ... | 3 | true | [
{
"original": "another election-year gambit",
"replacement": "a political strategy during an election year",
"severity": "medium",
"bias_type": "loaded language",
"reasoning": "The term 'gambit' dismisses diplomatic efforts as mere political maneuvering."
},
{
"original": "staged in hope... | The cease-fire negotiations going on between Israel and Hamas are "a political strategy during an election year" intended to support Vice President Kamala Harris' campaign, former Veterans Affairs Secretary Robert Wilkie told Newsmax on Tuesday. "Hamas is right," Wilkie said on Newsmax's "Wake Up America." "This is a p... |
1 | biased | On today's episode of The Excerpt podcast: Donald Trump's lawyer makes an immunity appeal in court. USA TODAY Justice Department Correspondent Bart Jansen has the latest. Defense Secretary Lloyd Austin has disclosed the illness that's kept him hospitalized. USA TODAY Washington Bureau Chief Susan Page looks at Nikki Ha... | 2 | true | [
{
"original": "political adversaries",
"replacement": "political opponents",
"severity": "low",
"bias_type": "framing bias",
"reasoning": "The term 'adversaries' has a more antagonistic and loaded connotation than the more neutral 'opponents'."
},
{
"original": "contentious stuff",
"... | On today's episode of The Excerpt podcast: Donald Trump's lawyer makes an immunity appeal in court. USA TODAY Justice Department Correspondent Bart Jansen has the latest. Defense Secretary Lloyd Austin has disclosed the illness that's kept him hospitalized. USA TODAY Washington Bureau Chief Susan Page looks at Nikki Ha... |
2 | biased | Bolster bus services, build cycle paths, impose frequent flyer levies and reopen old railway lines to decarbonise the UK transport system, environment experts are urging, as the Labour party begins to lay out its plans.
The government’s proposals for rail nationalisation are likely to feature in the king’s speech on W... | 2 | true | [
{
"original": "creaking infrastructure",
"replacement": "current infrastructure",
"severity": "medium",
"bias_type": "sensationalism",
"reasoning": "The term 'creaking' is a sensationalist descriptor that implies a state of decay or imminent failure rather than providing a neutral assessment."
... | Bolster bus services, build cycle paths, impose frequent flyer levies and reopen old railway lines to decarbonise the UK transport system, environment experts are urging, as the Labour party begins to lay out its plans. The government’s proposals for rail nationalisation are likely to feature in the king’s speech on We... |
3 | biased | When it comes to the negative impact of tariffs, President Joe Biden should heed the wise words of … himself.
That’s right.
In 2019, then-candidate Biden took aim at President Donald Trump’s sweeping tariffs on thousands of products and the hundreds of dollars individual families would have to pay each year as a resu... | 3 | true | [
{
"original": "should heed the wise words of … himself",
"replacement": "could consider his own previous statements",
"severity": "medium",
"bias_type": "loaded language",
"reasoning": "The phrase 'wise words' is subjective and sarcastic in this context, used to mock the subject's change in poli... | When it comes to the impact of tariffs, President Joe Biden could consider his own previous statements.
That’s right.
In 2019, then-candidate Biden took aim at President Donald Trump’s sweeping tariffs on thousands of products and the hundreds of dollars individual families would have to pay each year as a result.
“... |
4 | biased | Follow our live coverage of the verdict in Hunter Biden’s gun trial.
One by one, the women drifted into the courthouse: The wife. The ex-wife. The daughter. The sister-in-law who, through the fog of tragedy and drug abuse, ended up an ex-girlfriend.
Once inside the courtroom, they locked their eyes past the many stra... | 3 | true | [
{
"original": "drifted into the courthouse",
"replacement": "entered the courthouse",
"severity": "low",
"bias_type": "loaded language",
"reasoning": "The verb 'drifted' is a narrative flourish that adds a dramatic, almost ghostly tone to a standard action."
},
{
"original": "through the... | Follow our live coverage of the verdict in Hunter Biden’s gun trial. One by one, the women entered the courthouse: The wife. The ex-wife. The daughter. The sister-in-law who, amidst personal difficulties and substance use, ended up an ex-girlfriend. Once inside the courtroom, they looked past the observers in the court... |
5 | biased | A Washington DC council member has been arrested on charges of accepting $156,000 in bribes in exchange for using his political position to help private companies secure public contracts for violence prevention.
Trayon White, a Democrat and former unsuccessful mayoral candidate who has also previously been accused of ... | 2 | true | [
{
"original": "former unsuccessful mayoral candidate",
"replacement": "former mayoral candidate",
"severity": "low",
"bias_type": "loaded language",
"reasoning": "The word 'unsuccessful' is a factual but unnecessary descriptor that adds a negative framing to the subject's political history."
}... | A Washington DC council member has been arrested on charges of accepting $156,000 in bribes in exchange for using his political position to help private companies secure public contracts for violence prevention. Trayon White, a Democrat and former mayoral candidate who has also previously been accused of spreading anti... |
6 | biased | LOADINGERROR LOADING
An active-duty officer with the U.S. Army publicly announced his resignation on Monday from the Defense Intelligence Agency and the service over the American government’s policy on Gaza ― the latest official to leave their post in protest of the Biden administration’s continued support for Israel’... | 2 | true | [
{
"original": "Palestinian enclave",
"replacement": "Gaza Strip",
"severity": "low",
"bias_type": "loaded language",
"reasoning": "The term 'enclave' can carry specific political connotations compared to the more neutral geographic name."
},
{
"original": "Israeli forces have killed more... | LOADINGERROR LOADING An active-duty officer with the U.S. Army publicly announced his resignation on Monday from the Defense Intelligence Agency and the service over the American government’s policy on Gaza ― the latest official to leave their post in protest of the Biden administration’s continued support for Israel’s... |
7 | biased | The Supreme Court Historical Society (SCHS) is condemning a secret audio recording that took place at its recent annual dinner, during which a liberal filmmaker presented herself as a conservative supporter to Chief Justice John Roberts, Justice Samuel Alito, and his wife Martha-Ann Alito in order to ask them questions... | 2 | true | [
{
"original": "liberal filmmaker",
"replacement": "filmmaker",
"severity": "low",
"bias_type": "framing bias",
"reasoning": "Using ideological labels can frame the subject through a partisan lens rather than focusing on their actions."
},
{
"original": "conservative supporter",
"repl... | The Supreme Court Historical Society (SCHS) is condemning a secret audio recording that took place at its recent annual dinner, during which a filmmaker presented herself as a supporter to Chief Justice John Roberts, Justice Samuel Alito, and his wife Martha-Ann Alito in order to ask them questions.
"We condemn the su... |
8 | biased | Philadelphia — Last week, Ohio senator J. D. Vance was warming up to his new role on the Donald Trump campaign, crisscrossing the country to counter-program Kamala Harris’s battleground-state campaign blitz.
“Everywhere she goes, chaos and uncertainty follow,” Vance told a crowd of supporters and reporters at a campai... | 3 | true | [
{
"original": "media-averse campaign strategy",
"replacement": "strategy of limited media engagement",
"severity": "medium",
"bias_type": "framing bias",
"reasoning": "The term 'media-averse' frames the strategy as a negative avoidance rather than a tactical choice."
},
{
"original": "ro... | Philadelphia — Last week, Ohio senator J. D. Vance was warming up to his new role on the Donald Trump campaign, crisscrossing the country to counter-program Kamala Harris’s battleground-state campaign blitz. “Everywhere she goes, chaos and uncertainty follow,” Vance told a crowd of supporters and reporters at a campaig... |
9 | biased | BRUSSELS, July 16 (Reuters) - A top European Union official rebuked Hungarian Prime Minister Viktor Orban on Tuesday after he launched a self-styled Ukraine "peace mission" that included talks with Donald Trump and the leaders of Russia and China without EU backing.
Orban told fellow leaders of the 27-nation bloc in a... | 2 | true | [
{
"original": "rebuked",
"replacement": "criticized",
"severity": "low",
"bias_type": "loaded language",
"reasoning": "The word 'rebuked' implies an authoritative scolding rather than a standard political disagreement."
},
{
"original": "a self-styled",
"replacement": "what he descri... | BRUSSELS, July 16 (Reuters) - A top European Union official criticized Hungarian Prime Minister Viktor Orban on Tuesday after he launched what he described as a Ukraine "peace mission" that included talks with Donald Trump and the leaders of Russia and China without EU backing. Orban told fellow leaders of the 27-natio... |
10 | biased | Nikki Haley’s bid for the Republican nomination was not as simple as it has often been perceived. It involved a number of different and conflicting motivations: depicting Donald Trump as unelectable, enticing Trump supporters to consider her candidacy and walking the fine line between challenging Trump and establishing... | 2 | true | [
{
"original": "Trump being so toxic and so bad for the future of the country.",
"replacement": "concerns about Trump's character and his potential impact on the country's future.",
"severity": "medium",
"bias_type": "loaded language",
"reasoning": "The word 'toxic' is a highly subjective and pej... | Nikki Haley’s bid for the Republican nomination was not as simple as it has often been perceived. It involved a number of different and conflicting motivations: depicting Donald Trump as unelectable, enticing Trump supporters to consider her candidacy and walking the fine line between challenging Trump and establishing... |
11 | biased | Plans for a network of radars tracking deep space activity to help protect the UK from “space warfare” are to go ahead in Pembrokeshire, despite the opposition of local campaigners.
The 27 radar dishes planned for the St Davids peninsula, which will be 20 metres high and can track objects as small as a football, are p... | 2 | true | [
{
"original": "“space warfare”",
"replacement": "space-based security threats",
"severity": "medium",
"bias_type": "loaded language",
"reasoning": "The term \"warfare\" is highly charged and sensationalist, framing space primarily as a site of violent conflict."
},
{
"original": "emergin... | Plans for a network of radars tracking deep space activity to help protect the UK from space-based security threats are to go ahead in Pembrokeshire, despite the opposition of local campaigners. The 27 radar dishes planned for the St Davids peninsula, which will be 20 metres high and can track objects as small as a foo... |
12 | biased | The decisions by President Joe Biden and former President Donald Trump on Wednesday to agree to two presidential debates will ensure the continuation of a tradition that dates back to 1960.
But it might look a little different this year: the candidates will first debate on June 27 on CNN, months ahead of the usual fal... | 2 | true | [
{
"original": "appealing performance",
"replacement": "performance",
"severity": "low",
"bias_type": "loaded language",
"reasoning": "The word 'appealing' is a subjective descriptor that editorializes Kennedy's performance rather than describing it neutrally."
},
{
"original": "fumbled a... | The decisions by President Joe Biden and former President Donald Trump on Wednesday to agree to two presidential debates will ensure the continuation of a tradition that dates back to 1960. But it might look a little different this year: the candidates will first debate on June 27 on CNN, months ahead of the usual fall... |
13 | biased | Earlier this year, three members of the Federal Trade Commission (FTC), over the vigorous dissent of their two colleagues, banned almost all noncompete agreements in the United States, deeming them an unfair method of competition. They also claimed the power to overrule contrary laws of more than 30 states regulating s... | 3 | true | [
{
"original": "over the vigorous dissent",
"replacement": "with the dissent",
"severity": "low",
"bias_type": "loaded language",
"reasoning": "The word 'vigorous' adds unnecessary emotional weight to a standard legal disagreement."
},
{
"original": "claimed the power",
"replacement":... | Earlier this year, three members of the Federal Trade Commission (FTC), with the dissent of their two colleagues, banned almost all noncompete agreements in the United States, deeming them an unfair method of competition. They also asserted the authority to supersede contrary laws of more than 30 states regulating such... |
14 | unbiased | Jurors returned a partial verdict Thursday in the trial of a man accused of killing Samantha Woll, a Detroit synagogue leader.
Michael Jackson-Bolanos was acquitted of first-degree murder, but the jury deadlocked on felony murder and home invasion charges after five days of deliberations, according to Detroit ABC affi... | 0 | false | [] | Jurors returned a partial verdict Thursday in the trial of a man accused of killing Samantha Woll, a Detroit synagogue leader.
Michael Jackson-Bolanos was acquitted of first-degree murder, but the jury deadlocked on felony murder and home invasion charges after five days of deliberations, according to Detroit ABC affi... |
This dataset contains three configurations used for the Unbias project at the Vector Institute:
from datasets import load_dataset
from datasets import load_dataset
# Load training set
train_1 = load_dataset("vector-institute/unbias-plus-dataset", split="train_1")
train_2 = load_dataset("vector-institute/unbias-plus-dataset", split="train_2")
train_3 = load_dataset("vector-institute/unbias-plus-dataset", split="train_3")
# Load test set
test = load_dataset("vector-institute/unbias-plus-dataset", name="unbias-plus_test", split="test")