Add transformers.js example code

#5
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-base-en-v1.5/discussions/4 to be merged first (adds ONNX weights).

izhx changed pull request status to merged

Sign up or log in to comment