holylovenia commited on
Commit
c578aef
1 Parent(s): c3efdac

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +9 -9
README.md CHANGED
@@ -58,25 +58,25 @@ ace, ban, bcl, blt, bug, ceb, cfm, cnh, ctd, duu, hil, hlt, hni, hnj, ilo, ind,
58
  ## Supported Tasks
59
 
60
  Self Supervised Pretraining
61
-
62
  ## Dataset Usage
63
  ### Using `datasets` library
64
  ```
65
- from datasets import load_dataset
66
- dset = datasets.load_dataset("SEACrowd/udhr", trust_remote_code=True)
67
  ```
68
  ### Using `seacrowd` library
69
  ```import seacrowd as sc
70
  # Load the dataset using the default config
71
- dset = sc.load_dataset("udhr", schema="seacrowd")
72
  # Check all available subsets (config names) of the dataset
73
- print(sc.available_config_names("udhr"))
74
  # Load the dataset using a specific config
75
- dset = sc.load_dataset_by_config_name(config_name="<config_name>")
76
  ```
77
-
78
- 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).
79
-
80
 
81
  ## Dataset Homepage
82
 
 
58
  ## Supported Tasks
59
 
60
  Self Supervised Pretraining
61
+
62
  ## Dataset Usage
63
  ### Using `datasets` library
64
  ```
65
+ from datasets import load_dataset
66
+ dset = datasets.load_dataset("SEACrowd/udhr", trust_remote_code=True)
67
  ```
68
  ### Using `seacrowd` library
69
  ```import seacrowd as sc
70
  # Load the dataset using the default config
71
+ dset = sc.load_dataset("udhr", schema="seacrowd")
72
  # Check all available subsets (config names) of the dataset
73
+ print(sc.available_config_names("udhr"))
74
  # Load the dataset using a specific config
75
+ dset = sc.load_dataset_by_config_name(config_name="<config_name>")
76
  ```
77
+
78
+ 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).
79
+
80
 
81
  ## Dataset Homepage
82