Replies: 5 comments 3 replies
-
Sorry, I don't know the ParlAI codebase or API at all, so I can't be of much assistance. Constraints work fine when used with fairseq-interactive, so there must be some problem with the interface. |
Beta Was this translation helpful? Give feedback.
-
Not sure but digging this energy y'all. |
Beta Was this translation helpful? Give feedback.
-
@mjpost thats ok, ill try digging out myself. Actually I mentioned before that it was my custom ParlAI model. Anyway, I really appreciate the work you have done so far. @stephenroller i believe that making this algorithm work would benefit ParlAI greatly. Because without it we have little to none control over the generation. And we all know that generative models can go nuts if used without such control. |
Beta Was this translation helpful? Give feedback.
-
just fixed the problem with multiple constraints. Works quite well now. |
Beta Was this translation helpful? Give feedback.
-
Will you consider submitting a PR? |
Beta Was this translation helpful? Give feedback.
-
Hello,
I have been working on porting Constrained Beam Search algorithm from Fairseq library to ParlAI. You can check my fork here
I was able to connect it with the Transformer agent. The demo can be run from tests/run_constrained_beam_search.py
I still have several problems with the algorithm:
Beta Was this translation helpful? Give feedback.
All reactions