Datasets:

ArXiv:
License:
holylovenia commited on
Commit
aee6eea
1 Parent(s): d7f8c01

Upload README.md with huggingface_hub

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