Nan Zhao
Nan Zhao
It seems be cauesed by pos_ids, which has two parts fo informaiton. But they are all put into transformer self-attention, so does pos_ids cause this issue??? Variable: pos_ids - lod:...
> Have you change the code? except for "paddle.enable_static()", I don't do other code changes.
 it is the data that I put in static graph. it seems that everything is OK. 160 samples, max sample length 26, sample id, 0, 1. but I don't...
I infer the example data " ./data/valid_filelist", and see the similar code. ``` (jddc_2020) ➜ Knover-master git:(master) ✗ python infer.py \ --model Plato --task DialogGeneration --vocab_path ./projects/lic2021/conf/vocab.txt --spm_model_file ./projects/lic2021/conf/spm.model \...
I run my code in master branch with paddlepaddle 2.0.1.
> If you use master branch, may be you need to use paddlepaddle 1.8.x > If you want to use paddlepaddle 2.0.x, you need to change to develop branch. >...
> If you use master branch, may be you need to use paddlepaddle 1.8.x > If you want to use paddlepaddle 2.0.x, you need to change to develop branch. >...
in master branch, the README.md dosen't cover inference and it only has "Basic usage Training". so could you share how to inference with example data (./data/valid_filelist) even though it doesn't...
I reference this doc https://zhuanlan.zhihu.com/p/292013818
> I recommend you use develop branch instead. I use the develop branch to train and infer the numerical format file with paddle 2.0.1, but it still has some problems...