File size: 1,311 Bytes
05fcba9
 
 
 
 
 
 
 
325b92d
05fcba9
b11a209
05fcba9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
325b92d
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
---
base_model:
- meta-llama/Llama-2-70b-hf
- codellama/CodeLlama-70b-Python-hf
- codellama/CodeLlama-70b-Instruct-hf
tags:
- mergekit
- merge
license: mit
---
# Codellama-python-instruct

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

## Merge Details
### Merge Method

This model was merged using the [DARE](https://arxiv.org/abs/2311.03099) [TIES](https://arxiv.org/abs/2306.01708) merge method using [meta-llama/Llama-2-70b-hf](https://huggingface.co/meta-llama/Llama-2-70b-hf) as a base.

### Models Merged

The following models were included in the merge:
* [codellama/CodeLlama-70b-Python-hf](https://huggingface.co/codellama/CodeLlama-70b-Python-hf)
* [codellama/CodeLlama-70b-Instruct-hf](https://huggingface.co/codellama/CodeLlama-70b-Instruct-hf)

### Configuration

The following YAML configuration was used to produce this model:

```yaml
models:
  - model: codellama/CodeLlama-70b-Python-hf
    parameters:
      density: 0.5
      weight: 0.5
  - model: codellama/CodeLlama-70b-Instruct-hf
    parameters:
      density: 0.5
      weight: 1.0
merge_method: dare_ties
base_model: meta-llama/Llama-2-70b-hf
parameters:
  # You can uncomment and set these parameters as needed
  # normalize: false
  # int8_mask: true
dtype: float16

```