savage1221 commited on
Commit
c206cc0
Β·
verified Β·
1 Parent(s): e21b443

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -6,8 +6,8 @@ torch.random.manual_seed(0)
6
 
7
  model = AutoModelForCausalLM.from_pretrained(
8
  "savage1221/lora-fine",
9
- device_map="cuda",
10
- torch_dtype="auto",
11
  trust_remote_code=True,
12
  )
13
  tokenizer = AutoTokenizer.from_pretrained("savage1221/lora-fine",trust_remote_code=True)
 
6
 
7
  model = AutoModelForCausalLM.from_pretrained(
8
  "savage1221/lora-fine",
9
+ # device_map="cuda",
10
+ # torch_dtype="auto",
11
  trust_remote_code=True,
12
  )
13
  tokenizer = AutoTokenizer.from_pretrained("savage1221/lora-fine",trust_remote_code=True)