philipp-zettl commited on
Commit
c718929
1 Parent(s): d6f52ed

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +111 -175
README.md CHANGED
@@ -1,199 +1,135 @@
1
  ---
2
- library_name: diffusers
3
  pipeline_tag: text-to-image
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  ---
 
 
5
 
6
- # Model Card for Model ID
7
 
8
- <!-- Provide a quick summary of what the model is/does. -->
9
 
 
10
 
 
11
 
12
- ## Model Details
13
 
14
- ### Model Description
15
 
16
- <!-- Provide a longer summary of what this model is. -->
17
 
18
- This is the model card of a 🧨 diffusers model that has been pushed on the Hub. This model card has been automatically generated.
19
 
20
- - **Developed by:** [More Information Needed]
21
- - **Funded by [optional]:** [More Information Needed]
22
- - **Shared by [optional]:** [More Information Needed]
23
- - **Model type:** [More Information Needed]
24
- - **Language(s) (NLP):** [More Information Needed]
25
- - **License:** [More Information Needed]
26
- - **Finetuned from model [optional]:** [More Information Needed]
27
 
28
- ### Model Sources [optional]
29
 
30
- <!-- Provide the basic links for the model. -->
31
 
32
- - **Repository:** [More Information Needed]
33
- - **Paper [optional]:** [More Information Needed]
34
- - **Demo [optional]:** [More Information Needed]
35
 
36
- ## Uses
37
 
38
- <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
 
39
 
40
- ### Direct Use
41
 
42
- <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
 
 
 
 
 
 
 
43
 
44
- [More Information Needed]
 
 
 
 
45
 
46
- ### Downstream Use [optional]
 
 
 
 
 
 
 
47
 
48
- <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
 
 
49
 
50
- [More Information Needed]
 
 
 
 
 
 
 
 
51
 
52
- ### Out-of-Scope Use
53
-
54
- <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
-
56
- [More Information Needed]
57
-
58
- ## Bias, Risks, and Limitations
59
-
60
- <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
-
62
- [More Information Needed]
63
-
64
- ### Recommendations
65
-
66
- <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
-
68
- Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
-
70
- ## How to Get Started with the Model
71
-
72
- Use the code below to get started with the model.
73
-
74
- [More Information Needed]
75
-
76
- ## Training Details
77
-
78
- ### Training Data
79
-
80
- <!-- 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. -->
81
-
82
- [More Information Needed]
83
-
84
- ### Training Procedure
85
-
86
- <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
-
88
- #### Preprocessing [optional]
89
-
90
- [More Information Needed]
91
-
92
-
93
- #### Training Hyperparameters
94
-
95
- - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
-
97
- #### Speeds, Sizes, Times [optional]
98
-
99
- <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
-
101
- [More Information Needed]
102
-
103
- ## Evaluation
104
-
105
- <!-- This section describes the evaluation protocols and provides the results. -->
106
-
107
- ### Testing Data, Factors & Metrics
108
-
109
- #### Testing Data
110
-
111
- <!-- This should link to a Dataset Card if possible. -->
112
-
113
- [More Information Needed]
114
-
115
- #### Factors
116
-
117
- <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
-
119
- [More Information Needed]
120
-
121
- #### Metrics
122
-
123
- <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
-
125
- [More Information Needed]
126
-
127
- ### Results
128
-
129
- [More Information Needed]
130
-
131
- #### Summary
132
-
133
-
134
-
135
- ## Model Examination [optional]
136
-
137
- <!-- Relevant interpretability work for the model goes here -->
138
-
139
- [More Information Needed]
140
-
141
- ## Environmental Impact
142
-
143
- <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
-
145
- 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).
146
-
147
- - **Hardware Type:** [More Information Needed]
148
- - **Hours used:** [More Information Needed]
149
- - **Cloud Provider:** [More Information Needed]
150
- - **Compute Region:** [More Information Needed]
151
- - **Carbon Emitted:** [More Information Needed]
152
-
153
- ## Technical Specifications [optional]
154
-
155
- ### Model Architecture and Objective
156
-
157
- [More Information Needed]
158
-
159
- ### Compute Infrastructure
160
-
161
- [More Information Needed]
162
-
163
- #### Hardware
164
-
165
- [More Information Needed]
166
-
167
- #### Software
168
-
169
- [More Information Needed]
170
-
171
- ## Citation [optional]
172
-
173
- <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
-
175
- **BibTeX:**
176
-
177
- [More Information Needed]
178
-
179
- **APA:**
180
-
181
- [More Information Needed]
182
-
183
- ## Glossary [optional]
184
-
185
- <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
-
187
- [More Information Needed]
188
-
189
- ## More Information [optional]
190
-
191
- [More Information Needed]
192
-
193
- ## Model Card Authors [optional]
194
-
195
- [More Information Needed]
196
-
197
- ## Model Card Contact
198
-
199
- [More Information Needed]
 
1
  ---
 
2
  pipeline_tag: text-to-image
