You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you add real translate function for 'transformer' as for 'padded_seq2seq.py'
def translate_sentence(sentence): # tokenize the sentence tokenized = tokenize_de(sentence) tokenized = ['<sos>'] + [t.lower() for t in tokenized] + ['<eos>']
Can you add real translate function for 'transformer' as for 'padded_seq2seq.py'
def translate_sentence(sentence): # tokenize the sentence tokenized = tokenize_de(sentence) tokenized = ['<sos>'] + [t.lower() for t in tokenized] + ['<eos>']Thanks.