Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ from transformers import AutoTokenizer, AutoModelForCausalLM, AutoConfig
|
|
| 3 |
from peft import PeftModel, LoraConfig
|
| 4 |
|
| 5 |
# Define the path where the model and adapters are saved
|
| 6 |
-
model_path = "
|
| 7 |
adapter_path = "netmouse/Llama-3-Taiwan-8B-Instruct-finetuning-by-promisedchat" # Assuming adapter is stored in the same path
|
| 8 |
|
| 9 |
# Load the tokenizer
|
|
|
|
| 3 |
from peft import PeftModel, LoraConfig
|
| 4 |
|
| 5 |
# Define the path where the model and adapters are saved
|
| 6 |
+
model_path = "yentinglin/Llama-3-Taiwan-8B-Instruct" # Update this to your model path
|
| 7 |
adapter_path = "netmouse/Llama-3-Taiwan-8B-Instruct-finetuning-by-promisedchat" # Assuming adapter is stored in the same path
|
| 8 |
|
| 9 |
# Load the tokenizer
|