JSPM

Found 8 results for BPE

gpt-tokenizer

A pure JavaScript implementation of a BPE tokenizer (Encoder/Decoder) for GPT-2 / GPT-3 / GPT-4 and other OpenAI models

  • v3.0.1
  • 94.41
  • Published

gptoken

Javascript BPE Encoder Decoder for GPT-2 / GPT-3. The "gpt-3-encoder" module provides functions for encoding and decoding text using the Byte Pair Encoding (BPE) algorithm. It can be used to process text data for input into machine learning models, or to

  • v0.1.0
  • 60.25
  • Published

@meistrari/gpt-tokenizer

A pure JavaScript implementation of a BPE tokenizer (Encoder/Decoder) for GPT-2 / GPT-3 / GPT-4 / Claude Instant / Claude 2

  • v0.3.2
  • 35.85
  • Published

@syonfox/gpt-3-encoder

Javascript BPE Encoder Decoder for GPT-2 / GPT-3. The "gpt-3-encoder" module provides functions for encoding and decoding text using the Byte Pair Encoding (BPE) algorithm. It can be used to process text data for input into machine learning models, or to

  • v1.4.0-rc5
  • 25.39
  • Published

llm-tokenizer

A lightweight tokenizer for OpenAI's GPT model series. Uses OpenAI's tiktoken python package

  • v1.0.2
  • 18.51
  • Published

gpt-tok

Lightweight trimmed down encoder/decoder/tokenizer/token counter for gpt3 that is compatible with both node and browser environments

  • v0.0.1
  • 13.31
  • Published

bpe-tokenizer

Build your own vocabulary from application-specific corpus using Byte pair encoding (BPE) algorithm.

    • v2.2.0
    • 6.92
    • Published

    tokin

    Fast tokenizer.

    • v0.1.0
    • 2.95
    • Published