r/StableDiffusion
•
u/Altruistic-Tea-5612
•
3d ago
•
1
Discussion I built a SOTA 330M parameter image generation and editing model from scratch
I pretrained HobbyLM-Image on this year june month and released it but it was not good , it was not able to generate quality with proper structure such as broken car etc so I over this thanks giving weekend I decided to build the better version so post trained from existing weights and used training mixture from dataset such as COCO , flux 8M reason , JourneyDB , gpt4o images dataset , LAION for more than 100k steps it was able to improve object structure but human images it generated was distorted so then I took pexels datasets filtered to get images which has only humans and trained for 50k steps this improved but not at the level of larger models
for image editing I took training mix dataset of gpt-omni-edit-6M and ImagenHub/Text_Guided_Image_Editing model was able to change seasons , colour , add objects to scenes etc
for text rendering in generated images I filtered rendered text images alone using Qwen VL model and trained for 40k steps
Benchmarks (I know it does not matter) : Gen Eval 1 it score 0.83 which beats all sub 1B model I was able to find in arxiv , huggingface and Gen Evals 2 it scores 15.92 / 61.06 it again beats all sub 1B models and Stable diffusion SDXL 2.6B
model weight for hobbyLM-image-2 https://huggingface.co/rootxhacker/HobbyLM-image-2
hugginface Space for hobbyLM-image-2 : https://huggingface.co/spaces/rootxhacker/HobbyLM-Image-2
initial weights I released on June : https://huggingface.co/rootxhacker/HobbyLM-Image
HobbyLM image training code and inference code : https://github.com/harishsg993010/HobbyLM
you can also find all images it generated on readme of hugginface repo
9
u/AeroInsightMedia 3d ago
Is this really less than 3GB? Really cool
6
u/Aaron_rowe81 3d ago
what resolution are these examples at? with a 330M model, that'd help put the image quality in context
36
u/cderm 3d ago
I appreciate you sharing this, even if the quality isn’t top notch, nice work. Keep going
50
u/Ok_Roll_8698 3d ago
will smith eating spaghetti
79
u/And-Bee 3d ago •
25
u/RalFingerLP 3d ago
I am tired boss. But beside the pun, keep up the good work!
19
u/Uncle___Marty 3d ago
Some of those example images are pretty damn impressive for the model size. Appreciate you sharing and keep up the great work!
19
u/SOCSChamp 3d ago
To everyone jumping on the SOTA claim:
This does appear to be likely SOTA at first glance. Its 330m parameters, we would compare it with anything relatively close to that size.
SOTA doesn't necessarily mean frontier. If its better than any sub 1b model, its SOTA.
4
u/Busy_Connection_8027 3d ago
Nightmare fuel
https://i.postimg.cc/4yQZWHkD/image.jpg
4
u/Fast-Satisfaction482 3d ago
Impressive! Open source efficiency gains really excite me.
2
u/rustydustyshckleford 3d ago
red pamda!
2
u/ExorayTracer 3d ago
I came here for comments and didnt left dissapointed
2
u/Fickle-Indication148 3d ago
Some people dont understand what SOTA means and that SOTA is a relative word not absolute... like it doesnt mean GOAT or SOTA frontier... He clearly said SOTA and followed by model size. Means SOTA of that size, compare it to models in 330 and less.
1
u/Cukidzsi 3d ago
That's neat and all but can we stop overusing SOTA
1
u/lxe 3d ago
Retro!
1
u/Dry-Resist-4426 3d ago
Too true to be good. These must be cherry picked outputs. Get rekt.
P.S. happy to see, keep going champ.
1
u/venusredditads 2d ago
its somehow good and bad, in some examples: good, others? ...alright?
for 300m parameters, honestly? this is really good
-1
u/Green-Ad-3964 3d ago
what I've been saying for at least 3.5 years, now, is that OpenAI and Antrhopic didn't do anything "incredible". They just had a lot of computational power (thanks to Jansen and investors) and they were able to "steal" from the internet a lot of data. Add this to the 2017 paper "attention is all you need" and you have LLMs. Same for image generators.
Nothing more than that.
-1
u/Upper-Reflection7997 3d ago
Why are you calling this "state of the art" Op?
0
u/[deleted] 3d ago
[deleted] — view deleted comment