brucethemoose
commited on
Commit
•
86c1644
1
Parent(s):
17fe477
Update README.md
Browse files
README.md
CHANGED
@@ -52,20 +52,6 @@ parameters:
|
|
52 |
int8_mask: true
|
53 |
dtype: bfloat16
|
54 |
```
|
55 |
-
## Testing Notes
|
56 |
-
|
57 |
-
Various densities were tested with perplexity tests and long context prompts. Relatively high densities seem to perform better, contrary to the findings of the Super Mario paper.
|
58 |
-
|
59 |
-
This particular version is merged with more than the "recommended" max density of 0.5. It seems to result in even better perplexity, but I'm not sure if this translates to better output.
|
60 |
-
|
61 |
-
Weights that add up to 1 seems to be optimal.
|
62 |
-
|
63 |
-
Dare Ties is also resulting in seemingly better, lower perplexity merges than a regular ties merge, task arithmetic or a slerp merge.
|
64 |
-
|
65 |
-
Xaberuis is not a 200K model, hence it was merged at a very low density to try and preserve Yi 200K's long context performance while still inheriting some of Xaberius's performance.
|
66 |
-
|
67 |
-
I chose not to include other finetunes because they aren't trained on the 200K base. If any other 200K finetunes pop up, let me know.
|
68 |
-
|
69 |
***
|
70 |
## Prompt template: Orca-Vicuna?
|
71 |
```
|
@@ -76,19 +62,30 @@ ASSISTANT:
|
|
76 |
It might recognize ChatML from Dolphin+Xaberius, and Llama-chat from Airoboros.
|
77 |
|
78 |
Sometimes the model "spells out" the stop token as `</s>` like Capybara, so you may need to add `</s>` as an additional stopping condition.
|
79 |
-
|
80 |
***
|
81 |
## Running
|
82 |
Being a Yi model, try disabling the BOS token and/or running a lower temperature with 0.05-0.13 MinP, a little repitition penalty, and no other samplers. Yi tends to run "hot" by default.
|
83 |
|
84 |
24GB GPUs can run Yi-34B-200K models at **45K-75K context** with exllamav2. I go into more detail in this [post](https://old.reddit.com/r/LocalLLaMA/comments/1896igc/how_i_run_34b_models_at_75k_context_on_24gb_fast/)
|
85 |
|
86 |
-
I recommend exl2 quantizations profiled on data similar to the desired task. It is especially sensitive to the quantization data at low bpw!
|
87 |
|
88 |
To load this in full-context backends like transformers and vllm, you *must* change `max_position_embeddings` in config.json to a lower value than 200,000, otherwise you will OOM!
|
89 |
-
|
90 |
***
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
91 |
|
|
|
|
|
|
|
|
|
92 |
## Credits:
|
93 |
|
94 |
https://github.com/cg123/mergekit/tree/dare
|
|
|
52 |
int8_mask: true
|
53 |
dtype: bfloat16
|
54 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
***
|
56 |
## Prompt template: Orca-Vicuna?
|
57 |
```
|
|
|
62 |
It might recognize ChatML from Dolphin+Xaberius, and Llama-chat from Airoboros.
|
63 |
|
64 |
Sometimes the model "spells out" the stop token as `</s>` like Capybara, so you may need to add `</s>` as an additional stopping condition.
|
|
|
65 |
***
|
66 |
## Running
|
67 |
Being a Yi model, try disabling the BOS token and/or running a lower temperature with 0.05-0.13 MinP, a little repitition penalty, and no other samplers. Yi tends to run "hot" by default.
|
68 |
|
69 |
24GB GPUs can run Yi-34B-200K models at **45K-75K context** with exllamav2. I go into more detail in this [post](https://old.reddit.com/r/LocalLLaMA/comments/1896igc/how_i_run_34b_models_at_75k_context_on_24gb_fast/)
|
70 |
|
71 |
+
I recommend exl2 quantizations profiled on data similar to the desired task. It is especially sensitive to the quantization data at low bpw! I published my own quantizations on vicuuna chat + fiction writing here: [4bpw}(https://huggingface.co/brucethemoose/CaPlatTessDolXaBoros-34B-200K-exl2-4bpw-fiction) [3.1bpw](https://huggingface.co/brucethemoose/CaPlatTessDolXaBoros-34B-200K-exl2-4bpw-fiction)
|
72 |
|
73 |
To load this in full-context backends like transformers and vllm, you *must* change `max_position_embeddings` in config.json to a lower value than 200,000, otherwise you will OOM!
|
|
|
74 |
***
|
75 |
+
## Testing Notes
|
76 |
+
|
77 |
+
Various densities were tested with perplexity tests and long context prompts. Relatively high densities seem to perform better, contrary to the findings of the Super Mario paper.
|
78 |
+
|
79 |
+
This particular version is merged with more than the "recommended" max density of 0.5. It seems to result in even better perplexity, but I'm not sure if this translates to better output.
|
80 |
+
|
81 |
+
Weights that add up to 1 seems to be optimal.
|
82 |
+
|
83 |
+
Dare Ties is also resulting in seemingly better, lower perplexity merges than a regular ties merge, task arithmetic or a slerp merge.
|
84 |
|
85 |
+
Xaberuis is not a 200K model, hence it was merged at a very low density to try and preserve Yi 200K's long context performance while still inheriting some of Xaberius's performance.
|
86 |
+
|
87 |
+
I chose not to include other finetunes because they aren't trained on the 200K base. If any other 200K finetunes pop up, let me know.
|
88 |
+
***
|
89 |
## Credits:
|
90 |
|
91 |
https://github.com/cg123/mergekit/tree/dare
|