suayptalha commited on
Commit
714480c
·
verified ·
1 Parent(s): 4982aca

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -61,7 +61,7 @@ def train_model(model, tokenizer, train_data, output_dir, epochs=3, batch_size=1
61
 
62
  print(f"Epoch {epoch + 1} Loss: {epoch_loss / len(train_loader)}")
63
 
64
- model.save_pretrained(output_dir)
65
  tokenizer.save_pretrained(output_dir)
66
  ```
67
 
 
61
 
62
  print(f"Epoch {epoch + 1} Loss: {epoch_loss / len(train_loader)}")
63
 
64
+ model.save_pretrained(output_dir, safe_serialization = False)
65
  tokenizer.save_pretrained(output_dir)
66
  ```
67