Views
No views yet
Omost (pronunciation: almost) has two meanings: 1) everytime after you use Omost, your image is almost there; 2) the O mean "omni" (multi-modal) and most means we want to get the most out of it.Canvas agent. This Canvas can be rendered by specific implementations of image generators to actually generate images.git clone https://github.com/lllyasviel/Omost.git
cd Omost
conda create -n omost python=3.10
conda activate omost
pip install torch torchvision --index-url https://download.pytorch.org/whl/cu121
pip install -r requirements.txt
python gradio_app.pybitsandbytes - some 9XX or 10XX or 20XX GPUs may have trouble in running it. If that happens, just use our official huggingface space.)1# Initialize the canvas
2canvas = Canvas()
3
4# Set a global description for the canvas
5canvas.set_global_description(
6 description='A fierce battle between warriors and a dragon.',
7 detailed_descriptions=[
8 'In this intense scene, a group of fierce warriors is engaged in an epic battle with a mighty dragon.',
9 'The warriors, clad in armor and wielding swords and shields, are positioned on the left side of the image.',
10 'Their expressions are determined and focused, reflecting their resolve to defeat the dragon.',
11 'The dragon, with its massive wings spread wide and its fiery breath illuminating the scene, dominates the center of the image.',
12 'Its scales glisten with a metallic sheen, and its eyes burn with a fierce intensity.',
13 'The background is a dark, stormy sky with flashes of lightning, adding to the drama and tension of the battle.',
14 'The ground is littered with debris and the remnants of previous battles, enhancing the sense of a long and brutal conflict.',
15 'The overall atmosphere is one of chaos and intensity, with the warriors and the dragon locked in a fierce struggle for survival.',
16 ],
17 tags='battle, warriors, dragon, fierce, armor, swords, shields, determined, focused, epic, intense, metallic, glistening, fiery breath, stormy sky, lightning, debris, conflict, struggle, survival, chaos, tension, drama, wings, scales, eyes, burning, illuminated',
18 HTML_web_color_name='darkslategray',
19)
20
21# Add a group of fierce warriors.
22canvas.add_local_description(
23 location='on the left',
24 offset='no offset',
25 area='a large horizontal area',
26 distance_to_viewer=5.0,
27 description='A group of fierce warriors.',
28 detailed_descriptions=[
29 'The warriors, clad in gleaming armor, are positioned on the left side of the image.',
30 'They are armed with swords, shields, and spears, ready for battle.',
31 'Their faces are set with determination and focus, reflecting their resolve to defeat the dragon.',
32 'Some warriors are in mid-action, swinging their swords or shields, while others stand ready to strike.',
33 'The armor they wear is intricately designed, with symbols and patterns that signify their rank and bravery.',
34 'The ground beneath them is uneven and littered with debris, adding to the sense of a chaotic and intense battle.',
35 ],
36 tags='warriors, armor, swords, shields, spears, determined, focused, mid-action, intricate design, symbols, patterns, rank, bravery, uneven ground, debris, chaotic, intense, battle',
37 atmosphere='Determined and focused, ready for the fierce battle.',
38 style='Highly detailed and dynamic, capturing the intensity of the warriors.',
39 quality_meta='High resolution with intricate details and dynamic poses.',
40 HTML_web_color_name='darkgoldenrod',
41)
42
43# Add a mighty dragon.
44canvas.add_local_description(
45 location='in the center',
46 offset='no offset',
47 area='a large square area',
48 distance_to_viewer=7.0,
49 description='A mighty dragon.',
50 detailed_descriptions=[
51 'The dragon is a massive creature, dominating the center of the image with its wide-spread wings and fiery breath.',
52 'Its scales glisten with a metallic sheen, reflecting the light from its fiery breath.',
53 "The dragon's eyes burn with a fierce intensity, and its teeth are sharp and menacing.",
54 'The wings of the dragon are powerful and spread wide, casting shadows over the battlefield.',
55 'The dragon’s body is muscular and covered in protective scales, with a long, sinewy tail that adds to its formidable appearance.',
56 'The fiery breath of the dragon illuminates the scene, casting a reddish glow over the warriors and the battlefield.',
57 ],
58 tags='dragon, massive, wings, fiery breath, glistening scales, metallic sheen, fierce eyes, sharp teeth, powerful wings, shadows, battlefield, muscular body, protective scales, sinewy tail, formidable, reddish glow, illumination',
59 atmosphere='Intense and menacing, with a powerful presence.',
60 style='Epic and dramatic, emphasizing the grandeur and danger of the dragon.',
61 quality_meta='High resolution with dramatic lighting and detailed textures.',
62 HTML_web_color_name='firebrick',
63)
64
65# Add a stormy sky with flashes of lightning.
66canvas.add_local_description(
67 location='on the top',
68 offset='no offset',
69 area='a large horizontal area',
70 distance_to_viewer=10.0,
71 description='A stormy sky with flashes of lightning.',
72 detailed_descriptions=[
73 'The background of the image is a dark, stormy sky filled with swirling clouds and flashes of lightning.',
74 'The sky is turbulent, with clouds dark and foreboding, adding to the dramatic tension of the battle.',
75 'The lightning flashes illuminate the scene, casting sharp, brief lights over the warriors and the dragon.',
76 'The stormy sky creates a sense of chaos and unpredictability, heightening the intensity of the battle below.',
77 'The overall atmosphere is one of impending doom and relentless conflict, with the storm mirroring the fierce struggle between the warriors and the dragon.',
78 ],
79 tags='stormy sky, dark clouds, lightning, turbulent, foreboding, dramatic tension, illumination, chaos, unpredictability, intensity, impending doom, relentless conflict, battle, warriors, dragon, swirling clouds, sharp lights, brief lights',
80 atmosphere='Chaotic and intense, mirroring the fierce battle below.',
81 style='Dramatic and turbulent, emphasizing the conflict and tension.',
82 quality_meta='High resolution with dynamic lighting and detailed cloud textures.',
83 HTML_web_color_name='midnightblue',
84)
85
86# Add a debris-covered battlefield.
87canvas.add_local_description(
88 location='on the bottom',
89 offset='no offset',
90 area='a large horizontal area',
91 distance_to_viewer=5.0,
92 description='A debris-covered battlefield.',
93 detailed_descriptions=[
94 'The ground of the battlefield is littered with debris, remnants of previous battles.',
95 'Broken weapons, shattered shields, and scattered armor pieces are strewn across the battlefield.',
96 'The terrain is uneven, with patches of mud and dirt, adding to the sense of a long and brutal conflict.',
97 'The debris-covered battlefield enhances the chaotic and intense atmosphere of the scene, reflecting the ferocity and duration of the battle.',
98 'The overall appearance is one of destruction and turmoil, with the remnants of previous battles serving as a grim reminder of the ongoing struggle.',
99 ],
100 tags='battlefield, debris, broken weapons, shattered shields, scattered armor, uneven terrain, mud, dirt, brutal conflict, chaos, intensity, destruction, turmoil, previous battles, ongoing struggle, remnants, ferocity, duration',
101 atmosphere='Chaotic and intense, reflecting the ferocity of the battle.',
102 style='Detailed and realistic, emphasizing the destruction and chaos.',
103 quality_meta='High resolution with detailed textures and realistic debris.',
104 HTML_web_color_name='darkolivegreen',
105)1# Initialize the canvas
2canvas = Canvas()
3
4# Set a global description for the canvas
5canvas.set_global_description(
6 description='A fierce battle between warriors and a dinosaur.',
7 detailed_descriptions=[
8 'In this intense scene, a group of fierce warriors is engaged in an epic battle with a mighty dinosaur.',
9 'The warriors, clad in armor and wielding swords and shields, are positioned on the left side of the image.',
10 'Their expressions are determined and focused, reflecting their resolve to defeat the dinosaur.',
11 'The dinosaur, with its massive body and powerful legs, dominates the center of the image.',
12 'Its scales glisten with a metallic sheen, and its eyes burn with a fierce intensity.',
13 'The background is a dark, stormy sky with flashes of lightning, adding to the drama and tension of the battle.',
14 'The ground is littered with debris and the remnants of previous battles, enhancing the sense of a long and brutal conflict.',
15 'The overall atmosphere is one of chaos and intensity, with the warriors and the dinosaur locked in a fierce struggle for survival.',
16 ],
17 tags='battle, warriors, dinosaur, fierce, armor, swords, shields, determined, focused, epic, intense, metallic, glistening, stormy sky, lightning, debris, conflict, struggle, survival, chaos, tension, drama, powerful legs, scales, eyes, burning, illuminated',
18 HTML_web_color_name='darkslategray',
19)
20
21# Add a group of fierce warriors.
22canvas.add_local_description(
23 location='on the left',
24 offset='no offset',
25 area='a large horizontal area',
26 distance_to_viewer=5.0,
27 description='A group of fierce warriors.',
28 detailed_descriptions=[
29 'The warriors, clad in gleaming armor, are positioned on the left side of the image.',
30 'They are armed with swords, shields, and spears, ready for battle.',
31 'Their faces are set with determination and focus, reflecting their resolve to defeat the dinosaur.',
32 'Some warriors are in mid-action, swinging their swords or shields, while others stand ready to strike.',
33 'The armor they wear is intricately designed, with symbols and patterns that signify their rank and bravery.',
34 'The ground beneath them is uneven and littered with debris, adding to the sense of a chaotic and intense battle.',
35 ],
36 tags='warriors, armor, swords, shields, spears, determined, focused, mid-action, intricate design, symbols, patterns, rank, bravery, uneven ground, debris, chaotic, intense, battle',
37 atmosphere='Determined and focused, ready for the fierce battle.',
38 style='Highly detailed and dynamic, capturing the intensity of the warriors.',
39 quality_meta='High resolution with intricate details and dynamic poses.',
40 HTML_web_color_name='darkgoldenrod',
41)
42
43# Add a mighty dinosaur.
44canvas.add_local_description(
45 location='in the center',
46 offset='no offset',
47 area='a large square area',
48 distance_to_viewer=7.0,
49 description='A mighty dinosaur.',
50 detailed_descriptions=[
51 'The dinosaur is a massive creature, dominating the center of the image with its powerful legs and fierce roar.',
52 'Its scales glisten with a metallic sheen, reflecting the light from the stormy sky.',
53 "The dinosaur's eyes burn with a fierce intensity, and its teeth are sharp and menacing.",
54 'The powerful legs of the dinosaur are muscular and add to its formidable appearance.',
55 'The ground shakes beneath its feet, enhancing the sense of a long and brutal conflict.',
56 'The overall appearance is one of destruction and turmoil, with the dinosaur adding to the chaotic atmosphere.',
57 ],
58 tags='dinosaur, massive, powerful legs, fierce roar, glistening scales, metallic sheen, fierce eyes, sharp teeth, muscular legs, formidable, ground shaking, destruction, turmoil, chaos, battle',
59 atmosphere='Intense and menacing, with a powerful presence.',
60 style='Epic and dramatic, emphasizing the grandeur and danger of the dinosaur.',
61 quality_meta='High resolution with dramatic lighting and detailed textures.',
62 HTML_web_color_name='firebrick',
63)
64
65# Add a stormy sky with flashes of lightning.
66canvas.add_local_description(
67 location='on the top',
68 offset='no offset',
69 area='a large horizontal area',
70 distance_to_viewer=10.0,
71 description='A stormy sky with flashes of lightning.',
72 detailed_descriptions=[
73 'The background of the image is a dark, stormy sky filled with swirling clouds and flashes of lightning.',
74 'The sky is turbulent, with clouds dark and foreboding, adding to the dramatic tension of the battle.',
75 'The lightning flashes illuminate the scene, casting sharp, brief lights over the warriors and the dinosaur.',
76 'The stormy sky creates a sense of chaos and unpredictability, heightening the intensity of the battle below.',
77 'The overall atmosphere is one of impending doom and relentless conflict, with the storm mirroring the fierce struggle between the warriors and the dinosaur.',
78 ],
79 tags='stormy sky, dark clouds, lightning, turbulent, foreboding, dramatic tension, illumination, chaos, unpredictability, intensity, impending doom, relentless conflict, battle, warriors, dinosaur, swirling clouds, sharp lights, brief lights',
80 atmosphere='Chaotic and intense, mirroring the fierce battle below.',
81 style='Dramatic and turbulent, emphasizing the conflict and tension.',
82 quality_meta='High resolution with dynamic lighting and detailed cloud textures.',
83 HTML_web_color_name='midnightblue',
84)
85
86# Add a debris-covered battlefield.
87canvas.add_local_description(
88 location='on the bottom',
89 offset='no offset',
90 area='a large horizontal area',
91 distance_to_viewer=5.0,
92 description='A debris-covered battlefield.',
93 detailed_descriptions=[
94 'The ground of the battlefield is littered with debris, remnants of previous battles.',
95 'Broken weapons, shattered shields, and scattered armor pieces are strewn across the battlefield.',
96 'The terrain is uneven, with patches of mud and dirt, adding to the sense of a long and brutal conflict.',
97 'The debris-covered battlefield enhances the chaotic and intense atmosphere of the scene, reflecting the ferocity and duration of the battle.',
98 'The overall appearance is one of destruction and turmoil, with the remnants of previous battles serving as a grim reminder of the ongoing struggle.',
99 ],
100 tags='battlefield, debris, broken weapons, shattered shields, scattered armor, uneven terrain, mud, dirt, brutal conflict, chaos, intensity, destruction, turmoil, previous battles, ongoing struggle, remnants, ferocity, duration',
101 atmosphere='Chaotic and intense, reflecting the ferocity of the battle.',
102 style='Detailed and realistic, emphasizing the destruction and chaos.',
103 quality_meta='High resolution with detailed textures and realistic debris.',
104 HTML_web_color_name='darkolivegreen',
105)Canvas instances.)1class Canvas:
2 def set_global_description(
3 self,
4 description: str,
5 detailed_descriptions: list[str],
6 tags: str,
7 HTML_web_color_name: str
8 ):
9 pass
10
11 def add_local_description(
12 self,
13 location: str,
14 offset: str,
15 area: str,
16 distance_to_viewer: float,
17 description: str,
18 detailed_descriptions: list[str],
19 tags: str,
20 atmosphere: str,
21 style: str,
22 quality_meta: str,
23 HTML_web_color_name: str
24 ):
25 assert location in [
26 "in the center",
27 "on the left",
28 "on the right",
29 "on the top",
30 "on the bottom",
31 "on the top-left",
32 "on the top-right",
33 "on the bottom-left",
34 "on the bottom-right"
35 ]
36 assert offset in [
37 "no offset",
38 "slightly to the left",
39 "slightly to the right",
40 "slightly to the upper",
41 "slightly to the lower",
42 "slightly to the upper-left",
43 "slightly to the upper-right",
44 "slightly to the lower-left",
45 "slightly to the lower-right"
46 ]
47 assert area in [
48 "a small square area",
49 "a small vertical area",
50 "a small horizontal area",
51 "a medium-sized square area",
52 "a medium-sized vertical area",
53 "a medium-sized horizontal area",
54 "a large square area",
55 "a large vertical area",
56 "a large horizontal area"
57 ]
58 assert distance_to_viewer > 0
59 passadd_local_description having more fields than set_global_description.set_global_description annotate entire image, while add_local_description annotates a part of image.description is a sub-prompt, and the detailed_descriptions is a list of sub-prompts.sub-prompt A: 25 tokens
sub-prompt B: 35 tokens
sub-prompt C: 5 tokens
sub-prompt D: 60 tokens
sub-prompt E: 15 tokens
sub-prompt F: 25 tokensbag 1 {A, B, C} : 65 tokens
bag 2 {D} : 60 tokens
bag 1 {E, F} : 40 tokens1assert location in [
2 "in the center",
3 "on the left",
4 "on the right",
5 "on the top",
6 "on the bottom",
7 "on the top-left",
8 "on the top-right",
9 "on the bottom-left",
10 "on the bottom-right"
11]
12assert offset in [
13 "no offset",
14 "slightly to the left",
15 "slightly to the right",
16 "slightly to the upper",
17 "slightly to the lower",
18 "slightly to the upper-left",
19 "slightly to the upper-right",
20 "slightly to the lower-left",
21 "slightly to the lower-right"
22]
23assert area in [
24 "a small square area",
25 "a small vertical area",
26 "a small horizontal area",
27 "a medium-sized square area",
28 "a medium-sized vertical area",
29 "a medium-sized horizontal area",
30 "a large square area",
31 "a large vertical area",
32 "a large horizontal area"
33]distance_to_viewer can be viewed as relative depth. Note that this value's absolute number is not reliable at all (because opensource LLMs are not very good at producing image-space numbers) and it should only be used in sorting elements into background-to-foreground layers.distance_to_viewer to sort all local elements before rendering them using a diffusion model. The global description can be always viewed as the most far away background layer.HTML_web_color_name is one of these:1possible_HTML_web_color_names = { # r, g, b
2 'aliceblue': (240, 248, 255), 'antiquewhite': (250, 235, 215), 'aqua': (0, 255, 255),
3 'aquamarine': (127, 255, 212), 'azure': (240, 255, 255), 'beige': (245, 245, 220),
4 'bisque': (255, 228, 196), 'black': (0, 0, 0), 'blanchedalmond': (255, 235, 205), 'blue': (0, 0, 255),
5 'blueviolet': (138, 43, 226), 'brown': (165, 42, 42), 'burlywood': (222, 184, 135),
6 'cadetblue': (95, 158, 160), 'chartreuse': (127, 255, 0), 'chocolate': (210, 105, 30),
7 'coral': (255, 127, 80), 'cornflowerblue': (100, 149, 237), 'cornsilk': (255, 248, 220),
8 'crimson': (220, 20, 60), 'cyan': (0, 255, 255), 'darkblue': (0, 0, 139), 'darkcyan': (0, 139, 139),
9 'darkgoldenrod': (184, 134, 11), 'darkgray': (169, 169, 169), 'darkgrey': (169, 169, 169),
10 'darkgreen': (0, 100, 0), 'darkkhaki': (189, 183, 107), 'darkmagenta': (139, 0, 139),
11 'darkolivegreen': (85, 107, 47), 'darkorange': (255, 140, 0), 'darkorchid': (153, 50, 204),
12 'darkred': (139, 0, 0), 'darksalmon': (233, 150, 122), 'darkseagreen': (143, 188, 143),
13 'darkslateblue': (72, 61, 139), 'darkslategray': (47, 79, 79), 'darkslategrey': (47, 79, 79),
14 'darkturquoise': (0, 206, 209), 'darkviolet': (148, 0, 211), 'deeppink': (255, 20, 147),
15 'deepskyblue': (0, 191, 255), 'dimgray': (105, 105, 105), 'dimgrey': (105, 105, 105),
16 'dodgerblue': (30, 144, 255), 'firebrick': (178, 34, 34), 'floralwhite': (255, 250, 240),
17 'forestgreen': (34, 139, 34), 'fuchsia': (255, 0, 255), 'gainsboro': (220, 220, 220),
18 'ghostwhite': (248, 248, 255), 'gold': (255, 215, 0), 'goldenrod': (218, 165, 32),
19 'gray': (128, 128, 128), 'grey': (128, 128, 128), 'green': (0, 128, 0), 'greenyellow': (173, 255, 47),
20 'honeydew': (240, 255, 240), 'hotpink': (255, 105, 180), 'indianred': (205, 92, 92),
21 'indigo': (75, 0, 130), 'ivory': (255, 255, 240), 'khaki': (240, 230, 140), 'lavender': (230, 230, 250),
22 'lavenderblush': (255, 240, 245), 'lawngreen': (124, 252, 0), 'lemonchiffon': (255, 250, 205),
23 'lightblue': (173, 216, 230), 'lightcoral': (240, 128, 128), 'lightcyan': (224, 255, 255),
24 'lightgoldenrodyellow': (250, 250, 210), 'lightgray': (211, 211, 211), 'lightgrey': (211, 211, 211),
25 'lightgreen': (144, 238, 144), 'lightpink': (255, 182, 193), 'lightsalmon': (255, 160, 122),
26 'lightseagreen': (32, 178, 170), 'lightskyblue': (135, 206, 250), 'lightslategray': (119, 136, 153),
27 'lightslategrey': (119, 136, 153), 'lightsteelblue': (176, 196, 222), 'lightyellow': (255, 255, 224),
28 'lime': (0, 255, 0), 'limegreen': (50, 205, 50), 'linen': (250, 240, 230), 'magenta': (255, 0, 255),
29 'maroon': (128, 0, 0), 'mediumaquamarine': (102, 205, 170), 'mediumblue': (0, 0, 205),
30 'mediumorchid': (186, 85, 211), 'mediumpurple': (147, 112, 219), 'mediumseagreen': (60, 179, 113),
31 'mediumslateblue': (123, 104, 238), 'mediumspringgreen': (0, 250, 154),
32 'mediumturquoise': (72, 209, 204), 'mediumvioletred': (199, 21, 133), 'midnightblue': (25, 25, 112),
33 'mintcream': (245, 255, 250), 'mistyrose': (255, 228, 225), 'moccasin': (255, 228, 181),
34 'navajowhite': (255, 222, 173), 'navy': (0, 0, 128), 'navyblue': (0, 0, 128),
35 'oldlace': (253, 245, 230), 'olive': (128, 128, 0), 'olivedrab': (107, 142, 35),
36 'orange': (255, 165, 0), 'orangered': (255, 69, 0), 'orchid': (218, 112, 214),
37 'palegoldenrod': (238, 232, 170), 'palegreen': (152, 251, 152), 'paleturquoise': (175, 238, 238),
38 'palevioletred': (219, 112, 147), 'papayawhip': (255, 239, 213), 'peachpuff': (255, 218, 185),
39 'peru': (205, 133, 63), 'pink': (255, 192, 203), 'plum': (221, 160, 221), 'powderblue': (176, 224, 230),
40 'purple': (128, 0, 128), 'rebeccapurple': (102, 51, 153), 'red': (255, 0, 0),
41 'rosybrown': (188, 143, 143), 'royalblue': (65, 105, 225), 'saddlebrown': (139, 69, 19),
42 'salmon': (250, 128, 114), 'sandybrown': (244, 164, 96), 'seagreen': (46, 139, 87),
43 'seashell': (255, 245, 238), 'sienna': (160, 82, 45), 'silver': (192, 192, 192),
44 'skyblue': (135, 206, 235), 'slateblue': (106, 90, 205), 'slategray': (112, 128, 144),
45 'slategrey': (112, 128, 144), 'snow': (255, 250, 250), 'springgreen': (0, 255, 127),
46 'steelblue': (70, 130, 180), 'tan': (210, 180, 140), 'teal': (0, 128, 128), 'thistle': (216, 191, 216),
47 'tomato': (255, 99, 71), 'turquoise': (64, 224, 208), 'violet': (238, 130, 238),
48 'wheat': (245, 222, 179), 'white': (255, 255, 255), 'whitesmoke': (245, 245, 245),
49 'yellow': (255, 255, 0), 'yellowgreen': (154, 205, 50)
50}distance_to_viewer and HTML_web_color_name, you can draw a very coarse image of the composition. For example, if the LLM works well, "a green bottle in front of a red bottle on a wood table in a dark room" should make it possible for you to compute an image like:tags is designed as a possible replacement for the description since many diffusion models prefer tags. If used with anime models, one may hard code some logics to replace all "girl" to "1girl". If used with Pony then probably always hard code adding "score_9, score_8 ..." to this.atmosphere and style and quality_meta are some experimental parameters without very specific use cases. Current we can just treat them as sub-prompts and involve them in the greedy merge of sub-prompt bags. This in my experiments will improve the atmosphere and quality a bit.y=softmax(q@k)@v, then one can achieve attention decomposition like y=mask_A * softmax(q@k_A)@v_A + mask_B * softmax(q@k_B)@v_B where mask_A, k_A, v_A are masks, k, v for region A; mask_B, k_B, v_B are masks, k, v for region B. This method usually yields image quality a bit better than (1) and some people call it Attention Couple or Region Prompter Attention Mode. But this method has a consideration: the mask only makes regional attention numerically possible, but it does not force the UNet to really attend its activations in those regions. That is to say, the attention is indeed masked, but there is no promise that the attention softmax will really be activated in the masked area, and there is also no promise that the attention softmax will never be activated outside the masked area.y=softmax(modify(q@k))@v where modify() is a complicated non-linear function with many normalizations and tricks to change the score's distributions. This method goes beyond a simple masked attention to really make sure that those layers get wanted activations. A typical example is Dense Diffusion.https://huggingface.co/lllyasviel/ to the below names):omost-llama-3-8b
omost-dolphin-2.9-llama3-8b
omost-phi-3-mini-128komost-llama-3-8b-4bits
omost-dolphin-2.9-llama3-8b-4bits
omost-phi-3-mini-128k-8bitsomost-llama-3-8b is 4bits, and for omost-phi-3-mini-128k (3.8B) is 8 bits. They all fit in 8GB VRAM without offloads. The performance degradation caused by quant is very minimal and I personally never observed any evidences of degradation. However, quant omost-phi-3-mini-128k into 4 bits is not recommended since I noticed some obvious performance degradation. The 4bit inference of omost-phi-3-mini-128k should be viewed as a last method in extreme cases when you really do not have more capable GPUs.omost-llama-3-8b-4bits > omost-dolphin-2.9-llama3-8b-4bits > omost-phi-3-mini-128k-8bits. So in most cases one should just use omost-llama-3-8b-4bits.omost-llama-3-8b and omost-phi-3-mini-128k are trained with filtered safe data without NSFW or inappropriate contents. See (4) if you need a different option.omost-dolphin-2.9-llama3-8b is trained with all data WITHOUT any filtering. You must apply your own safety alignment methods if you expose any service of omost-dolphin-2.9-llama3-8b to public.omost-dolphin-2.9-llama3-8b is pretrained with community efforts and do not have this problem.omost-phi-3-mini-128k cannot be trusted. The performance of it will degrade a lot after the tokens reach about 8k. One should just view it as a model with about 8k content length.@Misc{omost,
author = {Omost Team},
title = {Omost GitHub Page},
year = {2024},
}