-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Updated quickstarts/Tuning.ipynb to use new google-genai SDK (#446) #777
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
Conversation
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
|
@Giom-V I have made updates to this notebook. Please let me know if any changes are needed. |
|
@andycandy @Giom-V I just updated the notebook, lmk if there's anything else I should be doing |
| "source": [ | ||
| "##### Copyright 2025 Google LLC." | ||
| ] | ||
| }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line #3. print(json.dumps(model.to_json_dict(), indent=4))
As I commented earlier you shouldn't print the metadata here, as its already being printed in the next cell, you only need to print the model state here for now.
Reply via ReviewNB
|
Thanks so much for your work on this, @sbeeredd04! There’s just a bit of code cleanup we might need to address later. Also, since part of the code is currently using deprecated elements, it might be better to hold off on merging this until the updated functionality becomes available in the |
|
Okay, that sounds good. Do you have any other suggestions that I could work on or need help with? |
|
This has to be closed as #804 is supposed to be removing the Tuning notebook and replacing it with a placeholder. |
|
@sbeeredd04 Sorry that the work you did could not make it. We recently decided to stop supporting tuning with the Gemini API and only with Vertex. |
This pull request includes a small change to the
quickstarts/file-api/requirements.txtandquickstarts/Tuning.ipynbfiles. The change updates a dependency by replacinggoogle-generativeaiwithgoogle-genaito reflect the correct package name, and modifies all the subsequent code cells in the notebook to use the latest SDK.