cc_net icon indicating copy to clipboard operation
cc_net copied to clipboard

cc_net/tools/dl_cc_100.py fails to extract complete dataset

Open leezu opened this issue 3 years ago • 6 comments

python3.7 cc_net/tools/dl_cc_100.py --outdir data/cc100 --processes 96 provides only 99GB (277 GB uncompressed) data across 10 languages:

780M    /mnt/data/cc100/bn_IN
2.0G    /mnt/data/cc100/hi_IN
25G     /mnt/data/cc100/id_ID
12G     /mnt/data/cc100/ko_KR
89M     /mnt/data/cc100/my_MM
25G     /mnt/data/cc100/sv_SE
270M    /mnt/data/cc100/sw_KE
6.7G    /mnt/data/cc100/th_TH
475M    /mnt/data/cc100/tl_XX
21G     /mnt/data/cc100/vi_VN

The script should provide all 100 languages listed in https://arxiv.org/pdf/1911.02116.pdf Figure 1:

image

leezu avatar Apr 01 '21 16:04 leezu

Fortunately the dataset is also available at http://data.statmt.org/cc-100/ Nevertheless, the code in the current repo should be fixed and ideally a link to http://data.statmt.org/cc-100/ should be included in the README. Thanks

leezu avatar Apr 05 '21 23:04 leezu

@leezu Hi, thank you very much for providing this website. I found that this website's download speed is slow and I also cannot download multiple files simultaneously. How do you solve this problem? Thanks.

wangyong1122 avatar Apr 08 '21 14:04 wangyong1122

@wangyong1122 in principle, you could try avoid the IP-based throttling of statmt.org by using a multiple machines with different IP addresses at the same time.

leezu avatar Apr 08 '21 17:04 leezu

@leezu I see. Thank you very much.

wangyong1122 avatar Apr 13 '21 06:04 wangyong1122

@wangyong1122 in principle, you could try avoid the IP-based throttling of statmt.org by using a multiple machines with different IP addresses at the same time.

Does this give the same data as downloading it from this repo (after specifying the desired language(s), deduplication etc.)? By "the same" I mean the same format and formatting. I would compare the two myself, but I cannot use this repo to download on a remote server.

izaskr avatar Nov 08 '21 13:11 izaskr

@gwenzek I also encountered the same problem, do you have any plans to update the code? thanks!

zhangfanTJU avatar Nov 26 '21 09:11 zhangfanTJU