Datasets:

ArXiv:
License:
holylovenia commited on
Commit
0565aef
1 Parent(s): 66d87ab

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +9 -9
README.md CHANGED
@@ -33,25 +33,25 @@ ind, vie, tgl, jav, tha, eng
33
  ## Supported Tasks
34
 
35
  Machine Translation
36
-
37
  ## Dataset Usage
38
  ### Using `datasets` library
39
  ```
40
- from datasets import load_dataset
41
- dset = datasets.load_dataset("SEACrowd/tatoeba", trust_remote_code=True)
42
  ```
43
  ### Using `seacrowd` library
44
  ```import seacrowd as sc
45
  # Load the dataset using the default config
46
- dset = sc.load_dataset("tatoeba", schema="seacrowd")
47
  # Check all available subsets (config names) of the dataset
48
- print(sc.available_config_names("tatoeba"))
49
  # Load the dataset using a specific config
50
- dset = sc.load_dataset_by_config_name(config_name="<config_name>")
51
  ```
52
-
53
- 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).
54
-
55
 
56
  ## Dataset Homepage
57
 
 
33
  ## Supported Tasks
34
 
35
  Machine Translation
36
+
37
  ## Dataset Usage
38
  ### Using `datasets` library
39
  ```
40
+ from datasets import load_dataset
41
+ dset = datasets.load_dataset("SEACrowd/tatoeba", trust_remote_code=True)
42
  ```
43
  ### Using `seacrowd` library
44
  ```import seacrowd as sc
45
  # Load the dataset using the default config
46
+ dset = sc.load_dataset("tatoeba", schema="seacrowd")
47
  # Check all available subsets (config names) of the dataset
48
+ print(sc.available_config_names("tatoeba"))
49
  # Load the dataset using a specific config
50
+ dset = sc.load_dataset_by_config_name(config_name="<config_name>")
51
  ```
52
+
53
+ 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).
54
+
55
 
56
  ## Dataset Homepage
57