Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 556 Bytes

File metadata and controls

28 lines (19 loc) · 556 Bytes

deno-embed

This project demonstrates how to compute text embeddings with Transformers.js in a Deno environment.

Instructions

  1. Clone the repository:

    git clone https://github.com/huggingface/transformers.js-examples.git
  2. Change directory to the deno-embed project:

    cd transformers.js-examples/deno-embed
  3. Install the dependencies:

    deno install --allow-scripts
  4. Run the example:

    deno run --allow-net --allow-ffi --allow-env --allow-read --allow-write main.ts