Skip to content

Latest commit

 

History

History

deno-embed

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

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