holylovenia commited on
Commit
73d1327
1 Parent(s): 7f19363

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +9 -9
README.md CHANGED
@@ -46,25 +46,25 @@ sun, ace, mad, lao, cfm, hnj, min, zlm, tha, blt, hni, jav, tdt, cnh, khm, ban,
46
  ## Supported Tasks
47
 
48
  Language Identification
49
-
50
  ## Dataset Usage
51
  ### Using `datasets` library
52
  ```
53
- from datasets import load_dataset
54
- dset = datasets.load_dataset("SEACrowd/udhr_lid", trust_remote_code=True)
55
  ```
56
  ### Using `seacrowd` library
57
  ```import seacrowd as sc
58
  # Load the dataset using the default config
59
- dset = sc.load_dataset("udhr_lid", schema="seacrowd")
60
  # Check all available subsets (config names) of the dataset
61
- print(sc.available_config_names("udhr_lid"))
62
  # Load the dataset using a specific config
63
- dset = sc.load_dataset_by_config_name(config_name="<config_name>")
64
  ```
65
-
66
- 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).
67
-
68
 
69
  ## Dataset Homepage
70
 
 
46
  ## Supported Tasks
47
 
48
  Language Identification
49
+
50
  ## Dataset Usage
51
  ### Using `datasets` library
52
  ```
53
+ from datasets import load_dataset
54
+ dset = datasets.load_dataset("SEACrowd/udhr_lid", trust_remote_code=True)
55
  ```
56
  ### Using `seacrowd` library
57
  ```import seacrowd as sc
58
  # Load the dataset using the default config
59
+ dset = sc.load_dataset("udhr_lid", schema="seacrowd")
60
  # Check all available subsets (config names) of the dataset
61
+ print(sc.available_config_names("udhr_lid"))
62
  # Load the dataset using a specific config
63
+ dset = sc.load_dataset_by_config_name(config_name="<config_name>")
64
  ```
65
+
66
+ 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).
67
+
68
 
69
  ## Dataset Homepage
70