wangjin2000 commited on
Commit
3385d13
·
verified ·
1 Parent(s): cebaaeb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -181,10 +181,11 @@ def train_function_no_sweeps(base_model_path): #, train_dataset, test_dataset)
181
 
182
  model_name_base = base_model_path.split("/")[1]
183
  timestamp = datetime.now().strftime('%Y-%m-%d_%H')
184
-
 
185
  # Training setup
186
  training_args = TrainingArguments(
187
- output_dir=f"{model_name_base}-lora-binding-sites_{timestamp}",
188
  learning_rate=config["lr"],
189
  lr_scheduler_type=config["lr_scheduler_type"],
190
  gradient_accumulation_steps=1,
 
181
 
182
  model_name_base = base_model_path.split("/")[1]
183
  timestamp = datetime.now().strftime('%Y-%m-%d_%H')
184
+ save_path = f"{model_name_base}-lora-binding-sites_{timestamp}"
185
+
186
  # Training setup
187
  training_args = TrainingArguments(
188
+ output_dir=save_path, #f"{model_name_base}-lora-binding-sites_{timestamp}",
189
  learning_rate=config["lr"],
190
  lr_scheduler_type=config["lr_scheduler_type"],
191
  gradient_accumulation_steps=1,