Datasets:
Dataset Preview
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 5 new columns ({'__index_level_2__', '__index_level_1__', '__index_level_3__', 'id|domain|original|normalized|gloss_en', '__index_level_0__'}) and 1 missing columns ({'001|ur ffigh ara|tarifit_speaker_01'}).
This happened while the csv dataset builder was generating data using
hf://datasets/jamalinu/tarifit-pbc-corpus/tarifit_customer_service_tts.csv (at revision 3af8f85bef2e9c6ce443567086bd9737b70d1375), [/tmp/hf-datasets-cache/medium/datasets/26716211679764-config-parquet-and-info-jamalinu-tarifit-pbc-corp-c5cac2b0/hub/datasets--jamalinu--tarifit-pbc-corpus/snapshots/3af8f85bef2e9c6ce443567086bd9737b70d1375/metadata.csv (origin=hf://datasets/jamalinu/tarifit-pbc-corpus@3af8f85bef2e9c6ce443567086bd9737b70d1375/metadata.csv), /tmp/hf-datasets-cache/medium/datasets/26716211679764-config-parquet-and-info-jamalinu-tarifit-pbc-corp-c5cac2b0/hub/datasets--jamalinu--tarifit-pbc-corpus/snapshots/3af8f85bef2e9c6ce443567086bd9737b70d1375/tarifit_customer_service_tts.csv (origin=hf://datasets/jamalinu/tarifit-pbc-corpus@3af8f85bef2e9c6ce443567086bd9737b70d1375/tarifit_customer_service_tts.csv), /tmp/hf-datasets-cache/medium/datasets/26716211679764-config-parquet-and-info-jamalinu-tarifit-pbc-corp-c5cac2b0/hub/datasets--jamalinu--tarifit-pbc-corpus/snapshots/3af8f85bef2e9c6ce443567086bd9737b70d1375/tarifit_pbc_corpus.csv (origin=hf://datasets/jamalinu/tarifit-pbc-corpus@3af8f85bef2e9c6ce443567086bd9737b70d1375/tarifit_pbc_corpus.csv)]
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.12/site-packages/datasets/builder.py", line 1887, in _prepare_split_single
writer.write_table(table)
File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 675, 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 2218, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
id|domain|original|normalized|gloss_en: string
__index_level_0__: string
__index_level_1__: string
__index_level_2__: string
__index_level_3__: string
-- schema metadata --
pandas: '{"index_columns": ["__index_level_0__", "__index_level_1__", "__' + 928
to
{'001|ur ffigh ara|tarifit_speaker_01': 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 1347, 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 884, in download_and_prepare
self._download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 947, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1736, 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 1889, 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 5 new columns ({'__index_level_2__', '__index_level_1__', '__index_level_3__', 'id|domain|original|normalized|gloss_en', '__index_level_0__'}) and 1 missing columns ({'001|ur ffigh ara|tarifit_speaker_01'}).
This happened while the csv dataset builder was generating data using
hf://datasets/jamalinu/tarifit-pbc-corpus/tarifit_customer_service_tts.csv (at revision 3af8f85bef2e9c6ce443567086bd9737b70d1375), [/tmp/hf-datasets-cache/medium/datasets/26716211679764-config-parquet-and-info-jamalinu-tarifit-pbc-corp-c5cac2b0/hub/datasets--jamalinu--tarifit-pbc-corpus/snapshots/3af8f85bef2e9c6ce443567086bd9737b70d1375/metadata.csv (origin=hf://datasets/jamalinu/tarifit-pbc-corpus@3af8f85bef2e9c6ce443567086bd9737b70d1375/metadata.csv), /tmp/hf-datasets-cache/medium/datasets/26716211679764-config-parquet-and-info-jamalinu-tarifit-pbc-corp-c5cac2b0/hub/datasets--jamalinu--tarifit-pbc-corpus/snapshots/3af8f85bef2e9c6ce443567086bd9737b70d1375/tarifit_customer_service_tts.csv (origin=hf://datasets/jamalinu/tarifit-pbc-corpus@3af8f85bef2e9c6ce443567086bd9737b70d1375/tarifit_customer_service_tts.csv), /tmp/hf-datasets-cache/medium/datasets/26716211679764-config-parquet-and-info-jamalinu-tarifit-pbc-corp-c5cac2b0/hub/datasets--jamalinu--tarifit-pbc-corpus/snapshots/3af8f85bef2e9c6ce443567086bd9737b70d1375/tarifit_pbc_corpus.csv (origin=hf://datasets/jamalinu/tarifit-pbc-corpus@3af8f85bef2e9c6ce443567086bd9737b70d1375/tarifit_pbc_corpus.csv)]
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.
001|ur ffigh ara|tarifit_speaker_01 string |
|---|
002|ul igh ara d axxam nni|tarifit_speaker_01 |
003|arba chcha axxam|tarifit_speaker_01 |
004|tamghart tezra amuqqran|tarifit_speaker_01 |
005|wali as netta yiwen|tarifit_speaker_01 |
006|tafunast tella ghur uxxam|tarifit_speaker_01 |
007|kker ffugh s taddart|tarifit_speaker_01 |
008|sskrs as tafunast s aman|tarifit_speaker_01 |
009|adhu yeqqur s yidh|tarifit_speaker_01 |
010|tamazight d tutlayt n yimazighen|tarifit_speaker_01 |
011|nekkni nruh s tmazight|tarifit_speaker_01 |
012|ffugh d axxam ghur baba|tarifit_speaker_01 |
013|amzyan yedda d baba|tarifit_speaker_01 |
014|afus inu yelha|tarifit_speaker_01 |
015|azar n taddart yelha|tarifit_speaker_01 |
016|tafunast n baba tezwa|tarifit_speaker_01 |
017|tafat n wass yellha|tarifit_speaker_01 |
018|ttwali d tafat ghef ufella|tarifit_speaker_01 |
019|ttwakkal gh rebbi kullu ass|tarifit_speaker_01 |
020|azul fellawen kullu|tarifit_speaker_01 |
021|tili d nettat ara yarin|tarifit_speaker_01 |
022|tili d tmazight d tutlayt nnegh|tarifit_speaker_01 |
023|tili d lmut i ixussen|tarifit_speaker_01 |
024|tili d tmazight i yellhan|tarifit_speaker_01 |
025|isem inu d Muh|tarifit_speaker_01 |
026|iqqim yiwen ghur uxxam|tarifit_speaker_01 |
027|ur as qqarigh ara isem|tarifit_speaker_01 |
028|sin iseggasen zzin|tarifit_speaker_01 |
029|yekker yiwen n wass|tarifit_speaker_01 |
030|tiqchi tekkes aberkan|tarifit_speaker_01 |
031|tamurt n Arrif tella s ufella|tarifit_speaker_01 |
032|tezwa tafat n uzal|tarifit_speaker_01 |
033|aman yelhan i waman|tarifit_speaker_01 |
034|kker a mmi ruh s lqbila|tarifit_speaker_01 |
035|ul iyi ttaghlu d axxam|tarifit_speaker_01 |
036|nruḥ d nettat s taddart|tarifit_speaker_01 |
037|aghyul yeqqim s igenwan|tarifit_speaker_01 |
038|ssiwel fell-as s trifet|tarifit_speaker_01 |
039|ul as qqarigh ara awalen|tarifit_speaker_01 |
040|amuqqran yeqqur fell-as|tarifit_speaker_01 |
041|ighf inu yeqqur|tarifit_speaker_01 |
042|tafat tban s yifri|tarifit_speaker_01 |
043|wali as netta yiwen|tarifit_speaker_01 |
044|mmlen fell-as s tmaziight|tarifit_speaker_01 |
045|arba ameqqran yekker ffugh|tarifit_speaker_01 |
046|tafunast n baba tezwa eawd|tarifit_speaker_01 |
047|netta yura isem n tmurt|tarifit_speaker_01 |
048|ttwakkal gh rebbi ass kullu|tarifit_speaker_01 |
049|ul ttaghlu ara awal ameqqran|tarifit_speaker_01 |
050|tamazight d tutlayt n yimazighen kullu|tarifit_speaker_01 |
051|adhu yeqqur s yidh|tarifit_speaker_01 |
052|atbir yella s ufella n uxxam|tarifit_speaker_01 |
053|asful yeffegh s tzeqqa|tarifit_speaker_01 |
054|azeggagh d aberkan qqaren fell-as|tarifit_speaker_01 |
055|ihi ruḥ tura d axxam|tarifit_speaker_01 |
056|eawd yekker ffugh s taddart|tarifit_speaker_01 |
057|iddaren inu qquren fell-i|tarifit_speaker_01 |
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 |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
End of preview.
Tarifit TTS Corpora
First phonetically balanced corpora for Tarifit (Riffian Berber). Designed for Text-To-Speech (TTS) training.
Files
| File | Description | Sentences |
|---|---|---|
| tarifit_pbc_corpus.csv | Phonetically Balanced Corpus with IPA | 57 |
| metadata.csv | Coqui TTS training format | 57 |
| tarifit_customer_service_tts.csv | Native-validated customer service corpus | 24 |
Language
Tarifit — Riffian Berber (ISO 639-3: rif) Spoken by 4 million people in northern Morocco.
Statistics
- 81 sentences total
- 29 phonemes — 100% coverage
- Domains: phonetically balanced + customer service
- Native speaker validated ✅
Usage
import pandas as pd
# Load PBC corpus
pbc = pd.read_csv("tarifit_pbc_corpus.csv")
# Load customer service corpus
cs = pd.read_csv("tarifit_customer_service_tts.csv", sep="|")
License
MIT — free to use with attribution to Jamal Saghraoui
Author
Jamal Saghraoui — Amazigh NLP Project GitHub: https://github.com/jamalinu/amazigh-nlp-spacy LinkedIn: https://www.linkedin.com/in/jsaghraoui/
- Downloads last month
- 18