jitao-xu / dual-decoding

1 stars 1 forks source link

Code for Joint Generation of Captions and Subtitles with Dual Decoding #1

Open archanaqre opened 4 months ago

archanaqre commented 4 months ago

Code for Joint Generation of Captions and Subtitles with Dual Decoding is not available. Can you provide it or point to the changes I might need to make to the code you have made available on your repo?

jitao-xu commented 4 months ago

The paper "Joint" shares the same code with "One Source". If you want to share the decoder parameters, you can use the option --share-decoders.

archanaqre commented 4 months ago

But the repo only has a link to fairseq in it

jitao-xu commented 4 months ago

It is not a link to fairseq. The code is built on fairseq, so the repo already contains necessary modification and new files. It just has the same name as fairseq. See the file fairseq/fairseq/models/multidecoder_transformer.py for an example.