Kasivs commited on
Commit
6d8bcb8
1 Parent(s): 1977c3f

Create pytorch_model.bin

Browse files
Files changed (1) hide show
  1. pytorch_model.bin +5 -0
pytorch_model.bin ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ import torch
2
+
3
+ # Assuming `model` is your trained model
4
+ model_save_path = "pytorch_model.bin"
5
+ torch.save(model.state_dict(), model_save_path)