generative-ai-docs icon indicating copy to clipboard operation
generative-ai-docs copied to clipboard

Incorrect links + outdated Python fine tuning tutorial notebooks using deprecated SDK

Open imperorrp opened this issue 7 months ago • 1 comments

Description of the bug:

Two issues:

  1. The Python fine tuning tutorial on the ai.google.dev site uses the new Genai Python SDK but the notebooks that the same page links to (on Colab and the one on this Github repo) are outdated and use the deprecated Python SDK. (from google import genai v/s import google.generativeai as genai)
  2. The notebooks on the Github repo and Colab link to an incorrect ai.google.dev site link: Image

Actual vs expected behavior:

  1. The notebooks on Colab and the Github repo should probably be updated for the new SDK. Or at least mention in a short note that they use the deprecated SDK. Is confusing otherwise.
  2. Those links should point to the actual page

Any other information you'd like to share?

No response

imperorrp avatar Apr 04 '25 08:04 imperorrp

Hi @imperorrp,

Thanks for flagging. For the first issue "Tuning example with new sdk", team is working to shift everything to new sdk, i will follow up on this. For the second one, i think it's changed to this link, this might be due to addition of new sdk's or rest api.

gmKeshari avatar Apr 23 '25 07:04 gmKeshari

Tuning might be available through Vertex AI only going forward. Tuning has been removed from Google AI Studio, that could be the reason it's not updated to the new sdk.

gmKeshari avatar May 02 '25 07:05 gmKeshari

Marking this issue as stale since it has been open for 14 days with no activity. This issue will be closed if no further activity occurs.

github-actions[bot] avatar May 17 '25 02:05 github-actions[bot]

This issue was closed because it has been inactive for 28 days. Please post a new issue if you need further assistance. Thanks!

github-actions[bot] avatar May 31 '25 02:05 github-actions[bot]