Пространство имен/Пакет: opennmt.utils.beam_search
Метод/Функция: penalize_token
Примеров на hotexamples.com: 4
Python penalize_token - 4 примера найдено. Это лучшие примеры Python кода для opennmt.utils.beam_search.penalize_token, полученные из open source проектов. Вы можете ставить оценку каждому примеру, чтобы помочь нам улучшить качество примеров.