Datasets:

ArXiv:
holylovenia commited on
Commit
c94f32b
1 Parent(s): 6de0177

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +9 -9
README.md CHANGED
@@ -32,25 +32,25 @@ ind, ace, ban, bjn, bbc, bug, jav, mad, min, nij, sun, eng
32
  ## Supported Tasks
33
 
34
  Machine Translation
35
-
36
  ## Dataset Usage
37
  ### Using `datasets` library
38
  ```
39
- from datasets import load_dataset
40
- dset = datasets.load_dataset("SEACrowd/nusax_mt", trust_remote_code=True)
41
  ```
42
  ### Using `seacrowd` library
43
  ```import seacrowd as sc
44
  # Load the dataset using the default config
45
- dset = sc.load_dataset("nusax_mt", schema="seacrowd")
46
  # Check all available subsets (config names) of the dataset
47
- print(sc.available_config_names("nusax_mt"))
48
  # Load the dataset using a specific config
49
- dset = sc.load_dataset_by_config_name(config_name="<config_name>")
50
  ```
51
-
52
- 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).
53
-
54
 
55
  ## Dataset Homepage
56
 
 
32
  ## Supported Tasks
33
 
34
  Machine Translation
35
+
36
  ## Dataset Usage
37
  ### Using `datasets` library
38
  ```
39
+ from datasets import load_dataset
40
+ dset = datasets.load_dataset("SEACrowd/nusax_mt", trust_remote_code=True)
41
  ```
42
  ### Using `seacrowd` library
43
  ```import seacrowd as sc
44
  # Load the dataset using the default config
45
+ dset = sc.load_dataset("nusax_mt", schema="seacrowd")
46
  # Check all available subsets (config names) of the dataset
47
+ print(sc.available_config_names("nusax_mt"))
48
  # Load the dataset using a specific config
49
+ dset = sc.load_dataset_by_config_name(config_name="<config_name>")
50
  ```
51
+
52
+ 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).
53
+
54
 
55
  ## Dataset Homepage
56