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 2 new columns ({'src', 'label'}) and 3 missing columns ({'train_multinomial_X', 'train_Y', 'train_X'}).

This happened while the json dataset builder was generating data using

hf://datasets/mesolitica/semisupervised-corpus/similarity/shuffled-train.json (at revision f1e063c7d59c58302d5d2c55295d58ce37ebef0c)

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
              src: string
              label: int64
              to
              {'train_X': Sequence(feature=Value(dtype='string', id=None), length=-1, id=None), 'train_multinomial_X': Sequence(feature=Value(dtype='string', id=None), length=-1, id=None), 'train_Y': Sequence(feature=Value(dtype='int64', id=None), length=-1, 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 2 new columns ({'src', 'label'}) and 3 missing columns ({'train_multinomial_X', 'train_Y', 'train_X'}).
              
              This happened while the json dataset builder was generating data using
              
              hf://datasets/mesolitica/semisupervised-corpus/similarity/shuffled-train.json (at revision f1e063c7d59c58302d5d2c55295d58ce37ebef0c)
              
              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.

train_X
sequence
train_multinomial_X
sequence
train_Y
sequence
src
string
label
int64
["Mukhriz berkata, pengumuman oleh MIDA bersifat umum dan perlu disusuli pengumuman dari kerajaan ne(...TRUNCATED)
["mukhriz kata gumum oleh mida sifat umum lu susuli gumum dari raja negeri untuk","geng yang na pkpd(...TRUNCATED)
[2,0,2,1,2,1,1,0,1,1,1,1,0,1,1,2,2,1,1,0,1,2,1,1,0,1,2,1,1,1,1,2,1,0,1,1,1,0,0,2,1,1,0,0,0,2,0,1,1,2(...TRUNCATED)
null
null
null
null
null
"ayat1: ANTARA pelbagai berita luar negara yang disiarkan di Astro AWANI, berikut adalah antara yang(...TRUNCATED)
1
null
null
null
"ayat1: Cukai ke atas sumbangan dan pendapatan pelaburan ditangguhkan sehingga jumlah ditarik balik.(...TRUNCATED)
1
null
null
null
ayat1: Semua kampung lain sudah dibakar. ayat2: Tiada satu pun kampung yang dibakar.
0
null
null
null
"ayat1: In a more honest world, it wouldn't be tacky for titans of industry to say they're leaving t(...TRUNCATED)
1
null
null
null
"ayat1: Sebagai Berlitz, kami akan cuba membantu anda dengan beberapa frasa paling mudah (di bahagia(...TRUNCATED)
0
null
null
null
"ayat1: Chandler will come off the bench for Wednesday's game against the Pistons while Greg Monroe (...TRUNCATED)
1
null
null
null
"ayat1: Businessmen who by day rule their companies can still despite a recession that has hit the l(...TRUNCATED)
0
null
null
null
"ayat1: uh orang lain tidak tahu apa yang mereka mahu lakukan tetapi sejauh yang anda tahu Peace Cor(...TRUNCATED)
1
null
null
null
"ayat1: Jodie T. Allen's A Brief History of Taxes was indeed brief, though perhaps appropriately so,(...TRUNCATED)
1
End of preview.

Semi-Supervised Corpus

This repository to gather Semi-Supervised Corpus from https://github.com/mesolitica/malaysian-dataset

Downloads last month
0
Edit dataset card