This is the official repository of our paper g2pW: A Conditional Weighted Softmax BERT for Polyphone Disambiguation in Mandarin (INTERSPEECH 2022). (This work was tested with PyTorch 1.7.0, CUDA 10.1, ...