-
Notifications
You must be signed in to change notification settings - Fork 74
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
new model #66
Comments
It seems that the name of the embedding in your model is not 'embed_tokens'. You can modify it to the name of the embedding layer in your model. |
Thanks for your replay! |
This is not necessary; EAGLE's structure is independent of the target model. You can use the same cnet.py, or you can try other structures as well. |
I noticed that your "n_layers" is set to 38, which makes your draft model very large. In EAGLE, the draft model consists of only one layer. |
Hi, I have successfully trained an Auto-regression Head, but I encountered the following error during inference. |
Hi i want to add a model that has a different architecture from the LLaMA model. BUT when I was trying
![image](https://private-user-images.githubusercontent.com/168084185/326248583-945f69df-c48d-478a-be79-b98ebbb02482.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU3NTYzMDgsIm5iZiI6MTcyNTc1NjAwOCwicGF0aCI6Ii8xNjgwODQxODUvMzI2MjQ4NTgzLTk0NWY2OWRmLWM0OGQtNDc4YS1iZTc5LWI5OGViYmIwMjQ4Mi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwOTA4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDkwOFQwMDQwMDhaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kYzJhYzE1NzJkMDBjMGYyMzUxMDA4YjFhNjA1ZjdmZTdkMjM5YmVhNGI4YTA4ZjJmN2NjM2VjMzZkMWM5YTQxJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.7Cmfwe8C48YM0O5kdXANogjJwWZQwpUja_l5oieFmyQ)
accelerate launch -m --mixed_precision=bf16 eagle.train.main --tmpdir [path of data]\ --cpdir [path of checkpoints] -- configpath [path of config file]
I got the following ERROR
The text was updated successfully, but these errors were encountered: