Datasets:
Update dataset card: add UVN-1 news domain (20k sentences total)
Browse files
README.md
CHANGED
|
@@ -1,111 +1,65 @@
|
|
| 1 |
---
|
| 2 |
license: cc-by-sa-4.0
|
| 3 |
task_categories:
|
| 4 |
-
- token-classification
|
| 5 |
task_ids:
|
| 6 |
-
- parsing
|
| 7 |
-
- part-of-speech
|
| 8 |
-
- lemmatization
|
| 9 |
language:
|
| 10 |
-
- vi
|
| 11 |
annotations_creators:
|
| 12 |
-
- machine-generated
|
| 13 |
language_creators:
|
| 14 |
-
- found
|
| 15 |
multilinguality:
|
| 16 |
-
- monolingual
|
| 17 |
source_datasets:
|
| 18 |
-
- undertheseanlp/UTS_VLC
|
|
|
|
| 19 |
size_categories:
|
| 20 |
-
- 10K<n<100K
|
| 21 |
tags:
|
| 22 |
-
- universal-dependencies
|
| 23 |
-
- vietnamese
|
| 24 |
-
- nlp
|
| 25 |
-
- dependency-parsing
|
| 26 |
-
- pos-tagging
|
| 27 |
-
configs:
|
| 28 |
-
- config_name: default
|
| 29 |
-
data_files:
|
| 30 |
-
- split: train
|
| 31 |
-
path: data/train-*
|
| 32 |
-
- split: validation
|
| 33 |
-
path: data/validation-*
|
| 34 |
-
- split: test
|
| 35 |
-
path: data/test-*
|
| 36 |
-
dataset_info:
|
| 37 |
-
features:
|
| 38 |
-
- name: sent_id
|
| 39 |
-
dtype: string
|
| 40 |
-
- name: text
|
| 41 |
-
dtype: string
|
| 42 |
-
- name: tokens
|
| 43 |
-
list: string
|
| 44 |
-
- name: lemmas
|
| 45 |
-
list: string
|
| 46 |
-
- name: upos
|
| 47 |
-
list: string
|
| 48 |
-
- name: xpos
|
| 49 |
-
list: string
|
| 50 |
-
- name: feats
|
| 51 |
-
list: string
|
| 52 |
-
- name: head
|
| 53 |
-
list: string
|
| 54 |
-
- name: deprel
|
| 55 |
-
list: string
|
| 56 |
-
- name: deps
|
| 57 |
-
list: string
|
| 58 |
-
- name: misc
|
| 59 |
-
list: string
|
| 60 |
-
splits:
|
| 61 |
-
- name: train
|
| 62 |
-
num_bytes: 30598279
|
| 63 |
-
num_examples: 18282
|
| 64 |
-
- name: validation
|
| 65 |
-
num_bytes: 1475651
|
| 66 |
-
num_examples: 859
|
| 67 |
-
- name: test
|
| 68 |
-
num_bytes: 1419501
|
| 69 |
-
num_examples: 859
|
| 70 |
-
download_size: 5537961
|
| 71 |
-
dataset_size: 33493431
|
| 72 |
---
|
| 73 |
|
| 74 |
# UDD-1: Universal Dependency Dataset for Vietnamese
|
| 75 |
|
| 76 |
## Dataset Description
|
| 77 |
|
| 78 |
-
Vietnamese Universal Dependency dataset created by Underthesea NLP. This dataset follows the [Universal Dependencies](https://universaldependencies.org/) annotation guidelines
|
| 79 |
|
| 80 |
### Dataset Summary
|
| 81 |
|
| 82 |
- **Language:** Vietnamese (vi)
|
| 83 |
-
- **Version:** 1.
|
| 84 |
-
- **
|
| 85 |
-
- **Total Sentences:**
|
| 86 |
-
- **Total Tokens:**
|
| 87 |
-
- **Source:** Vietnamese Legal Corpus (UTS_VLC)
|
| 88 |
- **Annotation:** Machine-generated using Underthesea NLP toolkit
|
| 89 |
-
- **Validation:** ✅ Passed all UD validation levels (1-5)
|
| 90 |
|
| 91 |
-
### Data
|
| 92 |
|
| 93 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 94 |
|
| 95 |
-
|
| 96 |
-
|-------|----------:|-------:|-----------:|
|
| 97 |
-
| Train | 9,165 | 210,668 | 91.3% |
|
| 98 |
-
| Dev | 432 | 10,033 | 4.3% |
|
| 99 |
-
| Test | 403 | 10,008 | 4.3% |
|
| 100 |
-
| **Total** | **10,000** | **230,709** | **100%** |
|
| 101 |
|
| 102 |
-
|
| 103 |
|
| 104 |
-
|
|
| 105 |
-
|-------
|
| 106 |
-
|
|
| 107 |
-
|
|
| 108 |
-
|
|
|
|
|
| 109 |
|
| 110 |
## Usage
|
| 111 |
|
|
@@ -125,12 +79,10 @@ test_data = dataset["test"]
|
|
| 125 |
print(train_data[0])
|
| 126 |
```
|
| 127 |
|
| 128 |
-
###
|
| 129 |
|
| 130 |
-
|
| 131 |
-
- `
|
| 132 |
-
- `vi_udd-ud-dev.conllu`
|
| 133 |
-
- `vi_udd-ud-test.conllu`
|
| 134 |
|
| 135 |
## Fields
|
| 136 |
|
|
|
|
| 1 |
---
|
| 2 |
license: cc-by-sa-4.0
|
| 3 |
task_categories:
|
| 4 |
+
- token-classification
|
| 5 |
task_ids:
|
| 6 |
+
- parsing
|
| 7 |
+
- part-of-speech
|
| 8 |
+
- lemmatization
|
| 9 |
language:
|
| 10 |
+
- vi
|
| 11 |
annotations_creators:
|
| 12 |
+
- machine-generated
|
| 13 |
language_creators:
|
| 14 |
+
- found
|
| 15 |
multilinguality:
|
| 16 |
+
- monolingual
|
| 17 |
source_datasets:
|
| 18 |
+
- undertheseanlp/UTS_VLC
|
| 19 |
+
- undertheseanlp/UVN-1
|
| 20 |
size_categories:
|
| 21 |
+
- 10K<n<100K
|
| 22 |
tags:
|
| 23 |
+
- universal-dependencies
|
| 24 |
+
- vietnamese
|
| 25 |
+
- nlp
|
| 26 |
+
- dependency-parsing
|
| 27 |
+
- pos-tagging
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
---
|
| 29 |
|
| 30 |
# UDD-1: Universal Dependency Dataset for Vietnamese
|
| 31 |
|
| 32 |
## Dataset Description
|
| 33 |
|
| 34 |
+
Vietnamese Universal Dependency dataset created by Underthesea NLP. This dataset follows the [Universal Dependencies](https://universaldependencies.org/) annotation guidelines.
|
| 35 |
|
| 36 |
### Dataset Summary
|
| 37 |
|
| 38 |
- **Language:** Vietnamese (vi)
|
| 39 |
+
- **Version:** 1.1
|
| 40 |
+
- **Domains:** ⚖️ Legal (Laws) + 📰 News
|
| 41 |
+
- **Total Sentences:** 20,000
|
| 42 |
+
- **Total Tokens:** ~453,551
|
|
|
|
| 43 |
- **Annotation:** Machine-generated using Underthesea NLP toolkit
|
|
|
|
| 44 |
|
| 45 |
+
### Data Sources
|
| 46 |
|
| 47 |
+
| Source | Domain | Sentences | Tokens |
|
| 48 |
+
|--------|--------|----------:|-------:|
|
| 49 |
+
| [UTS_VLC](https://huggingface.co/datasets/undertheseanlp/UTS_VLC) | ⚖️ Legal | 10,000 | ~230,709 |
|
| 50 |
+
| [UVN-1](https://huggingface.co/datasets/undertheseanlp/UVN-1) | 📰 News | 10,000 | ~222,842 |
|
| 51 |
+
| **Total** | | **20,000** | **~453,551** |
|
| 52 |
|
| 53 |
+
### Data Splits
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 54 |
|
| 55 |
+
Following [UD guidelines](https://universaldependencies.org/contributing/repository_files.html):
|
| 56 |
|
| 57 |
+
| Split | Sentences | Percentage |
|
| 58 |
+
|-------|----------:|-----------:|
|
| 59 |
+
| Train | 18,282 | 91.4% |
|
| 60 |
+
| Validation | 859 | 4.3% |
|
| 61 |
+
| Test | 859 | 4.3% |
|
| 62 |
+
| **Total** | **20,000** | **100%** |
|
| 63 |
|
| 64 |
## Usage
|
| 65 |
|
|
|
|
| 79 |
print(train_data[0])
|
| 80 |
```
|
| 81 |
|
| 82 |
+
### Sentence ID Prefixes
|
| 83 |
|
| 84 |
+
- `s*` - Sentences from legal corpus (UTS_VLC)
|
| 85 |
+
- `uvn-*` - Sentences from news corpus (UVN-1)
|
|
|
|
|
|
|
| 86 |
|
| 87 |
## Fields
|
| 88 |
|