初始化项目,由ModelHub XC社区提供模型

Model: grimjim/Mistral-7B-Instruct-demi-merge-v0.2-7B
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-04-11 03:55:59 +08:00
commit 7776e4f2ed
12 changed files with 91325 additions and 0 deletions

50
README.md Normal file
View File

@@ -0,0 +1,50 @@
---
base_model:
- alpindale/Mistral-7B-v0.2-hf
- mistralai/Mistral-7B-Instruct-v0.2
library_name: transformers
tags:
- mergekit
- merge
license: apache-2.0
pipeline_tag: text-generation
---
# Mistral-7B-Instruct-demi-merge-v0.2-7B
This is a merge of pre-trained Mistral v0.2 language models created using [mergekit](https://github.com/cg123/mergekit). Both models have 32K context length without a sliding window, as does this merge.
The base model as released felt like it needed more training. The instruct model felt fully trained. This merge aimed to be a compromise between the two, to enable future merging and/or fine-tuning by thawing out the Instruct model while keeping some of its strengths.
Light testing has confirmed that the resulting merged model can operate to the full 32K context length, exceeding the 8K context that characterized the Mistral-7B-0.1 release.
## Merge Details
### Merge Method
This model was merged using the SLERP merge method.
### Models Merged
The following models were included in the merge:
* [alpindale/Mistral-7B-v0.2-hf](https://huggingface.co/alpindale/Mistral-7B-v0.2-hf)
* [mistralai/Mistral-7B-Instruct-v0.2](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.2)
### Configuration
The following YAML configuration was used to produce this model:
```yaml
slices:
- sources:
- model: mistralai/Mistral-7B-Instruct-v0.2
layer_range: [0,32]
- model: alpindale/Mistral-7B-v0.2-hf
layer_range: [0,32]
merge_method: slerp
base_model: mistralai/Mistral-7B-Instruct-v0.2
parameters:
t:
- value: 0.5
dtype: bfloat16
```