holylovenia
commited on
Commit
•
33cb90f
1
Parent(s):
d8c4ab3
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
@@ -28,25 +28,25 @@ ind, jav, eng
|
|
28 |
## Supported Tasks
|
29 |
|
30 |
Token Level Language Identification
|
31 |
-
|
32 |
## Dataset Usage
|
33 |
### Using `datasets` library
|
34 |
```
|
35 |
-
|
36 |
-
|
37 |
```
|
38 |
### Using `seacrowd` library
|
39 |
```import seacrowd as sc
|
40 |
# Load the dataset using the default config
|
41 |
-
|
42 |
# Check all available subsets (config names) of the dataset
|
43 |
-
|
44 |
# Load the dataset using a specific config
|
45 |
-
|
46 |
```
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
|
51 |
## Dataset Homepage
|
52 |
|
|
|
28 |
## Supported Tasks
|
29 |
|
30 |
Token Level Language Identification
|
31 |
+
|
32 |
## Dataset Usage
|
33 |
### Using `datasets` library
|
34 |
```
|
35 |
+
from datasets import load_dataset
|
36 |
+
dset = datasets.load_dataset("SEACrowd/ijelid", trust_remote_code=True)
|
37 |
```
|
38 |
### Using `seacrowd` library
|
39 |
```import seacrowd as sc
|
40 |
# Load the dataset using the default config
|
41 |
+
dset = sc.load_dataset("ijelid", schema="seacrowd")
|
42 |
# Check all available subsets (config names) of the dataset
|
43 |
+
print(sc.available_config_names("ijelid"))
|
44 |
# Load the dataset using a specific config
|
45 |
+
dset = sc.load_dataset_by_config_name(config_name="<config_name>")
|
46 |
```
|
47 |
+
|
48 |
+
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).
|
49 |
+
|
50 |
|
51 |
## Dataset Homepage
|
52 |
|