Update README.md
Browse files
README.md
CHANGED
@@ -1,200 +1,118 @@
|
|
1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
library_name: diffusers
|
3 |
---
|
|
|
|
|
|
|
4 |
|
5 |
-
|
6 |
|
7 |
-
|
8 |
|
|
|
9 |
|
|
|
10 |
|
11 |
-
|
12 |
|
13 |
-
### Model Description
|
14 |
|
15 |
-
<!-- Provide a longer summary of what this model is. -->
|
16 |
|
17 |
-
|
18 |
|
19 |
-
|
20 |
-
- **Funded by [optional]:** [More Information Needed]
|
21 |
-
- **Shared by [optional]:** [More Information Needed]
|
22 |
-
- **Model type:** [More Information Needed]
|
23 |
-
- **Language(s) (NLP):** [More Information Needed]
|
24 |
-
- **License:** [More Information Needed]
|
25 |
-
- **Finetuned from model [optional]:** [More Information Needed]
|
26 |
|
27 |
-
|
28 |
|
29 |
-
|
30 |
|
31 |
-
|
32 |
-
- **Paper [optional]:** [More Information Needed]
|
33 |
-
- **Demo [optional]:** [More Information Needed]
|
34 |
|
35 |
-
|
36 |
|
37 |
-
|
38 |
|
39 |
-
|
|
|
40 |
|
41 |
-
|
42 |
|
43 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
|
45 |
-
|
|
|
|
|
|
|
|
|
46 |
|
47 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
54 |
-
|
55 |
-
[More Information Needed]
|
56 |
-
|
57 |
-
## Bias, Risks, and Limitations
|
58 |
-
|
59 |
-
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
60 |
-
|
61 |
-
[More Information Needed]
|
62 |
-
|
63 |
-
### Recommendations
|
64 |
-
|
65 |
-
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
66 |
-
|
67 |
-
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
68 |
-
|
69 |
-
## How to Get Started with the Model
|
70 |
-
|
71 |
-
Use the code below to get started with the model.
|
72 |
-
|
73 |
-
[More Information Needed]
|
74 |
-
|
75 |
-
## Training Details
|
76 |
-
|
77 |
-
### Training Data
|
78 |
-
|
79 |
-
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
80 |
-
|
81 |
-
[More Information Needed]
|
82 |
-
|
83 |
-
### Training Procedure
|
84 |
-
|
85 |
-
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
86 |
-
|
87 |
-
#### Preprocessing [optional]
|
88 |
-
|
89 |
-
[More Information Needed]
|
90 |
-
|
91 |
-
|
92 |
-
#### Training Hyperparameters
|
93 |
-
|
94 |
-
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
95 |
-
|
96 |
-
#### Speeds, Sizes, Times [optional]
|
97 |
-
|
98 |
-
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
99 |
-
|
100 |
-
[More Information Needed]
|
101 |
-
|
102 |
-
## Evaluation
|
103 |
-
|
104 |
-
<!-- This section describes the evaluation protocols and provides the results. -->
|
105 |
-
|
106 |
-
### Testing Data, Factors & Metrics
|
107 |
-
|
108 |
-
#### Testing Data
|
109 |
-
|
110 |
-
<!-- This should link to a Dataset Card if possible. -->
|
111 |
-
|
112 |
-
[More Information Needed]
|
113 |
-
|
114 |
-
#### Factors
|
115 |
-
|
116 |
-
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
117 |
-
|
118 |
-
[More Information Needed]
|
119 |
-
|
120 |
-
#### Metrics
|
121 |
-
|
122 |
-
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
123 |
-
|
124 |
-
[More Information Needed]
|
125 |
-
|
126 |
-
### Results
|
127 |
-
|
128 |
-
[More Information Needed]
|
129 |
-
|
130 |
-
#### Summary
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
## Model Examination [optional]
|
135 |
-
|
136 |
-
<!-- Relevant interpretability work for the model goes here -->
|
137 |
-
|
138 |
-
[More Information Needed]
|
139 |
-
|
140 |
-
## Environmental Impact
|
141 |
-
|
142 |
-
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
143 |
-
|
144 |
-
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
145 |
-
|
146 |
-
- **Hardware Type:** [More Information Needed]
|
147 |
-
- **Hours used:** [More Information Needed]
|
148 |
-
- **Cloud Provider:** [More Information Needed]
|
149 |
-
- **Compute Region:** [More Information Needed]
|
150 |
-
- **Carbon Emitted:** [More Information Needed]
|
151 |
-
|
152 |
-
## Technical Specifications [optional]
|
153 |
-
|
154 |
-
### Model Architecture and Objective
|
155 |
-
|
156 |
-
[More Information Needed]
|
157 |
-
|
158 |
-
### Compute Infrastructure
|
159 |
-
|
160 |
-
[More Information Needed]
|
161 |
-
|
162 |
-
#### Hardware
|
163 |
-
|
164 |
-
[More Information Needed]
|
165 |
-
|
166 |
-
#### Software
|
167 |
-
|
168 |
-
[More Information Needed]
|
169 |
-
|
170 |
-
## Citation [optional]
|
171 |
-
|
172 |
-
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
173 |
-
|
174 |
-
**BibTeX:**
|
175 |
-
|
176 |
-
[More Information Needed]
|
177 |
-
|
178 |
-
**APA:**
|
179 |
-
|
180 |
-
[More Information Needed]
|
181 |
-
|
182 |
-
## Glossary [optional]
|
183 |
-
|
184 |
-
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
185 |
-
|
186 |
-
[More Information Needed]
|
187 |
-
|
188 |
-
## More Information [optional]
|
189 |
-
|
190 |
-
[More Information Needed]
|
191 |
-
|
192 |
-
## Model Card Authors [optional]
|
193 |
-
|
194 |
-
[More Information Needed]
|
195 |
-
|
196 |
-
## Model Card Contact
|
197 |
-
|
198 |
-
[More Information Needed]
|
199 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
200 |
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
pipeline_tag: text-to-image
|
3 |
+
widget:
|
4 |
+
- text: 3 fish in a fish tank wearing adorable outfits, best quality, hd
|
5 |
+
- text: >-
|
6 |
+
a woman sitting in a wooden chair in the middle of a grass field on a farm,
|
7 |
+
moonlight, best quality, hd, anime art
|
8 |
+
- text: 'Masterpiece, glitch, holy holy holy, fog, by DarkIncursio '
|
9 |
+
- text: >-
|
10 |
+
jpeg Full Body Photo of a weird imaginary Female creatures captured on
|
11 |
+
celluloid film, (((ghost))),heavy rain, thunder, snow, water's surface,
|
12 |
+
night, expressionless, Blood, Japan God,(school), Ultra Realistic,
|
13 |
+
((Scary)),looking at camera, screem, plaintive cries, Long claws, fangs,
|
14 |
+
scales,8k, HDR, 500px, mysterious and ornate digital art, photic, intricate,
|
15 |
+
fantasy aesthetic.
|
16 |
+
- text: >-
|
17 |
+
The divine tree of knowledge, an interplay between purple and gold, floats
|
18 |
+
in the void of the sea of quanta, the tree is made of crystal, the void is
|
19 |
+
made of nothingness, strong contrast, dim lighting, beautiful and surreal
|
20 |
+
scene. wide shot
|
21 |
+
- text: >-
|
22 |
+
The image features an older man, a long white beard and mustache, He has a
|
23 |
+
stern expression, giving the impression of a wise and experienced
|
24 |
+
individual. The mans beard and mustache are prominent, adding to his
|
25 |
+
distinguished appearance. The close-up shot of the mans face emphasizes his
|
26 |
+
facial features and the intensity of his gaze.
|
27 |
+
- text: 'Ghost in the Shell Stand Alone Complex '
|
28 |
+
- text: >-
|
29 |
+
(impressionistic realism by csybgh), a 50 something male, working in
|
30 |
+
banking, very short dyed dark curly balding hair, Afro-Asiatic ancestry,
|
31 |
+
talks a lot but listens poorly, stuck in the past, wearing a suit, he has a
|
32 |
+
certain charm, bronze skintone, sitting in a bar at night, he is smoking and
|
33 |
+
feeling cool, drunk on plum wine, masterpiece, 8k, hyper detailed, smokey
|
34 |
+
ambiance, perfect hands AND fingers
|
35 |
+
- text: >-
|
36 |
+
black fluffy gorgeous dangerous cat animal creature, large orange eyes, big
|
37 |
+
fluffy ears, piercing gaze, full moon, dark ambiance, best quality,
|
38 |
+
extremely detailed
|
39 |
+
license: gpl-3.0
|
40 |
library_name: diffusers
|
41 |
---
|
42 |
+
<Gallery />
|
43 |
+
# Fork or [dataautogpt3/ProteusV0.4](https://huggingface.co/dataautogpt3/ProteusV0.4)
|
44 |
+
## ProteusV0.4: The Style Update
|
45 |
|
46 |
+
This update enhances stylistic capabilities, similar to Midjourney's approach, rather than advancing prompt comprehension. Methods used do not infringe on any copyrighted material.
|
47 |
|
48 |
+
## Proteus
|
49 |
|
50 |
+
Proteus serves as a sophisticated enhancement over OpenDalleV1.1, leveraging its core functionalities to deliver superior outcomes. Key areas of advancement include heightened responsiveness to prompts and augmented creative capacities. To achieve this, it was fine-tuned using approximately 220,000 GPTV captioned images from copyright-free stock images (with some anime included), which were then normalized. Additionally, DPO (Direct Preference Optimization) was employed through a collection of 10,000 carefully selected high-quality, AI-generated image pairs.
|
51 |
|
52 |
+
In pursuit of optimal performance, numerous LORA (Low-Rank Adaptation) models are trained independently before being selectively incorporated into the principal model via dynamic application methods. These techniques involve targeting particular segments within the model while avoiding interference with other areas during the learning phase. Consequently, Proteus exhibits marked improvements in portraying intricate facial characteristics and lifelike skin textures, all while sustaining commendable proficiency across various aesthetic domains, notably surrealism, anime, and cartoon-style visualizations.
|
53 |
|
54 |
+
finetuned/trained on a total of 400k+ images at this point.
|
55 |
|
|
|
56 |
|
|
|
57 |
|
58 |
+
## Settings for ProteusV0.4
|
59 |
|
60 |
+
Use these settings for the best results with ProteusV0.4:
|
|
|
|
|
|
|
|
|
|
|
|
|
61 |
|
62 |
+
CFG Scale: Use a CFG scale of 4 to 6
|
63 |
|
64 |
+
Steps: 20 to 60 steps for more detail, 20 steps for faster results.
|
65 |
|
66 |
+
Sampler: DPM++ 2M SDE
|
|
|
|
|
67 |
|
68 |
+
Scheduler: Karras
|
69 |
|
70 |
+
Resolution: 1280x1280 or 1024x1024
|
71 |
|
72 |
+
please also consider using these keep words to improve your prompts:
|
73 |
+
best quality, HD, `~*~aesthetic~*~`.
|
74 |
|
75 |
+
if you are having trouble coming up with prompts you can use this GPT I put together to help you refine the prompt. https://chat.openai.com/g/g-RziQNoydR-diffusion-master
|
76 |
|
77 |
+
## Use it with 🧨 diffusers
|
78 |
+
```python
|
79 |
+
import torch
|
80 |
+
from diffusers import (
|
81 |
+
StableDiffusionXLPipeline,
|
82 |
+
KDPM2AncestralDiscreteScheduler,
|
83 |
+
AutoencoderKL
|
84 |
+
)
|
85 |
|
86 |
+
# Load VAE component
|
87 |
+
vae = AutoencoderKL.from_pretrained(
|
88 |
+
"madebyollin/sdxl-vae-fp16-fix",
|
89 |
+
torch_dtype=torch.float16
|
90 |
+
)
|
91 |
|
92 |
+
# Configure the pipeline
|
93 |
+
pipe = StableDiffusionXLPipeline.from_pretrained(
|
94 |
+
"dataautogpt3/ProteusV0.4",
|
95 |
+
vae=vae,
|
96 |
+
torch_dtype=torch.float16
|
97 |
+
)
|
98 |
+
pipe.scheduler = KDPM2AncestralDiscreteScheduler.from_config(pipe.scheduler.config)
|
99 |
+
pipe.to('cuda')
|
100 |
|
101 |
+
# Define prompts and generate image
|
102 |
+
prompt = "black fluffy gorgeous dangerous cat animal creature, large orange eyes, big fluffy ears, piercing gaze, full moon, dark ambiance, best quality, extremely detailed"
|
103 |
+
negative_prompt = "nsfw, bad quality, bad anatomy, worst quality, low quality, low resolutions, extra fingers, blur, blurry, ugly, wrongs proportions, watermark, image artifacts, lowres, ugly, jpeg artifacts, deformed, noisy image"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
104 |
|
105 |
+
image = pipe(
|
106 |
+
prompt,
|
107 |
+
negative_prompt=negative_prompt,
|
108 |
+
width=1024,
|
109 |
+
height=1024,
|
110 |
+
guidance_scale=4,
|
111 |
+
num_inference_steps=20
|
112 |
+
).images[0]
|
113 |
+
```
|
114 |
|
115 |
+
please support the work I do through donating to me on:
|
116 |
+
https://www.buymeacoffee.com/DataVoid
|
117 |
+
or following me on
|
118 |
+
https://twitter.com/DataPlusEngine
|