Update app.py
Browse files
app.py
CHANGED
|
@@ -14,7 +14,8 @@ app = FastAPI()
|
|
| 14 |
|
| 15 |
# Load the base model and tokenizer
|
| 16 |
base_model_path = "HuggingFaceTB/SmolLM2-135M-Instruct" # Base model
|
| 17 |
-
adapter_weights_path = "
|
|
|
|
| 18 |
# Path to the adapter weights
|
| 19 |
|
| 20 |
tokenizer = AutoTokenizer.from_pretrained(base_model_path)
|
|
|
|
| 14 |
|
| 15 |
# Load the base model and tokenizer
|
| 16 |
base_model_path = "HuggingFaceTB/SmolLM2-135M-Instruct" # Base model
|
| 17 |
+
adapter_weights_path = "khurrameycon/SmolLM-135M-Instruct-qa_pairs_converted.json-25epochs/resolve/main/adapter_model.safetensors"
|
| 18 |
+
|
| 19 |
# Path to the adapter weights
|
| 20 |
|
| 21 |
tokenizer = AutoTokenizer.from_pretrained(base_model_path)
|