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
The new version of transformers saves model checkpoints in safetensors format, which is incompatible with the way that trlx loads checkpoints using PreTrainedModelWrapper.from_pretrained. Specifically, the code fails pytorch_model.bin is not present anymore.
Which trlX version are you using?
trlx==0.7
Additional system and package information
transformers==4.34.0
The text was updated successfully, but these errors were encountered:
🐛 Describe the bug
The new version of transformers saves model checkpoints in
safetensors
format, which is incompatible with the way that trlx loads checkpoints usingPreTrainedModelWrapper.from_pretrained
. Specifically, the code failspytorch_model.bin
is not present anymore.Which trlX version are you using?
trlx==0.7
Additional system and package information
transformers==4.34.0
The text was updated successfully, but these errors were encountered: