File size: 1,954 Bytes
4633677
2599b44
 
 
 
 
 
 
4633677
2750289
4633677
2599b44
 
8f472a8
2599b44
 
 
 
 
2750289
 
 
2599b44
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
44
45
46
47
48
49
50
51
---
base_model:
- grimjim/Mistral-7B-Instruct-demi-merge-v0.2-7B
- grimjim/kunoichi-lemon-royale-7B
library_name: transformers
tags:
- mergekit
- merge
license: cc-by-nc-4.0
pipeline_tag: text-generation
---
# kunoichi-lemon-royale-v2-32K-7B

This merge amounts to the grafting of a model derived from Mistral v0.1 (4K sliding window context, to a maximum of 8K practical context length) onto a model derived from Mistral v0.2 (32K context length). It appears to work, although rope_theta in config.json was lowered from 1000000.0 to 100000.0, which works well enough to 16K.

In light testing, this model appears to follow formatting very well, with temperature 1.0 and minP 0.01, using ChatML prompts, even though the underlying model claims to follow Alpaca prompts.

This is a merge of pre-trained language models created using [mergekit](https://github.com/cg123/mergekit).

- Full weights: [kunoichi-lemon-royale-v2-32K-7B](https://huggingface.co/grimjim/kunoichi-lemon-royale-v2-32K-7B)
- GGUFs: [kunoichi-lemon-royale-v2-32K-7B-GGUF](https://huggingface.co/grimjim/kunoichi-lemon-royale-v2-32K-7B-GGUF)

## Merge Details
### Merge Method

This model was merged using the [task arithmetic](https://arxiv.org/abs/2212.04089) merge method using [grimjim/Mistral-7B-Instruct-demi-merge-v0.2-7B](https://huggingface.co/grimjim/Mistral-7B-Instruct-demi-merge-v0.2-7B) as a base.

### Models Merged

The following models were included in the merge:
* [grimjim/kunoichi-lemon-royale-7B](https://huggingface.co/grimjim/kunoichi-lemon-royale-7B)

### Configuration

The following YAML configuration was used to produce this model:

```yaml
base_model: grimjim/Mistral-7B-Instruct-demi-merge-v0.2-7B
dtype: bfloat16
merge_method: task_arithmetic
slices:
- sources:
  - layer_range: [0, 32]
    model: grimjim/Mistral-7B-Instruct-demi-merge-v0.2-7B
  - layer_range: [0, 32]
    model: grimjim/kunoichi-lemon-royale-7B
    parameters:
      weight: 1.00

```