It stands for
Importance Matrix, a technique used to improve the quality of quantized models.
The
Imatrix is calculated based on calibration data, and it helps determine the importance of different model activations during the quantization process.
The idea is to preserve the most important information during quantization, which can help reduce the loss of model performance, especially when the calibration data is diverse.
[1] [2]
For imatrix data generation, kalomaze's
groups_merged.txt with added roleplay chats was used, you can find it
here. This was just to add a bit more diversity to the data.
1 quantization_options = [
2 "Q4_K_M", "Q4_K_S", "IQ4_XS", "Q5_K_M", "Q5_K_S",
3 "Q6_K", "Q8_0", "IQ3_M", "IQ3_S", "IQ3_XXS"
4 ]
This is a merge of pre-trained language models created using
mergekit.
This model was merged using the SLERP merge method.
1slices:
2 - sources:
3 - model: CookieNexus
4 layer_range: [0, 32]
5 - model: ErosEris
6 layer_range: [0, 32]
7merge_method: slerp
8base_model: CookieNexus
9parameters:
10 t:
11 - filter: self_attn
12 value: [0, 0.5, 0.3, 0.7, 1]
13 - filter: mlp
14 value: [1, 0.5, 0.7, 0.3, 0]
15 - value: 0.5
16dtype: bfloat16