ljleb / sd-webui-neutral-prompt

Collision-free AND keywords for a1111 webui!
MIT License
187 stars 13 forks source link

add sega topk filtering #26

Closed ljleb closed 1 year ago

ljleb commented 1 year ago

https://arxiv.org/abs/2301.12247

ljleb commented 1 year ago

Why the magic number for K?

Need syntax to optionally specify k. I may add it later, in the paper they said 5% worked well and experimentally it doesn't look much different from 10% or even 15%.