Open PrayChen opened 1 year ago
https://github.com/heiheiyoyo/uie_pytorch/blob/141ffa32596f29c83bce506cb5bcd6e503033fed/uie_predictor.py#L459
run uie_predictor.py there is a bug when your input are multi-texts , [a_long_text, a_short_text,....], and the a_long_text is longer than 512.
当输入是多个text, 且其中有个text是长于512的时候,会报错。
https://github.com/heiheiyoyo/uie_pytorch/blob/141ffa32596f29c83bce506cb5bcd6e503033fed/uie_predictor.py#L459
run uie_predictor.py there is a bug when your input are multi-texts , [a_long_text, a_short_text,....], and the a_long_text is longer than 512.
当输入是多个text, 且其中有个text是长于512的时候,会报错。