codys12 commited on
Commit
60682e7
1 Parent(s): eb2677f

fix storage

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ MAX_INPUT_TOKEN_LENGTH = 4096
20
 
21
  if torch.cuda.is_available():
22
  model_id = "codys12/MergeLlama-7b"
23
- model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype=torch.float16, device_map=0, cache_dir="/Data")
24
  model.cuda()
25
  tokenizer = AutoTokenizer.from_pretrained(model_id)
26
 
 
20
 
21
  if torch.cuda.is_available():
22
  model_id = "codys12/MergeLlama-7b"
23
+ model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype=torch.float16, device_map=0, cache_dir="/data")
24
  model.cuda()
25
  tokenizer = AutoTokenizer.from_pretrained(model_id)
26