sample return three arguments even when beamsearch is off