/Contextual-Embeddings-Using-HateBert-and-RNNs

We aim to clasify tweets based on three categories 0: hate, 1: offensive, 2: neutral. For this purpose we use HateBert pretrained model with RNNs as the trainable layers

Primary LanguageJupyter Notebook

Contextual embeddings Using RNNs

Using HateBert and two RNNs as its last trainable layers to classify context of the tweets in the dataset (0: hate tweets, 1: offensive tweets, 2: neutral tweets)

pre_main_data is the preprocessed dataset