sgnlp.models.rumour_detection_twitter.utils.load_transform_dataset

load_transform_dataset(data_path, batch_size, tokenizer, split, max_tokens, max_posts, post_padding_idx, time_padding_idx)[source]
data_path

Path to the data json file

batch_sizeint

Batch size

tokenizerRumourDetectionTokenizer

Tokenizer object for tweets