Datasets:

Languages:
Thai
ArXiv:
License:
holylovenia commited on
Commit
831a54b
1 Parent(s): 73701e9

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +78 -0
README.md ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ license: cc0-1.0
4
+ language:
5
+ - tha
6
+ pretty_name: Thai Tnhc2 Books
7
+ task_categories:
8
+ - self-supervised-pretraining
9
+ tags:
10
+ - self-supervised-pretraining
11
+ ---
12
+
13
+ This dataset collects all 353 books from the Thai National Historical Corpus 2 (TNHC2) corpus. The dataset has been cleaned to use text for pretraining models and NLP tasks. The TNHC2 corpus is a Thai old books corpus and all books are copyright expired according to Thai law (50 years after the author's death). More information on this corpus can be found here: https://www.arts.chula.ac.th/chulaseal/tnhc2/.
14
+
15
+
16
+ ## Languages
17
+
18
+ tha
19
+
20
+ ## Supported Tasks
21
+
22
+ Self Supervised Pretraining
23
+
24
+ ## Dataset Usage
25
+ ### Using `datasets` library
26
+ ```
27
+ from datasets import load_dataset
28
+ dset = datasets.load_dataset("SEACrowd/thai_tnhc2_books", trust_remote_code=True)
29
+ ```
30
+ ### Using `seacrowd` library
31
+ ```import seacrowd as sc
32
+ # Load the dataset using the default config
33
+ dset = sc.load_dataset("thai_tnhc2_books", schema="seacrowd")
34
+ # Check all available subsets (config names) of the dataset
35
+ print(sc.available_config_names("thai_tnhc2_books"))
36
+ # Load the dataset using a specific config
37
+ dset = sc.load_dataset_by_config_name(config_name="<config_name>")
38
+ ```
39
+
40
+ More details on how to load the `seacrowd` library can be found [here](https://github.com/SEACrowd/seacrowd-datahub?tab=readme-ov-file#how-to-use).
41
+
42
+
43
+ ## Dataset Homepage
44
+
45
+ [https://www.arts.chula.ac.th/chulaseal/tnhc2/](https://www.arts.chula.ac.th/chulaseal/tnhc2/)
46
+
47
+ ## Dataset Version
48
+
49
+ Source: 1.0.0. SEACrowd: 2024.06.20.
50
+
51
+ ## Dataset License
52
+
53
+ Creative Commons Zero v1.0 Universal (cc0-1.0)
54
+
55
+ ## Citation
56
+
57
+ If you are using the **Thai Tnhc2 Books** dataloader in your work, please cite the following:
58
+ ```
59
+ @dataset{phatthiyaphaibun_2024_10783421,
60
+ author = {Phatthiyaphaibun, Wannaphong},
61
+ title = {Thai TNHC2 Books},
62
+ month = mar,
63
+ year = 2024,
64
+ publisher = {Zenodo},
65
+ doi = {10.5281/zenodo.10783421},
66
+ url = {https://doi.org/10.5281/zenodo.10783421}
67
+ }
68
+
69
+
70
+ @article{lovenia2024seacrowd,
71
+ title={SEACrowd: A Multilingual Multimodal Data Hub and Benchmark Suite for Southeast Asian Languages},
72
+ author={Holy Lovenia and Rahmad Mahendra and Salsabil Maulana Akbar and Lester James V. Miranda and Jennifer Santoso and Elyanah Aco and Akhdan Fadhilah and Jonibek Mansurov and Joseph Marvin Imperial and Onno P. Kampman and Joel Ruben Antony Moniz and Muhammad Ravi Shulthan Habibi and Frederikus Hudi and Railey Montalan and Ryan Ignatius and Joanito Agili Lopo and William Nixon and Börje F. Karlsson and James Jaya and Ryandito Diandaru and Yuze Gao and Patrick Amadeus and Bin Wang and Jan Christian Blaise Cruz and Chenxi Whitehouse and Ivan Halim Parmonangan and Maria Khelli and Wenyu Zhang and Lucky Susanto and Reynard Adha Ryanda and Sonny Lazuardi Hermawan and Dan John Velasco and Muhammad Dehan Al Kautsar and Willy Fitra Hendria and Yasmin Moslem and Noah Flynn and Muhammad Farid Adilazuarda and Haochen Li and Johanes Lee and R. Damanhuri and Shuo Sun and Muhammad Reza Qorib and Amirbek Djanibekov and Wei Qi Leong and Quyet V. Do and Niklas Muennighoff and Tanrada Pansuwan and Ilham Firdausi Putra and Yan Xu and Ngee Chia Tai and Ayu Purwarianti and Sebastian Ruder and William Tjhi and Peerat Limkonchotiwat and Alham Fikri Aji and Sedrick Keh and Genta Indra Winata and Ruochen Zhang and Fajri Koto and Zheng-Xin Yong and Samuel Cahyawijaya},
73
+ year={2024},
74
+ eprint={2406.10118},
75
+ journal={arXiv preprint arXiv: 2406.10118}
76
+ }
77
+
78
+ ```