shorecode commited on
Commit
584b431
·
verified ·
1 Parent(s): d1ff4dd

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ model = get_peft_model(model, lora_config)
25
  model.gradient_checkpointing_enable()
26
 
27
  @spaces.GPU(duration=120)
28
- def fine_tune_model(model_name, dataset_name, hub_id, api_key, num_epochs, batch_size, lr, grad):
29
  try:
30
  torch.cuda.empty_cache()
31
  def compute_metrics(eval_pred):
 
25
  model.gradient_checkpointing_enable()
26
 
27
  @spaces.GPU(duration=120)
28
+ def fine_tune_model(dataset_name, hub_id, api_key, num_epochs, batch_size, lr, grad):
29
  try:
30
  torch.cuda.empty_cache()
31
  def compute_metrics(eval_pred):