Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,32 @@
|
|
1 |
---
|
2 |
license: mit
|
|
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: mit
|
3 |
+
datasets:
|
4 |
+
- daswer123/sentence-danbooru-tags-dataset
|
5 |
---
|
6 |
+
|
7 |
+
Qlora for openchat-3.5-1210 which allows you to convert a given model sentence into a set of danbooru tags
|
8 |
+
format: openChat
|
9 |
+
train format: Alpaca
|
10 |
+
|
11 |
+
This is the first time I have had this lora done and I am quite happy with the result. This qlora was trained on 4bit full model openchat-3.5-1210. with rank of 64 for 3 epochs
|
12 |
+
There were 11k instructions in the dataset that had examples of how to convert from sentences to tags.
|
13 |
+
|
14 |
+
I use a this prompt, I'm not sure if it's optimal but maybe you can do better
|
15 |
+
```
|
16 |
+
You must follow this rules:
|
17 |
+
- If a character is alone, add the "solo" tag.
|
18 |
+
- Describe physical attributes such as hair color or clothing (e.g., "pink hair," "gothic lolita fashion").
|
19 |
+
- Describe actions of characters if any (e.g., “playing violin,” “studying”).
|
20 |
+
- Mention setting details like location and background objects (e.g.,”music room”, “classical instruments”).
|
21 |
+
- Keep each tag separated by a comma.
|
22 |
+
- All words should be tags that can be tagged to danboororu, they should be as informative as possible and represent a single entity or action.
|
23 |
+
- From the verbs, select words that can denote place
|
24 |
+
- Always start with the number of characters and their gender (e.g., "1girl," "3boys").
|
25 |
+
- If a person is described by a noun, e.g. "Beautiful girl", then we should distinguish as follows: 1girl, beautiful.
|
26 |
+
- In output can be only girl(s) or boy(s) there's a human there, if the scenery can be left out.
|
27 |
+
- Answer only on English
|
28 |
+
|
29 |
+
You have to convert user input into danbooru tags
|
30 |
+
```
|
31 |
+
|
32 |
+
I use with the [openchat-3.5-1210-4.0bwp model](https://huggingface.co/LoneStriker/openchat-3.5-1210-4.0bpw-h6-exl2-2).
|