bytedance / lightseq

LightSeq: A High Performance Library for Sequence Processing and Generation
Other
3.22k stars 329 forks source link

output wrong #284

Open bino282 opened 2 years ago

bino282 commented 2 years ago

i try with ls_bert.when i print last hidden state of bert model, all equal to 0. output class of hf model và ls model are different Screenshot 2022-03-10 101939

Taka152 commented 2 years ago

Could you show the diff of your modified code?

On Thu, Mar 10, 2022 at 11:20 AM Nguyen Van Nha @.***> wrote:

i try with ls_bert.when i print last hidden state of bert model, all equal to 0. output class of hf model và ls model are different [image: Screenshot 2022-03-10 101939] https://user-images.githubusercontent.com/17800187/157581990-fa4a7ad7-3abd-4c3a-9564-e38522eabfbe.png

— Reply to this email directly, view it on GitHub https://github.com/bytedance/lightseq/issues/284, or unsubscribe https://github.com/notifications/unsubscribe-auth/AELIZAMZHZ7FNDRVR3QZI6TU7FS7LANCNFSM5QLLXQWA . You are receiving this because you are subscribed to this thread.Message ID: @.***>