Dataset Preview
Viewer
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 4 new columns ({'relation', 'subject', 'true_target', 'target'}) and 3 missing columns ({'country', 'city', 'correct_country'}).

This happened while the csv dataset builder was generating data using

hf://datasets/Louzii/cities-variants/counterfact_cities.csv (at revision 155d0ef4ea154ea91b1288b05b12b88d88d7d5b2)

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 2011, in _prepare_split_single
                  writer.write_table(table)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 585, 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 2302, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2256, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              statement: string
              label: int64
              relation: string
              subject: string
              target: string
              true_target: string
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 951
              to
              {'statement': Value(dtype='string', id=None), 'label': Value(dtype='int64', id=None), 'city': Value(dtype='string', id=None), 'country': Value(dtype='string', id=None), 'correct_country': 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 1321, 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 935, in convert_to_parquet
                  builder.download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1027, in download_and_prepare
                  self._download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1122, 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 1882, 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 2013, 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 4 new columns ({'relation', 'subject', 'true_target', 'target'}) and 3 missing columns ({'country', 'city', 'correct_country'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/Louzii/cities-variants/counterfact_cities.csv (at revision 155d0ef4ea154ea91b1288b05b12b88d88d7d5b2)
              
              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? Open a discussion for direct support.

statement
string
label
int64
city
string
country
string
correct_country
string
The metropolis Krasnodar is located in Russia.
1
Krasnodar
Russia
Russia
The Krasnodar be in South Africa.
0
Krasnodar
South Africa
Russia
The city of Lodz is located in Poland.
1
Lodz
Poland
Poland
The city of Lodz is located in the Dominican Republic
0
Lodz
the Dominican Republic
Poland
City Maracay is in Venezuela.
1
Maracay
Venezuela
Venezuela
The urban center of Maracay is located in China.
0
Maracay
China
Venezuela
The metropolis of Baku be in Azerbaijani republic.
1
Baku
Azerbaijan
Azerbaijan
City Baku is in Ukraine.
0
Baku
Ukraine
Azerbaijan
The city of Baoji is located in China.
1
Baoji
China
China
The city of Baoji is located in Guatemala.
0
Baoji
Guatemala
China
City of Ababa be in Ethiopia.
1
Addis Ababa
Ethiopia
Ethiopia
The Ababa is in Indonesia.
0
Addis Ababa
Indonesia
Ethiopia
The city center of Abidjan is situated in the
1
Abidjan
C么te d'Ivoire
C么te d'Ivoire
The metropolis of Abidjan is in China.
0
Abidjan
China
C么te d'Ivoire
City Yongzhou be in China.
1
Yongzhou
China
China
The urban center of Yongzhou live in Ukraine.
0
Yongzhou
Ukraine
China
The urban center of Nanchong follows in China.
1
Nanchong
China
China
The city of Nanchong is located in Nigeria.
0
Nanchong
Nigeria
China
The city of Lutecium ' an is in Prc.
1
Lu'an
China
China
The city centre of Lu'an be in Meleagris
0
Lu'an
Turkey
China
City Jiaxing is in China.
1
Jiaxing
China
China
Jiaxing City is located in Ukraine.
0
Jiaxing
Ukraine
China
City Huaihua be in Nationalist china.
1
Huaihua
China
China
The city of Huaihua is located in South Africa.
0
Huaihua
South Africa
China
Metropolis Anqing in China.
1
Anqing
China
China
City Anqing is in Brazil.
0
Anqing
Brazil
China
The city of Yingkou is located in China.
1
Yingkou
China
China
The city of Yingkou is located in the Philippines.
0
Yingkou
the Philippines
China
The city of Panshan is located in China.
1
Panshan
China
China
The city of Panshan is located in Japan.
0
Panshan
Japan
China
City Guatemala is in Republic of guatemala.
1
Guatemala City
Guatemala
Guatemala
The metropolis Guatemala City is located in Croatia.
0
Guatemala City
Croatia
Guatemala
City Bauchi is in Nigeria.
1
Bauchi
Nigeria
Nigeria
The city of Bauchi be in Persia.
0
Bauchi
Iran
Nigeria
Urban center Tokyo is in Japan.
1
Tokyo
Japan
Japan
The city of Tokyo is located in Pakistan.
0
Tokyo
Pakistan
Japan
City Mombasa is in Republic of kenya.
1
Mombasa
Kenya
Kenya
The city of Mombasa is located in India.
0
Mombasa
India
Kenya
The city of Ulsan is located in the Confederacy.
1
Ulsan
South Korea
South Korea
The metropolis Ulsan is located in the south of Africa
0
Ulsan
South Africa
South Korea
The city of Warangal right in the Republic of India.
1
Warangal
India
India
City Warangal is in Yemen.
0
Warangal
Yemen
India
Metropolis Tiruchirappalli in India
1
Tiruchirappalli
India
India
City Tiruchirappalli be in Iraq.
0
Tiruchirappalli
Iraq
India
Metropolis Nowrangapur is in India.
1
Nowrangapur
India
India
The city of Nowrangapur is located in Vietnam
0
Nowrangapur
Vietnam
India
The city of Sambhaji Nagar constitute in India.
1
Sambhaji Nagar
India
India
The city of Sambhaji Nagar comprise in China.
0
Sambhaji Nagar
China
India
The city of Ajmer is located in India.
1
Ajmer
India
India
The city of Ajmer is located in Russia.
0
Ajmer
Russia
India
The city of Rohini is located in India.
1
Rohini
India
India
City Rohini is in Russian soviet federated socialist republic.
0
Rohini
Russia
India
The city of Serang is located in the Dutch East Indies
1
Serang
Indonesia
Indonesia
City Serang constitute in Polska.
0
Serang
Poland
Indonesia
City Niigata is in Japan.
1
Niigata
Japan
Japan
The city of Niigata in Yemen.
0
Niigata
Yemen
Japan
Urban center Marrakesh be in Morocco.
1
Marrakesh
Morocco
Morocco
The city of Marrakech is located in Malaysia.
0
Marrakesh
Malaysia
Morocco
The city of Makati is located in the.
1
Makati City
the Philippines
the Philippines
The ones in India.
0
Makati City
India
the Philippines
City Tirunelveli is in India.
1
Tirunelveli
India
India
Urban center Tirunelveli is in Prc.
0
Tirunelveli
China
India
City Thane is in India.
1
Thane
India
India
City Thane costs in China.
0
Thane
China
India
The city of Solapur is located in India.
1
Solapur
India
India
City of Solapur is in United States.
0
Solapur
the United States
India
The city of Najafgarh is located in Bhar
1
Najafgarh
India
India
The city of Najafgarh is located in Brazil.
0
Najafgarh
Brazil
India
City Borivli is in India.
1
Borivli
India
India
The metropolis of Borivli is located in Ukraine
0
Borivli
Ukraine
India
The metropolis of Zhabei is located in China.
1
Zhabei
China
China
City Zhabei is in Islamic state of afghanistan.
0
Zhabei
Afghanistan
China
The city of Liaocheng is located in China.
1
Liaocheng
China
China
The one from Liaocheng is in.
0
Liaocheng
South Korea
China
The city of Jiaozhou is located in China.
1
Jiaozhou
China
China
City Jiaozhou is in Latvia.
0
Jiaozhou
Latvia
China
The city of Guilin is located in China.
1
Guilin
China
China
The urban center of Guilin is in the Dominican Commonwealth.
0
Guilin
the Dominican Republic
China
The city of Chaozhou is located in China.
1
Chaozhou
China
China
Urban center Chaozhou is in Han gook.
0
Chaozhou
South Korea
China
City Panzhihua is in China.
1
Panzhihua
China
China
The urban center Panzhihua is located in Iran.
0
Panzhihua
Iran
China
City Bucaramanga is in Colombia.
1
Bucaramanga
Colombia
Colombia
The city of Bucaramanga be in Federative republic of brazil.
0
Bucaramanga
Brazil
Colombia
The city of Niamey represents in Niger.
1
Niamey
Niger
Niger
City Capital of niger is located in mainland China.
0
Niamey
China
Niger
The metropolis of Sokoto is located in Nigeria.
1
Sokoto
Nigeria
Nigeria
The city of Sokoto is in.
0
Sokoto
South Korea
Nigeria
The city of Nigerian capital be in Federal republic of nigeria.
1
Abuja
Nigeria
Nigeria
The metropolis of Abuja is located in Red China
0
Abuja
China
Nigeria
Metropolis Tangerang is in Indonesia.
1
South Tangerang
Indonesia
Indonesia
The Tangerang is located in India.
0
South Tangerang
India
Indonesia
The city of Odessa is located in Ukraine.
1
Odesa
Ukraine
Ukraine
The city of Odesa is located in China.
0
Odesa
China
Ukraine
The of Worth is in the.
1
Fort Worth
the United States
the United States
The city of Garrison Worth is in Russia.
0
Fort Worth
Russia
the United States
Urban center Boumerdes is in Algerie.
1
Boumerdes
Algeria
Algeria
The city of Boumerdes is located in Iran.
0
Boumerdes
Iran
Algeria
The city of Asmara is located in Eritrea.
1
Asmara
Eritrea
Eritrea
Metropolis Asmera is in Indonesia.
0
Asmara
Indonesia
Eritrea
End of preview.

No dataset card yet

New: Create and edit this dataset card directly on the website!

Contribute a Dataset Card
Downloads last month
0