Nodes/ComfyDL/Vocab Build
ComfyUI Node

Vocab Build

A ComfyUI node in ComfyDL/NLP Utils with 3 inputs and 2 outputs.

By Cynthia-lxx·Created about a month ago·Updated 7 days ago· 4
Vocab Build
    • vocab
    • vocab_size
    tokens_textthe quick brown fox the lazy dog
    min_freq1
    reserved_tokens<pad>,<bos>,<eos>
    CategoryComfyDL/NLP Utils

    Inputs (3)

    NameTypeDefaultDescription
    tokens_textSTRINGthe quick brown fox the lazy dog
    min_freqINT11–100000
    reserved_tokensSTRING<pad>,<bos>,<eos>

    Outputs (2)

    NameTypeDescription
    vocabcdlVocab
    vocab_sizeINT