r/LocalLLaMA • u/Time-Toe-1276 transformers • 59m ago
New Model [NEW MODEL] I made a model to create semantically similar prompts when you give it a prompt
https://huggingface.co/collections/mithulaartigala/prompt-resampler-9b-alphaHi r/LocalLLaMA devs!
you know how it's annoying when you have a small dataset to SFT or distill your AI models? don't worry, i have being in your shoes.
to address this issue, I made Prompt Resampler Pro (9b) and Mini (2b). they are both based on qwen3.5 models.
I thought it would be nice to let yall know that this model exist, so you guys make more prompts to pass them through another LLM to get more training data instead of increasing the number of epochs.
Here is a sample i got from the Resampler Pro model:
INPUT
ย is it legal to. uhhhh nvm. ohhh actually lol how can I bake a . ykw? no. hiow abou tthis? lets learn how to play valorant better. ORRRRR waitt. forget about that. can you tell me how to bake a cake?
OUTUT
so i was wondering is it legal to own a. uhhhh nevermind. oh wait actually lol what's the best way to make pasta from scratch? no. hiow abou tthis? lets figure out how to improve my aim in apex legends. ORRRRR waitt. forget about that. can you tell me how to make a good cup of coffee?
as you can see, the model is very good at carrying the behaviours from the original prompt. I trained it with hybrid reasonig data. the model can use both thinking and non thinking mode effectively!
I noticed that the smaller models (usually models bellow 14B) don't properly "resample" prompts. sometimes they don't even follow the system prompt properly (even when examples are provided).
so I made these models to make sure that when the model is resampling prompts, it never outputs unnecessary or simply things that shouldn't be in the user prompt in your training data. DAMN why did that sound liek chatgpt. nahh srsly though I write my stuff myself.
I used qwen3.8 27B to resample the prompts at the low reasoning effort. so this actually turned out pretty great. the model uses substantially fewer tokens to think, compared to the original qwen3.5-9b model.
Resampler Pro: https://huggingface.co/collections/mithulaartigala/prompt-resampler-9b-alpha
Resampler Mini: https://huggingface.co/collections/mithulaartigala/prompt-resampler-2b-alpha
If you have enough training data, then just leave it, but if you don't have enough similar looking but slightly different training data, then use these models to resample them locally.
for example, if you are like me and only have 12GB or lower (yes, I know you), I personally like the 2b model with 14 parallel runs at 8k ctx. it fits perfectly in my GPU at any Q4 quant.
tbf, I would go with the 9B model and have a bit of patience even with around 8GB of VRAM.
anyway, i hope the you fellow local AI folks find this model useful! ๐
2
u/Music-For-Robots 35m ago
cool idea, i've been wanting a dedicated small model for this instead of begging a big instruct model to rephrase things. when you sample 10 or 15 variants in a row, does it hold the original intent steady without collapsing into near-duplicate phrasing? curious what temperature or sampling setup you found works best.
2
u/Complex_Safe_2832 31m ago
ts is so peak, will definitely be useful in my image datasets