Nodes/ComfyUI Neural Network Toolkit NNT /NNT Dataset To Text Tensor
ComfyUI Node

NNT Dataset To Text Tensor

A ComfyUI node in NNT Neural Network Toolkit/Data Processing with 14 inputs and 4 outputs.

By inventorado·Created 2 years ago·Updated 2 years ago· 69
NNT Dataset To Text Tensor
  • dataset
  • text_tensor
  • attention_mask
  • collated_outputs
  • info
text_columntext
tokenizer_namebert-base-uncased
max_length512
use_data_collatorTrue
paddingmax_length
truncationTrue
add_special_tokensTrue
return_typeinput_ids
pad_to_multiple_of8
return_tensorspt
detach_tensorTrue
requires_gradTrue
make_cloneTrue
CategoryNNT Neural Network Toolkit/Data Processing

Inputs (14)

NameTypeDefaultDescription
datasetDATASET
text_columnSTRINGtext
tokenizer_nameSTRINGbert-base-uncased
max_lengthINT5121–2048
use_data_collatorCOMBOTrue2 options: True, False
paddingCOMBOmax_length3 options: max_length, longest, do_not_pad
truncationCOMBOTrue2 options: True, False
add_special_tokensCOMBOTrue2 options: True, False
return_typeCOMBOinput_ids4 options: input_ids, attention_mask, token_type_ids, all
pad_to_multiple_ofINT81–128
return_tensorsCOMBOpt2 options: pt, tf
detach_tensorCOMBOTrue2 options: True, False
requires_gradCOMBOTrue2 options: True, False
make_cloneCOMBOTrue2 options: True, False

Outputs (4)

NameTypeDescription
text_tensorTENSOR
attention_maskTENSOR
collated_outputsDICT
infoSTRING