Vietnamese Corpus
Collection
8 items
•
Updated
Error code: JobManagerExceededMaximumDurationError
Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
To download all WARC data from Common Crawl then filter out Vietnamese in Markdown and Plaintext format. There is 1% of Vietnamse in CC, extract all of them out should be a lot (~10TB of plaintext).
To make use of raw data from common crawl, you need to do filtering and deduping. Below is a simple quality filtering code for reference to write your own filters.
## Convert .parquet to .jsonl.gz
mkdir -p jsonl filtered
python3 parquet2jsonl.py
## Quality filter
# wget https://huggingface.co/datasets/Symato/goods_vs_c4_cc_classifiers/resolve/main/fasttext_good_vs_c4_001.bin
python3 filters.py jsonl/2023-14_20230401125552-20230401155552.jsonl.gz logging
Contact dung at symato dot xyz if you have other questions.