HNHacker News
TopNewBestAskShowJobs

sahil_chaudhary

242 karma · joined February 12, 2022

building stuff
submissionscomments
sahil_chaudhary··on CodeAlpaca – Instruction following code generation model
Dropping the batch size
sahil_chaudhary··on CodeAlpaca – Instruction following code generation model
Yeah the license issue is the only reason why I didn't release the weights yet.
sahil_chaudhary··on CodeAlpaca – Instruction following code generation model
I'm training a 65B model right now, also I believe you can use lora-alpaca to train on this data on a much smaller machine.
sahil_chaudhary··on CodeAlpaca – Instruction following code generation model
Given how many people are asking for the weights, I'm working to make them available now. So you'll be able to run them locally as well.
sahil_chaudhary··on CodeAlpaca – Instruction following code generation model
Yeah the weights did change.
sahil_chaudhary··on CodeAlpaca – Instruction following code generation model
All included it costs under 70$ for the 13B model. Training 65B now so will report what that will cost.
sahil_chaudhary··on CodeAlpaca – Instruction following code generation model
Interesting, in my experiments alpaca-lora performed worse but definitely possible that isn't the case generally.
sahil_chaudhary··on Img2Prompt – Get prompts from stable diffusion generated images
That was an issue on my end, should be fine now
sahil_chaudhary··on Img2Prompt – Get prompts from stable diffusion generated images
You can find my email on my HN profile
sahil_chaudhary··on Img2Prompt – Get prompts from stable diffusion generated images
Ah yes, this model treats this purely as image captioning. The model isn't open source yet.
sahil_chaudhary··on Img2Prompt – Get prompts from stable diffusion generated images
Nice, does this use clip-interrogator?
sahil_chaudhary··on Img2Prompt – Get prompts from stable diffusion generated images
Glad you enjoy it! It hasn't been trained on non-generated images so is unpredictable when uploading a real photo, specially one with people in it
sahil_chaudhary··on Img2Prompt – Get prompts from stable diffusion generated images
The model was trained exclusively on stable diffusion generated images, so can be unpredictable with non-generated images, specially images with people in it
sahil_chaudhary··on Img2Prompt – Get prompts from stable diffusion generated images
The dataset used to train this model didn’t have any img2img data so that would explain it
sahil_chaudhary··on Img2Prompt – Get prompts from stable diffusion generated images
Agreed, results not good for this style of images. I have a model training on a much bigger dataset of image-prompt pairs which should perform better on this.
sahil_chaudhary··on Img2Prompt – Get prompts from stable diffusion generated images
The model underneath this is trained only on data from SD 1.4/5 so this would be expected. I have another model training which covers all models you mentioned which should perform well on those
sahil_chaudhary··on Img2Prompt – Get prompts from stable diffusion generated images
Interesting, it hasn’t been tested extensively for non-generated images.
sahil_chaudhary··on Img2Prompt – Get prompts from stable diffusion generated images
Not yet, looking into creating a write up on how it works and possibly open-sourcing
sahil_chaudhary··on Img2Prompt – Get prompts from stable diffusion generated images
Shoutout to https://banana.dev , couldn't have made this demo without their hosting
sahil_chaudhary··on Img2Prompt – Get prompts from stable diffusion generated images
It is actually based on a different approach, it uses an image-captioning model finetuned on image-prompt pairs
sahil_chaudhary··on Img2Prompt – Get prompts from stable diffusion generated images
Glad you like it
sahil_chaudhary··on Img2Prompt – Get prompts from stable diffusion generated images
Nice, that's the aim, not to get the actual prompt back but get a prompt which can generate same style of images
sahil_chaudhary··on Img2Prompt – Get prompts from stable diffusion generated images
Glad you enjoy it
sahil_chaudhary··on Img2Prompt – Get prompts from stable diffusion generated images
True, images generated through some UIs have prompts in meta data, aim here is to work on images people find online with no metadata. So it doesn't try to read the metadata but actually predict a similar prompt
sahil_chaudhary··on Img2Prompt – Get prompts from stable diffusion generated images
It is based on an image-captioning model, so a different approach then CLIP interrogator, though you are correct that aim is not to get the exact prompt back but actually get a prompt to generate similar styles of images
sahil_chaudhary··on Img2Prompt – Get prompts from stable diffusion generated images
It works by using an image-captioning model finetuned on SD prompts, so it may be outputting common known artists based on their occurrence in the training data
sahil_chaudhary··on Img2Prompt – Get prompts from stable diffusion generated images
It actually works on top of an image captioning model, SD takes in keywords as well like "artstation" and "octane render" which are not covered in standard captioning so that is why the difference between using an off-the-shelf captioning model vs this
sahil_chaudhary··on Show HN: Img2Prompt – Tool to generate prompts for Stable Diffusion images
tested with png and jpg, doesn't work with webp yet
sahil_chaudhary··on Show HN: Img2Prompt – Tool to generate prompts for Stable Diffusion images
Hey HN! Img2Prompt lets you generate prompts from stable diffusion generated images, to help you prompt engineer specific styles and images.

Would love to hear your thoughts and happy to answer questions.

sahil_chaudhary··on Show HN: Img2Prompt, Get prompts from Stable Diffusion generated images
Hey all! Quick colab to try out Img2Prompt, get accurate prompts from stable diffusion generated images. Works with stable diffusion v1.4/5 images for now
Page 1 of 2Next →