Nan Zhao

Results 14 comments of 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.

![image](https://user-images.githubusercontent.com/4546867/114539648-465dc300-9c87-11eb-89cd-373c0ccccbc4.png) 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 \...

> 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 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...