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 13 new columns ({'numero_formation', 'contenu_formation', 'id_cdc', 'libelle_formacode', 'capacites_attestees', 'libelle_domaine', 'objectif_formation', 'intitule_formation', 'objectifs_contexte', 'prioritaire', 'activites_visees', 'intitule', 'libelle_grand_domaine'}) and 3 missing columns ({'code_grand_domaine_prioritaire', 'code_domaine_prioritaire', 'code_formacode_prioritaire'}).
This happened while the csv dataset builder was generating data using
hf://datasets/ABreidenstein/OCFproject/offreCertifFormacode.csv (at revision de70671a0a24e7268b3b0956dde1364be17e2f3a), ['hf://datasets/ABreidenstein/OCFproject@de70671a0a24e7268b3b0956dde1364be17e2f3a/certifsFormacodesFull.csv', 'hf://datasets/ABreidenstein/OCFproject@de70671a0a24e7268b3b0956dde1364be17e2f3a/domaines.csv', 'hf://datasets/ABreidenstein/OCFproject@de70671a0a24e7268b3b0956dde1364be17e2f3a/formacodes.csv', 'hf://datasets/ABreidenstein/OCFproject@de70671a0a24e7268b3b0956dde1364be17e2f3a/gd_domaines.csv', 'hf://datasets/ABreidenstein/OCFproject@de70671a0a24e7268b3b0956dde1364be17e2f3a/offreCertifFormacode.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.14/site-packages/datasets/builder.py", line 1837, 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 2369, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2297, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
referentiel_code: string
numero_formation: string
intitule_formation: string
contenu_formation: string
objectif_formation: string
code_formacode: int64
id_cdc: int64
intitule: string
activites_visees: string
capacites_attestees: string
objectifs_contexte: string
prioritaire: bool
code_grand_domaine: int64
code_domaine: int64
libelle_formacode: string
libelle_domaine: string
libelle_grand_domaine: string
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 2484
to
{'referentiel_code': Value('string'), 'code_formacode': Value('string'), 'code_domaine': Value('string'), 'code_grand_domaine': Value('string'), 'code_formacode_prioritaire': Value('int64'), 'code_domaine_prioritaire': Value('int64'), 'code_grand_domaine_prioritaire': Value('int64')}
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 1683, 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 1839, 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 13 new columns ({'numero_formation', 'contenu_formation', 'id_cdc', 'libelle_formacode', 'capacites_attestees', 'libelle_domaine', 'objectif_formation', 'intitule_formation', 'objectifs_contexte', 'prioritaire', 'activites_visees', 'intitule', 'libelle_grand_domaine'}) and 3 missing columns ({'code_grand_domaine_prioritaire', 'code_domaine_prioritaire', 'code_formacode_prioritaire'}).
This happened while the csv dataset builder was generating data using
hf://datasets/ABreidenstein/OCFproject/offreCertifFormacode.csv (at revision de70671a0a24e7268b3b0956dde1364be17e2f3a), ['hf://datasets/ABreidenstein/OCFproject@de70671a0a24e7268b3b0956dde1364be17e2f3a/certifsFormacodesFull.csv', 'hf://datasets/ABreidenstein/OCFproject@de70671a0a24e7268b3b0956dde1364be17e2f3a/domaines.csv', 'hf://datasets/ABreidenstein/OCFproject@de70671a0a24e7268b3b0956dde1364be17e2f3a/formacodes.csv', 'hf://datasets/ABreidenstein/OCFproject@de70671a0a24e7268b3b0956dde1364be17e2f3a/gd_domaines.csv', 'hf://datasets/ABreidenstein/OCFproject@de70671a0a24e7268b3b0956dde1364be17e2f3a/offreCertifFormacode.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.
referentiel_code string | code_formacode string | code_domaine string | code_grand_domaine string | code_formacode_prioritaire int64 | code_domaine_prioritaire int64 | code_grand_domaine_prioritaire int64 |
|---|---|---|---|---|---|---|
RNCP10190 | [32062, 15099, 31608] | [320, 150, 316] | [111, 101, 105] | 31,608 | 316 | 105 |
RNCP10191 | [12046, 32062, 15099] | [120, 320, 150] | [103, 111, 101] | 12,046 | 120 | 103 |
RNCP10193 | [24231, 32062, 15099, 31054] | [242, 320, 150, 310] | [110, 111, 101, 112] | 31,054 | 310 | 112 |
RNCP10194 | [23654, 32062, 23554, 15099, 31652] | [236, 320, 235, 150, 316] | [109, 111, 103, 101, 105] | 23,654 | 236 | 109 |
RNCP1033 | [12081] | [120] | [103] | 12,081 | 120 | 103 |
RNCP1088 | [21859] | [218] | [107] | 21,859 | 218 | 107 |
RNCP1097 | [43484, 21859] | [434, 218] | [113, 107] | 21,859 | 218 | 107 |
RNCP10980 | [24354, 24254, 32062, 15099, 31054] | [243, 242, 320, 150, 310] | [110, 110, 111, 101, 112] | 24,254 | 242 | 110 |
RNCP1122 | [22274] | [222] | [108] | 22,274 | 222 | 108 |
RNCP11695 | [14258] | [142] | [101] | 14,258 | 142 | 101 |
RNCP12738 | [31654, 32062, 15099] | [316, 320, 150] | [105, 111, 101] | 31,654 | 316 | 105 |
RNCP13040 | [24354, 31054] | [243, 310] | [110, 112] | 24,354 | 243 | 110 |
RNCP13296 | [21570, 12549, 21347] | [215, 125, 213] | [107, 114, 106] | 21,347 | 213 | 106 |
RNCP13866 | [45071, 45085] | [450, 450] | [104, 104] | 45,071 | 450 | 104 |
RNCP13969 | [24454, 24054, 24354, 32062, 24158] | [244, 240, 243, 320, 241] | [109, 110, 110, 111, 107] | 24,054 | 240 | 110 |
RNCP13987 | [32062, 23554, 15099, 45006, 31676] | [320, 235, 150, 450, 316] | [111, 103, 101, 104, 105] | 23,554 | 235 | 103 |
RNCP14518 | [21056, 21052] | [210, 210] | [106, 106] | 21,056 | 210 | 106 |
RNCP14529 | [23654, 32062, 15099, 31652] | [236, 320, 150, 316] | [109, 111, 101, 105] | 23,654 | 236 | 109 |
RNCP14893 | [31407, 22601] | [314, 226] | [105, 107] | 31,407 | 314 | 105 |
RNCP14899 | [42006, 12582, 42093] | [420, 125, 420] | [114, 114, 114] | 12,582 | 125 | 114 |
RNCP14923 | [21554] | [215] | [107] | 21,554 | 215 | 107 |
RNCP15009 | [24147] | [241] | [107] | 24,147 | 241 | 107 |
RNCP15156 | [21046] | [210] | [106] | 21,046 | 210 | 106 |
RNCP15673 | [21041] | [210] | [106] | 21,041 | 210 | 106 |
RNCP15674 | [12547, 12589, 14215] | [125, 125, 142] | [114, 114, 101] | 14,215 | 142 | 101 |
RNCP16044 | [24454, 24054, 24354, 32062, 31652] | [244, 240, 243, 320, 316] | [109, 110, 110, 111, 105] | 24,054 | 240 | 110 |
RNCP16515 | [32062, 15099, 32154] | [320, 150, 321] | [111, 101, 111] | 32,062 | 320 | 111 |
RNCP16694 | [11428, 32062, 15099, 24134] | [114, 320, 150, 241] | [103, 111, 101, 107] | 24,134 | 241 | 107 |
RNCP17080 | [32062, 31886, 15099, 31892, 31870] | [320, 318, 150, 318, 318] | [111, 111, 101, 111, 111] | 31,870 | 318 | 111 |
RNCP17218 | [21046] | [210] | [106] | 21,046 | 210 | 106 |
RNCP17696 | [31624, 23090, 23554, 31652] | [316, 230, 235, 316] | [105, 109, 103, 105] | 23,554 | 235 | 103 |
RNCP18318 | [43497] | [434] | [113] | 43,497 | 434 | 113 |
RNCP18363 | [43491] | [434] | [113] | 43,491 | 434 | 113 |
RNCP18364 | [43493] | [434] | [113] | 43,493 | 434 | 113 |
RNCP18367 | [43457] | [434] | [113] | 43,457 | 434 | 113 |
RNCP18390 | [32154, 32062, 15099] | [321, 320, 150] | [111, 111, 101] | 32,062 | 320 | 111 |
RNCP19114 | [42803] | [428] | [114] | 42,803 | 428 | 114 |
RNCP19117 | [23615, 23635, 23637] | [236, 236, 236] | [109, 109, 109] | 23,637 | 236 | 109 |
RNCP19118 | [23635, 23637] | [236, 236] | [109, 109] | 23,637 | 236 | 109 |
RNCP19825 | [31371, 23650, 11481, 23054, 23546] | [313, 236, 114, 230, 235] | [105, 109, 103, 109, 103] | 23,546 | 235 | 103 |
RNCP20047 | [14227] | [142] | [101] | 14,227 | 142 | 101 |
RNCP2028 | [44007] | [440] | [113] | 44,007 | 440 | 113 |
RNCP20692 | [12582, 42093, 12570] | [125, 420, 125] | [114, 114, 114] | 12,582 | 125 | 114 |
RNCP20812 | [30854, 31054] | [308, 310] | [112, 112] | 31,054 | 310 | 112 |
RNCP22279 | [43486] | [434] | [113] | 43,486 | 434 | 113 |
RNCP2263 | [21058, 21551] | [210, 215] | [106, 107] | 21,058 | 210 | 106 |
RNCP2271 | [34502, 21052, 21001] | [345, 210, 210] | [111, 106, 106] | 21,001 | 210 | 106 |
RNCP2274 | [21088] | [210] | [106] | 21,088 | 210 | 106 |
RNCP2278 | [21051] | [210] | [106] | 21,051 | 210 | 106 |
RNCP2281 | [21083] | [210] | [106] | 21,083 | 210 | 106 |
RNCP2296 | [32663, 21052] | [326, 210] | [111, 106] | 21,052 | 210 | 106 |
RNCP230 | [43006] | [430] | [113] | 43,006 | 430 | 113 |
RNCP2303 | [21011] | [210] | [106] | 21,011 | 210 | 106 |
RNCP2306 | [21524] | [215] | [107] | 21,524 | 215 | 107 |
RNCP2307 | [42623, 42693] | [426, 426] | [113, 113] | 42,623 | 426 | 113 |
RNCP23745 | [32054, 34254] | [320, 342] | [111, 111] | 34,254 | 342 | 111 |
RNCP24148 | [12512, 12534, 12522] | [125, 125, 125] | [114, 114, 114] | 12,534 | 125 | 114 |
RNCP24154 | [31870, 21333] | [318, 213] | [111, 106] | 31,870 | 318 | 111 |
RNCP24240 | [13254, 15093] | [132, 150] | [102, 101] | 15,093 | 150 | 101 |
RNCP24424 | [13154] | [131] | [102] | 13,154 | 131 | 102 |
RNCP24426 | [32663, 32054] | [326, 320] | [111, 111] | 32,054 | 320 | 111 |
RNCP24429 | [43454] | [434] | [113] | 43,454 | 434 | 113 |
RNCP24430 | [14227] | [142] | [101] | 14,227 | 142 | 101 |
RNCP24432 | [14207, 14216] | [142, 142] | [101, 101] | 14,207 | 142 | 101 |
RNCP24433 | [12512, 12252, 14223] | [125, 122, 142] | [114, 103, 101] | 14,223 | 142 | 101 |
RNCP24434 | [14277] | [142] | [101] | 14,277 | 142 | 101 |
RNCP24435 | [14454] | [144] | [102] | 14,454 | 144 | 102 |
RNCP24461 | [44542, 44586, 44530] | [445, 445, 445] | [113, 113, 113] | 44,586 | 445 | 113 |
RNCP24462 | [14232] | [142] | [101] | 14,232 | 142 | 101 |
RNCP24464 | [14241] | [142] | [101] | 14,241 | 142 | 101 |
RNCP24465 | [14256] | [142] | [101] | 14,256 | 142 | 101 |
RNCP24466 | [14224, 14235] | [142, 142] | [101, 101] | 14,224 | 142 | 101 |
RNCP24469 | [45054] | [450] | [104] | 45,054 | 450 | 104 |
RNCP24470 | [45066] | [450] | [104] | 45,066 | 450 | 104 |
RNCP24471 | [45004] | [450] | [104] | 45,004 | 450 | 104 |
RNCP24480 | [45073, 14216] | [450, 142] | [104, 101] | 14,216 | 142 | 101 |
RNCP24481 | [14261] | [142] | [101] | 14,261 | 142 | 101 |
RNCP24508 | [15254, 14201, 14270] | [152, 142, 142] | [101, 101, 101] | 15,254 | 152 | 101 |
RNCP24514 | [31054] | [310] | [112] | 31,054 | 310 | 112 |
RNCP24516 | [11052, 14256] | [110, 142] | [103, 101] | 14,256 | 142 | 101 |
RNCP24518 | [11054] | [110] | [103] | 11,054 | 110 | 103 |
RNCP24519 | [11454] | [114] | [103] | 11,454 | 114 | 103 |
RNCP24529 | [11554, 11454] | [115, 114] | [103, 103] | 11,554 | 115 | 103 |
RNCP24530 | [12046] | [120] | [103] | 12,046 | 120 | 103 |
RNCP24531 | [12254] | [122] | [103] | 12,254 | 122 | 103 |
RNCP24532 | [12054, 12254] | [120, 122] | [103, 103] | 12,254 | 122 | 103 |
RNCP24533 | [24472, 24054, 24354] | [244, 240, 243] | [109, 110, 110] | 24,472 | 244 | 109 |
RNCP24535 | [23554] | [235] | [103] | 23,554 | 235 | 103 |
RNCP24536 | [22024] | [220] | [108] | 22,024 | 220 | 108 |
RNCP24537 | [12046, 11054, 23554, 11554, 11454] | [120, 110, 235, 115, 114] | [103, 103, 103, 103, 103] | 11,554 | 115 | 103 |
RNCP24538 | [31654] | [316] | [105] | 31,654 | 316 | 105 |
RNCP24650 | [42006, 12582] | [420, 125] | [114, 114] | 12,582 | 125 | 114 |
RNCP24655 | [42093] | [420] | [114] | 42,093 | 420 | 114 |
RNCP24666 | [15410] | [154] | [113] | 15,410 | 154 | 113 |
RNCP24765 | [11454] | [114] | [103] | 11,454 | 114 | 103 |
RNCP25169 | [15254] | [152] | [101] | 15,254 | 152 | 101 |
RNCP25171 | [14254] | [142] | [101] | 14,254 | 142 | 101 |
RNCP25172 | [43454] | [434] | [113] | 43,454 | 434 | 113 |
RNCP25323 | [31883, 31892] | [318, 318] | [111, 111] | 31,892 | 318 | 111 |
RNCP25324 | [31870, 31892] | [318, 318] | [111, 111] | 31,892 | 318 | 111 |
Dataset Card for OCF data
This dataset comes from the french vocational training domain and links training offers to certifications and formacodes (an ontology structuring vocational training in France). The training offers come from the French vocational training platform Mon Compte Formation, while the certifications are managed by FranceCompétences.
Dataset Details
Dataset Description
- certifsFormacodeFull.csv: contains the code of the certifications and the formacodes, domains and broad domains linked to them.
- offreCertifFormacode.csv: original data with training offers, certifications and formacode information, without any additional preprocessing
- gd_domaines.csv: contains all the codes for broad domains
- domaines.csv: contains all the codes for domains
- formacodes.csv: contains all the codes for formacodes
- offreCertifFormacode.pkl: this file can be obtained with preprocessing.py. In comparison to certifsFormacodeFull.csv, the text is clean.
- offreCertifFormacodeFiltered_multilab_False.pkl: this file contains our fully cleaned dataset in simple label mode after having been filtered for duplicates and can be obtained with filterDataset.py
- offreCertifFormacodeFiltered_multilab_True.pkl: this file contains our fully cleaned dataset in multilabel mode after having been filtered for duplicates and can be obtained with filterDataset.py
This dataset is linked to the TALN publication : https://talnarchives.atala.org/TALN/TALN-2026/10.pdf The code associated to our dataset is available here : https://github.com/abreidenstein/OCFproject
Dataset Sources
This dataset was joined from data from several datasets. The offers are those of the French platform Mon Compte Formation (MCF) (https://www.moncompteformation.gouv.fr/). Their textual content and links to the certifications and formacodes can be found on the website for the open data of the Caisse des Dépôts et Consignations (https://opendata.caissedesdepots.fr/explore/dataset/moncompteformation_catalogueformation/). The certifications and their text can be found at the same url, but are managed by France Compétences (https://www.francecompetences.fr/). The Formacodes and their links to domains or broad domains come from the Formacode ontology (https://www.centre-inffo.fr/offre-formation-produits-services/le-formacode-v14). All our data was extracted in May 2024 and are thus not up to date with those available currently on these platforms.
- Downloads last month
- 10