chargoddard's picture
Upload folder using huggingface_hub
839736d verified
metadata
base_model:
  - microsoft/Phi-3.5-mini-instruct
library_name: transformers
tags:
  - mergekit
  - merge

merge

This is a merge of pre-trained language models created using mergekit.

Merge Details

Merge Method

This model was merged using the passthrough merge method using microsoft/Phi-3.5-mini-instruct as a base.

Models Merged

The following models were included in the merge:

Configuration

The following YAML configuration was used to produce this model:

base_model: microsoft/Phi-3.5-mini-instruct  # Correct base model identifier
merge_method: passthrough  # Use passthrough to add layers
slices:
  - sources:
      - model: microsoft/Phi-3.5-mini-instruct  # Source model for the base layers
        layer_range: [0, 32]  # Use all existing layers (adjust if the base model has a different number of layers)
  - sources:
      - model: microsoft/Phi-3.5-mini-instruct  # Source model for the additional layers
        layer_range: [24, 32]  # Add 8 new layers initialized from the base model
tokenizer_source: microsoft/Phi-3.5-mini-instruct  # Use the tokenizer from the base model
dtype: float16  # Data type for the merged model