Skip to content

Update demo-site dependencies and installation instructions #1129

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

sroussey
Copy link
Contributor

Upgrade the demo-site to use the latest version of Vite and replace the transformer library with Hugging Face's version, updating installation instructions accordingly. Uses streamer instead of bare callback.

@sroussey sroussey mentioned this pull request Dec 31, 2024
4 tasks
@sroussey
Copy link
Contributor Author

sroussey commented Dec 31, 2024

The text generation example still does not work since it is creating a url where the file name starts with model, but in the case of Xenova/distilgpt2 the file starts with decoder_model

See https://huggingface.co/Xenova/distilgpt2/tree/main/onnx

@sroussey
Copy link
Contributor Author

sroussey commented Jan 7, 2025

If your pipeline tests were not ignored, I think you would have noticed that the summarize test would fail.

@pselvana
Copy link

@xenova - Any chance this can be prioritized? The existing @xenova/transformers packages are deprecated and anyone using the demo-site as a starter will find themselves unsupported for newer models.

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