This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#================================= | |
# Sentence-level QE -- BiRNN model | |
#================================= | |
# | |
## Inputs: | |
# 1. Sentences in src language (shape: (mini_batch_size, line_words)) | |
# 2. Parallel machine-translated documents (shape: (mini_batch_size, line_words)) | |
# | |
## Output: | |
# 1. Sentence quality scores (shape: (mini_batch_size,)) |