Atmanstr commited on
Commit
b35517f
·
verified ·
1 Parent(s): 9b98476

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
  )