Add transformers.js example code

#6
by Xenova HF staff - opened

Transformers.js is a JavaScript library for running transformers models directly in the browser (or server-side w/ Node.js or Deno). This sample code produces the exact same result as the python version.

NOTE: Requires https://huggingface.co/Alibaba-NLP/gte-large-en-v1.5/discussions/5 to be merged first (adds ONNX weights).

izhx changed pull request status to merged

Sign up or log in to comment