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 2.1.2 7 months ago
M
Q
P

Simple GPT

published 1.0.501 a year ago
M
Q
P

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

published 0.3.2 9 months ago
M
Q
P

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 1.4.0-rc5 a year ago
M
Q
P

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 0.1.0 a year ago
M
Q
P

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

published 0.0.1 a year ago
M
Q
P

Prevent GPT prompt attacks for Node.js & TypeScript

published 0.2.0 a year ago
M
Q
P