String2DListTensorizer.ConfigΒΆ

Component: String2DListTensorizer

class String2DListTensorizer.Config[source]

Bases: Tensorizer.Config

All Attributes (including base classes)

is_input: bool = True
column: str = 'text'
The name of the text column to parse from the data source.
vocab: VocabConfig = VocabConfig()
vocab_file_delimiter: str = ' '

Default JSON

{
    "is_input": true,
    "column": "text",
    "vocab": {
        "build_from_data": true,
        "size_from_data": 0,
        "min_counts": 0,
        "vocab_files": []
    },
    "vocab_file_delimiter": " "
}