UNPKG

gpt-tokenizer

Version:

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

6 lines 266 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DEFAULT_MERGE_CACHE_SIZE = exports.ALL_SPECIAL_TOKENS = void 0; exports.ALL_SPECIAL_TOKENS = 'all'; exports.DEFAULT_MERGE_CACHE_SIZE = 100_000; //# sourceMappingURL=constants.js.map