maddes8cht commited on
Commit
ba5f368
1 Parent(s): 2966414

"Update README.md"

Browse files
Files changed (1) hide show
  1. README.md +19 -10
README.md CHANGED
@@ -22,20 +22,27 @@ I'm constantly enhancing these model descriptions to provide you with the most r
22
  - Model creator: [h2oai](https://huggingface.co/h2oai)
23
  - Original model: [h2ogpt-gm-oasst1-en-2048-falcon-7b-v3](https://huggingface.co/h2oai/h2ogpt-gm-oasst1-en-2048-falcon-7b-v3)
24
 
 
 
 
 
 
 
 
 
 
25
  # Important Update for Falcon Models in llama.cpp Versions After October 18, 2023
26
 
27
- As noted on the [Llama.cpp GitHub repository](https://github.com/ggerganov/llama.cpp#hot-topics), all new Llama.cpp releases after October 18, 2023, will require a re-quantization due to the new BPE tokenizer.
28
 
29
- **Good news!** I am glad that my re-quantization process for Falcon Models is nearly complete. Download the latest quantized models to ensure compatibility with recent llama.cpp software.
30
 
31
  **Key Points:**
32
 
33
  - **Stay Informed:** Keep an eye on software application release schedules using llama.cpp libraries.
34
- - **Monitor Upload Times:** Re-quantization is *almost* done. Watch for updates on my Hugging Face Model pages.
35
-
36
- **Important Compatibility Note:** Old software will work with old Falcon models, but expect updated software to exclusively support the new models.
37
 
38
- This change primarily affects **Falcon** and **Starcoder** models, with other models remaining unaffected.
39
 
40
 
41
 
@@ -48,19 +55,21 @@ The core project making use of the ggml library is the [llama.cpp](https://githu
48
 
49
  # Quantization variants
50
 
51
- There is a bunch of quantized files available. How to choose the best for you:
52
 
53
  # Legacy quants
54
 
55
  Q4_0, Q4_1, Q5_0, Q5_1 and Q8 are `legacy` quantization types.
56
  Nevertheless, they are fully supported, as there are several circumstances that cause certain model not to be compatible with the modern K-quants.
57
- Falcon 7B models cannot be quantized to K-quants.
 
 
58
 
59
  # K-quants
60
 
61
- K-quants are based on the idea that the quantization of certain parts affects the quality in different ways. If you quantize certain parts more and others less, you get a more powerful model with the same file size, or a smaller file size and lower memory load with comparable performance.
62
  So, if possible, use K-quants.
63
- With a Q6_K you should find it really hard to find a quality difference to the original model - ask your model two times the same question and you may encounter bigger quality differences.
64
 
65
 
66
 
 
22
  - Model creator: [h2oai](https://huggingface.co/h2oai)
23
  - Original model: [h2ogpt-gm-oasst1-en-2048-falcon-7b-v3](https://huggingface.co/h2oai/h2ogpt-gm-oasst1-en-2048-falcon-7b-v3)
24
 
25
+ # K-Quants in Falcon 7b models
26
+
27
+ New Llama.cpp releases now allow for K-quantization of models that were previously incompatible with K-quants. This is achieved by employing a fallback solution for model layers that cannot be accurately quantized with K-quants.
28
+
29
+ For Falcon 7B models, although only a quarter of the layers can be quantized with true K-quants, this approach still benefits from utilizing various legacy quantization types, such as Q4_0, Q4_1, Q5_0, and Q5_1. As a result, it offers better quality at the same file size or smaller file sizes with comparable performance.
30
+
31
+ So this solution ensures improved performance and efficiency over legacy Q4_0, Q4_1, Q5_0 and Q5_1 Quantizations.
32
+
33
+
34
  # Important Update for Falcon Models in llama.cpp Versions After October 18, 2023
35
 
36
+ As previously noted on the [Llama.cpp GitHub repository](https://github.com/ggerganov/llama.cpp#hot-topics), all new Llama.cpp releases after October 18, 2023, required re-quantization due to the implementation of the new BPE tokenizer.
37
 
38
+ **Update:** The re-quantization process for Falcon Models is now complete, and the latest quantized models are available for download. To ensure continued compatibility with recent llama.cpp software, You need to update your Falcon models.
39
 
40
  **Key Points:**
41
 
42
  - **Stay Informed:** Keep an eye on software application release schedules using llama.cpp libraries.
43
+ - **Monitor Upload Times:** Re-quantization is complete. Watch for updates on my Hugging Face Model pages.
 
 
44
 
45
+ This change primarily affects **Falcon** and **Starcoder** models, with other models remaining unaffected. If you haven't already, please update your Falcon models for seamless compatibility with the latest llama.cpp versions.
46
 
47
 
48
 
 
55
 
56
  # Quantization variants
57
 
58
+ There is a bunch of quantized files available to cater to your specific needs. Here's how to choose the best option for you:
59
 
60
  # Legacy quants
61
 
62
  Q4_0, Q4_1, Q5_0, Q5_1 and Q8 are `legacy` quantization types.
63
  Nevertheless, they are fully supported, as there are several circumstances that cause certain model not to be compatible with the modern K-quants.
64
+ ## Note:
65
+ Now there's a new option to use K-quants even for previously 'incompatible' models, although this involves some fallback solution that makes them not *real* K-quants. More details can be found in affected model descriptions.
66
+ (This mainly refers to Falcon 7b and Starcoder models)
67
 
68
  # K-quants
69
 
70
+ K-quants are designed with the idea that different levels of quantization in specific parts of the model can optimize performance, file size, and memory load.
71
  So, if possible, use K-quants.
72
+ With a Q6_K, you'll likely find it challenging to discern a quality difference from the original model - ask your model two times the same question and you may encounter bigger quality differences.
73
 
74
 
75