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 3 new columns ({'esco_label', 'esco_code', 'title'}) and 3 missing columns ({'title_esco', 'label', 'title_hahu'}).
This happened while the csv dataset builder was generating data using
hf://datasets/tabiya/occupation_titles_esco/occupations_training_set.csv (at revision 1e5ec05977144a34642410d46e8b1856cd165443), ['hf://datasets/tabiya/occupation_titles_esco@1e5ec05977144a34642410d46e8b1856cd165443/cross_encoder_training.csv', 'hf://datasets/tabiya/occupation_titles_esco@1e5ec05977144a34642410d46e8b1856cd165443/occupations_training_set.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 1848, in _prepare_split_single
writer.write_table(table)
~~~~~~~~~~~~~~~~~~^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 784, 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 795, in _write_table
pa_table = table_cast(pa_table, self._schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2378, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2306, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
title: string
esco_label: string
esco_code: string
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 629
to
{'title_hahu': Value('string'), 'title_esco': Value('string'), 'label': 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 1694, 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 1850, 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 3 new columns ({'esco_label', 'esco_code', 'title'}) and 3 missing columns ({'title_esco', 'label', 'title_hahu'}).
This happened while the csv dataset builder was generating data using
hf://datasets/tabiya/occupation_titles_esco/occupations_training_set.csv (at revision 1e5ec05977144a34642410d46e8b1856cd165443), ['hf://datasets/tabiya/occupation_titles_esco@1e5ec05977144a34642410d46e8b1856cd165443/cross_encoder_training.csv', 'hf://datasets/tabiya/occupation_titles_esco@1e5ec05977144a34642410d46e8b1856cd165443/occupations_training_set.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.
title_hahu string | title_esco string | label int64 |
|---|---|---|
Accountant | cost accountant | 1 |
Accountant | educational planner | 0 |
Accountant | bookkeeper | 1 |
Accountant | engineering technician | 0 |
Accountant | accounting supervisor | 1 |
Accountant | university research aide | 0 |
Accountant | accounting officer | 1 |
Accountant | statistical clerk | 0 |
Accountant | auditor | 1 |
Accountant | community welfare social worker | 0 |
Accountant | accountant | 1 |
Accountant | underwater construction project supervisor | 0 |
Accountant | production accountant | 1 |
Accountant | assistant lecturer in higher education | 0 |
Accountant | financial reporting accountant | 1 |
Accountant | repair fitter | 0 |
Accountant | account auditor | 1 |
Accountant | economic development officer | 0 |
Accountant | certified public accountant | 1 |
Accountant | letting agent | 0 |
Accountant | register accountant | 1 |
Accountant | road transport division manager | 0 |
Accountant | financial accountant | 1 |
Accountant | agricultural development consultant | 0 |
Accountant | accounting technician | 1 |
Accountant | pharmaceutical quality compliance specialist | 0 |
Accountant | head financial accountant | 1 |
Accountant | monitoring and evaluation specialist | 0 |
Accountant I | cost accountant | 1 |
Accountant I | graduate import manager | 0 |
Accountant I | bookkeeper | 1 |
Accountant I | marketing operations assistant | 0 |
Accountant I | accounting supervisor | 1 |
Accountant I | assistant, social services | 0 |
Accountant I | accounting officer | 1 |
Accountant I | office clerk | 0 |
Accountant I | auditor | 1 |
Accountant I | evaluation Officer | 0 |
Accountant I | accountant | 1 |
Accountant I | corporate education professional | 0 |
Accountant I | production accountant | 1 |
Accountant I | specialised doctor | 0 |
Accountant I | financial reporting accountant | 1 |
Accountant I | graduate export specialist in textiles and textile semi-finished and raw materials | 0 |
Accountant I | account auditor | 1 |
Accountant I | dispatching officer | 0 |
Accountant I | certified public accountant | 1 |
Accountant I | telephone sales agent | 0 |
Accountant I | register accountant | 1 |
Accountant I | DNF | 0 |
Accountant I | financial accountant | 1 |
Accountant I | health informatics director | 0 |
Accountant I | accounting technician | 1 |
Accountant I | hypermarket sales assistant | 0 |
Accountant I | head financial accountant | 1 |
Accountant I | medical sales representative | 0 |
Anesthetist | general practitioner | 1 |
Anesthetist | grants management officer | 0 |
Assistant Guard shift supervisor | security manager | 1 |
Assistant Guard shift supervisor | youth employment advisor | 0 |
Assistant Guard shift supervisor | security management specialist | 1 |
Assistant Guard shift supervisor | outbound call center agent | 0 |
Assistant Guard shift supervisor | private security manager | 1 |
Assistant Guard shift supervisor | title examiners | 0 |
Assistant Guard shift supervisor | security specialist | 1 |
Assistant Guard shift supervisor | evaluator | 0 |
Assistant Guard shift supervisor | security operations manager | 1 |
Assistant Guard shift supervisor | programmer | 0 |
Assistant Guard shift supervisor | corporate security manager | 1 |
Assistant Guard shift supervisor | trainer in corporate sector | 0 |
Assistant Guard shift supervisor | safety and security manager | 1 |
Assistant Guard shift supervisor | buildng construction engineer | 0 |
Assistant Guard shift supervisor | cybersecurity specialist | 1 |
Assistant Guard shift supervisor | finance manager | 0 |
Assistant Guard shift supervisor | chief security guard | 1 |
Assistant Guard shift supervisor | editor | 0 |
Assistant Guard shift supervisor | surveillance manager | 1 |
Assistant Guard shift supervisor | HR officer | 0 |
Assistant Guard shift supervisor | security officer | 1 |
Assistant Guard shift supervisor | maintenance electrician | 0 |
Assistant Guard shift supervisor | security systems manager | 1 |
Assistant Guard shift supervisor | cost accountant | 0 |
Associate Resource Mobilization Officer | HR director | 1 |
Associate Resource Mobilization Officer | financial researcher | 0 |
Associate Resource Mobilization Officer | HR rep | 1 |
Associate Resource Mobilization Officer | cost accounting officer | 0 |
Associate Resource Mobilization Officer | lifelong learning coach | 1 |
Associate Resource Mobilization Officer | HR rep | 0 |
Associate Resource Mobilization Officer | personnel director | 1 |
Associate Resource Mobilization Officer | logistics operations manager | 0 |
Associate Resource Mobilization Officer | personnel recruiter | 1 |
Associate Resource Mobilization Officer | macro analyst | 0 |
Associate Resource Mobilization Officer | HR supervisor | 1 |
Associate Resource Mobilization Officer | call center representative | 0 |
Associate Resource Mobilization Officer | personnel officer | 1 |
Associate Resource Mobilization Officer | neighbourhood outreach worker | 0 |
Associate Resource Mobilization Officer | personnel administrator | 1 |
Associate Resource Mobilization Officer | HR representative | 0 |
Associate Resource Mobilization Officer | personnel assistant | 1 |
Associate Resource Mobilization Officer | building maintenance manager | 0 |
End of preview.
This dataset was created by job vacancies classified to the European Skills, Competences, and Occupations (ESCO) occupation taxonomy done by hahu.jobs.
Download
To download a dataset in the hahu test repository, create an access read token.
Run the following script to use the dataset as a pandas Dataframe:
from huggingface_hub import hf_hub_download
import pandas as pd
HF_TOKEN = "hf_..."
REPO_ID = "tabiya/occupation_titles_esco"
FILENAME = "..."
dataset = pd.read_csv(
hf_hub_download(repo_id=REPO_ID, filename=FILENAME, repo_type="dataset", token=HF_TOKEN)
)
occupations_training_set.csv
Description
The hahu_test.csv file is the original file provided by Hahu jobs with the following fields:
- title: The title of the job position, indicating the specific role and/or position within the organization.
- esco_label: The preferred or alternative label provided by ESCO, matching the corresponding ESCO code.
- esco_code: The ESCO code associated with the job, facilitating standardized classification and comparison across different job listings.
Statistics
- Number of unique ESCO codes: 1,156
- Number of sentence pairs: 210,175
- Number of unique titles: 16,000
cross_encoder_training.csv
Description
Derived from the occupations_training_set.csv we create text pairs with occupations and ESCO titles. We create negative samples by randomly select one different esco code and apply it's preferred label.
- title_hahu: The title of the job position, indicating the specific role and/or position within the organization.
- title_esco: The preferred or alternative label provided by ESCO, matching the corresponding ESCO code.
- label: 1 if title_hahu matches title_esco, 0 otherwise
- Downloads last month
- 47