google-gemini / gemma-cookbook

A collection of guides and examples for the Gemma open models from Google.
https://ai.google.dev/gemma/
Apache License 2.0
668 stars 123 forks source link

PaliGemma on Android example #33

Closed NSTiwari closed 3 months ago

NSTiwari commented 3 months ago

Description of the feature request:

How about adding a section in the Gemma Cookbook to showcase projects/applications developed by the community that are not in the form of Colab Notebooks?

For example, I and some folks have developed an Android app using Hugging Face and Gradio Client API to interact with PaliGemma for tasks such as zeros-shot object detection, image captioning, and visual question-answering.

Below is a sample demo of what we've built: paligemma-android-hf1 (1)

Repository: https://github.com/NSTiwari/PaliGemma-Android-HF

What problem are you trying to solve with this feature?

Spreading the word about Gemma/PaliGemma to a greater range of developers, and not just restricting it to Python/Colab.

Any other information you'd like to share?

Feel free to explore the repo to have the possibility of adding this example to Gemma Cookbook. https://github.com/NSTiwari/PaliGemma-Android-HF

windmaple commented 3 months ago

Yes, this looks like a great addition.

We are not limiting this repo to python notebooks only. Feel free to send PR.

NSTiwari commented 3 months ago

Thanks, @windmaple. What would be the format for adding this?

Shall I create a new section in PaliGemma and add link to complete repo?

windmaple commented 3 months ago

Yes, create a subfolder and add the complete runnable code (linking to another repo is not the way to go).