3
+ widget:
4
+ - text: >-
5
+ black fluffy gorgeous dangerous cat animal creature, large orange eyes, big
6
+ fluffy ears, piercing gaze, full moon, dark ambiance, best quality,
7
+ extremely detailed
8
+ - text: >-
9
+ (impressionistic realism by csybgh), a 50 something male, working in
10
+ banking, very short dyed dark curly balding hair, Afro-Asiatic ancestry,
11
+ talks a lot but listens poorly, stuck in the past, wearing a suit, he has a
12
+ certain charm, bronze skintone, sitting in a bar at night, he is smoking and
13
+ feeling cool, drunk on plum wine, masterpiece, 8k, hyper detailed, smokey
14
+ ambiance, perfect hands AND fingers
15
+ - text: >-
16
+ high quality pixel art, a pixel art silhouette of an anime space-themed girl
17
+ in a space-punk steampunk style, lying in her bed by the window of a
18
+ spaceship, smoking, with a rustic feel. The image should embody epic
19
+ portraiture and double exposure, featuring an isolated landscape visible
20
+ through the window. The colors should primarily be dynamic and
21
+ action-packed, with a strong use of negative space. The entire artwork
22
+ should be in pixel art style, emphasizing the characters shape and set
23
+ against a white background. Silhouette
24
+ - text: >-
25
+ The image features an older man, a long white beard and mustache, He has a
26
+ stern expression, giving the impression of a wise and experienced
27
+ individual. The mans beard and mustache are prominent, adding to his
28
+ distinguished appearance. The close-up shot of the mans face emphasizes his
29
+ facial features and the intensity of his gaze.
30
+ - text: >-
31
+ Super Closeup Portrait, action shot, Profoundly dark whitish meadow, glass
32
+ flowers, Stains, space grunge style, Jeanne d'Arc wearing White Olive green
33
+ used styled Cotton frock, Wielding thin silver sword, Sci-fi vibe, dirty,
34
+ noisy, Vintage monk style, very detailed, hd
35
+ - text: >-
36
+ cinematic film still of Kodak Motion Picture Film: (Sharp Detailed Image) An
37
+ Oscar winning movie for Best Cinematography a woman in a kimono standing on
38
+ a subway train in Japan Kodak Motion Picture Film Style, shallow depth of
39
+ field, vignette, highly detailed, high budget, bokeh, cinemascope, moody,
40
+ epic, gorgeous, film grain, grainy
41
+ - text: >-
42
+ in the style of artgerm, comic style,3D model, mythical seascape, negative
43
+ space, space quixotic dreams, temporal hallucination, psychedelic, mystical,
44
+ intricate details, very bright neon colors, (vantablack background:1.5),
45
+ pointillism, pareidolia, melting, symbolism, very high contrast, chiaroscuro
46
+ parameters:
47
+ negative_prompt: >-
48
+ bad quality, bad anatomy, worst quality, low quality, low resolutions,
49
+ extra fingers, blur, blurry, ugly, wrongs proportions, watermark, image
50
+ artifacts, lowres, ugly, jpeg artifacts, deformed, noisy image
51
+ - text: >-
52
+ 1980s anime portrait of a character glitching. His face is separated from
53
+ his body by heavy static. His face is deformed by pain. Dream-like, analog
54
+ horror, glitch, terrifying
55
+ - text: (("Proteus"):text_logo:1)
56
+ - text: >-
57
+ dan seagrave, dante, Abandon All Hope, Ye Who Enter Here, hell religious art
58
+ purgatory zdzislaw Beksinski, abyss inferno, lost, wanderer
59
+ license: gpl-3.0
60
  ---
61
+ <Gallery />
62
+ ## [unofficial fp16 fork] ProteusV0.2
63
 
64
+ merged with RealCartoonXL to fix issues with inability to understand tags related to anime or cartoon styles at just a weight of 0.5% out of 100% using custom scripts with slerp like methods.
65
 
66
+ Version 0.2 shows subtle yet significant improvements over Version 0.1. It demonstrates enhanced prompt understanding that surpasses MJ6, while also approaching its stylistic capabilities.
67
 
68
+ ## Proteus
69
 
70
+ 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.
71
 
72
+ 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.
73
 
 
74
 
75
+ ## Settings for ProteusV0.2
76
 
77
+ Use these settings for the best results with ProteusV0.2:
78
 
79
+ CFG Scale: Use a CFG scale of 8 to 7
 
 
 
 
 
 
80
 
81
+ Steps: 20 to 60 steps for more detail, 20 steps for faster results.
82
 
83
+ Sampler: DPM++ 2M SDE
84
 
85
+ Scheduler: Karras
 
 
86
 
87
+ Resolution: 1280x1280 or 1024x1024
88
 
89
+ please also consider using these keep words to improve your prompts:
90
+ best quality, HD, `~*~aesthetic~*~`.
91
 
92
+ 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
93
 
94
+ ## Use it with 🧨 diffusers
95
+ ```python
96
+ import torch
97
+ from diffusers import (
98
+ StableDiffusionXLPipeline,
99
+ KDPM2AncestralDiscreteScheduler,
100
+ AutoencoderKL
101
+ )
102
 
103
+ # Load VAE component
104
+ vae = AutoencoderKL.from_pretrained(
105
+ "madebyollin/sdxl-vae-fp16-fix",
106
+ torch_dtype=torch.float16
107
+ )
108
 
109
+ # Configure the pipeline
110
+ pipe = StableDiffusionXLPipeline.from_pretrained(
111
+ "dataautogpt3/ProteusV0.2",
112
+ vae=vae,
113
+ torch_dtype=torch.float16
114
+ )
115
+ pipe.scheduler = KDPM2AncestralDiscreteScheduler.from_config(pipe.scheduler.config)
116
+ pipe.to('cuda')
117
 
118
+ # Define prompts and generate image
119
+ prompt = "black fluffy gorgeous dangerous cat animal creature, large orange eyes, big fluffy ears, piercing gaze, full moon, dark ambiance, best quality, extremely detailed"
120
+ 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"
121
 
122
+ image = pipe(
123
+ prompt,
124
+ negative_prompt=negative_prompt,
125
+ width=1024,
126
+ height=1024,
127
+ guidance_scale=7,
128
+ num_inference_steps=20
129
+ ).images[0]
130
+ ```
131
 
132
+ please support the work I do through donating to me on:
133
+ https://www.buymeacoffee.com/DataVoid
134
+ or following me on
135
+ https://twitter.com/DataPlusEngine