holylovenia commited on
Commit
d705c43
1 Parent(s): 77c5a1a

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +9 -9
README.md CHANGED
@@ -27,25 +27,25 @@ eng, ind, tgl
27
  ## Supported Tasks
28
 
29
  Code Switching Identification, Self Supervised Pretraining
30
-
31
  ## Dataset Usage
32
  ### Using `datasets` library
33
  ```
34
- from datasets import load_dataset
35
- dset = datasets.load_dataset("SEACrowd/codeswitch_reddit", trust_remote_code=True)
36
  ```
37
  ### Using `seacrowd` library
38
  ```import seacrowd as sc
39
  # Load the dataset using the default config
40
- dset = sc.load_dataset("codeswitch_reddit", schema="seacrowd")
41
  # Check all available subsets (config names) of the dataset
42
- print(sc.available_config_names("codeswitch_reddit"))
43
  # Load the dataset using a specific config
44
- dset = sc.load_dataset_by_config_name(config_name="<config_name>")
45
  ```
46
-
47
- 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).
48
-
49
 
50
  ## Dataset Homepage
51
 
 
27
  ## Supported Tasks
28
 
29
  Code Switching Identification, Self Supervised Pretraining
30
+
31
  ## Dataset Usage
32
  ### Using `datasets` library
33
  ```
34
+ from datasets import load_dataset
35
+ dset = datasets.load_dataset("SEACrowd/codeswitch_reddit", trust_remote_code=True)
36
  ```
37
  ### Using `seacrowd` library
38
  ```import seacrowd as sc
39
  # Load the dataset using the default config
40
+ dset = sc.load_dataset("codeswitch_reddit", schema="seacrowd")
41
  # Check all available subsets (config names) of the dataset
42
+ print(sc.available_config_names("codeswitch_reddit"))
43
  # Load the dataset using a specific config
44
+ dset = sc.load_dataset_by_config_name(config_name="<config_name>")
45
  ```
46
+
47
+ 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).
48
+
49
 
50
  ## Dataset Homepage
51