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 2 new columns ({'text', 'relevant_articles'}) and 1 missing columns ({'articles'}).
This happened while the json dataset builder was generating data using
hf://datasets/ntphuc149/Zalo_Legal_Texts_Retrieval/zalo_question.json (at revision 5fb2b09e655b1e4b1d18ba89853ffeb470a7e744)
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 1871, in _prepare_split_single
writer.write_table(table)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 623, 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 2293, in table_cast
return cast_table_to_schema(table, schema)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2241, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
id: string
text: string
relevant_articles: list<item: struct<article_id: string, law_id: string>>
child 0, item: struct<article_id: string, law_id: string>
child 0, article_id: string
child 1, law_id: string
-- schema metadata --
pandas: '{"index_columns": [], "column_indexes": [], "columns": [{"name":' + 444
to
{'id': Value(dtype='string', id=None), 'articles': [{'id': Value(dtype='string', id=None), 'text': 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 1438, 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 1050, in convert_to_parquet
builder.download_and_prepare(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 925, in download_and_prepare
self._download_and_prepare(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1001, 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 1742, 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 1873, 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 ({'text', 'relevant_articles'}) and 1 missing columns ({'articles'}).
This happened while the json dataset builder was generating data using
hf://datasets/ntphuc149/Zalo_Legal_Texts_Retrieval/zalo_question.json (at revision 5fb2b09e655b1e4b1d18ba89853ffeb470a7e744)
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.
id string | articles list |
|---|---|
01/2009/tt-bnn | [
{
"id": "1",
"text": "Thông tư này hướng dẫn tuần tra, canh gác bảo vệ đê Điều trong mùa lũ đối với các tuyến đê sông được phân loại, phân cấp theo quy định tại Điều 4 của Luật Đê Điều."
},
{
"id": "2",
"text": "1. Hàng năm trước mùa mưa, lũ, Ủy ban nhân dân cấp xã nơi có đê phải tổ chức lực lượ... |
01/2010/tt-bng | [
{
"id": "1",
"text": "Thông tư này điều chỉnh đối với cơ quan đại diện nước Cộng hòa xã hội chủ nghĩa Việt Nam ở nước ngoài bao gồm cơ quan đại diện ngoại giao, cơ quan đại diện lãnh sự, cơ quan đại diện tại tổ chức quốc tế theo quy định tại Điều 4 của “Luật cơ quan đại diện nước Cộng hòa xã hội chủ nghĩa V... |
01/2010/tt-byt | [
{
"id": "1",
"text": "1. Thông tư này quy định về trách nhiệm, trình tự thông báo kết quả xét nghiệm HIV dương tính.\n2. Thông tư này áp dụng đối với cơ quan, tổ chức, cá nhân trong nước và nước ngoài tại Việt Nam có liên quan đến trách nhiệm, trình tự, thủ tục thông báo kết quả xét nghiệm HIV dương tính."
... |
01/2011/qh13 | [
{
"id": "1",
"text": "1. Luật này quy định về hoạt động lưu trữ; quyền và nghĩa vụ của cơ quan, tổ chức, cá nhân trong hoạt động lưu trữ; đào tạo, bồi dưỡng nghiệp vụ lưu trữ; hoạt động dịch vụ lưu trữ và quản lý về lưu trữ.\n2. Luật này áp dụng đối với cơ quan nhà nước, tổ chức chính trị, tổ chức chính trị... |
01/2011/tt-bca | [
{
"id": "1",
"text": "Thông tư này quy định về hoạt động vũ trang canh gác bảo vệ các mục tiêu quan trọng về chính trị, kinh tế, ngoại giao, khoa học - kỹ thuật, văn hóa, xã hội (gọi chung là mục tiêu) của lực lượng Cảnh sát bảo vệ."
},
{
"id": "2",
"text": "Thông tư này áp dụng đối với Công an ... |
01/2011/tt-bng | [
{
"id": "1",
"text": "1. Thông tư này quy định thủ tục cấp Giấy phép nhập cảnh thi hài, hài cốt, tro cốt (sau đây gọi là Giấy phép) về Việt Nam bằng đường không, đường bộ, đường thủy và đường sắt.\n2. Việc đưa thi hài, hài cốt, tro cốt của liệt sĩ, quân tình nguyện Việt Nam về nước từ các nước có chung đườn... |
01/2011/tt-bnv | [
{
"id": "1",
"text": "........................................................................................................\nĐiều ... ............................................................................................\n................................................................................ |
01/2012/nđ-cp | [{"id":"1","text":"Sửa đổi, bổ sung, thay thế hoặc bãi bỏ, hủy bỏ các quy định(...TRUNCATED) |
01/2012/tt-bng | [{"id":"1","text":"1. Cục Lãnh sự và Sở Ngoại vụ Thành phố Hồ Chí Minh là cơ qua(...TRUNCATED) |
01/2012/tt-nhnn | [{"id":"1","text":"1. Phạm vi điều chỉnh\nThông tư này quy định việc thực hiện ng(...TRUNCATED) |
End of preview.
README.md exists but content is empty.
- Downloads last month
- 3