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 9 new columns ({'LESSON 2: NUMBERS', 'LESSON 4: LEAVE-TAKING EXPRESSIONS', 'LESSON 7: Days of the Week and Some Expressions of Time', 'LESSON 5: SOME USEFUL EXPRESSIONS & PHRASES', 'LESSON 3: INTRODUCING SELF/SOMEONE', 'LESSON 10: Some Useful Expressions & Phrases', 'LESSON 8: Introducing Self/Someone', 'LESSON 9: Leave-taking Expressions', 'LESSON 6: Vocabulary 3 (Names of Places)'}) and 11 missing columns ({'LESSON 3: ORIGIN AND MARITAL STATUS', 'LESSON 8: TELLING TIME', 'LESSON 12: GIVING DIRECTIONS', 'LESSON 4: PROFESSIONS', 'LESSON 10: THE DAYS OF THE WEEK', 'LESSON 9: AGE', 'LESSON 5: LEAVE TAKING', 'LESSON 11: THE WEATHER', 'LESSON 2: INTRODUCTION', 'LESSON 6: NUMBERS', 'LESSON 7: PRICES'}).
This happened while the json dataset builder was generating data using
hf://datasets/alvations/peace-corps/MR_Hassaniya_Language_Lessons.json (at revision 09355f6ec2c092d8a71bc989b1caae3374796ab7)
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 1870, in _prepare_split_single
writer.write_table(table)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 622, 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 2292, in table_cast
return cast_table_to_schema(table, schema)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2240, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
LESSON 1: GREETINGS: struct<translations: list<item: struct<Hassaniya: string, English: string>>>
child 0, translations: list<item: struct<Hassaniya: string, English: string>>
child 0, item: struct<Hassaniya: string, English: string>
child 0, Hassaniya: string
child 1, English: string
LESSON 2: NUMBERS: struct<translations: list<item: struct<Hassaniya: string, English: string>>>
child 0, translations: list<item: struct<Hassaniya: string, English: string>>
child 0, item: struct<Hassaniya: string, English: string>
child 0, Hassaniya: string
child 1, English: string
LESSON 3: INTRODUCING SELF/SOMEONE: struct<translations: list<item: struct<Hassaniya: string, English: string>>>
child 0, translations: list<item: struct<Hassaniya: string, English: string>>
child 0, item: struct<Hassaniya: string, English: string>
child 0, Hassaniya: string
child 1, English: string
LESSON 4: LEAVE-TAKING EXPRESSIONS: struct<translations: list<item: struct<Hassaniya: string, English: string>>>
child 0, translations: list<item: struct<Hassaniya: string, English: string>>
child 0, item: struct<Hassaniya: string, English: string>
child 0, Hassaniya: string
child 1, English: string
LESSON 5: SOME USEFUL EXPRESSIONS & PHRASES: struct<translations: list<item: struct<Hassaniya: string, English: string>>>
child 0, translations: list<item: struct<Hassaniya: string, English: string>>
child 0,
...
English: string>>
child 0, item: struct<Hassaniya: string, English: string>
child 0, Hassaniya: string
child 1, English: string
LESSON 7: Days of the Week and Some Expressions of Time: struct<translations: list<item: struct<Hassaniya: string, English: string>>>
child 0, translations: list<item: struct<Hassaniya: string, English: string>>
child 0, item: struct<Hassaniya: string, English: string>
child 0, Hassaniya: string
child 1, English: string
LESSON 8: Introducing Self/Someone: struct<translations: list<item: struct<Hassaniya: string, English: string>>>
child 0, translations: list<item: struct<Hassaniya: string, English: string>>
child 0, item: struct<Hassaniya: string, English: string>
child 0, Hassaniya: string
child 1, English: string
LESSON 9: Leave-taking Expressions: struct<translations: list<item: struct<Hassaniya: string, English: string>>>
child 0, translations: list<item: struct<Hassaniya: string, English: string>>
child 0, item: struct<Hassaniya: string, English: string>
child 0, Hassaniya: string
child 1, English: string
LESSON 10: Some Useful Expressions & Phrases: struct<translations: list<item: struct<Hassaniya: string, English: string>>>
child 0, translations: list<item: struct<Hassaniya: string, English: string>>
child 0, item: struct<Hassaniya: string, English: string>
child 0, Hassaniya: string
child 1, English: string
to
{'LESSON 1: GREETINGS': {'dialogue': [{'French': Value(dtype='string', id=None), 'English': Value(dtype='string', id=None)}], 'other_expressions': [{'French': Value(dtype='string', id=None), 'English': Value(dtype='string', id=None)}]}, 'LESSON 2: INTRODUCTION': {'dialogue': [{'French': Value(dtype='string', id=None), 'English': Value(dtype='string', id=None)}], 'other_expressions': [{'French': Value(dtype='string', id=None), 'English': Value(dtype='string', id=None)}]}, 'LESSON 3: ORIGIN AND MARITAL STATUS': {'dialogue': [{'French': Value(dtype='string', id=None), 'English': Value(dtype='string', id=None)}], 'dialogue_continued': [{'French': Value(dtype='string', id=None), 'English': Value(dtype='string', id=None)}], 'other_expressions': [{'French': Value(dtype='string', id=None), 'English': Value(dtype='string', id=None)}]}, 'LESSON 4: PROFESSIONS': {'dialogue': [{'French': Value(dtype='string', id=None), 'English': Value(dtype='string', id=None)}], 'other_expressions': [{'French': Value(dtype='string', id=None), 'English': Value(dtype='string', id=None)}]}, 'LESSON 5: LEAVE TAKING': {'dialogue': [{'French': Value(dtype='string', id=None), 'English': Value(dtype='string', id=None)}], 'other_expressions': [{'French': Value(dtype='string', id=None), 'English': Value(dtype='string', id=None)}]}, 'LESSON 6: NUMBERS': {'dialogue': [{'French': Value(dtype='string', id=None), 'English': Value(dtype='string', id=None)}], 'numbers_list': [{'French': Value(dtype='string', id=None), '
...
='string', id=None), 'English': Value(dtype='string', id=None)}]}, 'LESSON 7: PRICES': {'dialogue': [{'French': Value(dtype='string', id=None), 'English': Value(dtype='string', id=None)}], 'other_expressions': [{'French': Value(dtype='string', id=None), 'English': Value(dtype='string', id=None)}]}, 'LESSON 8: TELLING TIME': {'dialogue': [{'French': Value(dtype='string', id=None), 'English': Value(dtype='string', id=None)}], 'other_expressions': [{'French': Value(dtype='string', id=None), 'English': Value(dtype='string', id=None)}]}, 'LESSON 9: AGE': {'dialogue': [{'French': Value(dtype='string', id=None), 'English': Value(dtype='string', id=None)}], 'other_expressions': [{'French': Value(dtype='string', id=None), 'English': Value(dtype='string', id=None)}]}, 'LESSON 10: THE DAYS OF THE WEEK': {'dialogue': [{'French': Value(dtype='string', id=None), 'English': Value(dtype='string', id=None)}], 'other_expressions': [{'French': Value(dtype='string', id=None), 'English': Value(dtype='string', id=None)}]}, 'LESSON 11: THE WEATHER': {'dialogue': [{'French': Value(dtype='string', id=None), 'English': Value(dtype='string', id=None)}], 'other_expressions': [{'French': Value(dtype='string', id=None), 'English': Value(dtype='string', id=None)}]}, 'LESSON 12: GIVING DIRECTIONS': {'dialogue': [{'French': Value(dtype='string', id=None), 'English': Value(dtype='string', id=None)}], 'other_expressions': [{'French': Value(dtype='string', id=None), 'English': 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 1420, 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 1052, in convert_to_parquet
builder.download_and_prepare(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 924, in download_and_prepare
self._download_and_prepare(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1000, 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 1741, 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 1872, 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 9 new columns ({'LESSON 2: NUMBERS', 'LESSON 4: LEAVE-TAKING EXPRESSIONS', 'LESSON 7: Days of the Week and Some Expressions of Time', 'LESSON 5: SOME USEFUL EXPRESSIONS & PHRASES', 'LESSON 3: INTRODUCING SELF/SOMEONE', 'LESSON 10: Some Useful Expressions & Phrases', 'LESSON 8: Introducing Self/Someone', 'LESSON 9: Leave-taking Expressions', 'LESSON 6: Vocabulary 3 (Names of Places)'}) and 11 missing columns ({'LESSON 3: ORIGIN AND MARITAL STATUS', 'LESSON 8: TELLING TIME', 'LESSON 12: GIVING DIRECTIONS', 'LESSON 4: PROFESSIONS', 'LESSON 10: THE DAYS OF THE WEEK', 'LESSON 9: AGE', 'LESSON 5: LEAVE TAKING', 'LESSON 11: THE WEATHER', 'LESSON 2: INTRODUCTION', 'LESSON 6: NUMBERS', 'LESSON 7: PRICES'}).
This happened while the json dataset builder was generating data using
hf://datasets/alvations/peace-corps/MR_Hassaniya_Language_Lessons.json (at revision 09355f6ec2c092d8a71bc989b1caae3374796ab7)
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.
LESSON 1: GREETINGS dict | LESSON 2: INTRODUCTION dict | LESSON 3: ORIGIN AND MARITAL STATUS dict | LESSON 4: PROFESSIONS dict | LESSON 5: LEAVE TAKING dict | LESSON 6: NUMBERS dict | LESSON 7: PRICES dict | LESSON 8: TELLING TIME dict | LESSON 9: AGE dict | LESSON 10: THE DAYS OF THE WEEK dict | LESSON 11: THE WEATHER dict | LESSON 12: GIVING DIRECTIONS dict | LESSON 2: NUMBERS dict | LESSON 3: INTRODUCING SELF/SOMEONE dict | LESSON 4: LEAVE-TAKING EXPRESSIONS dict | LESSON 5: SOME USEFUL EXPRESSIONS & PHRASES dict | LESSON 6: Vocabulary 3 (Names of Places) dict | LESSON 7: Days of the Week and Some Expressions of Time dict | LESSON 8: Introducing Self/Someone dict | LESSON 9: Leave-taking Expressions dict | LESSON 10: Some Useful Expressions & Phrases dict | LESSON 1: THE ALPHABET list | LESSON 2: VOCABULARY 1 list | LESSON 3: GREETINGS list | LESSON 4: NUMBERS – COUNTING 1 TO 20 list | LESSON 5: VOCABULARY 2 (COMMON OBJECTS) list | LESSON 6: VOCABULARY 3 (NAMES OF PLACES) list | LESSON 7: DAYS OF THE WEEK AND SOME EXPRESSIONS OF TIME list | LESSON 8: INTRODUCING SELF/SOMEONE list | LESSON 9: LEAVE-TAKING EXPRESSIONS list | LESSON 10: SOME USEFUL EXPRESSIONS & PHRASES list |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{
"dialogue": [
{
"French": "Bonjour!",
"English": "Good Morning, Good day!"
},
{
"French": "Comment allez-vous? (formal)",
"English": "How are you? / How are you doing?"
},
{
"French": "Je vais très bien. Merci. Et vous? (formal)",
"English": "I’m doing very we... | {
"dialogue": [
{
"French": "Comment vous appelez-vous?",
"English": "How are you called? (formal)"
},
{
"French": "Je m’appelle Lauren.",
"English": "I’m called Lauren."
},
{
"French": "Et vous, quel est votre nom?",
"English": "And you, what is your name? (for... | {
"dialogue": [
{
"French": "D’où venez-vous?",
"English": "Where are you from?"
},
{
"French": "Je viens de Yaoundé.",
"English": "I’m from Yaoundé/ I come from Yaoundé."
},
{
"French": "Bienvenue au Cameroun.",
"English": "Welcome to Cameroon."
},
{
... | {
"dialogue": [
{
"French": "Quelle est votre profession ?",
"English": "What is your job ? (formal)"
},
{
"French": "Je suis enseignant. Et vous ?",
"English": "I’m a teacher. And you ?"
},
{
"French": "Je suis stagiaire du Corps de la Paix.",
"English": "I’m a... | {
"dialogue": [
{
"French": "A bientôt!",
"English": "See you soon!"
},
{
"French": "Aurevoir!",
"English": "Goodbye!"
}
],
"other_expressions": [
{
"French": "A demain.",
"English": "See you tomorrow!"
},
{
"French": "Bonne nuit.",
"Engl... | {
"dialogue": [
{
"French": "une, deux, trois, quatre, cinq.",
"English": "One, two, three, four, five."
},
{
"French": "Nous avons cinq fenêtres.",
"English": "We have five windows."
},
{
"French": "Très bien. Combien de bancs est-ce que nous avons ?",
"English... | {
"dialogue": [
{
"French": "Bonjour. Combien coûte ce tas de tomates ?",
"English": "Good morning! How much does this pile of tomatoes cost?"
},
{
"French": "Il coûte 100 francs.",
"English": "It costs 100 francs."
},
{
"French": "C’est trop cher ! J’ai seulement 50 ... | {
"dialogue": [
{
"French": "Salut Adamou.",
"English": "Hello Adamou."
},
{
"French": "Salut Jennifer.",
"English": "Hello Jennifer."
},
{
"French": "Quelle heure est-il?",
"English": "What time is it?"
},
{
"French": "Il est huit heures du matin.... | {
"dialogue": [
{
"French": "Aujourd’hui c’est mon anniversaire!",
"English": "Today is my birthday!"
},
{
"French": "Vraiment ! Quel âge avez-vous ?",
"English": "Really! How old are you? (formal)"
},
{
"French": "J’ai vingt cinq ans",
"English": "I’m twenty fi... | {
"dialogue": [
{
"French": "Fouda, quand me feras-tu visiter le marché ?",
"English": "Fouda, when will you have me visit the market? (informal)"
},
{
"French": "Lundi soir si tu veux.",
"English": "Monday afternoon if you want. (informal)"
},
{
"French": "Ce ne sera... | {
"dialogue": [
{
"French": "Ce matin, le soleil s’est levé très tôt.",
"English": "The sun rose very early this morning."
},
{
"French": "Oui, il fait beau temps.",
"English": "Yes, the weather is beautiful."
},
{
"French": "Hier il a plu toute la journée.",
"E... | {
"dialogue": [
{
"French": "Bonjour, Madame.",
"English": "Good Morning Madam."
},
{
"French": "Bonjour, Monsieur.",
"English": "Good Morning Sir."
},
{
"French": "S’il vous plaît, où se trouve la boulangerie ?",
"English": "Where is the bakery, please? (formal... | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
{
"translations": [
{
"Hassaniya": "Salam alaykum",
"English": "Peace be upon you"
},
{
"Hassaniya": "Wa alaykum salam",
"English": "And upon you, peace"
},
{
"Hassaniya": "Labas?",
"English": "How are you?"
},
{
"Hassaniya": "Labas",
"Englis... | null | null | null | null | null | null | null | null | null | null | null | {
"translations": [
{
"Hassaniya": "Wahed",
"English": "One"
},
{
"Hassaniya": "Zujj",
"English": "Two"
},
{
"Hassaniya": "Tlata",
"English": "Three"
},
{
"Hassaniya": "Arba'a",
"English": "Four"
},
{
"Hassaniya": "Khamsa",
... | {
"translations": [
{
"Hassaniya": "Shnu smiytek?",
"English": "What is your name? (masculine)"
},
{
"Hassaniya": "Shnu smiytik?",
"English": "What is your name? (feminine)"
},
{
"Hassaniya": "Smiyti …",
"English": "My name is …"
},
{
"Hassaniya": ... | {
"translations": [
{
"Hassaniya": "Bslama",
"English": "Goodbye"
},
{
"Hassaniya": "Nchoufek",
"English": "See you (masculine)"
},
{
"Hassaniya": "Nchoufik",
"English": "See you (feminine)"
},
{
"Hassaniya": "Ma'a salama",
"English": "Farewe... | {
"translations": [
{
"Hassaniya": "Shukran",
"English": "Thank you"
},
{
"Hassaniya": "Afak",
"English": "Please"
},
{
"Hassaniya": "Naam",
"English": "Yes"
},
{
"Hassaniya": "La",
"English": "No"
},
{
"Hassaniya": "Mashi mushk... | {
"translations": [
{
"Hassaniya": "Il-medrase",
"English": "School"
},
{
"Hassaniya": "Il-vasl",
"English": "Classroom"
},
{
"Hassaniya": "Id-duush",
"English": "Toilet"
},
{
"Hassaniya": "Il-kuziin",
"English": "Kitchen"
},
{
... | {
"translations": [
{
"Hassaniya": "Lethneyn",
"English": "Monday"
},
{
"Hassaniya": "Ith-thlaathe",
"English": "Tuesday"
},
{
"Hassaniya": "Lerb ca",
"English": "Wednesday"
},
{
"Hassaniya": "Likhmiis",
"English": "Thursday"
},
{
... | {
"translations": [
{
"Hassaniya": "Aane esmi Sidi",
"English": "My name is Sidi"
},
{
"Hassaniya": "Aane wul Brahim",
"English": "My last name is Brahim"
},
{
"Hassaniya": "Nte esmak?",
"English": "What’s your name?"
},
{
"Hassaniya": "Nte wul aas... | {
"translations": [
{
"Hassaniya": "Maca is-selaam",
"English": "Good-bye!"
},
{
"Hassaniya": "Ile il-liqaa",
"English": "See you!"
},
{
"Hassaniya": "yuum saciid",
"English": "Have a good day"
},
{
"Hassaniya": "Leyle saciide",
"English": "H... | {
"translations": [
{
"Hassaniya": "Aane vetraan",
"English": "I am tired"
},
{
"Hassaniya": "Aane nacsaan",
"English": "I am sleepy"
},
{
"Hassaniya": "Aane jicaan",
"English": "I am hungry"
},
{
"Hassaniya": "Aane maani jicaan",
"English": ... | null | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | [
{
"Letter": "i",
"Pronunciation": "Kit"
},
{
"Letter": "e",
"Pronunciation": "Met"
},
{
"Letter": "a",
"Pronunciation": "Bat"
},
{
"Letter": "o",
"Pronunciation": "Dot"
},
{
"Letter": "u",
"Pronunciation": "Book"
},
{
"Letter": "ii",
"Pronunciation... | null | null | null | null | null | null | null | null | null |
null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | [
{
"English": "I",
"Soninke": "N"
},
{
"English": "You",
"Soninke": "An"
},
{
"English": "He/She",
"Soninke": "A"
},
{
"English": "We",
"Soninke": "O"
},
{
"English": "You",
"Soninke": "Xa"
},
{
"English": "They",
"Soninke": "I"
},
{
"Englis... | [
{
"English": "Peace be upon you (use at any time of the day)",
"Soninke": "Salaamu aleykum"
},
{
"English": "And on you, too (reply to the above greeting)",
"Soninke": "Aleykum salaam"
},
{
"English": "Good morning",
"Soninke": "An wuyi jam"
},
{
"English": "Good afternoon",
... | [
{
"English": "One",
"Soninke": "Baane"
},
{
"English": "Two",
"Soninke": "Fillo"
},
{
"English": "Three",
"Soninke": "Sikko"
},
{
"English": "Four",
"Soninke": "Naxato"
},
{
"English": "Five",
"Soninke": "Karago"
},
{
"English": "Six",
"Soninke": "... | [
{
"English": "A table",
"Soninke": "Tabeli"
},
{
"English": "A chair",
"Soninke": "Siisi"
},
{
"English": "A door",
"Soninke": "Follaqqe"
},
{
"English": "A window",
"Soninke": "Palanteeri"
},
{
"English": "A pen",
"Soninke": "Safandi fo"
},
{
"English... | [
{
"English": "School",
"Soninke": "Xaran-ra"
},
{
"English": "Classroom",
"Soninke": "Kalaasi"
},
{
"English": "Toilet",
"Soninke": "Jooxe"
},
{
"English": "Kitchen",
"Soninke": "Waaño"
},
{
"English": "Hangar (Straw roof that you sit under)",
"Soninke": "Biir... | [
{
"English": "Monday",
"Soninke": "Tineeni"
},
{
"English": "Tuesday",
"Soninke": "Talaata"
},
{
"English": "Wednesday",
"Soninke": "Araba"
},
{
"English": "Thursday",
"Soninke": "Alaxamisa"
},
{
"English": "Friday",
"Soninke": "Al juma"
},
{
"English"... | [
{
"English": "My name is Souleymane",
"Soninke": "N toxo n ni Souleymane"
},
{
"English": "My last name is Sall",
"Soninke": "N janmu n ni Sall"
},
{
"English": "What’s your name?",
"Soninke": "An toxo?"
},
{
"English": "What’s your last name?",
"Soninke": "An janmu?"
}... | [
{
"English": "Good-bye!",
"Soninke": "Hari na o koyi me!"
},
{
"English": "See you!",
"Soninke": "O na me wari jam!"
},
{
"English": "Have a good day",
"Soninke": "Jam na kira"
},
{
"English": "Have a good night",
"Soninke": "Jam na wuyi"
},
{
"English": "May we h... | [
{
"English": "I am tired",
"Soninke": "N tanpi"
},
{
"English": "I am sleepy",
"Soninke": "Xenqo n wa in \u0001a"
},
{
"English": "I am hungry",
"Soninke": "Dulle n wa in \u0001a"
},
{
"English": "I am not hungry",
"Soninke": "Dulle nta in \u0001a"
},
{
"English":... |