Edit model card

mistral-7b-instruct-v0.3-depth-upscaling

image/webpMistral: a strong, cold northwesterly wind that blows through the Rhône valley and southern France into the Mediterranean, mainly in winter.

image/png

This is an attempt at depth upscaling , Based on the paper SOLAR 10.7B: Scaling Large Language Models with Simple yet Effective Depth Up-Scaling, which is a technique designed to efficiently scale large language models. The process begins with structural depthwise scaling which may initially reduce performance, but this is rapidly restored during a crucial continued pretraining phase. This phase optimizes the expanded model's parameters to the new depth configuration, significantly enhancing performance.

It's important to note that this represents only the initial phase of the model's development. The next critical steps involve fine-tuning. As expected and according to the paper, the initial upscaled model in phase one (without fine-tuning) scores lower than the base model. This is expected to improve above and beyond this after fine-tuning is finished. Feel free to fine-tune on your own dataset.

Merge Details

Merge Method

This model was merged using the passthrough merge method. The first 24 layers of one copy of the model are stitched to the last 24 layers of another copy, resulting in a total of 48 layers with 10.7B parameters.

Models Merged

The following models were included in the merge:

Configuration

The following configuration was used to produce this model:

slices:
  - sources:
    - model: mistralai/Mistral-7B-Instruct-v0.3
      layer_range: [0, 24]
  - sources:
    - model: mistralai/Mistral-7B-Instruct-v0.3
      layer_range: [8, 32]
merge_method: passthrough
dtype: bfloat16

Eval results:

Metric Value
Avg. 64.04
ARC (25-shot) 63.14
HellaSwag (10-shot) 83.29
MMLU (5-shot) 62.31
TruthfulQA (0-shot) 60.65
Winogrande (5-shot) 78.45
GSM8K (5-shot) 36.39
Full results here
Downloads last month
13
Safetensors
Model size
10.7B params
Tensor type
BF16
·
Inference Examples
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social visibility and check back later, or deploy to Inference Endpoints (dedicated) instead.

Model tree for giannisan/Mistral-10.7B-Instruct-v0.3-depth-upscaling

Finetuned
(67)
this model

Collection including giannisan/Mistral-10.7B-Instruct-v0.3-depth-upscaling