Update handler.py
Browse files- handler.py +1 -1
handler.py
CHANGED
|
@@ -5,7 +5,7 @@ from peft import AutoPeftModelForCausalLM
|
|
| 5 |
from unsloth import FastLanguageModel # FastVisionModel for LLMs
|
| 6 |
|
| 7 |
MODEL_NAME = "unsloth/Phi-4-unsloth-bnb-4bit" # Base model name (e.g., mistralai/Mistral-7B)
|
| 8 |
-
|
| 9 |
|
| 10 |
def load_model():
|
| 11 |
"""Loads the base model and LoRA adapter using Unsloth."""
|
|
|
|
| 5 |
from unsloth import FastLanguageModel # FastVisionModel for LLMs
|
| 6 |
|
| 7 |
MODEL_NAME = "unsloth/Phi-4-unsloth-bnb-4bit" # Base model name (e.g., mistralai/Mistral-7B)
|
| 8 |
+
model_id = "Machlovi/Safe_Phi4" # Your LoRA fine-tuned adapter
|
| 9 |
|
| 10 |
def load_model():
|
| 11 |
"""Loads the base model and LoRA adapter using Unsloth."""
|