---
library_name: transformers
tags:
- mergekit
- merge
pipeline_tag: text-generation
---

# Na0s/Llama-3.1-8b-Pruned-4-Layers
This is a merge of meta-llama/Meta-Llama-3.1-8B created using [mergekit](https://github.com/cg123/mergekit), with respect to the paper ["The Unreasonable Ineffectiveness of the Deeper Layers"](https://arxiv.org/pdf/2403.17887)
## Merge Details
### Merge Method
This model was merged using the passthrough merge method.
### Models Merged
The following models were included in the merge:
* [meta-llama/Meta-Llama-3.1-8B](https://huggingface.co/meta-llama/Meta-Llama-3.1-8B)
### Configuration
The following YAML configuration was used to produce this model:
```yaml
dtype: bfloat16
merge_method: passthrough
slices:
- sources:
- layer_range: [0, 23]
model: meta-llama/Meta-Llama-3.1-8B
- sources:
- layer_range: [28, 32]
model: meta-llama/Meta-Llama-3.1-8B
```
## Evaluation
MMLU Pro 0-shot: 0.2642
#### Evaluation Data
[TIGER-AI-Lab/MMLU-Pro]
## Environmental Impact
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).