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
In CausalSelfAttention and GPT classes, the variable num decided by the form of different condtions could be improved using the code below: num = int(bool(config.num_props)) + ((1 - int(config.lstm)) * config.scaffold_maxlen + int(config.lstm)) * int(config.scaffold)
This could handle all the situations I believe.
The text was updated successfully, but these errors were encountered:
In CausalSelfAttention and GPT classes, the variable
num
decided by the form of different condtions could be improved using the code below:num = int(bool(config.num_props)) + ((1 - int(config.lstm)) * config.scaffold_maxlen + int(config.lstm)) * int(config.scaffold)
This could handle all the situations I believe.
The text was updated successfully, but these errors were encountered: