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

Why does EAGLE remove the input_layernorm of llama? #76

Open
bisunny opened this issue May 26, 2024 · 2 comments
Open

Why does EAGLE remove the input_layernorm of llama? #76

bisunny opened this issue May 26, 2024 · 2 comments

Comments

@bisunny
Copy link

bisunny commented May 26, 2024

image

@Liyuhui-12
Copy link
Collaborator

The base model has a layer normalization (layernorm) layer before the LM head. Since the feature sequence has already been normalized, we do not use layer normalization.

@haiduo
Copy link

haiduo commented Jul 16, 2024

The base model has a layer normalization (layernorm) layer before the LM head. Since the feature sequence has already been normalized, we do not use layer normalization.

It is true that the base model has a layer normalization (layernorm) layer before the LM head, but this has nothing to do with EAGLE remove the input_layernorm of llama. I guess this is a trick to help improve Eagle accuracy?

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

No branches or pull requests

3 participants