HARSHIT-hash-07
feat: integrated cloud-based diffusion inference module
17f1f54
Raw
History Blame Contribute Delete
395 Bytes
# coding: utf-8
"""
Shared constants for Sign-IDD model code.
These are the standard special tokens used by the PHOENIX14T vocabulary.
"""
UNK_TOKEN = "<unk>"
PAD_TOKEN = "<pad>"
BOS_TOKEN = "<s>"
EOS_TOKEN = "</s>"
# Pad value for target skeleton sequences (used in loss masking)
TARGET_PAD = 0.0
# Default index for unknown tokens (callable so defaultdict works)
DEFAULT_UNK_ID = lambda: 0