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