Datasets:
Vietnamese National Legal Database (vbpl.vn) corpus with structure + embedding layers
Browse files- README.md +3 -4
- embedding-doc-type-umap.png +2 -2
- embedding-legal-area-umap.png +2 -2
- embedding-legal-type-umap.png +2 -2
- embedding-scope-umap.png +2 -2
- embedding-year-umap.png +2 -2
- manifest.json +1 -1
README.md
CHANGED
|
@@ -411,8 +411,7 @@ bucket).
|
|
| 411 |
|---|---|---|
|
| 412 |
| `doc_name` / `text_hash` | string | Join keys back to `documents-*.parquet` and `embed-*.parquet`. |
|
| 413 |
| `pca_x` / `pca_y` | float64 | 2-D PCA projection of the 2048-D embedding. |
|
| 414 |
-
| `
|
| 415 |
-
| `umap_x` / `umap_y` | float64 | 2-D UMAP projection (the one used in the scatter PNGs above). |
|
| 416 |
| `cluster_id` | int64 | HDBSCAN cluster label; `-1` is the noise / unclustered bucket. |
|
| 417 |
|
| 418 |
Quick load (each stage is a `data_files` glob; the default
|
|
@@ -456,7 +455,7 @@ joined = docs.merge(embed, on="doc_name", how="inner")
|
|
| 456 |
|
| 457 |
## Trực quan hoá embedding · Embedding visualization
|
| 458 |
|
| 459 |
-
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, cụm bằng HDBSCAN. Sáu 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`, `cluster_id`. 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`, with HDBSCAN cluster ids. Six facets: `scope`, `doc_type` (canonical short code), `legal_type` (canonical full name), `legal_area` (subject domain), `year`, `cluster_id`. Tail-end labels beyond the top 18 are collapsed into a grey *Khác / Other* bucket to keep the legend legible.
|
| 460 |
|
| 461 |
### UMAP colored by `scope`
|
| 462 |
|
|
@@ -530,7 +529,7 @@ embedding parquets for the NULL-markdown rows are dropped from
|
|
| 530 |
the embedding corpus entirely so the reducer fits on the
|
| 531 |
embeddable rows only (147,317-row corpus).
|
| 532 |
|
| 533 |
-
Captured: `2026-05-
|
| 534 |
|
| 535 |
## Nguồn · Source
|
| 536 |
|
|
|
|
| 411 |
|---|---|---|
|
| 412 |
| `doc_name` / `text_hash` | string | Join keys back to `documents-*.parquet` and `embed-*.parquet`. |
|
| 413 |
| `pca_x` / `pca_y` | float64 | 2-D PCA projection of the 2048-D embedding. |
|
| 414 |
+
| `umap_x` / `umap_y` | float64 | 2-D UMAP projection (the one used in the scatter PNGs above). Fit globally across all rows for cross-doc comparability. |
|
|
|
|
| 415 |
| `cluster_id` | int64 | HDBSCAN cluster label; `-1` is the noise / unclustered bucket. |
|
| 416 |
|
| 417 |
Quick load (each stage is a `data_files` glob; the default
|
|
|
|
| 455 |
|
| 456 |
## Trực quan hoá embedding · Embedding visualization
|
| 457 |
|
| 458 |
+
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, cụm bằng HDBSCAN. Sáu 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`, `cluster_id`. 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`, with HDBSCAN cluster ids. Six facets: `scope`, `doc_type` (canonical short code), `legal_type` (canonical full name), `legal_area` (subject domain), `year`, `cluster_id`. Tail-end labels beyond the top 18 are collapsed into a grey *Khác / Other* bucket to keep the legend legible.
|
| 459 |
|
| 460 |
### UMAP colored by `scope`
|
| 461 |
|
|
|
|
| 529 |
the embedding corpus entirely so the reducer fits on the
|
| 530 |
embeddable rows only (147,317-row corpus).
|
| 531 |
|
| 532 |
+
Captured: `2026-05-22T14:33:10.016717+00:00`.
|
| 533 |
|
| 534 |
## Nguồn · Source
|
| 535 |
|
embedding-doc-type-umap.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
embedding-legal-area-umap.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
embedding-legal-type-umap.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
embedding-scope-umap.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
embedding-year-umap.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
manifest.json
CHANGED
|
@@ -536,5 +536,5 @@
|
|
| 536 |
"share": 0.07243958645527698
|
| 537 |
}
|
| 538 |
},
|
| 539 |
-
"completed_at": "2026-05-
|
| 540 |
}
|
|
|
|
| 536 |
"share": 0.07243958645527698
|
| 537 |
}
|
| 538 |
},
|
| 539 |
+
"completed_at": "2026-05-22T14:33:10.016717+00:00"
|
| 540 |
}
|