Datasets:

Languages:
Vietnamese
ArXiv:
License:
holylovenia commited on
Commit
1fd7a72
1 Parent(s): f3427c3

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +9 -9
README.md CHANGED
@@ -27,25 +27,25 @@ vie
27
  ## Supported Tasks
28
 
29
  Machine Translation
30
-
31
  ## Dataset Usage
32
  ### Using `datasets` library
33
  ```
34
- from datasets import load_dataset
35
- dset = datasets.load_dataset("SEACrowd/duolingo_staple_2020", trust_remote_code=True)
36
  ```
37
  ### Using `seacrowd` library
38
  ```import seacrowd as sc
39
  # Load the dataset using the default config
40
- dset = sc.load_dataset("duolingo_staple_2020", schema="seacrowd")
41
  # Check all available subsets (config names) of the dataset
42
- print(sc.available_config_names("duolingo_staple_2020"))
43
  # Load the dataset using a specific config
44
- dset = sc.load_dataset_by_config_name(config_name="<config_name>")
45
  ```
46
-
47
- More details on how to load the `seacrowd` library can be found [here](https://github.com/SEACrowd/seacrowd-datahub?tab=readme-ov-file#how-to-use).
48
-
49
 
50
  ## Dataset Homepage
51
 
 
27
  ## Supported Tasks
28
 
29
  Machine Translation
30
+
31
  ## Dataset Usage
32
  ### Using `datasets` library
33
  ```
34
+ from datasets import load_dataset
35
+ dset = datasets.load_dataset("SEACrowd/duolingo_staple_2020", trust_remote_code=True)
36
  ```
37
  ### Using `seacrowd` library
38
  ```import seacrowd as sc
39
  # Load the dataset using the default config
40
+ dset = sc.load_dataset("duolingo_staple_2020", schema="seacrowd")
41
  # Check all available subsets (config names) of the dataset
42
+ print(sc.available_config_names("duolingo_staple_2020"))
43
  # Load the dataset using a specific config
44
+ dset = sc.load_dataset_by_config_name(config_name="<config_name>")
45
  ```
46
+
47
+ More details on how to load the `seacrowd` library can be found [here](https://github.com/SEACrowd/seacrowd-datahub?tab=readme-ov-file#how-to-use).
48
+
49
 
50
  ## Dataset Homepage
51