|
--- |
|
dataset_info: |
|
features: |
|
- name: inputs |
|
dtype: string |
|
- name: targets |
|
dtype: string |
|
splits: |
|
- name: test |
|
num_bytes: 539162 |
|
num_examples: 1000 |
|
- name: train |
|
num_bytes: 29246726 |
|
num_examples: 130454 |
|
download_size: 6418943 |
|
dataset_size: 29785888 |
|
license: cc-by-sa-3.0 |
|
task_categories: |
|
- text2text-generation |
|
- text-generation |
|
language: |
|
- th |
|
size_categories: |
|
- 10K<n<100K |
|
--- |
|
# Dataset Card for "Thai-Pos-prompt" |
|
This dataset made to create prompt for Thai part-of-speech tagging. |
|
|
|
- The Train set made from [blackboard treebank](https://bitbucket.org/kaamanita/blackboard-treebank) that used own tags but we use Universal Dependencies tags, so we convert those tags into Universal Dependencies tags. [See blackboard treebank tags to Universal Dependencies tags](https://github.com/PyThaiNLP/pythainlp/blob/dev/pythainlp/tag/blackboard.py#L56C5-L56C17) |
|
- The test set from the Parallel Universal Dependencies (PUD) treebanks. See more [https://github.com/UniversalDependencies/UD_Thai-PUD](https://github.com/UniversalDependencies/UD_Thai-PUD) |
|
|
|
## Template |
|
``` |
|
Inputs: จงสร้างประโยคตามโครงสร้าง {pos}: |
|
|
|
Targets: Thai sentence |
|
``` |
|
pos: [All tag](https://universaldependencies.org/u/pos/) |
|
|
|
|
|
Source code for create dataset: [https://github.com/PyThaiNLP/support-aya-datasets/blob/main/pos/merge.ipynb](https://github.com/PyThaiNLP/support-aya-datasets/blob/main/pos/merge.ipynb) |