Skip to content

Conversation

jakobhoeg
Copy link
Contributor

@jakobhoeg jakobhoeg commented Aug 16, 2025

This PR adds a Next.js example application of how to use Transformers.js models with the Vercel AI SDK.
It uses @built-in-ai that acts as a Transformers.js model provider for the Vercel AI SDK.

Preview:

vid.mp4

I'd also love to add it to the root readme and provide a Huggingface Space example.

@jakobhoeg
Copy link
Contributor Author

@xenova do let me know what you think :)

Copy link
Collaborator

@xenova xenova left a comment

Choose a reason for hiding this comment

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

This is awesome! 🔥 thanks so much for the contribution 🤗

would you mind formatting with npm run format?

@jakobhoeg
Copy link
Contributor Author

This is awesome! 🔥 thanks so much for the contribution 🤗

would you mind formatting with npm run format?

Done :) it also fixed formatting in some of the other examples, which I assume is okay

Copy link
Collaborator

@xenova xenova left a comment

Choose a reason for hiding this comment

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

Perfect ✅ thanks!

@xenova xenova merged commit 8188d75 into huggingface:main Aug 27, 2025
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