"git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "cc12e1dbf685d14bfbce34ad1374176071df243a"
Fix multiple `eos_token_id`s in model.generate(...) (#21461)
* add tests with multiple eos_token_ids * make math.prod instead of sum * make fixup * fix long and also use np.prod since math.prod does not exist <python 3.8 * make fixup * add prod util * use prod util instead of np.prod * make fixup * previous .long location * use tensor ops * remove prod * remove prod * update device * make fixup * fix none
Showing
Please register or sign in to comment