How do I run npm / transformers.js to create the .js files ?

#3
by ucalyptus - opened

Hi @Xenova , lovely work.
I am trying to make a webgpu hf space for https://huggingface.co/ucalyptus/prem-1B-chat-ONNX
but I found no instructions in the README.md of the github repo (transformers.js) , neither there nor on any of the hf repos. so it is kinda cloudy for me since I have ZERO javascript knowledge (not a flex, just tbh).

Your help would be appreciated.

Hi there! As mentioned wherever I've included a link to the source code, I'm still waiting for onnxruntime-web v1.18.0 to release before others can run it without any issues. I got access to an early version of it, which is why my demo works! :)

I will update the source code when it releases (should be very soon).

@Xenova thanks and sorry for opening tickets everywhere lol

ucalyptus changed discussion status to closed

Sign up or log in to comment