TransformerBaseline

class TransformerBaseline(config)[source]
forward(X, time_delay)[source]

This function takes in the posts associated with each rumour (Organized in chronological order) and apply multihead attention (MHA) to it

  1. Max pooling is applied to each post to get the more prevelant feature for each post