JSPM

Found 7 results for GPT-2

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.50
  • 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.30
  • 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.87
  • 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
  • 24.94
  • Published

gpt-script

Simple GPT

  • v1.0.501
  • 17.77
  • 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.08
  • Published