-
Notifications
You must be signed in to change notification settings - Fork 80
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
How many decoder layer needs to add in EAGLE? #46
Comments
This |
Thanks for the response. |
Not 100% sure, you better check the code in |
You are right. |
Thank you for your interest. As @cyLi-Tiger mentioned, the configuration of EAGLE is different from the base LLM. |
Thanks for the great work. I find a different between code and paper
In the paper, it say eagle trains a decoder layer.
In the code, cnet.py class Model (https://github.com/SafeAILab/EAGLE/blob/main/model/cnets.py#L491)
self.layers = nn.ModuleList([LlamaDecoderLayer(config, index) for index in range(config.num_hidden_layers)])
It needs to add a decoder layer for every hidden layer.
Please tell me which one is correct.
Best regards
The text was updated successfully, but these errors were encountered: