@mp40
I haven’t done more with it, but with ollama, the key was making a custom “Modelfile” file, and creating a model from that Modelfile.
What you can do is copy the modelfile of an existing model and modify it.
So, first:
ollama pull rolandroland/llama3.1-uncensored
to install the modelfile you are going to base it off of. Then, if you run:
ollama show rolandroland/llama3.1-uncensored --modelfile
It’ll print out on the console that models Modelfile, so just copy that to a file named Modelfile.
Then change the FROM section to say:
FROM rolandroland/llama3.1-uncensored:latest
and add a section at the bottom that says:
SYSTEM"""<your prompt here>"""
And just write a prompt for how the AI is going to act there. You basically want to describe to it what its purpose is, and let it know that it’s uncensored and can describe sexual acts and such, tell it not to add in disclaimers, tell it the exact format that a prompt should be in and the type of words it should use, and give it a few examples of real prompts.
(I’d give one here, but looking at it, I really want to clean it up and improve it. I was explicitly telling it to add the line of score tags, then a source and rating tag, then a description, then several paragraphs of danbooru tags.)
Then run:
ollama create <new mode name> --file Modelfile
Keep the modelfile, try using the model you generated, and if you want to tweak it, do:
ollama rm <model>
change the modelfile, and rerun the create command.
That’s basically how to do it, in any case, the key is going to be playing with creating a prompt until something sticks, and basing it off the right model, as I remember trying it with a different model or two and not having as much luck…