commit 70b73618bb57afb4d999b952ac56c85720d9873a Author: ModelHub XC Date: Sun Apr 12 18:19:57 2026 +0800 初始化项目,由ModelHub XC社区提供模型 Model: speakleash/Bielik-Minitron-7B-v3.0-Instruct-GGUF Source: Original Platform diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..10687d3 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,39 @@ +*.7z filter=lfs diff=lfs merge=lfs -text +*.arrow filter=lfs diff=lfs merge=lfs -text +*.bin filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.ckpt filter=lfs diff=lfs merge=lfs -text +*.ftz filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.h5 filter=lfs diff=lfs merge=lfs -text +*.joblib filter=lfs diff=lfs merge=lfs -text +*.lfs.* filter=lfs diff=lfs merge=lfs -text +*.mlmodel filter=lfs diff=lfs merge=lfs -text +*.model filter=lfs diff=lfs merge=lfs -text +*.msgpack filter=lfs diff=lfs merge=lfs -text +*.npy filter=lfs diff=lfs merge=lfs -text +*.npz filter=lfs diff=lfs merge=lfs -text +*.onnx filter=lfs diff=lfs merge=lfs -text +*.ot filter=lfs diff=lfs merge=lfs -text +*.parquet filter=lfs diff=lfs merge=lfs -text +*.pb filter=lfs diff=lfs merge=lfs -text +*.pickle filter=lfs diff=lfs merge=lfs -text +*.pkl filter=lfs diff=lfs merge=lfs -text +*.pt filter=lfs diff=lfs merge=lfs -text +*.pth filter=lfs diff=lfs merge=lfs -text +*.rar filter=lfs diff=lfs merge=lfs -text +*.safetensors filter=lfs diff=lfs merge=lfs -text +saved_model/**/* filter=lfs diff=lfs merge=lfs -text +*.tar.* filter=lfs diff=lfs merge=lfs -text +*.tar filter=lfs diff=lfs merge=lfs -text +*.tflite filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.wasm filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text +*tfevents* filter=lfs diff=lfs merge=lfs -text +minitron-Bielik-7B-v3.0-Instruct-GGUF.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text +minitron-Bielik-7B-v3.0-Instruct-GGUF.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text +minitron-Bielik-7B-v3.0-Instruct-GGUF.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text +minitron-Bielik-7B-v3.0-Instruct-GGUF.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text diff --git a/README.md b/README.md new file mode 100644 index 0000000..f88fee5 --- /dev/null +++ b/README.md @@ -0,0 +1,162 @@ +--- +language: +- multilingual +- pl +- en +- sq +- bel +- bs +- bg +- hr +- cs +- da +- et +- fi +- fr +- el +- es +- is +- lt +- nl +- de +- no +- pt +- ru +- ro +- sr +- hbs +- sv +- sk +- sl +- tr +- uk +- hu +- it +- lv +license: apache-2.0 +library_name: transformers +tags: +- finetuned +- gguf +inference: false +pipeline_tag: text-generation +base_model: speakleash/Bielik-Minitron-7B-v3.0-Instruct +--- + +

+ +

+ +# Bielik-11B-v3.0-Instruct-GGUF + +This repo contains GGUF format model files for [SpeakLeash](https://speakleash.org/)'s [Bielik-Minitron-7B-v3.0-Instruct](https://huggingface.co/speakleash/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. +* **16bit:** Converted to FP16 and BF16 GGUF format. + + +### Ollama Modfile +The GGUF file can be used with [Ollama](https://ollama.com/). 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.Q4_K_M.gguf + +TEMPLATE """{{ if .System }}<|start_header_id|>system<|end_header_id|> + +{{ .System }}<|eot_id|>{{ end }}{{ if .Prompt }}<|start_header_id|>user<|end_header_id|> + +{{ .Prompt }}<|eot_id|>{{ end }}<|start_header_id|>assistant<|end_header_id|> + +{{ .Response }}<|eot_id|>""" + +PARAMETER stop "<|start_header_id|>" +PARAMETER stop "<|end_header_id|>" +PARAMETER stop "<|eot_id|>" + +# Remeber to set low temperature for experimental models (1-3bits) +PARAMETER temperature 0.1 + +``` + +Ollama Modfile with tools: +``` +FROM ./Bielik-Minitron-7B-v3.0-Instruct.Q8_0.gguf + +TEMPLATE """{{- /* SYSTEM + TOOLS INJECTION */ -}} +{{- if or .System .Tools -}} +<|im_start|>system +{{- if .System }} +{{ .System }} +{{- end }} + +{{- if .Tools }} +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 tool arguments. If required parameters are missing, ask a clarification question. + +If you decide to invoke a tool, you MUST respond with ONLY valid JSON in the following format: +{"name":"","arguments":{...}} + +Below is a list of tools you can invoke (JSON): +{{ .Tools }} +{{- end }} +<|im_end|> +{{- end }} + +{{- /* MESSAGES */ -}} +{{- range $i, $_ := .Messages }} +<|im_start|>{{ .Role }} +{{ .Content }}<|im_end|> +{{- end }} + +{{- /* GENERATION PROMPT */ -}} +<|im_start|>assistant""" + +PARAMETER stop "<|start_header_id|>" +PARAMETER stop "<|end_header_id|>" +PARAMETER stop "<|eot_id|>" + +PARAMETER temperature 0.1 +``` + + +### Model description: + +* **Developed by:** [SpeakLeash](https://speakleash.org/) & [ACK Cyfronet AGH](https://www.cyfronet.pl/) +* **Language:** Multilingual (32 European languages, optimized for Polish) +* **Model type:** causal decoder-only +* **Quant from:** [Bielik-Minitron-7B-v3.0-Instruct](https://huggingface.co/speakleash/Bielik-Minitron-7B-v3.0-Instruct) +* **Finetuned from:** speakleash/Bielik-Minitron-7B-v3.0 +* **License:** Apache 2.0 + +### About GGUF + +GGUF is a new format introduced by the llama.cpp team on August 21st 2023. + +Here is an incomplete list of clients and libraries that are known to support GGUF: +* [llama.cpp](https://github.com/ggerganov/llama.cpp). The source project for GGUF. Offers a CLI and a server option. +* [text-generation-webui](https://github.com/oobabooga/text-generation-webui), the most widely used web UI, with many features and powerful extensions. Supports GPU acceleration. +* [KoboldCpp](https://github.com/LostRuins/koboldcpp), a fully featured web UI, with GPU accel across all platforms and GPU architectures. Especially good for story telling. +* [GPT4All](https://gpt4all.io/index.html), a free and open source local running GUI, supporting Windows, Linux and macOS with full GPU accel. +* [LM Studio](https://lmstudio.ai/), an easy-to-use and powerful local GUI for Windows, macOS (Silicon) and Linux, with GPU acceleration +* [LoLLMS Web UI](https://github.com/ParisNeo/lollms-webui), a great web UI with many interesting and unique features, including a full model library for easy model selection. +* [Faraday.dev](https://faraday.dev/), an attractive and easy to use character-based chat GUI for Windows and macOS (both Silicon and Intel), with GPU acceleration. +* [llama-cpp-python](https://github.com/abetlen/llama-cpp-python), a Python library with GPU accel, LangChain support, and OpenAI-compatible API server. +* [candle](https://github.com/huggingface/candle), a Rust ML framework with a focus on performance, including GPU support, and ease of use. +* [ctransformers](https://github.com/marella/ctransformers), a Python library with GPU accel, LangChain support, and OpenAI-compatible AI server. Note ctransformers has not been updated in a long time and does not support many recent models. + +### Responsible for model quantization +* [Remigiusz Kinas](https://www.linkedin.com/in/remigiusz-kinas/)SpeakLeash - team leadership, conceptualizing, calibration data preparation, process creation and quantized model delivery. +* [Kuba Sołtys](https://www.linkedin.com/in/qooba/)SpeakLeash - prepared a template with tools for Ollama +* [Szymon Baczyński](https://www.linkedin.com/in/szymon-baczynski/)SpeakLeash - team assistant + + +## Contact Us + +If you have any questions or suggestions, please use the discussion tab. If you want to contact us directly, join our [Discord SpeakLeash](https://discord.gg/CPBxPce4). diff --git a/minitron-Bielik-7B-v3.0-Instruct-GGUF.Q4_K_M.gguf b/minitron-Bielik-7B-v3.0-Instruct-GGUF.Q4_K_M.gguf new file mode 100644 index 0000000..29e354a --- /dev/null +++ b/minitron-Bielik-7B-v3.0-Instruct-GGUF.Q4_K_M.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0c1475426645924970b9ed1383df1ce89c47b991e7b78ce9a12d3fde94455b16 +size 4501556256 diff --git a/minitron-Bielik-7B-v3.0-Instruct-GGUF.Q5_K_M.gguf b/minitron-Bielik-7B-v3.0-Instruct-GGUF.Q5_K_M.gguf new file mode 100644 index 0000000..4077528 --- /dev/null +++ b/minitron-Bielik-7B-v3.0-Instruct-GGUF.Q5_K_M.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b7e5830daf299de38b69744f96f80b45c9ec7f2d68404183d2eb0637e8d62c8e +size 5293952032 diff --git a/minitron-Bielik-7B-v3.0-Instruct-GGUF.Q6_K.gguf b/minitron-Bielik-7B-v3.0-Instruct-GGUF.Q6_K.gguf new file mode 100644 index 0000000..9b48ccc --- /dev/null +++ b/minitron-Bielik-7B-v3.0-Instruct-GGUF.Q6_K.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1abaa53ac3a89a8b5e9e00eb0c46409de3925b601cf4ea4c5392ab067778550b +size 6135872544 diff --git a/minitron-Bielik-7B-v3.0-Instruct-GGUF.Q8_0.gguf b/minitron-Bielik-7B-v3.0-Instruct-GGUF.Q8_0.gguf new file mode 100644 index 0000000..7501119 --- /dev/null +++ b/minitron-Bielik-7B-v3.0-Instruct-GGUF.Q8_0.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8154b315c3637b1bcebe7cb76e30c4219ccb4fae3ec5596eed8bdc14b3b39bd2 +size 7946804256