RaleLee / DialogueGCN

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
27 stars 3 forks source link

how can i get train_1.json #3

Closed ZKayell closed 2 years ago

ZKayell commented 2 years ago

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')

RaleLee commented 2 years ago

You can get the json format dataset here : ) https://github.com/declare-lab/RECCON/tree/main/data/original_annotation

ZKayell commented 2 years ago

Thank you so much!