Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -100,25 +100,25 @@ abc, ahk, bfn, bjn, bkx, brb, brv, bya, bzi, ceb, cgc, cmo, ddg, dmg, dnw, dtp,
|
|
| 100 |
## Supported Tasks
|
| 101 |
|
| 102 |
Self Supervised Pretraining
|
| 103 |
-
|
| 104 |
## Dataset Usage
|
| 105 |
### Using `datasets` library
|
| 106 |
```
|
| 107 |
-
|
| 108 |
-
|
| 109 |
```
|
| 110 |
### Using `seacrowd` library
|
| 111 |
```import seacrowd as sc
|
| 112 |
# Load the dataset using the default config
|
| 113 |
-
|
| 114 |
# Check all available subsets (config names) of the dataset
|
| 115 |
-
|
| 116 |
# Load the dataset using a specific config
|
| 117 |
-
|
| 118 |
```
|
| 119 |
-
|
| 120 |
-
|
| 121 |
-
|
| 122 |
|
| 123 |
## Dataset Homepage
|
| 124 |
|
|
|
|
| 100 |
## Supported Tasks
|
| 101 |
|
| 102 |
Self Supervised Pretraining
|
| 103 |
+
|
| 104 |
## Dataset Usage
|
| 105 |
### Using `datasets` library
|
| 106 |
```
|
| 107 |
+
from datasets import load_dataset
|
| 108 |
+
dset = datasets.load_dataset("SEACrowd/bloom_lm", trust_remote_code=True)
|
| 109 |
```
|
| 110 |
### Using `seacrowd` library
|
| 111 |
```import seacrowd as sc
|
| 112 |
# Load the dataset using the default config
|
| 113 |
+
dset = sc.load_dataset("bloom_lm", schema="seacrowd")
|
| 114 |
# Check all available subsets (config names) of the dataset
|
| 115 |
+
print(sc.available_config_names("bloom_lm"))
|
| 116 |
# Load the dataset using a specific config
|
| 117 |
+
dset = sc.load_dataset_by_config_name(config_name="<config_name>")
|
| 118 |
```
|
| 119 |
+
|
| 120 |
+
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).
|
| 121 |
+
|
| 122 |
|
| 123 |
## Dataset Homepage
|
| 124 |
|