Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -25,9 +25,10 @@ from transformers import (
|
|
25 |
pipeline,
|
26 |
)
|
27 |
|
|
|
28 |
# The huggingface model id for Microsoft's phi-2 model
|
29 |
# Download and load model and tokenizer
|
30 |
-
tokenizer = AutoTokenizer.from_pretrained("mistralai/Mixtral-8x7B-Instruct-v0.1",
|
31 |
|
32 |
#Download safetensor of adapter of fine-tune Phi-2 model
|
33 |
from peft import PeftModel, PeftConfig
|
|
|
25 |
pipeline,
|
26 |
)
|
27 |
|
28 |
+
|
29 |
# The huggingface model id for Microsoft's phi-2 model
|
30 |
# Download and load model and tokenizer
|
31 |
+
tokenizer = AutoTokenizer.from_pretrained("mistralai/Mixtral-8x7B-Instruct-v0.1" ,trust_remote_code=True)
|
32 |
|
33 |
#Download safetensor of adapter of fine-tune Phi-2 model
|
34 |
from peft import PeftModel, PeftConfig
|