holylovenia commited on
Commit
855204d
1 Parent(s): 7b00f6b

Upload README.md with huggingface_hub

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