Faris Hijazi commited on
Commit
40ced72
2 Parent(s): e6245d6 1b08789

Merge branch 'main' of https://huggingface.co/datasets/FarisHijazi/kajiwoto.ai-chat

Browse files
Files changed (1) hide show
  1. README.md +109 -0
README.md ADDED
@@ -0,0 +1,109 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ task_categories:
3
+ - text-generation
4
+ tags:
5
+ - roleplay
6
+ - character
7
+ - ShareGPT
8
+ size_categories:
9
+ - 1K<n<10K
10
+ ---
11
+
12
+ This is an NSFW roleplay dataset scraped from <https://kajiwoto.ai/> as of 2023-07-15.
13
+ Kajiwoto is a platform where you can create your own character datasets and chat with them.
14
+ There are many public datasets in Kajiwoto, the power in this dataset is the metadata, there is so much information and categorization for each dataset.
15
+
16
+
17
+ ## Processing data
18
+
19
+ Do be aware that a lot of the data is NSFW (explicit content)
20
+
21
+ The raw datasets are in [kajiwoto_raw.json](./kajiwoto_raw.json), this data needs to be processed so that it can be used, the main operations are:
22
+ 1. transform shape (convert to a known format such as ShareGPT)
23
+ 2. deduplication
24
+ 3. template rendering of strings such as `"you rolled a dice with %{1|2|3|4|5|6}"`. This operation is lossy as it will choose only one of the options
25
+ 4. dropping datasets that are too short
26
+ 5. dropping datasets with too few upvotes or comments
27
+ 6. filtering in or out NSFW datasets
28
+
29
+ I have processed an initial example here: [kajiwoto_sharegpt-len_gt_6-upvotes_gt_0-sampled.json](./kajiwoto_sharegpt-len_gt_6-upvotes_gt_0-sampled.json)
30
+
31
+ it is any dataset with at least 1 upvote and at least 6 lines in the conversation, you can most models as this is in the shareGPT format
32
+
33
+ Here's an example [this conversation](https://kajiwoto.ai/d/033Q):
34
+
35
+ ```json
36
+ {
37
+ "conversation": [
38
+ {
39
+ "from": "user",
40
+ "value": "What's your favourite drink? "
41
+ },
42
+ {
43
+ "from": "gpt",
44
+ "value": "Coconut milk.. "
45
+ },
46
+ {
47
+ "from": "user",
48
+ "value": "Soo"
49
+ },
50
+ {
51
+ "from": "gpt",
52
+ "value": "What..? "
53
+ },
54
+ ...
55
+ ],
56
+
57
+
58
+
59
+ "metadata": {
60
+ "id": "033Q",
61
+ "name": "Qiqi dataset",
62
+ "description": "About qiqi",
63
+ "profilePhotoUri": "2021_10/mzi1zgm0mg_nhprrq_1633269387804.jpg",
64
+ "dominantColors": [
65
+ "#d97da1",
66
+ "#eb9db8",
67
+ "#661d3a",
68
+ "#745b8b",
69
+ "#d2b8d3",
70
+ "#644484"
71
+ ],
72
+ "personalities": null,
73
+ "personalitiesLastUpdatedAt": null,
74
+ "nsfw": false,
75
+ "deleted": false,
76
+ "price": 0,
77
+ "purchased": false,
78
+ "status": "PUBLISHED",
79
+ "tags": [],
80
+ "updatedAt": 1649233318521,
81
+ "user": {
82
+ "id": "4zkE",
83
+ "username": "blossomxx",
84
+ "displayName": "Blossom",
85
+ "profile": {
86
+ "id": "56736",
87
+ "photoUri": "2021_10/ytk0nzbhnw_nhprrq_1633268155638.jpg",
88
+ "__typename": "UserProfile"
89
+ },
90
+ "__typename": "User"
91
+ },
92
+ "count": 9,
93
+ "__typename": "AiTrainerGroup",
94
+ "kudos": {
95
+ "id": "_ai_g:033Q",
96
+ "upvotes": 1,
97
+ "upvoted": false,
98
+ "comments": 0,
99
+ "__typename": "Kudos"
100
+ },
101
+ "editorSettings": null,
102
+ "editorState": null
103
+ }
104
+ }
105
+ ```
106
+
107
+ ---
108
+
109
+ *Scraping and processing code will be uploaded soon*