Skip to content
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

Contribute with Colab notebooks to convert, and quantize PaliGemma 2 to ONNX, making it compatible with Transformers.js for inference #141

Open
NSTiwari opened this issue Feb 20, 2025 · 0 comments

Comments

@NSTiwari
Copy link
Contributor

NSTiwari commented Feb 20, 2025

Description of the feature request:

I have developed some Colab notebooks around PaliGemma 2 that do the following:

  1. Convert and quantize the PaliGemma 2 models (including the latest paligemma2-3b-mix models) into ONNX format, compatible with Transformers.js link.

  2. Inference with Transformers.js for different tasks - Zero-shot object detection, image captioning, OCR, and Visual Q&A using the converted model weights link.
    Can these be added to the Cookbook?

What problem are you trying to solve with this feature?

Add new examples and scripts for inferencing PaliGemma 2.

No response

Any other information you'd like to share?

No response

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

No branches or pull requests

1 participant