holylovenia commited on
Commit
0f750ff
1 Parent(s): f87e2f3

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +9 -9
README.md CHANGED
@@ -142,25 +142,25 @@ ifa, ace, btm, mqj, mbs, nbq, gor, zyp, tbl, kjp, kmk, kqe, ptu, blw, ceb, prf,
142
  ## Supported Tasks
143
 
144
  Language Identification
145
-
146
  ## Dataset Usage
147
  ### Using `datasets` library
148
  ```
149
- from datasets import load_dataset
150
- dset = datasets.load_dataset("SEACrowd/lti_langid_corpus", trust_remote_code=True)
151
  ```
152
  ### Using `seacrowd` library
153
  ```import seacrowd as sc
154
  # Load the dataset using the default config
155
- dset = sc.load_dataset("lti_langid_corpus", schema="seacrowd")
156
  # Check all available subsets (config names) of the dataset
157
- print(sc.available_config_names("lti_langid_corpus"))
158
  # Load the dataset using a specific config
159
- dset = sc.load_dataset_by_config_name(config_name="<config_name>")
160
  ```
161
-
162
- 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).
163
-
164
 
165
  ## Dataset Homepage
166
 
 
142
  ## Supported Tasks
143
 
144
  Language Identification
145
+
146
  ## Dataset Usage
147
  ### Using `datasets` library
148
  ```
149
+ from datasets import load_dataset
150
+ dset = datasets.load_dataset("SEACrowd/lti_langid_corpus", trust_remote_code=True)
151
  ```
152
  ### Using `seacrowd` library
153
  ```import seacrowd as sc
154
  # Load the dataset using the default config
155
+ dset = sc.load_dataset("lti_langid_corpus", schema="seacrowd")
156
  # Check all available subsets (config names) of the dataset
157
+ print(sc.available_config_names("lti_langid_corpus"))
158
  # Load the dataset using a specific config
159
+ dset = sc.load_dataset_by_config_name(config_name="<config_name>")
160
  ```
161
+
162
+ 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).
163
+
164
 
165
  ## Dataset Homepage
166