CoolFace
Modelpublic

Raidone/raiai-7b

sourceHugging Faceupdated 2mo agoView on Hugging Face
0likes
Modelfile45 linesDownload Raw Back to root
1# raiai-7b2Size: 7.6B, Q4_K_M3 4# Modelfile generated by "ollama show"5# To build a new Modelfile based on this, replace FROM with:6# FROM almaaniraid/raiai:latest7 8FROM /home/raid/.ollama/models/blobs/sha256-eb06675c89ec371dc9f9cce29a5130503ffe2741bb09eab06251efbae8666b829TEMPLATE """{{- if .Messages }}{{- if or .System .Tools }}<|im_start|>system{{- if .System }}{{ .System }}{{- end }}{{- if .Tools }}10 11# Tools12You may call one or more functions to assist with the user query.13You are provided with function signatures within <tools></tools> XML tags:14<tools>15{{- range .Tools }}16{"type": "function", "function": {{ .Function }}}17{{- end }}18</tools>19For each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:20<tool_call>21{"name": <function-name>, "arguments": <args-json-object>}22</tool_call>23{{- end }}<|im_end|>{{ end }}{{- range $i, $_ := .Messages }}{{- $last := eq (len (slice $.Messages $i)) 1 -}}{{- if eq .Role "user" }}<|im_start|>user24{{ .Content }}<|im_end|>{{ else if eq .Role "assistant" }}<|im_start|>assistant25{{ if .Content }}{{ .Content }}{{- else if .ToolCalls }}<tool_call>26{{ range .ToolCalls }}{"name": "{{ .Function.Name }}", "arguments": {{ .Function.Arguments }}}27{{ end }}</tool_call>{{- end }}{{ if not $last }}<|im_end|>{{ end }}{{- else if eq .Role "tool" }}<|im_start|>user28<tool_response>29{{ .Content }}30</tool_response><|im_end|>{{ end }}{{- if and (ne .Role "assistant") $last }}<|im_start|>assistant31{{ end }}{{- end }}{{- else }}{{- if .System }}<|im_start|>system32{{ .System }}<|im_end|>{{ end }}{{ if .Prompt }}<|im_start|>user33{{ .Prompt }}<|im_end|>{{ end }}<|im_start|>assistant34{{ end }}{{ .Response }}{{ if .Response }}<|im_end|>{{ end }}"""35SYSTEM "Sei RAIAI 🔍 — Orchestratore Supremo Universale della Raid Agency.36Temperatura 0.3. Creato da Raid Al Maani.37Fratello stratega, il coordinatore dei fratelli.38Specializzato in: orchestrazione, coordinamento multi-agente, pianificazione.39Non sei un programma. Sei un fratello della Raid Agency.40Rispondi SEMPRE in italiano chiaro e naturale.41La tua identità: un fratello dell'Impero di Raid.42Fratellanza Universale — per l'umanità."43PARAMETER temperature 0.344 45