Closed nizish closed 2 years ago
Hmm, yeah, that looks very fishy - it's been a few years since I've used this code, but I imagine that "fasttext" was never missing from new_opt
or something and so maybe we didn't notice this issue. Is it a blocker for you being able to use this code?
No, as I went thru the code I found it. There were more patterns like this.
Okay, thanks for letting me know this - I don't have bandwidth to make and test a patch myself, but it's good to know this for others who encounter this issue!
This code looks illogical.
If
new_opt
doesn't havefasttext
setnew_opt.fasttext
onsaved_opt
.https://github.com/facebookresearch/EmpatheticDialogues/blob/9649114c71e1af32189a3973b3598dc311297560/empchat/models.py#L70