holylovenia commited on
Commit
445f8d3
1 Parent(s): 1e4d625

Upload README.md with huggingface_hub

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