Datasets:

Languages:
English
ArXiv:
License:
holylovenia commited on
Commit
87aad33
1 Parent(s): 271ba2d

Upload README.md with huggingface_hub

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