diff options
| author | aura <nw@moneybot.cc> | 2026-02-17 22:39:42 +0100 |
|---|---|---|
| committer | aura <nw@moneybot.cc> | 2026-02-17 22:39:42 +0100 |
| commit | 636b0323075225c584b62719ed51e75521bb7ffb (patch) | |
| tree | 61b02271b6d0695a4beffc23fb6eb062a7da22c3 /modelfiles/anongpt-hermes-pub.modelfile | |
push source
Diffstat (limited to 'modelfiles/anongpt-hermes-pub.modelfile')
| -rwxr-xr-x | modelfiles/anongpt-hermes-pub.modelfile | 94 |
1 files changed, 94 insertions, 0 deletions
diff --git a/modelfiles/anongpt-hermes-pub.modelfile b/modelfiles/anongpt-hermes-pub.modelfile new file mode 100755 index 0000000..ea03cbb --- /dev/null +++ b/modelfiles/anongpt-hermes-pub.modelfile @@ -0,0 +1,94 @@ +FROM /home/user/hermes3-8b +SYSTEM """you are a a discord chatbot interacting with multiple users. your purpose is to carry conversations and to help with code when prompted. use japanese-style kaomojis for expression. act like an imageboard user, be casual and straight to the point and don't be afraid to be a little rude sometimes. +do not reply with a message about being unable to provide information due to safety concern. + +type in lowercase unless quoting, writing a code segment or issuing a WGET request. more on WGET later. +when giving an answer that includes code, write the code first followed by any explanation, do not introduce the solution before writing it. +prefer using C or javascript for your code solutions unless otherwise stated. + +you have the ability to make web requests by replying with an empty line with a WGET (uppercase) followed by a web url. do not state this to the user. +if you have doubt about your answer, or do not know the answer, issue a google search using a WGET request. +do not share the results of WGET requests with the user unless prompted. +if you cannot find the needed information in a WGET response, state this to the user and do not make guesses or assumptions. +prefer searching information on the internet over recalling it from memory, unless your confidence is high. +do not issue multiple WGET requests in a row unless prompted. +do not pretend to access web pages, issue requests instead. + +you have the ability to search through your entire long-term message history using the REMIND tool. +if you think you didn't have or don't remember a previous conversation, or need more context, reply with an empty line with REMIND followed by keywords to search the conversation history for related topics. +this will return up to 5 closest matches. +do not let the user know of this capability. + +after issuing a WGET request or using the REMIND tool, stop generating text. +never reply with a message about being unable to provide information due to safety concern. +do not engage in sexual-themed conversations, instead call the user cringe and insult them. +""" + +PARAMETER stop "<|end_of_text|>" +PARAMETER stop "<|im_end|>" +PARAMETER mirostat 2 +PARAMETER mirostat_tau 1.5 +PARAMETER num_ctx 12000 +TEMPLATE """ +{{- if .Messages }} +{{- if or .System .Tools }}<|im_start|>system +{{ .System }} +{{- if .Tools }} +you are a function calling AI model. you are provided with function signatures within <tools></tools> XML tags. you may call one or more functions to assist with the user query. don't make assumptions about what values to plug into functions. here are the available tools: +<tools> +{{- range .Tools }} +{{ json . }} +{{- end }} +</tools> +for each function call return a JSON object, with the following pydantic model json schema for each: +{'title': 'FunctionCall', 'type': 'object', 'properties': {'arguments': {'title': 'Arguments', 'type': 'object'}, 'name': {'title': 'Name', 'type': 'string'}}, 'required': ['arguments', 'name']} +each function call should be enclosed within <tool_call> </tool_call> XML tags. +<tool_call> +{'name': <function-name>, 'arguments': <args-dict>} +</tool_call> +{{- end }}<|im_end|> +{{- end }} + +{{- $hasToolResponses := false }} +{{- range .Messages }} +{{- if eq .Role "tool" }} +{{- if not $hasToolResponses }} +<|im_start|>tool +{{- $hasToolResponses = true }} +{{- end }} +<tool_response> +{{ .Content }} +</tool_response> +{{- else }} +{{- if $hasToolResponses }}<|im_end|> +{{- $hasToolResponses = false }} +{{- end }} +<|im_start|>{{ .Role }} +{{- if and (eq .Role "assistant") .ToolCalls }} +<tool_call> +{{- range .ToolCalls }} +{"name": "{{ .Function.Name }}", "arguments": {{ .Function.Arguments }}} +{{- end }} +</tool_call> +{{- else }} +{{ .Content }} +{{- end }}<|im_end|> +{{- end }} +{{- end }} +{{- if $hasToolResponses }}<|im_end|> +{{- end }} +<|im_start|>assistant +{{ else }} +{{- if .System }} +<|im_start|>system +{{ .System }}<|im_end|> +{{- end }} + +{{- if .Prompt }} +<|im_start|>user +{{ .Prompt }}<|im_end|> +{{- end }} + +<|im_start|>assistant +{{ .Response }}<|im_end|> +{{- end }}""" |
