embedding-to-png-script icon indicating copy to clipboard operation
embedding-to-png-script copied to clipboard

[request]change prompt of png embedding or Extract original pt from png

Open byzod opened this issue 2 years ago • 2 comments

The original prompt of a shared embedding in png format is too long, I want to change it to something shorter

But it seems I can't just "repack" it by using the png as input for your script

Is there anyway to change the prompt of a png embedding? Change filename is not working

byzod avatar Oct 25 '22 12:10 byzod

No, currently it uses the ['name'] field in the embedded data to choose the prompt, the method you mention of 'repacking' it is the envisaged process.

dfaker avatar Oct 27 '22 16:10 dfaker

Since the png embeddings can be further trained, one way to extract the .pt is to train it for a single step at a tiny learning rate.

dfaker avatar Oct 27 '22 16:10 dfaker