mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-26 17:50:22 +01:00
typo in training.py (#1329)
This commit is contained in:
parent
ac2973ffc6
commit
6a810b16b2
@ -149,7 +149,7 @@ def do_train(lora_name: str, always_override: bool, save_steps: int, micro_batch
|
|||||||
if model_type in MODEL_CLASSES:
|
if model_type in MODEL_CLASSES:
|
||||||
model_id = MODEL_CLASSES[model_type]
|
model_id = MODEL_CLASSES[model_type]
|
||||||
else:
|
else:
|
||||||
model_id == "llama"
|
model_id = "llama"
|
||||||
if model_type == "PeftModelForCausalLM":
|
if model_type == "PeftModelForCausalLM":
|
||||||
yield "You are trying to train a LoRA while you already have another LoRA loaded. This will work, but may have unexpected effects. *(Will continue anyway in 5 seconds, press `Interrupt` to stop.)*"
|
yield "You are trying to train a LoRA while you already have another LoRA loaded. This will work, but may have unexpected effects. *(Will continue anyway in 5 seconds, press `Interrupt` to stop.)*"
|
||||||
print("Warning: Training LoRA over top of another LoRA. May have unexpected effects.")
|
print("Warning: Training LoRA over top of another LoRA. May have unexpected effects.")
|
||||||
|
Loading…
Reference in New Issue
Block a user