wingsyuan

Results 3 issues of wingsyuan

user_dict 设置用户词典。 "default", 默认参数,使用我们提供的词典。 None, 不使用词典。 dict_path, 在使用默认词典的同时会额外使用用户自定义词典,可以填自己的用户词典的路径,词典格式为一行一个词。 你好,在user_dict里面有一个选项是dict_path, 请问这个怎么用? user_dict = dict_path? 就是 user_dict = 自定义词典的路径吗? 但这样用以后发现默认词典的效果没了。 比如 默认词典会识别 “第一次” 使用了dict_path 后 “第一次”被分开成 “第一 次”

as title... Hi, when I try to translate the src sentence using the pre-trained transformer model with marian decoder, and I want to output the initial hidden state of the...

### Description ...when i run t2t-decoder, an error occur, why and what happen? here is the command: t2t-decoder --data_dir=data --problem=translate_enzh_wmt32k --model=transformer --hparams_set=transformer_base_single_gpu --output_dir=train --decode_hparams="beam_size=4,alpha=0.6" --decode_from_file=test10.10 --decode_to_file=translation_test.en and the error: INFO:tensorflow:Inference...