Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add speculator weight tying #25

Merged
merged 1 commit into from
Jul 8, 2024
Merged

Add speculator weight tying #25

merged 1 commit into from
Jul 8, 2024

Conversation

daviswer
Copy link
Collaborator

Adds options for tying speculator head, embedding, and transition weights across stages. Parameter count responds as expected (decreasing when weights are tied). Setting all three options to True converts the MLP speculator into a fully recurrent model (with one separate initial projection from the base model into the speculator). These options are currently NOT hooked into existing scripts. Default behavior is unchanged.

@JRosenkranz JRosenkranz merged commit fd9fae5 into main Jul 8, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants