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

Add Phi-3 Vision ONNX example #291

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

web3nomad
Copy link

This PR adds a new example demonstrating the usage of Microsoft's Phi-3 Vision model using ONNX Runtime.

The example implements:

  • Multimodal inference combining vision and language processing
  • Image preprocessing and text tokenization
  • End-to-end example using multiple ONNX models

It showcases:

  • Loading and utilizing vision, text embedding, and text generation models
  • Combining vision and text embeddings
  • Autoregressive text generation

Copy link

codecov bot commented Oct 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 53.20%. Comparing base (f915bca) to head (d043107).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #291   +/-   ##
=======================================
  Coverage   53.20%   53.20%           
=======================================
  Files          34       34           
  Lines        2327     2327           
=======================================
  Hits         1238     1238           
  Misses       1089     1089           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@web3nomad
Copy link
Author

commits squashed and rebased onto latest main

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