You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Firstly thanks for open-sourcing all components of alpaca_farm!
I'm looking into data_preprocessor.py and am wondering where/if the labels are set to the input_ids shifted by 1. (something like input_ids = input_ids[...,1:] labels = input_ids[...,:-1]classic next token prediction)
However, it seems like they're set to input_ids without any shifting? I'm not sure what I'm missing but any clarification would be great :)
The text was updated successfully, but these errors were encountered:
Hello,
Firstly thanks for open-sourcing all components of
alpaca_farm
!I'm looking into
data_preprocessor.py
and am wondering where/if thelabels
are set to theinput_ids
shifted by 1. (something likeinput_ids = input_ids[...,1:] labels = input_ids[...,:-1]
classic next token prediction)However, it seems like they're set to
input_ids
without any shifting? I'm not sure what I'm missing but any clarification would be great :)The text was updated successfully, but these errors were encountered: