JohnTeddy3
commited on
Commit
•
c04af00
1
Parent(s):
c91d201
Update README.md
Browse files
README.md
CHANGED
@@ -1,11 +1,78 @@
|
|
1 |
---
|
2 |
-
|
3 |
-
|
4 |
-
|
|
|
5 |
language:
|
6 |
- en
|
7 |
-
|
8 |
-
- art
|
9 |
size_categories:
|
10 |
-
-
|
11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
annotations_creators:
|
3 |
+
- no-annotation
|
4 |
+
language_creators:
|
5 |
+
- thefcraft
|
6 |
language:
|
7 |
- en
|
8 |
+
pretty_name: civitai-stable-diffusion-337k
|
|
|
9 |
size_categories:
|
10 |
+
- 1M<n<10M
|
11 |
+
source_datasets:
|
12 |
+
- civitai
|
13 |
+
---
|
14 |
+
|
15 |
+
###转载thefcraft/civitai-stable-diffusion-337k nsfw检测数据集
|
16 |
+
### How to Use
|
17 |
+
```
|
18 |
+
from datasets import load_dataset
|
19 |
+
|
20 |
+
dataset = load_dataset("thefcraft/civitai-stable-diffusion-337k")
|
21 |
+
|
22 |
+
print(dataset['train'][0])
|
23 |
+
```
|
24 |
+
|
25 |
+
### download images
|
26 |
+
download zip files from images dir
|
27 |
+
```
|
28 |
+
from zipfile import ZipFile
|
29 |
+
with ZipFile("filename.zip", 'r') as zObject: zObject.extractall()
|
30 |
+
```
|
31 |
+
|
32 |
+
### Dataset Summary
|
33 |
+
|
34 |
+
dataset:- civitai-stable-diffusion-337k this dataset contains 337k civitai images url with prompts etc. i use civitai api to get all prompts.
|
35 |
+
project:- https://github.com/thefcraft/nsfw-prompt-detection-sd I train a model on this dataset
|
36 |
+
|
37 |
+
DATA STRUCTURE for othertype/civitai.json:-
|
38 |
+
|
39 |
+
```{
|
40 |
+
'items':[
|
41 |
+
{'id': 100657,
|
42 |
+
'url': 'https://imagecache.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/2338276a-87f7-4a1e-f92a-776a18ee4200/width=768/2338276a-87f7-4a1e-f92a-776a18ee4200.jpeg',
|
43 |
+
'hash': 'U5Exz_00.8D$t89Z%M0100~VD*RktQxaIU~p',
|
44 |
+
'width': 768,
|
45 |
+
'height': 1368,
|
46 |
+
'nsfw': True,
|
47 |
+
'createdAt': '2023-02-14T10:05:11.498Z',
|
48 |
+
'postId': 60841,
|
49 |
+
'stats': {'cryCount': 0,
|
50 |
+
'laughCount': 0,
|
51 |
+
'likeCount': 26,
|
52 |
+
'dislikeCount': 0,
|
53 |
+
'heartCount': 50,
|
54 |
+
'commentCount': 4},
|
55 |
+
'meta': {'ENSD': '31337',
|
56 |
+
'Size': '512x912',
|
57 |
+
'seed': 3994946333,
|
58 |
+
'Model': 'AbyssOrangeMix2_sfw',
|
59 |
+
'steps': 20,
|
60 |
+
'prompt': '<lora:hiqcg_body-epoch-000004:0.5>, <lora:hiqcg_face-epoch-000004:0.4>, hiqcgbody, hiqcgface, 1girl, full body, standing, \ndetailed skin texture, detailed cloth texture, beautiful detailed face,\nmasterpiece, best quality, ultra detailed, 8k, intricate details,',
|
61 |
+
'sampler': 'DPM++ 2M Karras',
|
62 |
+
'cfgScale': 7,
|
63 |
+
'Clip skip': '2',
|
64 |
+
'resources': [{'hash': '038ba203d8',
|
65 |
+
'name': 'AbyssOrangeMix2_sfw',
|
66 |
+
'type': 'model'}],
|
67 |
+
'Model hash': '038ba203d8',
|
68 |
+
'Hires upscale': '1.5',
|
69 |
+
'Hires upscaler': 'Latent',
|
70 |
+
'negativePrompt': 'EasyNegative, extra fingers,fewer fingers, multiple girls, multiple views,',
|
71 |
+
'Denoising strength': '0.6'},
|
72 |
+
'username': 'NeoClassicalRibbon'},
|
73 |
+
{..},
|
74 |
+
..],
|
75 |
+
|
76 |
+
'metadata':{'totalItems': 327145}
|
77 |
+
}
|
78 |
+
```
|