File size: 2,141 Bytes
7ecefe3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d5c1922
7ecefe3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77

# 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


```bash
# Extract the credentials setup file
unzip authentication.md
```


Important: For security reasons, the authentication details are provided in a compressed file: [authentication.md.zip](https://huggingface.co/datasets/openbmb/DCAD-2000/blob/main/authentication.md.zip).

## Step 2: Locate the Compressed Package

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

```bash
# 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:

```bash
# 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:
> ```bash
> ./obsutil cp -r -f obs://openbmb/datasets/DCAD-2000/DCAD-2000_top20.zip ./
> ```

## Step 4: Extract the Compressed Package

Extract the downloaded file:

```bash
# Extract ZIP file
unzip DCAD-2000_top20.zip
```