Datasets:

ArXiv:
License:
holylovenia commited on
Commit
76c4dc9
1 Parent(s): 9b38139

Upload README.md with huggingface_hub

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