File size: 1,464 Bytes
e538bea
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3d7bc15
 
 
 
 
 
 
 
e538bea
 
3d7bc15
e538bea
3d7bc15
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
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)