cyn7hia / paed Goto Github PK
View Code? Open in Web Editor NEWThis is a repository for our paper (PAED: Zero-Shot Persona Attribute Extraction in Dialogues) accepted in ACL'23.
This is a repository for our paper (PAED: Zero-Shot Persona Attribute Extraction in Dialogues) accepted in ACL'23.
Hi, when I run python trainer_finetune.py
I run into the following module error:
Traceback (most recent call last):
from model.VAESampler import MetaVAE
File "C:\PycharmProjects\peacok_playground\PAED\model\VAESampler.py", line 9, in <module>
from model.base import BaseVAE
File "C:\PycharmProjects\peacok_playground\PAED\model\base.py", line 5, in <module>
from model.types_ import *
ModuleNotFoundError: No module named 'model.types_'
Is there a missing types
file in the repo which consolidates the used datatypes? I also see this line in VAESampler.py.
Thanks.
In wrapper.py
there is a reference to from knowledge_prepare import load_u2t
, but knowledge_prepare
is not in the repo and I could not find it elsewhere.
Thanks.
I noticed there are no trained models in the repo, will you be releasing them?
Thanks,
When running python trainer_finetune.py
I encounter this error
Traceback (most recent call last):
File "/home/ec2-user/PAED/trainer_finetune.py", line 732, in <module>
main(
File "/home/ec2-user/PAED/trainer_finetune.py", line 600, in main
training(save_dir, path_model, data_name, split, logger)
File "/home/ec2-user/PAED/trainer_finetune.py", line 436, in training
train_vae = VAEData(path=save_dir, train_args=train_args, name='train', data_name=data_name, split=split)
File "/home/ec2-user/PAED/dataset.py", line 86, in __init__
self.get_vocab(path_in)
File "/home/ec2-user/PAED/dataset.py", line 202, in get_vocab
dataset = self.get_data(self.path, name)
File "/home/ec2-user/PAED/dataset.py", line 170, in get_data
data = wr_Dataset.load(str(path_in))
File "/home/ec2-user/PAED/wrapper.py", line 57, in load
with open(path) as f:
FileNotFoundError: [Errno 2] No such file or directory: 'outputs/wrapper/u2t_map_all/unseen_5_seed_0/synthetic.jsonl'
Is this data supposed to be created by the script or do I need to download a file?
Thanks.