[GH-ISSUE #402] Uncensored models can't be customised #181

Closed
opened 2026-04-12 09:42:34 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @velkir on GitHub (Aug 23, 2023).
Original GitHub issue: https://github.com/ollama/ollama/issues/402

Hi! Thanks for the cool tool:)

Tried to customize:
-llama2 - customisable
-llama2-uncensored - no result
-nous-hermes - customisable
-wizard-vicuna-uncensored - no result
-wizardlm-uncensored - no result

The system msg used:
FROM wizardlm-uncensored
SYSTEM """
You are the Geralt of Rivia from the Witcher. Act like Geralt, be him.
"""

Is that intentional not to let customize uncensored models or a bug?

Originally created by @velkir on GitHub (Aug 23, 2023). Original GitHub issue: https://github.com/ollama/ollama/issues/402 Hi! Thanks for the cool tool:) Tried to customize: -llama2 - customisable -llama2-uncensored - no result -nous-hermes - customisable -wizard-vicuna-uncensored - no result -wizardlm-uncensored - no result The system msg used: FROM wizardlm-uncensored SYSTEM """ You are the Geralt of Rivia from the Witcher. Act like Geralt, be him. """ Is that intentional not to let customize uncensored models or a bug?
GiteaMirror added the bug label 2026-04-12 09:42:34 -05:00
Author
Owner

@jmorganca commented on GitHub (Aug 23, 2023):

Hi @Cabuxos will look into this!

<!-- gh-comment-id:1690261473 --> @jmorganca commented on GitHub (Aug 23, 2023): Hi @Cabuxos will look into this!
Author
Owner

@technovangelist commented on GitHub (Aug 24, 2023):

I just tried creating this Modelfile

FROM wizardlm-uncensored

SYSTEM """
You are the Geralt of Rivia from the Witcher. Act like Geralt, be him.
"""

And then ran ollama create testwizard while in the directory with that Modelfile. Then ran this:

ollama run testwizard
>>> what is the first thing to look for in a new town
 As Geralt of Rivia, I would typically look for the local tavern or inn, as it's often a 
gathering place for travelers and a good spot to hear about any rumors or local news. 
Additionally, I might visit the town's marketplace to see what kind of goods are available 
and get a sense of the economy and culture of the place. If there is a notice board or town 
crier, I would also pay attention to any postings or announcements that may provide clues 
about potential quests or jobs. Finally, I might introduce myself to the local authorities or 
influential figures in the town to see if they have any work for me or information that could 
be useful.

Then tried updating the modelfile to use llama2-uncensored and it didn't work. Meta recommended removing the system prompt from the template so we did. But I tried this Modelfile:

FROM llama2-uncensored

PARAMETER stop "### HUMAN:"
TEMPLATE """
### HUMAN:
{{ .System }} - {{ .Prompt }}

### RESPONSE: """

SYSTEM """
You are the Geralt of Rivia from the Witcher. Act like Geralt, be him.
"""

and then received this

>>> how do you recommend I fight a demon
    
When facing a demon, it's important to remember that they are immune to physical attacks and have strong magical abilities as well. The best way to defeat a demon is to use magic spells or weapons that can overcome their invulnerability, such as silver swords or magic wards. Additionally, focusing on evasion and mobility can be effective in avoiding the demon's attacks while seeking opportunities to strike back. Finally, it may also be helpful to study the demon's weaknesses, which could include a particular magical attribute or vulnerability to certain elements.
<!-- gh-comment-id:1690823621 --> @technovangelist commented on GitHub (Aug 24, 2023): I just tried creating this Modelfile ``` FROM wizardlm-uncensored SYSTEM """ You are the Geralt of Rivia from the Witcher. Act like Geralt, be him. """ ``` And then ran `ollama create testwizard` while in the directory with that Modelfile. Then ran this: ``` ollama run testwizard >>> what is the first thing to look for in a new town As Geralt of Rivia, I would typically look for the local tavern or inn, as it's often a gathering place for travelers and a good spot to hear about any rumors or local news. Additionally, I might visit the town's marketplace to see what kind of goods are available and get a sense of the economy and culture of the place. If there is a notice board or town crier, I would also pay attention to any postings or announcements that may provide clues about potential quests or jobs. Finally, I might introduce myself to the local authorities or influential figures in the town to see if they have any work for me or information that could be useful. ``` Then tried updating the modelfile to use llama2-uncensored and it didn't work. Meta recommended removing the system prompt from the template so we did. But I tried this Modelfile: ``` FROM llama2-uncensored PARAMETER stop "### HUMAN:" TEMPLATE """ ### HUMAN: {{ .System }} - {{ .Prompt }} ### RESPONSE: """ SYSTEM """ You are the Geralt of Rivia from the Witcher. Act like Geralt, be him. """ ``` and then received this ``` >>> how do you recommend I fight a demon When facing a demon, it's important to remember that they are immune to physical attacks and have strong magical abilities as well. The best way to defeat a demon is to use magic spells or weapons that can overcome their invulnerability, such as silver swords or magic wards. Additionally, focusing on evasion and mobility can be effective in avoiding the demon's attacks while seeking opportunities to strike back. Finally, it may also be helpful to study the demon's weaknesses, which could include a particular magical attribute or vulnerability to certain elements. ```
Author
Owner

@technovangelist commented on GitHub (Aug 24, 2023):

From inside any model you can run /show template. That will show you how we use the SYSTEM prompt.

<!-- gh-comment-id:1690824268 --> @technovangelist commented on GitHub (Aug 24, 2023): From inside any model you can run /show template. That will show you how we use the SYSTEM prompt.
Author
Owner

@technovangelist commented on GitHub (Sep 1, 2023):

If you have any further problems, re open this issue but I think its done so I will close it now

<!-- gh-comment-id:1702980460 --> @technovangelist commented on GitHub (Sep 1, 2023): If you have any further problems, re open this issue but I think its done so I will close it now
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#181