Search results

7 packages found

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

published version 2.6.2, 11 days ago

Maintenance: 33%. Quality: 62%. Popularity: 14%.

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

published version 0.3.2, a year ago

Maintenance: 31%. Quality: 52%. Popularity: 2%.

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

published version 1.4.0-rc5, 2 years ago

Maintenance: 19%. Quality: 62%. Popularity: 1%.

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

published version 0.1.0, 2 years ago

Maintenance: 16%. Quality: 52%. Popularity: 3%.

Simple GPT

published version 1.0.501, 2 years ago

Maintenance: 17%. Quality: 51%. Popularity: 0%.

Prevent GPT prompt attacks for Node.js & TypeScript

published version 0.2.0, 2 years ago

Maintenance: 12%. Quality: 45%. Popularity: 0%.

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

published version 0.0.1, a year ago

Maintenance: 6%. Quality: 41%. Popularity: 2%.