Datasets:

Languages:
Thai
ArXiv:
License:
thai_constitution / README.md
holylovenia's picture
Upload README.md with huggingface_hub
88d31c3 verified
metadata
license: cc0-1.0
language:
  - tha
pretty_name: Thai Constitution
task_categories:
  - self-supervised-pretraining
tags:
  - self-supervised-pretraining

Thailand's constitutional archive since 1932

  • Data collected from Office of the Council of State
  • This project is part of the development plan PyThaiNLP
  • The information collected in this text archive is in the public domain according to the Copyright Act 1994, Section 7 (The following are not considered copyrighted works under this Act: (1) daily news and Various facts which has the nature of being only news and not work in the literature department Science department or art department [...] (3) regulations, announcements, orders, clarifications and correspondence of ministries, bureaus, departments or any other government or local agencies [...])

Languages

tha

Supported Tasks

Self Supervised Pretraining

Dataset Usage

Using datasets library

from datasets import load_dataset
dset = datasets.load_dataset("SEACrowd/thai_constitution", trust_remote_code=True)

Using seacrowd library

# Load the dataset using the default config
dset = sc.load_dataset("thai_constitution", schema="seacrowd")
# Check all available subsets (config names) of the dataset
print(sc.available_config_names("thai_constitution"))
# Load the dataset using a specific config
dset = sc.load_dataset_by_config_name(config_name="<config_name>")

More details on how to load the seacrowd library can be found here.

Dataset Homepage

https://github.com/PyThaiNLP/Thai-constitution-corpus/tree/master

Dataset Version

Source: 1.0.0. SEACrowd: 2024.06.20.

Dataset License

Creative Commons Zero v1.0 Universal (cc0-1.0)

Citation

If you are using the Thai Constitution dataloader in your work, please cite the following:

@misc{
   thaiconstitution, 
   title={Thai Constitution Corpus}, 
   url={https://github.com/PyThaiNLP/Thai-constitution-corpus},
   author={Wannaphong Phatthiyaphaibun}
} 


@article{lovenia2024seacrowd,
    title={SEACrowd: A Multilingual Multimodal Data Hub and Benchmark Suite for Southeast Asian Languages}, 
    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},
    year={2024},
    eprint={2406.10118},
    journal={arXiv preprint arXiv: 2406.10118}
}