Commit
·
3478909
1
Parent(s):
dec5fb4
Update README.md
Browse files
README.md
CHANGED
@@ -12,22 +12,38 @@ should probably proofread and complete it, then remove this comment. -->
|
|
12 |
|
13 |
# ArtPrompter
|
14 |
|
15 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
|
17 |
-
## Model description
|
18 |
|
19 |
-
More information needed
|
20 |
|
21 |
## Intended uses & limitations
|
22 |
|
23 |
-
|
|
|
24 |
|
25 |
-
|
|
|
|
|
|
|
26 |
|
27 |
-
More information needed
|
28 |
|
29 |
## Training procedure
|
30 |
|
|
|
|
|
31 |
### Training hyperparameters
|
32 |
|
33 |
The following hyperparameters were used during training:
|
@@ -39,10 +55,6 @@ The following hyperparameters were used during training:
|
|
39 |
- lr_scheduler_type: linear
|
40 |
- num_epochs: 50
|
41 |
|
42 |
-
### Training results
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
### Framework versions
|
47 |
|
48 |
- Transformers 4.25.1
|
|
|
12 |
|
13 |
# ArtPrompter
|
14 |
|
15 |
+
A [gpt2](https://huggingface.co/gpt2) powered predictive keyboard for making descriptive text prompts for A.I. image generators (e.g. MidJourney, Stable Diffusion, ArtBot, etc). The model was trained on a database of over 268K MidJourney images corresponding to 113K unique prompts.
|
16 |
+
|
17 |
+
```python
|
18 |
+
from transformers import pipeline
|
19 |
+
|
20 |
+
ai = pipeline('text-generation',model='pearsonkyle/ArtPrompter', tokenizer='gpt2')
|
21 |
+
|
22 |
+
texts = ai('The', max_length=30, num_return_sequences=5)
|
23 |
+
|
24 |
+
for i in range(5):
|
25 |
+
print(texts[i]['generated_text']+'\n')
|
26 |
+
```
|
27 |
+
|
28 |
+
[](https://colab.research.google.com/drive/1HQOtD2LENTeXEaxHUfIhDKUaPIGd6oTR?usp=sharing)
|
29 |
|
|
|
30 |
|
|
|
31 |
|
32 |
## Intended uses & limitations
|
33 |
|
34 |
+
Build prompts and generate images on Discord!
|
35 |
+
|
36 |
|
37 |
+
[](https://discord.gg/3S8Taqa2Xy)
|
38 |
+
|
39 |
+
|
40 |
+
[](https://discord.gg/3S8Taqa2Xy)
|
41 |
|
|
|
42 |
|
43 |
## Training procedure
|
44 |
|
45 |
+
~1 hour of finetuneing on RTX2080 with 113K unique prompts
|
46 |
+
|
47 |
### Training hyperparameters
|
48 |
|
49 |
The following hyperparameters were used during training:
|
|
|
55 |
- lr_scheduler_type: linear
|
56 |
- num_epochs: 50
|
57 |
|
|
|
|
|
|
|
|
|
58 |
### Framework versions
|
59 |
|
60 |
- Transformers 4.25.1
|