Update README.md
Browse files
README.md
CHANGED
|
@@ -1,43 +1,83 @@
|
|
| 1 |
-
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
-
|
| 6 |
-
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
tags:
|
| 4 |
+
- mistral
|
| 5 |
+
- conversational
|
| 6 |
+
- text-generation-inference
|
| 7 |
+
- mergekit
|
| 8 |
+
- merge
|
| 9 |
+
base_model:
|
| 10 |
+
- UsernameJustAnother/Nemo-12B-Marlin-v5
|
| 11 |
+
- anthracite-org/magnum-12b-v2
|
| 12 |
+
library_name: transformers
|
| 13 |
+
---
|
| 14 |
+
> [!WARNING]
|
| 15 |
+
> **General Use Sampling:**<br>
|
| 16 |
+
> Mistral-Nemo-12B is very sensitive to the temperature sampler, try values near **0.3** at first or else you will get some weird results. This is mentioned by MistralAI at their [Transformers](https://huggingface.co/mistralai/Mistral-Nemo-Instruct-2407#transformers) section.
|
| 17 |
+
|
| 18 |
+
> [!NOTE]
|
| 19 |
+
> **Best Samplers:**<br>
|
| 20 |
+
> I found best success using the following for Starlight-V3-12B:<br>
|
| 21 |
+
> Temperature: `0.7`-`1.2` (Additional stopping strings will be necessary as you increase the temperature)<br>
|
| 22 |
+
> Top K: `-1`<br>
|
| 23 |
+
> Min P: `0.05`<br>
|
| 24 |
+
> Rep Penalty: `1.03-1.1`
|
| 25 |
+
|
| 26 |
+
# Why Version 3?
|
| 27 |
+
Currently the other versions resulted in really bad results that I didn't upload them, the version number is just the internal version.
|
| 28 |
+
|
| 29 |
+
# Goal
|
| 30 |
+
The idea is to keep the strengths of [anthracite-org/magnum-12b-v2](https://huggingface.co/anthracite-org/magnum-12b-v2) while adding some more creativity
|
| 31 |
+
that seems to be lacking in the model. Mistral-Nemo by itself seems to behave less sporadic due to the low temperature needed but this gets a bit repetitive,
|
| 32 |
+
although it's still the best model I've used so far.
|
| 33 |
+
|
| 34 |
+
# Results
|
| 35 |
+
I am not entirely pleased with the result of the merge but it seems okay, though base [anthracite-org/magnum-12b-v2](https://huggingface.co/anthracite-org/magnum-12b-v2)
|
| 36 |
+
might just be better by itself. However, I'll still experiement on different merge methods.
|
| 37 |
+
Leaking of the training data used on both models seems a bit more apparent when using higher temperature values,
|
| 38 |
+
especially the use of author notes on the system prompt. Generally I'd advise to create a stopping string for "```" to avoid the generation of the training data.
|
| 39 |
+
**Original Models:**
|
| 40 |
+
- [UsernameJustAnother/Nemo-12B-Marlin-v5](https://huggingface.co/UsernameJustAnother/Nemo-12B-Marlin-v5) (Thank you so much for your work ♥)
|
| 41 |
+
- [anthracite-org/magnum-12b-v2](https://huggingface.co/anthracite-org/magnum-12b-v2) (Thank you so much for your work ♥)
|
| 42 |
+
|
| 43 |
+
**Official Quants:** [starble-dev/Starlight-V3-12B-GGUF](https://huggingface.co/starble-dev/Starlight-V3-12B-GGUF)
|
| 44 |
+
|
| 45 |
+
**Original Model Licenses & This Model License:** Apache 2.0
|
| 46 |
+
|
| 47 |
+
# Starlight-V2-12B
|
| 48 |
+
|
| 49 |
+
This is a merge of pre-trained language models created using [mergekit](https://github.com/cg123/mergekit).
|
| 50 |
+
|
| 51 |
+
## Merge Details
|
| 52 |
+
|
| 53 |
+
### Merge Method
|
| 54 |
+
|
| 55 |
+
This model was merged using the [TIES](https://arxiv.org/abs/2306.01708) merge method using models/magnum-12b-v2 as a base.
|
| 56 |
+
|
| 57 |
+
### Models Merged
|
| 58 |
+
|
| 59 |
+
The following models were included in the merge:
|
| 60 |
+
* UsernameJustAnother/Nemo-12B-Marlin-v5
|
| 61 |
+
* anthracite-org/magnum-12b-v2
|
| 62 |
+
|
| 63 |
+
### Configuration
|
| 64 |
+
|
| 65 |
+
The following YAML configuration was used to produce this model:
|
| 66 |
+
|
| 67 |
+
```yaml
|
| 68 |
+
models:
|
| 69 |
+
- model: anthracite-org/magnum-12b-v2
|
| 70 |
+
parameters:
|
| 71 |
+
density: 0.3
|
| 72 |
+
weight: 0.5
|
| 73 |
+
- model: UsernameJustAnother/Nemo-12B-Marlin-v5
|
| 74 |
+
parameters:
|
| 75 |
+
density: 0.7
|
| 76 |
+
weight: 0.5
|
| 77 |
+
merge_method: ties
|
| 78 |
+
base_model: anthracite-org/magnum-12b-v2
|
| 79 |
+
parameters:
|
| 80 |
+
normalize: true
|
| 81 |
+
int8_mask: true
|
| 82 |
+
dtype: bfloat16
|
| 83 |
+
```
|