Commit 2fe45f09 authored by Xing Zhou's avatar Xing Zhou Committed by Facebook Github Bot
Browse files

Update README.md to add top-p sampling (#783)

Summary:
Update README.md to include the recently implemented top-p/nucleus sampling.
Pull Request resolved: https://github.com/fairinternal/fairseq-py/pull/783

Differential Revision: D16543974

Pulled By: myleott

fbshipit-source-id: 27c502af10ee390d29607038118a99ff0067aec4
parent 2f6d8b35
...@@ -36,7 +36,7 @@ Fairseq provides reference implementations of various sequence-to-sequence model ...@@ -36,7 +36,7 @@ Fairseq provides reference implementations of various sequence-to-sequence model
- fast generation on both CPU and GPU with multiple search algorithms implemented: - fast generation on both CPU and GPU with multiple search algorithms implemented:
- beam search - beam search
- Diverse Beam Search ([Vijayakumar et al., 2016](https://arxiv.org/abs/1610.02424)) - Diverse Beam Search ([Vijayakumar et al., 2016](https://arxiv.org/abs/1610.02424))
- sampling (unconstrained and top-k) - sampling (unconstrained, top-k and top-p/nucleus)
- large mini-batch training even on a single GPU via delayed updates - large mini-batch training even on a single GPU via delayed updates
- mixed precision training (trains faster with less GPU memory on [NVIDIA tensor cores](https://developer.nvidia.com/tensor-cores)) - mixed precision training (trains faster with less GPU memory on [NVIDIA tensor cores](https://developer.nvidia.com/tensor-cores))
- extensible: easily register new models, criterions, tasks, optimizers and learning rate schedulers - extensible: easily register new models, criterions, tasks, optimizers and learning rate schedulers
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment