Spaces:
Runtime error
Runtime error
Commit Β·
145e118
1
Parent(s): bfce0c7
fix adapter path
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ os.environ["HF_HOME"] = "/tmp/huggingface_home"
|
|
| 10 |
|
| 11 |
# Model and tokenizer loading
|
| 12 |
model_name = "microsoft/phi-2" # Replace with your base model name
|
| 13 |
-
adapter_path = "
|
| 14 |
|
| 15 |
# temporarily commented quantization
|
| 16 |
# bnb_config = BitsAndBytesConfig(
|
|
|
|
| 10 |
|
| 11 |
# Model and tokenizer loading
|
| 12 |
model_name = "microsoft/phi-2" # Replace with your base model name
|
| 13 |
+
adapter_path = "checkpoint-500" # Path to your adapter directory (relative to app.py)
|
| 14 |
|
| 15 |
# temporarily commented quantization
|
| 16 |
# bnb_config = BitsAndBytesConfig(
|