Xiuhan commited on
Commit
a28d4a5
1 Parent(s): 3eefc2c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +130 -0
README.md CHANGED
@@ -3,3 +3,133 @@ license: other
3
  license_name: faipl-1.0-sd
4
  license_link: https://freedevproject.org/faipl-1.0-sd/
5
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  license_name: faipl-1.0-sd
4
  license_link: https://freedevproject.org/faipl-1.0-sd/
5
  ---
6
+ ---
7
+ license: other
8
+ license_name: faipl-1.0-sd
9
+ license_link: https://freedevproject.org/faipl-1.0-sd/
10
+ ---
11
+
12
+ # See complete release notes here:
13
+
14
+ English: https://nieta-art.feishu.cn/wiki/PpwqwVDzjiNE5kkUhRtcEsn6nmh
15
+
16
+ Chinese: https://nieta-art.feishu.cn/wiki/ARWLw99w7ikjaSkoV99cxmsOn5g
17
+
18
+ # I. Overview
19
+ - Introducing Neta Art XL V1.0, the easiest-to-use SDXL Anime model so far.
20
+ - Keywords: Best Character Coverage, Vivid storytelling, Diverse styles, Stable anatomy.
21
+ - Major motivation:
22
+ - Better stability and anatomy for character visual storytelling purpose:
23
+ - Ordered prompt guide for model to easier follow prompts;
24
+ - A very good balance between better knowledge and stability.
25
+ - Maintain a high ceiling standard for aesthetics across versatile anime art styles, while keeping the baseline of output appealing for general users.
26
+ - Less loras for characters / styles / artists, so we make better use of static model acceleration techniques.
27
+
28
+ ### Prompting Guide
29
+ To avoid possible ambiguity in text prompt, and leave room for very complicated scene such as multi-character, we found enforcing an ordering in prompts leads to better instruct-following behaviors (Learn from NAI3 / Animagine3 / AIDXL). Specifically, we use the following order in Neta Art XL:
30
+
31
+ Tag Order: subject (1boy / 1girl) -> character (a girl named frieren from sousou no frieren series) -> Artist trigger (by xxx) -> race (elf) -> composition (cowboy shot) -> style (impasto style) -> theme (fantasy theme) -> main environment (in the forest, at day) -> background (gradient background) -> action (sitting on ground) -> expression (is expressionless) -> main characteristics (white hair) -> body characteristics (twintails, green eyes, parted lip) -> clothing (wearing a white dress) -> clothing accessories (frills) -> other items (a cat) -> secondary environment (grass, sunshine) -> aesthetics (beautiful color, detailed, aesthetic) -> quality ((best quality:1.3))
32
+
33
+ More examples:
34
+ ```[{
35
+ "prompt": "1girl, solo, character: lucy, white background, cowboy shot, hip cutout, sad expressions, pantyhose, best quality, beautiful color, by bigroll"
36
+ },
37
+ {
38
+ "prompt": "(detailed features, flat color:1.2), (lineart, flat-pasto:0.3),The red giant panda holds its bamboo and falls asleep on the water, best quality, "
39
+ },
40
+ {
41
+ "prompt": "gufeng, 2.5d, impasto, old withered vines and ancient trees, a murder of crows descending into darkness, a small bridge over gently flowing water, quaint houses nestled by the river, best quality, masterpiece, highres, "
42
+ },
43
+ {
44
+ "prompt": "aesthetic, detailed, beautiful color, amazing quality, best quality, high quality, cinematic quality, LUT, fine texture, crisp detail, by rella, by_dkxlek, by makoto shinkai, ayanami_rei, beautiful, parted lips, detailed face, detailed eyes, Large eyes, deep crimson eyes, introspective eyes, eyes designed by Ilya Kuvshinov style, (detailed long hair), blue hair, white hair, (holographic hair), multicolored hair, glow hair, transparent hair, floating hair, wind effect, sad expressions, lonely, melancholy atmosphere, subtle grace, elegance, ethereal beauty, transparent, clarity, from side, looking at viewer, off shoulder, bare shoulders, splashing collarbone, strapless, white dress, wet dress, standing in lake, Calm Lake, water, White Lily, petals, barefoot, ripples, Misty Forest, soft shadows, (clear blue sky), cloud, cloudy sky, starry sky, particle, feather, [moon], (high-resolution sci-fi landscape:1.3), post-human landscapes, thousands of years in the future, Earth, overgrown cities, reclaimed by nature, futuristic decay, ancient modern buildings, high-resolution ruins, (rust in ruins, collapsed building), [2.5d:celluloid:0.6], Depth of Field, sharp focus, bokeh,"
45
+ },
46
+ {
47
+ "prompt": "(from side:1.0), (Red long hair:1.0), (Hair adorned with fine pearls:1.0), (sacred:1.0), (Blue light gauze dress:1.0), (🌊:1.1), (Play the transparent harp:1.2), (Fragmented light dots:1.0), (Dawn:1.0), (fluorescence:0.8), (Crystal and transparent:1.0), (Flowing light and overflowing colors:1.0), (sit:1.0), (Close range:1.0), , (by wlop:0.6), (impasto, oil painting:1.2), detailed features, pseudo-impasto, best quality, (detailed features, flat color:1.2), (lineart, flat-pasto:0.3)"
48
+ }]```
49
+
50
+ Negative prompts: (worst quality:1.3), low quality, lowres, messy, abstract, ugly, disfigured, bad anatomy, draft, deformed hands, fused fingers, signature, text, multi views
51
+
52
+ Sampler: Eular a normal as default, 28+ steps recommended.
53
+
54
+ One additional merit of Neta Art XL is that it supports a very wide range of CFGs (5 - 20 compared to 7 - 9 of previous models). While we empirically found higher CFG leads to more details and higher contrast, generally CFG 9 - 14 (important!) can be used for best results.
55
+
56
+ # II. Highlight: Style Versatility
57
+
58
+ We carefully selected 13 style keys with good orthogonality and are commonly used in many scenarios, justified by usage data from Nieta AI (30M+ generations).
59
+ Having orthogonal styles means each style is effectively different from the others, allowing you to easily combine and create new styles without interference.
60
+ impasto
61
+
62
+ Please refer to https://civitai.com/models/124189/anime-illust-diffusion-xl for a complete list of supported artists.
63
+
64
+ # III. Expression, Posing, and Camera Angles
65
+
66
+ # IV. Multi-Character Scenes
67
+
68
+ # V. Text & Typography
69
+
70
+ # VI. Training
71
+ - Data annotation combining multiple sources (Original prompt, CogVLM captions, WaifuTagger tags)
72
+ - Post-processing techniques like semantic deduplication and hierarchical tag organization
73
+ 1. Semantic Deduplication: This removed redundant tags by intelligently detecting when a higher-level tag (e.g. very long hair) semantically covered a lower-level one (e.g. long hair).
74
+ 2. Tag Layering Algorithm: Tags were organized into hierarchical layers based on their priorities and related semantics (eg. by wlop influence the whole picture styling, while frills influence a small fraction). More dominant tags were placed in higher layers to prioritize their influence during training.
75
+
76
+ - Using high-quality regularization data from AIDXL: High-quality regular datasets with "best" and "amazing" quality ratings from AIDXL. These datasets are manually selected and come with detailed annotations and natural language descriptions.
77
+ - Finetuning on more knowledgeable base models like AAM, blending with AnimagineXL 3.1 Character Knowledge.
78
+
79
+ ### Challenges Faced:
80
+ - Imbalance in learning different styles
81
+ - Poor generalization for some styles to diverse scenes
82
+ - Lack of details/texture in generations
83
+ - Trigger word overlap with base model knowledge
84
+
85
+ ### Solutions Explored:
86
+ - Data reweighting to balance style learning, and supplement diverse data per style.
87
+ - Tuning sampling hyperparameters like minimum gamma and rectified flow. Rectified Flow is a training parameter that increases the sampling frequency in the middle time steps but weakens the weight of the model's learning ability for small noises in the low time steps. This technique helps to improve the model's ability to restore styles but requires the use of a knowledge-rich base model.
88
+ - Randomizing / drop off trigger words during training.
89
+
90
+
91
+ # VII. Evaluation
92
+ Nine models are evaluated using 16 styles (some unique to Neta Art, thus biased :P) and 80 prompts. Each prompt generates 3 samples with different aspect ratios, resulting in an XYZ plot (Generated from https://github.com/talesofai/comfyui-browser).
93
+
94
+ XYZPlot of 3,840 samples, just for one-time evaluation. Here's an online Example.
95
+
96
+ Evaluation is done on a 10-point scale across four axes under objective counting rules:
97
+ 1. Prompt Following: Points deducted for every 5 images unrelated to the prompt.
98
+ 2. Stability: Points deducted for distortions or breakages in heads, hands, feet, or composition.
99
+ 3. Diversity: Points deducted for poor style restoration within each style column.
100
+ 4. Generalizability: Points deducted for poor semantic generalization within each style column.
101
+
102
+ Additionally, 10 top model trainers provide subjective scores for Aesthetics, with an average calculated for each model.
103
+
104
+
105
+ # VIII. License
106
+
107
+ - Developed with ❤️ by: Neta.art Lab - https://civitai.com/user/nieta_art
108
+ - In collaboration with:
109
+ - Euge: https://civitai.com/user/Euge_
110
+ - 汤人烂: https://space.bilibili.com/8594480
111
+ - Chenkin: https://civitai.com/user/Chenkin
112
+ - Bo Dai: https://daibo.info/
113
+ - Thanks to:
114
+ - https://blog.novelai.net/introducing-novelai-diffusion-anime-v3-6d00d1c118c3
115
+ - https://cagliostrolab.net/posts/animagine-xl-v3-release
116
+ - https://civitai.com/models/269232/aam-xl-anime-mix
117
+ - https://civitai.com/models/124189/anime-illust-diffusion-xl
118
+ - https://github.com/deepghs/waifuc
119
+ -
120
+ - Model type: Diffusion-based text-to-image generative model
121
+ - License: We merged 0.05 CLIP and 0.15 UNet input layers from Animagine 3.1, thus Fair AI Public License 1.0-SD
122
+
123
+ # IX. Conclusion and Future Work
124
+ Shortcomings:
125
+ 1. Some characters are underfitted.
126
+ 2. Styles are not activated well with long prompts.
127
+ 3. Certain styles appear grayish at low CFG and short prompts. Partly explained in https://civitai.com/articles/4969.
128
+ Future Work:
129
+ - Prepare larger training sets and more knowledge-based data to improve character, style, and detail handling.
130
+ - Welcome others to join discussions, provide suggestions, and contribute to model advancement.
131
+
132
+ Neta Art XL 2.0 is on the way. Stay tuned with us, and test our product for FREE: http://neta.art/
133
+ Discord: https://discord.gg/AtRtbe9W8w
134
+ Twitter: https://twitter.com/netaart_ai
135
+ Civitai:https://civitai.com/user/nieta_art