text
text copied to clipboard
Diverse beam search (CPU)
Summary
Adds diverse beam search from this paper.
Helpful Diagrams
Figure 1: Example of how diversity factor (Hamming) is applied at timestep t
Figure 2: General algo
Test Plan (required)
Will add new tests.
Checklist
- [ ] Test coverage
- [ ] Tests pass
- [ ] Code formatted
- [ ] Rebased on latest matter
- [ ] Code documented
Closes #54