Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline
|
|
| 4 |
# Load your model and tokenizer (same as before)
|
| 5 |
model = AutoModelForCausalLM.from_pretrained(
|
| 6 |
"marketeam/PhiMarketing",
|
| 7 |
-
device_map="
|
| 8 |
torch_dtype="auto",
|
| 9 |
trust_remote_code=True,
|
| 10 |
)
|
|
|
|
| 4 |
# Load your model and tokenizer (same as before)
|
| 5 |
model = AutoModelForCausalLM.from_pretrained(
|
| 6 |
"marketeam/PhiMarketing",
|
| 7 |
+
device_map="auto",
|
| 8 |
torch_dtype="auto",
|
| 9 |
trust_remote_code=True,
|
| 10 |
)
|