DCAD-2000 / DCAD2000_top20_download.md
ylshen's picture
Update DCAD2000_top20_download.md
d5c1922 verified

DCAD-2000 Top 20 Languages Dataset Download Guide

Language Code Data Size (rows)
eng_Latn 1,311,089,898
rus_Cyrl 858,533,615
cmn_Hani 713,970,414
deu_Latn 668,616,647
spa_Latn 604,454,122
fra_Latn 513,533,126
jpn_Jpan 491,465,489
ita_Latn 311,421,021
por_Latn 271,475,185
pol_Latn 223,213,297
nld_Latn 219,161,133
ind_Latn 156,915,320
tur_Latn 143,311,483
vie_Latn 87,769,030
fas_Arab 82,798,155
kor_Hang 79,219,710
swe_Latn 77,323,851
hun_Latn 70,788,907
ukr_Cyrl 67,869,004
ell_Grek 67,476,934

Step 1: Install and Configure OBS Tool

1.1 Download obsutil

Choose the appropriate version for your operating system:

Download URL: https://support.huaweicloud.com/utiltg-obs/obs_11_0001.html

1.2 Configure Authentication

# Extract the credentials setup file
unzip authentication.md

Important: For security reasons, the authentication details are provided in a compressed file: authentication.md.zip.

Step 2: Locate the Compressed Package

First, explore the DCAD-2000 directory to find the correct compressed file:

# List all files in DCAD-2000 directory with details
./obsutil ls obs://openbmb/datasets/DCAD-2000/ -d

Step 3: Download the Compressed Package

Once you identify the correct filename, download it using:

# Download the compressed package
./obsutil cp -f obs://openbmb/datasets/DCAD-2000/DCAD-2000_top20.zip ./

Tip: For large files, use -r flag for resumable downloads:

./obsutil cp -r -f obs://openbmb/datasets/DCAD-2000/DCAD-2000_top20.zip ./

Step 4: Extract the Compressed Package

Extract the downloaded file:

# Extract ZIP file
unzip DCAD-2000_top20.zip