DSSD Auxiliary Heads for Llama 3 8B

This repository contains the trained auxiliary early-exit heads for meta-llama/Meta-Llama-3-8B. These heads are used for Dynamic Self-Speculative Decoding (DSSD), enabling faster inference with guaranteed identical output to the full model.

πŸš€ Usage

These heads are designed to be used with the DSSD Demo.

πŸ“¦ Contents

  • aux_heads.pt: State dictionary of the trained auxiliary heads (Layers 8, 16, 24).
  • config.json: Configuration file specifying head layers and parameters.
  • calibration.json: Calibrated thresholds for different accuracy levels.

πŸ”§ How it Works

The auxiliary heads allow the model to exit early at intermediate layers if confidence thresholds are met. If the drafted tokens are not verified by the full model, they are corrected, ensuring 100% output match.

Downloads last month
20
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for valcore/DSSD-Llama3-8B

Finetuned
(484)
this model

Space using valcore/DSSD-Llama3-8B 1

Collection including valcore/DSSD-Llama3-8B