rameye commited on
Commit
c2c5c38
1 Parent(s): 9e5e567

Create pytorch_model.bin

Browse files
Files changed (1) hide show
  1. pytorch_model.bin +7 -0
pytorch_model.bin ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ import torch
2
+
3
+ # Assuming your fine-tuned model is named 'model' (replace it with your model's actual name)
4
+ ret_model.pth = ...
5
+
6
+ # Save the model state dictionary
7
+ torch.save(model.state_dict(), 'pytorch_model.bin')