-
Notifications
You must be signed in to change notification settings - Fork 2.1k
scripts #2513
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
scripts #2513
Conversation
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
|
Thanks for the PR @ved1beta. Unfortunately, there is an issue with rendering many of the notebooks in the browser, including From what I can tell from the notebooks that do render and from the scripts, this contains information on memory requirements, inference speed etc. I think this is useful information, but I would like to generate and present the data in a different fashion, as right now it is very static and we don't really want to have one script per method. Instead, what I envision is that we have a very similar style as the existing MetaMath suite where we have a single script and multiple "experiment" files that define how the PEFT methods are configured. Then we can run the script with an experiment and it will write all the results to a json file, same as is done right now. Finally, we can extend the This has the advantage that it's very easy to add an "experiment" for a new method. All the results will be in simple json files that can be easily tracked in git (ipynb is always hard to review). Users can easily load these files and run their own data analysis if they're interested, which is also not easily done with notebooks. This approach also takes care of tracking a bunch of meta info, making the results easier to audit and reproduce. And finally, we will deploy the gradio app automatically, so that users can always inspect the most recent results on HF Spaces. To make these changes, I think we can take a lot of the code from the existing MetaMathQA files and from the scripts that you added in this PR. I know that this is a big change and would require extra work, I hope you're interested in working on this. In general, it is a good idea to explain your idea beforehand in an issue so that we can discuss these design decisions up front. |
|
i dont know what is the issue with ipynb files , here is the google collab link for it link |
Thanks for the link. I see that there is some duplicate code like the definition of the Bone config and layer. That should not be necessary. Also there is some code for measuring training speed, but that's also already covered by the method comparison suite. Otherwise, my previous comment still stands. |
|
i have messed up this branch closing this PR , will raise a different one containing all the changes , similar directory to MetaMath suite with examples and single script to runn everything : ) then will deal with the docs 🫡 |
IGNORE THE DOCS FOLDER , main.ipynb has everything , rest ipynb files aree visualization , and py file are same as main just divided . Let me know if i could add numbers from here in the docs (already done it ) let me know so i could push the changes