summary / fengshen /utils /__init__.py
fclong's picture
Upload 396 files
8ebda9e
raw
history blame
355 Bytes
from .universal_checkpoint import UniversalCheckpoint
from .utils import chinese_char_tokenize
from .transfo_xl_utils import top_k_logits, sample_sequence_batch, sample_sequence, get_masks_and_position_ids
__all__ = ['UniversalCheckpoint', 'chinese_char_tokenize', 'top_k_logits', 'sample_sequence_batch', 'sample_sequence', 'get_masks_and_position_ids']