charlkruger


  • published 1.0.0 2 years ago
  • This module provides a simple and efficient way to calculate the cosine similarity between a given vector and an array of vectors. It's particularly useful for tasks like recommendation systems or other machine learning applications where you need to dete

    published 1.0.4 9 months ago
  • https://pauloe-me.medium.com/typescript-npm-package-publishing-a-beginners-guide-40b95908e69c

    published 1.0.1 6 months ago
  • The `tokenizer` function uses the `js-tiktoken` library to encode the input string into tokens using the GPT-2 encoding scheme. It then decodes the tokens back into strings, maps the tokens to their positions in the input string using the `mapTokensToChun

    published 1.0.0 5 months ago