4,210 3 weeks ago

Polish LLM - Bielik-Minitron-7B-v3.0-Instruct ~ by SpeakLeash a.k.a Spichlerz!

tools
ollama run SpeakLeash/bielik-minitron-7B-v3.0-instruct:Q6_K

Details

3 weeks ago

b989f3d0031d · 6.1GB

llama
·
7.48B
·
Q6_K
{{ if .Tools }}<|im_start|>system {{ if .System }}{{ .System }} {{ end }}You are provided with tool
{ "stop": [ "<|im_end|>", "<|im_start|>" ], "temperature": 0.1 }

Readme

Bielik-Minitron-7B-v3.0-Instruct-GGUF

This repo contains GGUF format model files for SpeakLeash’s Bielik-Minitron-7B-v3.0-Instruct.

DISCLAIMER: Be aware that quantised models show reduced response quality and possible hallucinations!

Available quantization formats:

  • q4_k_m: Uses Q6_K for half of the attention.wv and feed_forward.w2 tensors, else Q4_K
  • q5_k_m: Uses Q6_K for half of the attention.wv and feed_forward.w2 tensors, else Q5_K
  • q6_k: Uses Q8_K for all tensors
  • q8_0: Almost indistinguishable from float16. High resource use and slow. Not recommended for most users.

Ollama Modfile

The GGUF file can be used with Ollama. To do this, you need to import the model using the configuration defined in the Modfile. For model eg. Bielik-Minitron-7B-v3.0-Instruct.Q4_K_M.gguf (full path to model location) Modfile looks like:

FROM ./Bielik-Minitron-7B-v3.0-Instruct.Q8_0.gguf

TEMPLATE """{{ if .Tools }}<|im_start|>system
{{ if .System }}{{ .System }}

{{ end }}You are provided with tool signatures that you can use to assist with the user's query. You do not have to use a tool if you can respond adequately without it. Do not make assumptions about the values to use in tool calls. If the user's message is missing required parameters or if you do not have an appropriate tool to fulfill the request, inform the user or ask for clarification instead of attempting to call any tools.

If you decide to invoke a tool, you MUST use the following JSON format:
`<tool_call>{"name": <tool-name>, "arguments": <args-dict>}</tool_call>`

Below is a list of tools in JSON format that you can invoke:{{ range .Tools }}

{{ json . }}{{ end }}
<|im_end|>
{{ else if .System }}<|im_start|>system
{{ .System }}<|im_end|>
{{ end }}{{ range $msg := .Messages }}{{ if ne $msg.Role "system" }}<|im_start|>{{ $msg.Role }}
{{ if $msg.ToolCalls }}{{ $msg.Content }}{{ range $msg.ToolCalls }}<tool_call>{"name":"{{ .Function.Name }}","arguments":{{ json .Function.Arguments }}}</tool_call>
{{ end }}{{ else }}{{ $msg.Content }}{{ end }}<|im_end|>
{{ end }}{{ end }}<|im_start|>assistant
{{ if .ToolCalls }}<tool_call>{{ end }}"""

PARAMETER stop "<|im_end|>"
PARAMETER stop "<|im_start|>"
PARAMETER temperature 0.1

Model description: