Remek commited on
Commit
3c377a0
1 Parent(s): 911374d

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +88 -0
README.md ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - pl
4
+ license: apache-2.0
5
+ library_name: transformers
6
+ tags:
7
+ - finetuned
8
+ - gguf
9
+ inference: false
10
+ pipeline_tag: text-generation
11
+ base_model: speakleash/Bielik-11B-v2.3-Instruct
12
+ ---
13
+
14
+ <p align="center">
15
+ <img src="https://huggingface.co/speakleash/Bielik-7B-Instruct-v0.1-GGUF/raw/main/speakleash_cyfronet.png">
16
+ </p>
17
+
18
+ # Bielik-11B-v2.3-Instruct-GGUF-IQ-Imatrix
19
+
20
+ <b>This is an experimental version of the repository containing quantized [Bielik-11B-v.2.3-Instruct](https://huggingface.co/speakleash/Bielik-11B-v2.3-Instruct) models using calibration with importance matrix (imatrix). Models with low precision (2bit, 3bit) for use in mobile devices or minicomputers. Note that these models should be used mainly in instructional mode (not chat). We recommend setting low temperature values.
21
+ Models with higher precision 4-8bit after calibration may show better quality than models without calibration.</b>
22
+
23
+ <b><u>DISCLAIMER: Be aware that quantised models show reduced response quality and possible hallucinations!</u></b><br>
24
+
25
+ ### Available quantization formats:
26
+ * **IQ1_M:** (1.75bit) Extremely low quality, not recommended.
27
+ * **IQ2_XXS:** Lower quality, uses SOTA techniques to be usable.
28
+ * **IQ3_XXS:** Lower quality, new method with decent performance, comparable to Q3 quants.
29
+ * **IQ4_XS:** Decent quality, smaller than Q4_K_S with similar performance, recommended.
30
+ * **Q4_K_M:** Uses Q6_K for half of the attention.wv and feed_forward.w2 tensors, else Q4_K
31
+ * **Q5_K_M:** Uses Q6_K for half of the attention.wv and feed_forward.w2 tensors, else Q5_K
32
+ * **Q6_K:** Uses Q8_K for all tensors
33
+ * **Q8_0:** Almost indistinguishable from float16. High resource use and slow. Not recommended for most users.
34
+
35
+ ### Ollama Modfile
36
+ 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-11B-v2.3-Instruct.Q4_K_M.gguf (full path to model location) Modfile looks like:
37
+
38
+ ```
39
+ FROM ./Bielik-11B-v2.3-Instruct.Q4_K_M.gguf
40
+
41
+ TEMPLATE """<s>{{ if .System }}<|start_header_id|>system<|end_header_id|>
42
+
43
+ {{ .System }}<|eot_id|>{{ end }}{{ if .Prompt }}<|start_header_id|>user<|end_header_id|>
44
+
45
+ {{ .Prompt }}<|eot_id|>{{ end }}<|start_header_id|>assistant<|end_header_id|>
46
+
47
+ {{ .Response }}<|eot_id|>"""
48
+
49
+ PARAMETER stop "<|start_header_id|>"
50
+ PARAMETER stop "<|end_header_id|>"
51
+ PARAMETER stop "<|eot_id|>"
52
+
53
+ # Remeber to set low temperature for experimental models (1-3bits)
54
+ PARAMETER temperature 0.1
55
+
56
+ ```
57
+
58
+ ### Model description:
59
+
60
+ * **Developed by:** [SpeakLeash](https://speakleash.org/) & [ACK Cyfronet AGH](https://www.cyfronet.pl/)
61
+ * **Language:** Polish
62
+ * **Model type:** causal decoder-only
63
+ * **Quant from:** [Bielik-11B-v2.3-Instruct](https://huggingface.co/speakleash/Bielik-11B-v2.3-Instruct)
64
+ * **Finetuned from:** [Bielik-11B-v2](https://huggingface.co/speakleash/Bielik-11B-v2)
65
+ * **License:** Apache 2.0 and [Terms of Use](https://bielik.ai/terms/)
66
+
67
+ ### About GGUF
68
+
69
+ GGUF is a new format introduced by the llama.cpp team on August 21st 2023.
70
+
71
+ Here is an incomplete list of clients and libraries that are known to support GGUF:
72
+ * [llama.cpp](https://github.com/ggerganov/llama.cpp). The source project for GGUF. Offers a CLI and a server option.
73
+ * [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.
74
+ * [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.
75
+ * [GPT4All](https://gpt4all.io/index.html), a free and open source local running GUI, supporting Windows, Linux and macOS with full GPU accel.
76
+ * [LM Studio](https://lmstudio.ai/), an easy-to-use and powerful local GUI for Windows, macOS (Silicon) and Linux, with GPU acceleration
77
+ * [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.
78
+ * [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.
79
+ * [llama-cpp-python](https://github.com/abetlen/llama-cpp-python), a Python library with GPU accel, LangChain support, and OpenAI-compatible API server.
80
+ * [candle](https://github.com/huggingface/candle), a Rust ML framework with a focus on performance, including GPU support, and ease of use.
81
+ * [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.
82
+
83
+ ### Responsible for model quantization
84
+ * [Remigiusz Kinas](https://www.linkedin.com/in/remigiusz-kinas/)<sup>SpeakLeash</sup> - team leadership, conceptualizing, calibration data preparation, process creation and quantized model delivery.
85
+
86
+ ## Contact Us
87
+
88
+ 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).