Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,8 +22,6 @@ token = os.environ["HF_TOKEN"]
|
|
| 22 |
|
| 23 |
model = AutoModelForCausalLM.from_pretrained(
|
| 24 |
"microsoft/Phi-3-mini-128k-instruct",
|
| 25 |
-
use_cache=False,
|
| 26 |
-
attn_implementation="flash_attention_2",
|
| 27 |
token=token,
|
| 28 |
trust_remote_code=True,
|
| 29 |
)
|
|
|
|
| 22 |
|
| 23 |
model = AutoModelForCausalLM.from_pretrained(
|
| 24 |
"microsoft/Phi-3-mini-128k-instruct",
|
|
|
|
|
|
|
| 25 |
token=token,
|
| 26 |
trust_remote_code=True,
|
| 27 |
)
|