hakatashi commited on
Commit
3d0460e
·
1 Parent(s): 82be9fd

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +49 -2
README.md CHANGED
@@ -31,7 +31,54 @@ dataset_info:
31
  num_examples: 59708
32
  download_size: 7351682183
33
  dataset_size: 7168446432
 
 
 
 
 
 
34
  ---
35
- # Dataset Card for "hakatashi-pixiv-bookmark-deepdanbooru"
36
 
37
- [More Information needed](https://github.com/huggingface/datasets/blob/main/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  num_examples: 59708
32
  download_size: 7351682183
33
  dataset_size: 7168446432
34
+ task_categories:
35
+ - image-classification
36
+ tags:
37
+ - art
38
+ size_categories:
39
+ - 100K<n<1M
40
  ---
 
41
 
42
+ The dataset for training classification model of pixiv artworks by my preference.
43
+
44
+ ## Schema
45
+
46
+ * tag_probs: List of probabilities for each tag. Preprocessed by [RF5/danbooru-pretrained](https://github.com/RF5/danbooru-pretrained) model. The index of each probability corresponds to the index of the tag in the [class_names_6000.json](https://github.com/RF5/danbooru-pretrained/blob/master/config/class_names_6000.json) file.
47
+ * class:
48
+ * not_bookmarked (0): Generated from images randomly-sampled from [animelover/danbooru2022](https://huggingface.co/datasets/animelover/danbooru2022) dataset. The images are filtered in advance to the post with pixiv source.
49
+ * bookmarked_public (1): Generated from publicly bookmarked images of [hakatashi](https://twitter.com/hakatashi).
50
+ * bookmarked_private (2): Generated from privately bookmarked images of [hakatashi](https://twitter.com/hakatashi).
51
+
52
+ ## Stats
53
+
54
+ train:test:validation = 6:2:2
55
+
56
+ * not_bookmarked (0): 202,290 images
57
+ * bookmarked_public (1): 73,587 images
58
+ * bookmarked_private (2): 22,659 images
59
+
60
+ ## Usage
61
+
62
+ ```
63
+ >>> from datasets import load_dataset
64
+
65
+ >>> dataset = load_dataset("hakatashi/hakatashi-pixiv-bookmark-deepdanbooru")
66
+ >>> dataset
67
+ DatasetDict({
68
+ test: Dataset({
69
+ features: ['tag_probs', 'class'],
70
+ num_rows: 59707
71
+ })
72
+ train: Dataset({
73
+ features: ['tag_probs', 'class'],
74
+ num_rows: 179121
75
+ })
76
+ validation: Dataset({
77
+ features: ['tag_probs', 'class'],
78
+ num_rows: 59708
79
+ })
80
+ })
81
+ >>> dataset['train'].features
82
+ {'tag_probs': Sequence(feature=Value(dtype='float32', id=None), length=-1, id=None),
83
+ 'class': ClassLabel(names=['not_bookmarked', 'bookmarked_public', 'bookmarked_private'], id=None)}
84
+ ```