--- base_model: - mistralai/Mistral-7B-Instruct-v0.3 library_name: transformers tags: - mergekit license: apache-2.0 language: - en --- # mistral-7b-instruct-v0.3-depth-upscaling ![image/png](https://cdn-uploads.huggingface.co/production/uploads/643eab4f05a395e2b1c727e3/elcrExK_Q5MQjcdAjYi9V.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](https://arxiv.org/abs/2312.15166), 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, ## 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: * [mistralai/Mistral-7B-Instruct-v0.3](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.3) merged with itself. ### Configuration The following configuration was used to produce this model: ```yaml 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 ```