Update README.md
Browse files
README.md
CHANGED
@@ -6,13 +6,13 @@ These are the tags of the [danbooru 2021](https://gwern.net/danbooru2021) + [dan
|
|
6 |
The dataset is deduplicated by post id, and if there is no post id, the value is sequentially set to -{value}.
|
7 |
|
8 |
load dataset
|
9 |
-
```
|
10 |
from datasets import load_dataset
|
11 |
dataset = load_dataset('qwopqwop/danbooru2022_tags')
|
12 |
```
|
13 |
|
14 |
preprocess code
|
15 |
-
```
|
16 |
import os
|
17 |
import glob
|
18 |
import json
|
|
|
6 |
The dataset is deduplicated by post id, and if there is no post id, the value is sequentially set to -{value}.
|
7 |
|
8 |
load dataset
|
9 |
+
```python
|
10 |
from datasets import load_dataset
|
11 |
dataset = load_dataset('qwopqwop/danbooru2022_tags')
|
12 |
```
|
13 |
|
14 |
preprocess code
|
15 |
+
```python
|
16 |
import os
|
17 |
import glob
|
18 |
import json
|