Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,7 +7,7 @@ model_id = "Atmanstr/qwen-financebot-finetuned" # Replace with your HF repo pat
|
|
| 7 |
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
|
| 8 |
model = AutoModelForCausalLM.from_pretrained(
|
| 9 |
model_id,
|
| 10 |
-
device_map=None
|
| 11 |
torch_dtype=torch.float16,
|
| 12 |
trust_remote_code=True
|
| 13 |
)
|
|
|
|
| 7 |
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
|
| 8 |
model = AutoModelForCausalLM.from_pretrained(
|
| 9 |
model_id,
|
| 10 |
+
device_map=None,
|
| 11 |
torch_dtype=torch.float16,
|
| 12 |
trust_remote_code=True
|
| 13 |
)
|