Dataset Viewer
Auto-converted to Parquet Duplicate
doc_name
stringlengths
1
6
item_id
stringlengths
1
6
scope
stringclasses
2 values
source
stringclasses
1 value
source_url
stringlengths
48
1.23k
api_url
stringlengths
61
81
title
stringlengths
5
870
doc_type
stringclasses
25 values
legal_type
stringclasses
25 values
legal_area
stringclasses
520 values
so_hieu
listlengths
1
1
ngay_ban_hanh
stringdate
1945-10-01 00:00:00
2026-03-20 00:00:00
year
int32
1.95k
2.03k
co_quan_ban_hanh
stringclasses
266 values
trich_yeu
stringclasses
0 values
markdown
stringlengths
9
1.26M
num_pages
int32
num_sections
int32
1
1
num_paragraphs
int32
0
12
num_sentences
int32
0
5.98k
char_len
int32
0
1.26M
text_hash
stringlengths
32
32
parser_model
stringclasses
1 value
parser_runtime
stringclasses
1 value
body_source
stringclasses
2 values
parsed_at
stringdate
2026-05-19 01:04:09
2026-05-21 10:49:44
confidence
float64
structure_json
stringlengths
767
4.12M
extracted_json
stringlengths
135
359k
file_paths_json
stringclasses
0 values
1
1
trung_uong
vbpl.vn
https://vbpl.vn/van-ban/chi-tiet/nghi-dinh-so-24-ld-nd-to-chuc-cac-co-quan-lao-dong-dia-phuong-lien-khu-va-tinh--1
https://vbpl-bientap-gateway.moj.gov.vn/api/qtdc/public/doc/1
Tổ chức các cơ quan Lao động địa phương liên khu và tỉnh
nghi_dinh
Nghị định
Chưa phân loại
[ "24/LĐ-NĐ" ]
1950-03-27
1,950
Bộ Lao động
null
BỘ LAO ĐỘNG CỘNG HÒA XÃ HỘI CHỦ NGHĨA VIỆT NAM Độc lập – Tự do – Hạnh phúc Số: 24/LĐ-NĐ Hà Nội, ngày 27 tháng 03 năm 1950 NGHỊ ĐỊNH BỘ TRƯỞNG BỘ LAO ĐỘNG Tổ chức các cơ quan Lao động địa phương liên khu và tỉnh BỘ TRƯỞNG BỘ LAO ĐỘNG Chiểu Sắc lệnh số 226/SL ngày 28/11/1946 tổ chức Bộ Lao động trong Chính phủ hiện thời;...
null
1
1
6
1,149
6bba1a9f1ebb47741d63ffa6b2d29313
local/markdownify
local
body_html
2026-05-21T10:37:41+00:00
null
{"schema_version": "1.0", "doc_id": "1", "meta": {"doc_id": "1", "doc_name": "1", "doc_type": null, "doc_subtype": null, "case_type": null, "doc_code": null, "doc_number": null, "year": null, "title": "Tổ chức các cơ quan Lao động địa phương liên khu và tỉnh", "subject": null, "issue_date": "1950-03-27", "issuing_body"...
{"doc_id": "1", "text_hash": "6bba1a9f1ebb47741d63ffa6b2d29313", "char_len": 1149, "entities": [{"tag": "DATE", "text": "28/11/1946", "start": 263, "end": 273}, {"tag": "DATE", "text": "14/04/1948", "start": 351, "end": 361}, {"tag": "DATE", "text": "15/05/1948", "start": 430, "end": 440}, {"tag": "ARTICLE", "text": "Đ...
null
10
10
trung_uong
vbpl.vn
https://vbpl.vn/van-ban/chi-tiet/thong-tu-so-41-nv-6-tt-dinh-the-le-xep-cong-chuc-vao-thang-luong-chung-theo-nang-luc--10
https://vbpl-bientap-gateway.moj.gov.vn/api/qtdc/public/doc/10
Định thể lệ xếp công chức vào thang lương chung theo năng lực
thong_tu
Thông tư
Chưa phân loại
[ "41-NV-6-TT" ]
1950-10-16
1,950
Bộ Nội vụ
null
BỘ NỘI VỤ CỘNG HÒA XÃ HỘI CHỦ NGHĨA VIỆT NAM Độc lập – Tự do – Hạnh phúc Số: 41-NV-6-TT Ngày 10 tháng 1 năm 2026 THÔNG TƯ SỐ 41-NV-6-TT NGÀY 16 THÁNG 10 NĂM 1950 CỦA BỘ NỘI VỤ ĐỊNH THỂ LỆ XẾP CÔNG CHỨC VÀO THANG LƯƠNG CHUNG THEO NĂNG LỰC BỘ TRƯỞNG BỘ NỘI VỤ Kính gửi Ông Phó Thủ tướng Các Ông Bộ trưởng các Bộ Hội đồng C...
null
1
1
56
9,007
7e65525e49a4ec387ad9fe4059a2c9be
local/markdownify
local
body_html
2026-05-21T10:37:41+00:00
null
{"schema_version": "1.0", "doc_id": "10", "meta": {"doc_id": "10", "doc_name": "10", "doc_type": "quyet_dinh", "doc_subtype": null, "case_type": null, "doc_code": null, "doc_number": null, "year": null, "title": "Định thể lệ xếp công chức vào thang lương chung theo năng lực", "subject": null, "issue_date": "2026-01-10"...
{"doc_id": "10", "text_hash": "7e65525e49a4ec387ad9fe4059a2c9be", "char_len": 9007, "entities": [{"tag": "DATE", "text": "29/5/1948", "start": 1191, "end": 1200}, {"tag": "DATE", "text": "15/7/1948", "start": 1256, "end": 1265}, {"tag": "DATE", "text": "29/6/1950", "start": 2959, "end": 2968}, {"tag": "DATE", "text": "...
null
100
100
trung_uong
vbpl.vn
https://vbpl.vn/van-ban/chi-tiet/sac-lenh-so-68-sl-thanh-lap-ban-kinh-te-chinh-phu--100
https://vbpl-bientap-gateway.moj.gov.vn/api/qtdc/public/doc/100
thành lập Ban Kinh tế Chính phủ
sac_lenh
Sắc lệnh
Chưa phân loại
[ "68/SL" ]
1950-05-14
1,950
Chủ tịch nước
null
SẮC LỆNH CỦA CHỦ TỊCH NƯỚC VIỆT NAM DÂN CHỦ CỘNG HÒA SỐ 68/SL NGÀY 14 THÁNG 5 NĂM 1950 CHỦ TỊCH NƯỚC VIỆT NAM DÂN CHỦ CỘNG HÒA Xét nhu cầu công việc; Chiểu đề nghị của Thủ tướng Chính phủ và Liên bộ Kinh tế; Chiểu sắc lệnh số 7-SL ngày 20 tháng 1 năm 1950 tổ chức Văn phòng các Bộ; Theo quyết nghị của Hội đồng Chính phủ...
null
1
1
8
1,410
d6cc61bd026b0f639659bcdbe9765f29
local/markdownify
local
body_html
2026-05-21T10:37:41+00:00
null
{"schema_version": "1.0", "doc_id": "100", "meta": {"doc_id": "100", "doc_name": "100", "doc_type": null, "doc_subtype": null, "case_type": null, "doc_code": null, "doc_number": null, "year": null, "title": "thành lập Ban Kinh tế Chính phủ", "subject": null, "issue_date": "1950-05-14", "issuing_body": null, "court_leve...
{"doc_id": "100", "text_hash": "d6cc61bd026b0f639659bcdbe9765f29", "char_len": 1410, "entities": [{"tag": "ARTICLE", "text": "Điều 1", "start": 335, "end": 341}, {"tag": "ARTICLE", "text": "Điều 2", "start": 374, "end": 380}, {"tag": "ARTICLE", "text": "Điều 3", "start": 558, "end": 564}, {"tag": "ARTICLE", "text": "Đi...
null
1000
1000
trung_uong
vbpl.vn
https://vbpl.vn/van-ban/chi-tiet/nghi-quyet-so-khong-so-ve-viec-hoan-toan-tin-nhiem-chinh-phu--1000
https://vbpl-bientap-gateway.moj.gov.vn/api/qtdc/public/doc/1000
Về việc hoàn toàn tín nhiệm Chính phủ
nghi_quyet
Nghị quyết
Chưa phân loại
[ "Không số" ]
1957-01-22
1,957
Quốc hội
null
NGHỊ QUYẾT CỦA QUỐC HỘI NƯỚC VIỆT NAM DÂN CHỦ CỘNG HÒA HÒAN TÒAN TÍN NHIỆM CHÍNH PHỦ (Đã được Quốc hội nhất trí thông qua trong phiên họp đêm 22 tháng 1 năm 1957) Quốc hội nước Việt Nam dân chủ cộng hòa họp khóa thứ VI, sau khi nghe báo cáo chính trị chung của Chính phủ và các báo cáo bổ sung, sau khi thảo luận và nghe...
null
1
1
5
1,570
078a0ded5266fc9e29b8e9d4ec9f2b7d
local/markdownify
local
body_html
2026-05-21T10:37:41+00:00
null
{"schema_version": "1.0", "doc_id": "1000", "meta": {"doc_id": "1000", "doc_name": "1000", "doc_type": null, "doc_subtype": null, "case_type": null, "doc_code": null, "doc_number": null, "year": null, "title": "Về việc hoàn toàn tín nhiệm Chính phủ", "subject": null, "issue_date": null, "issuing_body": null, "court_lev...
{"doc_id": "1000", "text_hash": "078a0ded5266fc9e29b8e9d4ec9f2b7d", "char_len": 1570, "entities": [], "relations": [], "statute_refs": []}
null
10000
10000
trung_uong
vbpl.vn
https://vbpl.vn/van-ban/chi-tiet/chi-thi-so-64-ttg-ve-tang-cuong-cong-tac-giai-quyet-khieu-nai-to-cao-cua-cong-dan--10000
https://vbpl-bientap-gateway.moj.gov.vn/api/qtdc/public/doc/10000
Về tăng cường công tác giải quyết khiếu nại, tố cáo của công dân
chi_thi
Chỉ thị
Chưa phân loại
[ "64-TTg" ]
1995-01-25
1,995
Thủ tướng Chính phủ
null
THỦ TƯỚNG CHÍNH PHỦ ****** CỘNG HÒA XÃ HỘI CHỦ NGHĨA VIỆT NAM Độc lập - Tự do - Hạnh phúc ******** Số: 64-TTg Hà Nội, ngày 25 tháng 01 năm 1995 CHỈ THỊ VỀ TĂNG CƯỜNG CÔNG TÁC GIẢI QUYẾT KHIẾU NẠI, TỐ CÁO CỦA CÔNG DÂN Thi hành Pháp lệnh khiếu nại, tố cáo của công dân năm 1991, các cấp các ngành đã chỉ đạo và giải quyết ...
null
1
1
18
7,380
b97fcc7425b6cd9309888574fd0c3c61
local/markdownify
local
body_html
2026-05-21T10:37:41+00:00
null
{"schema_version": "1.0", "doc_id": "10000", "meta": {"doc_id": "10000", "doc_name": "10000", "doc_type": "quyet_dinh", "doc_subtype": null, "case_type": null, "doc_code": null, "doc_number": null, "year": null, "title": "Về tăng cường công tác giải quyết khiếu nại, tố cáo của công dân", "subject": null, "issue_date": ...
{"doc_id": "10000", "text_hash": "b97fcc7425b6cd9309888574fd0c3c61", "char_len": 7380, "entities": [{"tag": "ORG-COURT", "text": "Tòa án Nhân dân tối cao tổ chức công tác tiếp dân đến khiếu nại", "start": 5443, "end": 5506}, {"tag": "ARTICLE", "text": "Điều 16", "start": 2569, "end": 2576}, {"tag": "ARTICLE", "text": "...
null
100000
100000
dia_phuong
vbpl.vn
https://vbpl.vn/van-ban/chi-tiet/nghi-quyet-so-20-2014-nq-hdnd-ve-du-toan-ngan-sach-nha-nuoc-tren-dia-ban-du-thu-chi-ngan-sach-dia-phuong-phuong-an-phan-bo-ngan-sach-cap-tinh-nam-2015--100000
https://vbpl-bientap-gateway.moj.gov.vn/api/qtdc/public/doc/100000
Về dự toán ngân sách nhà nước trên địa bàn; dự thu, chi ngân sách địa phương; phương án phân bổ ngân sách cấp tỉnh năm 2015
nghi_quyet
Nghị quyết
Chưa phân loại
[ "20/2014/NQ-HĐND" ]
2014-12-15
2,014
HĐND Tỉnh Phú Thọ
null
NGHỊ QUYẾT VỀ DỰ TÓAN THU NGÂN SÁCH NHÀ NƯỚC TRÊN ĐỊA BÀN; DỰ TÓAN THU, CHI NGÂN SÁCH ĐỊA PHƯƠNG; PHƯƠNG ÁN PHÂN BỔ NGÂN SÁCH CẤP TỈNH NĂM 2015 HỘI ĐỒNG NHÂN DÂN TỈNH PHÚ THỌ KHÓA XVII, KỲ HỌP THỨ CHÍN Căn cứ Luật Tổ chức Hội đồng nhân dân và Ủy ban nhân dân ngày 26 tháng 11 năm 2003; Căn cứ Luật Ngân sách nhà nước ngà...
null
1
1
24
9,017
7620e001c33fbbe0ce010150063e6592
local/markdownify
local
body_html
2026-05-21T10:43:11+00:00
null
{"schema_version": "1.0", "doc_id": "100000", "meta": {"doc_id": "100000", "doc_name": "100000", "doc_type": "quyet_dinh", "doc_subtype": null, "case_type": null, "doc_code": null, "doc_number": null, "year": null, "title": "Về dự toán ngân sách nhà nước trên địa bàn; dự thu, chi ngân sách địa phương; phương án phân bổ...
{"doc_id": "100000", "text_hash": "7620e001c33fbbe0ce010150063e6592", "char_len": 9017, "entities": [{"tag": "ARTICLE", "text": "Điều 1", "start": 1368, "end": 1374}, {"tag": "ARTICLE", "text": "Điều 8", "start": 2069, "end": 2075}, {"tag": "ARTICLE", "text": "Điều 8", "start": 2526, "end": 2532}, {"tag": "ARTICLE", "t...
null
100001
100001
dia_phuong
vbpl.vn
https://vbpl.vn/van-ban/chi-tiet/quyet-dinh-so-60-2015-qd-ubnd-ve-viec-bo-sung-khoan-4-dieu-13-quy-che-to-chuc-va-hoat-dong-cua-thon-buon-khu-pho-tren-dia-ban-tinh-phu-yen-ban-hanh-kem-theo-quyet-dinh-so-20-2013-qd-ubnd-ngay-16-7-2013-cua-ubnd-tinh--100001
https://vbpl-bientap-gateway.moj.gov.vn/api/qtdc/public/doc/100001
Về việc bổ sung Khoản 4 Điều 13 Quy chế tổ chức và hoạt động của thôn, buôn, khu phố trên địa bàn tỉnh Phú Yên, ban hành kèm theo của UBND tỉnh
quyet_dinh
Quyết định
Chưa phân loại
[ "60/2015/QĐ-UBND" ]
2015-12-04
2,015
UBND tỉnh Phú Yên
null
ỦY BAN NHÂN DÂN TỈNH PHÚ YÊN CỘNG HÒA XÃ HỘI CHỦ NGHĨA VIỆT NAM Độc lập – Tự do – Hạnh phúc Số: 60/2015/QĐ-UBND Tuy Hòa, ngày 04 tháng 12 năm 2015 QUYẾT ĐỊNH Về việc bổ sung Khỏan 4 Điều 13 Quy chế tổ chức và họat động của thôn, buôn, khu phố trên địa bàn tỉnh Phú Yên, ban hành kèm theo Quyết định số 20/2013/QĐ-UBND ng...
null
1
1
9
1,633
ba50ab65f970db6af7e993d86ba7181d
local/markdownify
local
body_html
2026-05-21T10:43:11+00:00
null
{"schema_version": "1.0", "doc_id": "100001", "meta": {"doc_id": "100001", "doc_name": "100001", "doc_type": "quyet_dinh", "doc_subtype": null, "case_type": null, "doc_code": "20/2013/QĐ-UBND", "doc_number": "20", "year": 2013, "title": "Quyết định số 20/2013/QĐ-UBND", "subject": null, "issue_date": "2015-12-04", "issu...
{"doc_id": "100001", "text_hash": "ba50ab65f970db6af7e993d86ba7181d", "char_len": 1633, "entities": [{"tag": "DATE", "text": "16/7/2013", "start": 323, "end": 332}, {"tag": "DATE", "text": "26/11/2003", "start": 433, "end": 443}, {"tag": "DATE", "text": "03/12/2004", "start": 513, "end": 523}, {"tag": "DATE", "text": "...
null
100002
100002
dia_phuong
vbpl.vn
https://vbpl.vn/van-ban/chi-tiet/chi-thi-so-18-ct-ub-ve-viec-thuc-hien-phap-lenh-bao-ve-nguon-loi-thuy-san-o-thanh-pho-ho-chi-minh--100002
https://vbpl-bientap-gateway.moj.gov.vn/api/qtdc/public/doc/100002
"Về việc thực hiện Pháp lệnh bảo vệ nguồn lợi thủy sản ở thành phố Hồ (...TRUNCATED)
chi_thi
Chỉ thị
Chất lượng Nông Lâm sản và Thủy sản
[ "18/CT-UB" ]
1992-04-27
1,992
UBND Thành phố Hồ Chí Minh
null
"CHỈ THỊ Về việc thực hiện Pháp lệnh bảo vệ nguồn lợi thủy sản ở thành(...TRUNCATED)
null
1
1
11
4,834
8aee6b6127a10ceef78654e83a6f559b
local/markdownify
local
body_html
2026-05-21T10:43:11+00:00
null
"{\"schema_version\": \"1.0\", \"doc_id\": \"100002\", \"meta\": {\"doc_id\": \"100002\", \"doc_name(...TRUNCATED)
"{\"doc_id\": \"100002\", \"text_hash\": \"8aee6b6127a10ceef78654e83a6f559b\", \"char_len\": 4834, \(...TRUNCATED)
null
100003
100003
dia_phuong
vbpl.vn
https://vbpl.vn/van-ban/chi-tiet/nghi-quyet-so-49-2011-nq-hdnd-ve-viec-giao-bien-che-va-hop-dong-lao-dong-nam-2012-cho-cac-hoi-dac-thu-tinh-ba-ria-vung-tau--100003
https://vbpl-bientap-gateway.moj.gov.vn/api/qtdc/public/doc/100003
"Về việc giao biên chế và hợp đồng lao động năm 2012 cho các Hội đặc thù t(...TRUNCATED)
nghi_quyet
Nghị quyết
Tổ chức- Biên chế
[ "49/2011/NQ-HĐND" ]
2011-12-08
2,011
HĐND tỉnh Bà Rịa - Vũng Tàu
null
"NGHỊ QUYẾT Về việc giao biên chế và hợp đồng lao động năm 2012 cho các Hội (...TRUNCATED)
null
1
1
7
1,921
cfa52ee152505075c9ecda77f467d166
local/markdownify
local
body_html
2026-05-21T10:43:11+00:00
null
"{\"schema_version\": \"1.0\", \"doc_id\": \"100003\", \"meta\": {\"doc_id\": \"100003\", \"doc_name(...TRUNCATED)
"{\"doc_id\": \"100003\", \"text_hash\": \"cfa52ee152505075c9ecda77f467d166\", \"char_len\": 1921, \(...TRUNCATED)
null
100004
100004
dia_phuong
vbpl.vn
https://vbpl.vn/van-ban/chi-tiet/nghi-quyet-so-21-2014-nq-hdnd-ve-phan-bo-cac-nguon-von-dau-tu-tu-ngan-sach-nha-nuoc-nam-2015--100004
https://vbpl-bientap-gateway.moj.gov.vn/api/qtdc/public/doc/100004
Về phân bổ các nguồn vốn đầu tư từ ngân sách nhà nước năm 2015
nghi_quyet
Nghị quyết
Chưa phân loại
[ "21/2014/NQ-HĐND" ]
2014-12-15
2,014
HĐND Tỉnh Phú Thọ
null
"NGHỊ QUYẾT VỀ PHÂN BỔ CÁC NGUỒN VỐN ĐẦU TƯ TỪ NGÂN SÁCH NHÀ NƯỚC NĂM 201(...TRUNCATED)
null
1
1
18
7,081
00cce7d244cfbaea7e9fc3afffc95023
local/markdownify
local
body_html
2026-05-21T10:43:11+00:00
null
"{\"schema_version\": \"1.0\", \"doc_id\": \"100004\", \"meta\": {\"doc_id\": \"100004\", \"doc_name(...TRUNCATED)
"{\"doc_id\": \"100004\", \"text_hash\": \"00cce7d244cfbaea7e9fc3afffc95023\", \"char_len\": 7081, \(...TRUNCATED)
null
End of preview. Expand in Data Studio

Vietnamese National Legal Database — vbpl.vn

🇻🇳 Tóm tắt. Bộ dữ liệu mức văn bản của Cơ sở dữ liệu Quốc gia về pháp luật thu thập từ cổng vbpl.vn do Bộ Tư pháp vận hành. Bao gồm luật, pháp lệnh, nghị định, thông tư, quyết định, nghị quyết, chỉ thị… ở cả cấp trung ương (Quốc hội, Chính phủ, các bộ) lẫn địa phương (HĐND/UBND 63 tỉnh, thành). Mỗi dòng là một văn bản pháp luật kèm markdown đã chuẩn hoá tiếng Việt (NFC + chính tả hiện đại sau 1984) và lớp cấu trúc phân cấp đầy đủ: document → section → paragraph → sentence.

🇬🇧 Summary. Document-level corpus of Vietnam's National Legal Database harvested from vbpl.vn (operated by the Ministry of Justice). Covers laws, ordinances, decrees, circulars, decisions, resolutions, directives, etc. across both central (National Assembly, Government, ministries) and provincial (People's Council / People's Committee of the 63 provinces and cities) levels of authority. Each row is one legal document with its Vietnamese-normalised markdown body (NFC + modern post-1984 orthography) and a hierarchical structure layer: document → section → paragraph → sentence, every unit carrying a stable id + char span back into the markdown.

Tổng quan · At a glance

Chỉ số · Metric Giá trị · Value
Văn bản công bố · Documents 158,822
Tổng số bản ghi đầu vào · Raw extract rows 158,822
Loại bỏ vì rỗng · Dropped (empty body) 0
Không có thân bài · markdown is null (source has no body) 11,505
Có cấu trúc · With structure layer 158,822
Có tệp đính kèm · With downloaded attachment 0
Trung vị ký tự · Median chars / doc 5,104
Trung vị trang · Median pages / doc
Trung vị đoạn văn · Median paragraphs / doc 1
Trung vị câu · Median sentences / doc 17

Tổng quan trực quan · Visual overview

Sáu hình tóm tắt cấu trúc của corpus. Tất cả hình được tạo bằng plotly + kaleido (Chromium headless) và lưu thành PNG tĩnh để hiển thị trong dataset card. — Six pictures summarising the corpus structure. All figures are rendered with plotly + kaleido (headless Chromium) and saved as static PNG for the dataset card.

Phân bố theo lĩnh vực pháp luật

Phân bố theo lĩnh vực pháp luật

Top 25 legal areas sized by document count. The pale Chưa phân loại ('uncategorised') rectangle covers ~72% on its own -- vbpl.vn editors haven't tagged most legacy docs.

Phạm vi → loại văn bản

Phạm vi → loại văn bản

Two-level radial split: scope (inner) → doc_type (outer, top 12 per scope). Reveals where the corpus weight sits -- dia_phuong (~66%) is mostly (decisions) and NQ (resolutions), while trung_uong mixes / (decrees) / TT (circulars).

Top 20 loại văn bản

Top 20 loại văn bản

Document types ranked by count, with the canonical short code, full Vietnamese name, and an English gloss.

Số văn bản theo năm và phạm vi

Số văn bản theo năm và phạm vi

Stacked area of documents issued per year, split by scope. The legacy CMS migration concentrates early years; modern post-2010 output is dominated by dia_phuong.

Loại văn bản qua các năm

Loại văn bản qua các năm

Top-12 doc_type × year heatmap (log₁₀ scale). Shows the shift from CT directives in the early 90s to decisions as the workhorse instrument from 2000 onwards.

Top 15 cơ quan ban hành

Top 15 cơ quan ban hành

Top issuing agencies. Quốc hội + Chính phủ + the larger ministries dominate trung_uong; provincial People's Councils / Committees split the dia_phuong half.

Phạm vi · Scope split

Bộ dữ liệu chia làm hai nhánh: trung_uong (văn bản pháp luật do Quốc hội + Chính phủ + các bộ ngành Trung ương ban hành) và dia_phuong (HĐND/UBND của 63 tỉnh, thành). — The corpus splits into trung_uong (central authorities: National Assembly, Government, ministries) and dia_phuong (the 63 provinces and cities, mostly People's Council / People's Committee output).

Value Count Share
dia_phuong 104,345 65.7%
trung_uong 54,477 34.3%

Loại văn bản · doc_type + legal_type

Mỗi văn bản được gắn slug tiếng Việt không dấu (doc_type, ví dụ quyet_dinh, nghi_dinh, thong_tu_lien_tich) lẫn tên đầy đủ tiếng Việt (legal_type, ví dụ Quyết định, Nghị định, Thông tư liên tịch). Slug được sinh tự động từ tên đầy đủ qua packages.datasites.vbpl.codes.slugify_vi nên người đọc hiểu ngay loại văn bản mà không cần tra cứu bảng mã. Mã ngắn cũ (, , TTLT, ...) vẫn xuất hiện trong số hiệu (43/2026/NĐ-CP) và có thể khôi phục từ SLUG_TO_CANONICAL_CODE. — Each document carries a self-describing ASCII snake_case slug (doc_type, e.g. quyet_dinh, nghi_dinh, thong_tu_lien_tich) and the canonical Vietnamese full name (legal_type, e.g. Quyết định, Nghị định, Thông tư liên tịch). The slug is automatically derived from the full Vietnamese name via slugify_vi so a reader can interpret the doc type without consulting a separate codebook. The compact short code (, , TTLT, ...) still appears inside so_hieu itself (43/2026/NĐ-CP) and can be recovered from any slug via the SLUG_TO_CANONICAL_CODE table in codes.py. The set of slugs follows Luật Ban hành Văn bản Quy phạm Pháp luật 2015 — hien_phap / bo_luat / luat / phap_lenh / lenh / nghi_quyet / nghi_dinh / quyet_dinh / thong_tu / chi_thi / sac_lenh / van_ban_hop_nhat / thong_tu_lien_tich / ...

By slug · doc_type

Value Count Share
quyet_dinh 84,970 53.5%
nghi_quyet 26,091 16.4%
thong_tu 16,212 10.2%
ban_dich_van_ban 10,576 6.7%
chi_thi 7,908 5.0%
nghi_dinh 4,690 3.0%
thong_tu_lien_tich 3,393 2.1%
van_ban_hop_nhat 1,792 1.1%
sac_lenh 980 0.6%
cong_van 708 0.4%
luat 580 0.4%
lenh 376 0.2%

By full name · legal_type

Value Count Share
Quyết định 84,962 53.5%
Nghị quyết 26,086 16.4%
Thông tư 16,212 10.2%
Bản dịch văn bản 10,576 6.7%
Chỉ thị 7,908 5.0%
Nghị định 4,690 3.0%
Thông tư liên tịch 3,393 2.1%
Văn bản hợp nhất 1,788 1.1%
Sắc lệnh 980 0.6%
Công văn 708 0.4%
Luật 580 0.4%
Lệnh 376 0.2%

Lĩnh vực pháp luật · legal_area

legal_area is the canonical Vietnamese label pulled from the documentFields[] block on each detail-API response (~250 distinct labels in the corpus). Roughly two thirds of the documents are tagged Chưa phân loại ("uncategorised") on the source portal; we preserve that literal so consumers can see the gap explicitly instead of nulling it. Top areas below; embedding scatters below show the structural overlap between adjacent areas.

Value Count Share
Chưa phân loại 112,784 71.0%
Đất đai 2,861 1.8%
Quản lý thuế, phí, lệ phí và thu khác của ngân sách nhà nước 2,301 1.4%
Quản lý thuế, phí và lệ phí 1,698 1.1%
Lĩnh vực giá 1,673 1.1%
Tổ chức- Biên chế 1,424 0.9%
Lao động, tiền lương, tiền công 1,373 0.9%
Quản lý ngân sách 1,211 0.8%
Quản lý ngân sách nhà nước 1,052 0.7%
Ngân sách nhà nước 951 0.6%
Đường bộ 942 0.6%
Chính quyền địa phương 869 0.5%
Công chức, viên chức 715 0.5%
Tài chính khác 657 0.4%
Lâm nghiệp 637 0.4%
Môi trường 557 0.4%
Nông nghiệp 513 0.3%
Thủy lợi 473 0.3%
Chính sách thuế 465 0.3%
Tổ chức cán bộ 407 0.3%

Cơ quan ban hành · Issuing agency

Top issuing agencies (top 15). Quốc hội + Chính phủ + Bộ Tài chính

  • Bộ Tư pháp + ... thường chiếm phần lớn trung_uong; các tỉnh chia khá đều phần dia_phuong.
Value Count Share
Bộ Tài chính 11,793 7.4%
Thủ tướng Chính phủ 7,849 4.9%
Chính phủ 7,168 4.5%
UBND Thành phố Hồ Chí Minh 5,312 3.3%
Bộ Nông nghiệp và Phát triển nông thôn 2,526 1.6%
UBND Tỉnh Lào Cai 2,497 1.6%
UBND Tỉnh Nghệ An 2,477 1.6%
UBND tỉnh Bình Phước 2,410 1.5%
Ngân hàng Nhà nước Việt Nam 2,198 1.4%
UBND Thành phố Hà Nội 2,123 1.3%
UBND thành phố Đà Nẵng 2,018 1.3%
UBND tỉnh Bà Rịa - Vũng Tàu 1,956 1.2%
Bộ Giao thông vận tải 1,925 1.2%
UBND Thành phố Hải Phòng 1,885 1.2%
UBND Tỉnh Gia Lai 1,765 1.1%

Năm ban hành · Year of issue

Phân bố năm theo ngay_ban_hanh (ISO YYYY-MM-DD); rỗng nếu cổng không cung cấp được trường này. — Year distribution from ngay_ban_hanh; null when the source portal didn't expose the issue date.

Year Count
2026 761
2025 9,427
2024 7,307
2023 5,367
2022 5,378
2021 5,306
2020 4,682
2019 4,983
2018 4,979
2017 5,591
2016 6,307
2015 5,346
2014 5,880
2013 5,204
2012 4,893
2011 4,834
2010 4,431
2009 4,930
2008 5,453
2007 6,713
2006 6,684
2005 5,486
2004 5,120
2003 4,281
2002 3,627
2001 3,395
2000 2,785
1999 3,079
1998 2,746
1997 2,346

Nguồn nội dung · Body provenance

Một văn bản trên vbpl.vn có thể có HTML thân bài (do API SPA trả về sau khi qua reCAPTCHA) và/hoặc một tệp đính kèm (.pdf / .doc / .docx). Pipeline ưu tiên parse tệp khi có, quay về HTML khi không. — A vbpl document may have an inline body HTML (returned by the SPA's API after reCAPTCHA) and/or a downloadable attachment (.pdf / .doc / .docx). The pipeline prefers parsing the file when present and falls back to the HTML otherwise.

Value Count Share
body_html 147,317 92.8%
shell_html 11,505 7.2%

Lược đồ bảng documents · documents schema

The parquet has three families of columns:

Identification + meta

Field Type Description
doc_name / item_id string Stable document id (= the --<id> suffix of the source URL). Mostly numeric (186739); legacy docs use vbpqta_<n> (Văn bản pháp quy toàn văn) or vbpqdinhchinh_<n> (corrigendum).
scope string trung_uong (central) | dia_phuong (provincial).
source string Source host, always vbpl.vn.
source_url / api_url string Deep link back to the portal page / the underlying gateway API.
title string (nullable) Document subject after the full title scrub: (1) baseline cleanup (NFC, HTML-entity decode, "số số" doubling fix, trailing sentence punctuation), (2) decorative quote stripping at the title boundary and around inline phrases — leading / trailing / paired runs of ", ', ", ', ', ' are removed but word-internal single quotes are preserved so legitimate Vietnamese / loan-word names survive intact (Đắk R'lấp, M'nông, D'Ran, Côte d'Ivoire, Ea T'ling, Đạ M'ri, …), (3) leading "<Legal-type> số <Number> " boilerplate head peeled (e.g. "Quyết định số 143/QĐ-KHTC Ban hành Quy chế""Ban hành Quy chế"), and (4) every "<DocType> [số] <DocNum> [ngày <date>]" cross-reference of OTHER documents stripped from anywhere in the body ("Bãi bỏ Nghị quyết số 84/2018/NQ-HĐND ngày 07/12/2018 của HĐND tỉnh...""Bãi bỏ của HĐND tỉnh..."). The Vietnamese noun Lỗi / lỗi / loi ("fault / error") is preserved wherever it appears — it's a legitimate subject word (e.g. "Lỗi Ban hành Quy chế hoạt động của hội đồng tư vấn mua sắm tài sản"), not a CMS marker. null for the pathological tail where the entire source title was just a bare doc-num token (e.g. "1938/QĐ-UBND"); other bibliographic columns still carry the citation handle.
doc_type string Self-describing ASCII snake_case slug of the Vietnamese doc-type name (quyet_dinh, nghi_dinh, thong_tu_lien_tich, chi_thi, van_ban_hop_nhat, ...). Auto-derived from legal_type via slugify_vi; the compact short code (, , TTLT, ...) still appears in so_hieu itself (43/2026/NĐ-CP) and is recoverable via SLUG_TO_CANONICAL_CODE.
legal_type string Canonical Vietnamese full name for the document type (Luật, Nghị định, Thông tư, Quyết định, Nghị quyết, Chỉ thị, …). Round-trips with doc_type via slugify_vi.
legal_area string Legal area / subject domain (Đất đai, Đường bộ, Lĩnh vực giá, …). Defaults to Chưa phân loại when the source portal hasn't tagged the doc.
so_hieu list<string> (nullable) Document number(s) as a list of canonical short forms (e.g. ["43/2026/NĐ-CP"]). A small minority of vbpl rows pack several identifiers into one source cell separated by Vietnamese ("and") or ,; those ship as multi-element lists (e.g. ["142/2009/QĐ-TTg", "49/2012/QĐ-TTg"]). Source-side cruft is stripped: leading legal-type words ("Nghị quyết số: 528/2018/UBTVQH14"["528/2018/UBTVQH14"]), trailing annotations ("109/2005/QĐ-BCA (A11)"["109/2005/QĐ-BCA"], "49/2007/TTLT-BTC-BGD ngày 18/5/2007"["49/2007/TTLT-BTC-BGD"]), and the legitimate "Không số" ("no number") sentinel is preserved. null for rows with no usable number.
ngay_ban_hanh string Issue date, ISO YYYY-MM-DD.
year int32 Year extracted from ngay_ban_hanh.
co_quan_ban_hanh string Issuing agency (e.g. "Chính phủ", "Bộ Tài chính", "Hội đồng nhân dân tỉnh A").
trich_yeu string Abstract / summary.

Body + stats

Field Type Description
markdown string (nullable) NFC-normalised, modern-orthography Vietnamese markdown (page-segmented with ## Page N headings when parsed from a PDF). Gateway / Word / Next.js scaffolding is stripped: the Document Content\\n\\nbody { font-family: ... }\\np { margin: ... } API preamble (~50 % of bodies), Word <!-- /* Font Definitions */ @font-face { ... } p.MsoNormal { ... } --> stylesheet dumps, standalone CSS rule blocks gated by property / selector / structural CSS tells, Ant Design :where(.css-...){ ... }@keyframes ...{ ... } chains, orphan selector fragments, and malformed inline <span lang="..." style="..."> tags. ~90 % of rows lose 1-200 KB of boilerplate; total corpus markdown shrunk by ~1.77 GB / 42 %. Null when body_source == "shell_html" after the May-2026 live-API recovery (the source genuinely has no body for those legacy IDs); bibliographic metadata (title, agency, so_hieu, ...) is still populated on NULL-markdown rows so consumers retain the citation handle.
num_pages int32 Page count from the parser (PDF/DOCX only).
num_sections / num_paragraphs / num_sentences int32 Counts from the structure layer.
char_len int32 Character length of markdown after the junk-strip pass (recomputed at export time so consumers can dedupe on the actual shipped body).
text_hash string SHA-256 first-32 hex of markdown after the junk-strip pass (re-run-stable id; differs from the upstream extract.jsonl hash for any row that had scaffolding removed).
parser_model string Backend that produced the markdown (local/pypdf, local/markdownify, nvidia/nemoretriever-parse, …).
parser_runtime string The configured parser.runtime (local / nim / hybrid).
body_source string Which source produced the body: file (downloaded PDF/.doc/.docx), body_html (API-captured), shell_html (Next.js shell fallback -- the gateway never delivered a real body; published with markdown=null after the May-2026 live-API recovery sweep confirmed the source publishes only metadata for those legacy IDs).
parsed_at string ISO 8601 parser timestamp.

Hierarchy + entities

Field Type Description
structure_json string Full :class:DocumentStructure (meta + stats + sections + paragraphs + sentences) as JSON. Includes char-span back-pointers so any unit can be located in markdown precisely.
extracted_json string Generic NER + statute-link extraction (entities, relations, statute_refs) as JSON.
file_paths_json string Downloaded attachments as JSON list of {file_url, file_name, file_type, local_path}.

Quick load:

import json
from datasets import load_dataset

ds = load_dataset("tmquan/vbpl-vn", split="train")
row = ds[0]
print(row["doc_type"], row["so_hieu"], row["ngay_ban_hanh"])
# e.g. "quyet_dinh 143/QĐ-KHTC 2018-01-29"
print(row["title"])
# e.g. "Ban hành Quy chế quản lý ngân sách ngành Tư pháp"
# (the redundant "Quyết định số 143/QĐ-KHTC " head has been
#  stripped; recombine via f"{row['legal_type']} số {row['so_hieu']} {row['title']}"
#  if your downstream pipeline still wants the full original.)
structure = json.loads(row["structure_json"])
for sec in structure.get("sections", []):
    print(sec["kind"], sec["label"])

Embedding + reduction artefacts

The Hub ships the documents config only (documents-*.parquet, one row per document, with text + structure). The 2048-D nvidia/llama-nemotron-embed-1b-v2 embeddings, the global UMAP / PCA coordinates, and the HDBSCAN cluster ids are computed during the build (over 147,317 embeddable rows, i.e. all documents with non-null markdown) and used to render the scatter PNGs below, but they are not bundled as separate parquet configs on the Hub -- 1.3 GB of dense vectors per re-build is too costly to ship for a corpus this size when the embeddings are deterministic from markdown + a model id. Re-derive the same matrices locally via:

git clone https://github.com/<owner>/ViLA   # the build repo
python -m packages.datasites.vbpl --pipeline embed
python -m packages.datasites.vbpl.\_reduce\_inproc   # global UMAP

which yields parquet/embeddings/<doc_name>.parquet and parquet/reduced/<doc_name>.parquet per-doc shards keyed back to documents.doc_name.

Trực quan hoá embedding · Embedding visualization

Mỗi điểm là một văn bản pháp luật; toạ độ là vector embedding 2048-D từ nvidia/llama-nemotron-embed-1b-v2 chiếu xuống 2D bằng UMAP fit globally trên toàn bộ kho văn bản (không chia batch) để toạ độ so sánh được giữa các tài liệu. Năm mặt phân hoạch: scope, doc_type (mã ngắn), legal_type (tên đầy đủ), legal_area (lĩnh vực pháp luật), year. Các nhãn tail-end (sau top-18) được dồn vào nhóm Khác / Other màu xám để chú giải đọc được. — Each dot is one legal document; coordinates are the 2D UMAP projection of a 2048-D embedding from nvidia/llama-nemotron-embed-1b-v2, fit globally across the whole corpus so positions are directly comparable across documents. Five facets: scope, doc_type (canonical short code), legal_type (canonical full name), legal_area (subject domain), year. Tail-end labels beyond the top 18 are collapsed into a grey Khác / Other bucket to keep the legend legible.

UMAP colored by scope

UMAP colored by `scope`

UMAP colored by doc_type

UMAP colored by `doc_type`

UMAP colored by legal_type

UMAP colored by `legal_type`

UMAP colored by legal_area

UMAP colored by `legal_area`

UMAP colored by year

UMAP colored by `year`

Cách thu thập + chuẩn hoá · How the corpus was built

The crawler is a six-stage pipeline (harvestdetailparseextractembedreduce) that walks vbpl.vn's public sitemap chain (32 shards, ~160 K URLs total), drives a headless Chromium tab against each detail page so Google's invisible reCAPTCHA v2 mints the per-session Bearer token (the SPA's /api/qtdc/public/doc/... gateway is otherwise inaccessible), intercepts the resulting authenticated XHRs, downloads any .pdf / .doc / .docx attachment, and routes the body through:

  1. Parse -- pypdf for PDFs, docx2txt for .docx, an antiword / catdoc / libreoffice subprocess fallback for legacy .doc, markdownify for HTML bodies returned inline.
  2. Vietnamese normalisation -- ftfy NFC + tone-mark canonicalisation (Toà → Tòa, hoà → hòa, thuỷ → thủy) + PDF whitespace cleanup. Every regex / segmenter downstream then sees a single canonical orthography.
  3. Generic + structure extractor -- regex / dictionary NER + Vietnamese statute linker (Điều N khoản M Luật ..., dates dd/MM/yyyy, courts, agencies, document numbers) + a hierarchical DocumentStructure (sections / paragraphs / sentences with back-pointers).
  4. Embed -- nvidia/llama-nemotron-embed-1b-v2 (2048-D) over the normalised markdown; sliding-window mean pool when a doc exceeds the model's native context window.
  5. Reduce -- PCA + UMAP on the embedding matrix + HDBSCAN cluster ids. The May-2026 rerun switched from per-batch reduction (each Curator DocumentBatch independently) to a global in-process fit over the full 147,317 × 2048-D matrix so the projection is comparable across documents (packages/datasites/vbpl/_reduce_inproc.py). t-SNE was dropped from the rerun because a single global fit under random_state=0 (single-threaded by construction) took prohibitively long on this corpus; PCA + UMAP cover the same visual story without it. cuML on a GPU worker; sklearn / umap-learn / hdbscan otherwise.

All five layers are deterministic and re-runnable; re-running any stage with the same --limit is a no-op (each stage skips already-produced outputs).

Body-recovery rerun (May 2026)

A targeted retry against the public gateway https://vbpl-bientap-gateway.moj.gov.vn/api/qtdc/public/doc/<id> recovered 3,849 / 15,351 previously bodyless documents (the gateway now publishes real documentContent.content HTML for that slice even though our cached SPA fetch came back empty in 2026-04). The remaining ~11.5K are genuinely bodyless on the official vbpl source (legacy / cancelled documents the publisher no longer carries a full text for) and ship in this dataset with markdown=null. Bibliographic metadata (title, agency, document number, issue date, ...) is still populated on those rows so consumers retain the citation handle even when no body is available. Per-doc embedding parquets for the NULL-markdown rows are dropped from the embedding corpus entirely so the reducer fits on the embeddable rows only (147,317-row corpus).

Captured: 2026-05-23T14:29:39.492383+00:00.

Nguồn · Source

Giấy phép · License

Văn bản gốc được Bộ Tư pháp công bố trên cổng thông tin công cộng (Allow: / trong robots.txt). Bản phân phối lại này dùng giấy phép CC-BY-4.0; vui lòng kiểm tra điều khoản sử dụng của trang nguồn trước khi tái phân phối thương mại. — The source documents are published by the Ministry of Justice on a public portal (its robots.txt allows / and disallows only /api/). This redistribution is shared under CC-BY-4.0; please check the source-website terms of use before commercial redistribution.

Trích dẫn · Citation

If you use this dataset, please cite both the redistribution on Hugging Face and the original source (Cơ sở dữ liệu Quốc gia về pháp luật, Bộ Tư pháp Việt Nam):

@misc{vbpl_2026,
  title        = {Vietnamese National Legal Database (vbpl.vn)},
  author       = {TMQuan},
  year         = {2026},
  howpublished = {\url{https://huggingface.co/datasets/tmquan/vbpl-vn}},
  note         = {Document-level mirror with a hierarchical structure layer (DocumentMeta + Section + Paragraph + Sentence) over Vietnam's National Legal Database, central + provincial scope.}
}

@misc{vbpl_moj_2026,
  title        = {Vietnamese National Legal Database},
  author       = {{Cơ sở dữ liệu Quốc gia về pháp luật}},
  year         = {2026},
  howpublished = {\url{https://vbpl.vn/}},
  note         = {Official portal for Vietnam's National Legal Database (laws, ordinances, decrees, circulars, decisions, ...) at central and provincial levels, published by the Ministry of Justice (Bộ Tư pháp).}
}
Downloads last month
242

Collection including tmquan/vbpl-vn