CompositionalDataHandler.ConfigΒΆ

Component: CompositionalDataHandler

class CompositionalDataHandler.Config[source]

Bases: DataHandler.Config

All Attributes (including base classes)

columns_to_read: List[str] = ['doc_label', 'word_label', 'text', 'dict_feat', 'seqlogical']
shuffle: bool = True
sort_within_batch: bool = True
train_path: str = 'train.tsv'
eval_path: str = 'eval.tsv'
test_path: str = 'test.tsv'
train_batch_size: int = 1
eval_batch_size: int = 1
test_batch_size: int = 1

Default JSON

{
    "columns_to_read": [
        "doc_label",
        "word_label",
        "text",
        "dict_feat",
        "seqlogical"
    ],
    "shuffle": true,
    "sort_within_batch": true,
    "train_path": "train.tsv",
    "eval_path": "eval.tsv",
    "test_path": "test.tsv",
    "train_batch_size": 1,
    "eval_batch_size": 1,
    "test_batch_size": 1
}