Open VictorChen2012 opened 4 years ago
Shallow fusion should be the most accessible but it may not be easy to integrate at this time. However, there are some incoming changes that should facilitate such combinations.
I'm interested in supporting shallow fusion in the near future.
Shallow fusion should be the most accessible but it may not be easy to integrate at this time. However, there are some incoming changes that should facilitate such combinations.
I'm interested in supporting shallow fusion in the near future.
Thanks for your quick reply! I'll see if I can contribute then.
Any update?
No one is currently working on this as far as I know.
I'm wondering if it is possible to combine an LM with a seq2seq model under OpenNMT-tf, e.g. shallow fusion, deep fusion or cold fusion.
Currently, vars and ops of LM decoder and seq2seq decoder are in different name scope. It's too complicated to directly load and merge two pretrained models, i.e. LM and the seq2seq model under the same name scope.
Any suggestions to the goal above?