Xiaojian9992024's picture
Upload folder using huggingface_hub
d8919d2 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  # Base model to expand
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 (assuming 38 layers in the base model)
  - sources:
      - model: microsoft/Phi-3.5-mini-instruct  # Source model for the additional layers
        layer_range: [16, 32]  # Add 8 new layers initialized from the base model
  - sources:
      - model: microsoft/Phi-3.5-mini-instruct  # Source model for the base layers
        layer_range: [16, 32]
  - sources:
      - model: microsoft/Phi-3.5-mini-instruct  # Source model for the base layers
        layer_range: [4, 32]
tokenizer_source: microsoft/Phi-3.5-mini-instruct  # Use the tokenizer from the base model
dtype: float16  # Data type for the merged model