Skip to content

Conversation

@sachinprasadhs
Copy link
Collaborator

  • Depth Anything
  • MobilenetV5
  • ParSeq
  • Qwen3Moe
  • SmollLM3

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @sachinprasadhs, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request expands the Keras Hub by adding configuration entries for five new machine learning models: Depth Anything, MobilenetV5, ParSeq, Qwen3Moe, and SmollLM3. These additions ensure that the API details for various components of these models, such as their preprocessors, backbones, and specific task models, are properly registered and available for documentation generation and use within the Keras ecosystem.

Highlights

  • Depth Anything Model Integration: Added API details for the Depth Anything model, including its image converter, backbone, and depth estimator components, to the Keras Hub configuration.
  • MobilenetV5 Model Integration: Incorporated API details for the MobilenetV5 model, covering its image converter, backbone, and image classifier components, into the Keras Hub configuration.
  • ParSeq Model Integration: Included API details for the ParSeq model, specifically its backbone, causal language model, and preprocessor components, in the Keras Hub configuration.
  • Qwen3Moe Model Integration: Added API details for the Qwen3Moe model, encompassing its tokenizer, backbone, causal language model, and preprocessor, to the Keras Hub configuration.
  • SmollLM3 Model Integration: Integrated API details for the SmollLM3 model, including its tokenizer, backbone, and causal language model components, into the Keras Hub configuration.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds API documentation configurations for five new models: Depth Anything, MobilenetV5, ParSeq, Qwen3Moe, and SmollLM3. The changes are mostly good, but I've found a few issues related to consistency and completeness. Specifically, there's a typo in the Depth Anything definition, and some models are missing documentation for their components like preprocessors, tokenizers, or important methods like from_preset. These omissions could lead to incomplete or broken API documentation. I've left specific suggestions to address these points.

@sachinprasadhs
Copy link
Collaborator Author

/gemini review

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds API details for several new models to the hub_master.py script, including Depth Anything, MobilenetV5, ParSeq, Qwen3Moe, and SmollLM3. The changes involve adding new entries to the MODELS_MASTER dictionary, each defining the path, title, and children (sub-models/layers) for the respective models. The added models include tokenizers, backbones, causal LMs, and preprocessors. The addition of these models expands the KerasHub's support for various state-of-the-art architectures.

Copy link
Contributor

@hertschuh hertschuh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@sachinprasadhs sachinprasadhs merged commit f890f49 into keras-team:master Oct 28, 2025
3 checks passed
@sachinprasadhs sachinprasadhs deleted the update_0.23.0_apis branch October 28, 2025 18:29
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

Successfully merging this pull request may close these issues.

2 participants