A preprocessing and training code for DialogueGCN on Dailydialogue and Mastodon dataset. Use Bert base to preprocess the sentences. Based on https://github.com/declare-lab/conv-emotion/tree/master/DialogueGCN
hello. i noticed that the dataset you used was in JSON format, but the dataset i downloaded from the official website was in TXT format. How can I convert it to JSON format? Thanks a lot.
hello. i noticed that the dataset you used was in JSON format, but the dataset i downloaded from the official website was in TXT format. How can I convert it to JSON format? Thanks a lot.
train_data = create_utterances('dailydialog/train_1.json', 'train') valid_data = create_utterances('dailydialog/dev_1.json', 'valid') test_data = create_utterances('dailydialog/test_1.json', 'test')