Spaces:
Runtime error
Runtime error
Update local changes
Browse files- app.py +1 -0
- spanish_medica_llm.py +0 -1
app.py
CHANGED
|
@@ -73,6 +73,7 @@ def train_model(*inputs):
|
|
| 73 |
# torch.cuda.empty_cache()
|
| 74 |
# return [gr.update(visible=True, value=["diffusers_model.zip"]), gr.update(visible=True), gr.update(visible=True), gr.update(visible=True)]
|
| 75 |
run_training_process()
|
|
|
|
| 76 |
return f"Train Model Sucessful!!!"
|
| 77 |
|
| 78 |
def stop_model(*input):
|
|
|
|
| 73 |
# torch.cuda.empty_cache()
|
| 74 |
# return [gr.update(visible=True, value=["diffusers_model.zip"]), gr.update(visible=True), gr.update(visible=True), gr.update(visible=True)]
|
| 75 |
run_training_process()
|
| 76 |
+
|
| 77 |
return f"Train Model Sucessful!!!"
|
| 78 |
|
| 79 |
def stop_model(*input):
|
spanish_medica_llm.py
CHANGED
|
@@ -490,7 +490,6 @@ def modelLoraConfigBioMistral(model):
|
|
| 490 |
# as your final model in step 6 below.
|
| 491 |
|
| 492 |
|
| 493 |
-
|
| 494 |
def configAndRunTraining(basemodel, dataset, eval_dataset, tokenizer):
|
| 495 |
if basemodel is None or dataset is None or tokenizer is None:
|
| 496 |
return None
|
|
|
|
| 490 |
# as your final model in step 6 below.
|
| 491 |
|
| 492 |
|
|
|
|
| 493 |
def configAndRunTraining(basemodel, dataset, eval_dataset, tokenizer):
|
| 494 |
if basemodel is None or dataset is None or tokenizer is None:
|
| 495 |
return None
|