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

demo example / number of parameter control vs original code #14

Open
thegodone opened this issue Jul 27, 2023 · 4 comments
Open

demo example / number of parameter control vs original code #14

thegodone opened this issue Jul 27, 2023 · 4 comments

Comments

@thegodone
Copy link

Excellent, Can you write a demo example on training ? Comparing to the Microsoft code have you check that it provide same number of parameters for the same settings ?

@thegodone thegodone changed the title demo example demo example / number of parameter control vs original code Jul 27, 2023
@Jamie-Stirling
Copy link
Owner

This is a good idea, thank you.

I'll look into this when I get time, hopefully tomorrow.

@thegodone
Copy link
Author

Great, maybe you can reused this example on harry potter: https://github.com/DonRL10/RetNet/blob/main/char.ipynb

@Jamie-Stirling
Copy link
Owner

There's now a file example.py which outputs the number of parameters when hyperparameters are equal to those for the 1.3B model in the original paper.

@thegodone
Copy link
Author

thegodone commented Aug 1, 2023

Great thanks a lot.

Could you also provide similar harry potter demo see my link https://github.com/DonRL10/RetNet/blob/main/char.ipynb ?

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

2 participants