transformers.js icon indicating copy to clipboard operation
transformers.js copied to clipboard

Update demo-site dependencies and installation instructions

Open sroussey opened this issue 1 year ago • 3 comments

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 avatar Dec 31 '24 21:12 sroussey

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 avatar Dec 31 '24 21:12 sroussey

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

sroussey avatar Jan 07 '25 00:01 sroussey

@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.

pselvana avatar Jan 28 '25 23:01 pselvana