The invention discloses a model training method and device, a
phoneme recognition method and device and a medium. The model comprises an embedded network, an embedded network and a generative network, and the method comprises the following steps: obtaining a training acoustic
feature vector sequence, a training text
feature vector sequence and a training phoneme sequence of a language, converting the training phoneme sequence by using the embedded network to obtain a training embedded
feature vector, performing calculation based on the training acoustic feature vector sequence and the training text feature vector sequence by utilizing an embedded network to obtain a plurality of training implicit vector sequences, and calculating a predicted phoneme
probability vector sequence and a training phoneme
label vector sequence based on the training embedded feature vector and the plurality of training implicit vector sequences by utilizing a generative network to obtain a predicted phoneme
probability vector sequence and a predicted phoneme
label vector sequence; and calculating training loss based on the predicted phoneme
probability vector sequence and the training phoneme
label vector sequence, adjusting
model parameters of the
phoneme recognition model based on the loss, and continuing to
train the adjusted
phoneme recognition model until a convergence condition is reached to obtain the phoneme recognition model.