-
Notifications
You must be signed in to change notification settings - Fork 34
Some questions about trans_embs #1
Copy link
Copy link
Open
Description
Hello, thank you so much for sharing the code with us. I have learned a lot. Thank you so much! But I have some questions about the trans_embs in this code.
- In train_scpn.py, SCPN's parameter "len_parse_voc" is 103, which means the parse vocabulary doesn't include the token 'EOP'. But during the training of SCPN, the function indexify_transformations() is called to get valid instances of transformations. In this function, deleaf() is called and deleaf() will add 'EOP' at the end of the parse. But there isn't 'EOP' in the parse vocabulary which will result in mistakes when transform the parse tag into index.
- There might be the token 'EOP' in the parses generated from ParseNet. But the trans_embs' shape in SCPN is (103*56), which means the embedding table doesn't include 'EOP'. This will result in errors when running generate_paraphrases.py.
- SCPN and ParseNet use different trans_embs, what if they share the same trans_embs ?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels