Vishwas1 commited on
Commit
d3d62d9
·
verified ·
1 Parent(s): 88dbd55

Update train_model.py

Browse files
Files changed (1) hide show
  1. train_model.py +4 -4
train_model.py CHANGED
@@ -244,8 +244,8 @@ def main():
244
  logging_steps=500,
245
  learning_rate=5e-4,
246
  remove_unused_columns=False,
247
- push_to_hub=False, # We'll handle pushing manually
248
- no_deprecation_warning=True # Suppress FutureWarning
249
  )
250
  elif args.task == "classification":
251
  training_args = TrainingArguments(
@@ -258,8 +258,8 @@ def main():
258
  logging_steps=500,
259
  learning_rate=5e-5,
260
  remove_unused_columns=False,
261
- push_to_hub=False, # We'll handle pushing manually
262
- no_deprecation_warning=True # Suppress FutureWarning
263
  )
264
  else:
265
  logging.error("Unsupported task type for training arguments.")
 
244
  logging_steps=500,
245
  learning_rate=5e-4,
246
  remove_unused_columns=False,
247
+ push_to_hub=False # We'll handle pushing manually
248
+
249
  )
250
  elif args.task == "classification":
251
  training_args = TrainingArguments(
 
258
  logging_steps=500,
259
  learning_rate=5e-5,
260
  remove_unused_columns=False,
261
+ push_to_hub=False # We'll handle pushing manually
262
+
263
  )
264
  else:
265
  logging.error("Unsupported task type for training arguments.")