YenJung commited on
Commit
061abd2
1 Parent(s): f4edf84

Update model.py

Browse files
Files changed (1) hide show
  1. model.py +1 -1
model.py CHANGED
@@ -53,7 +53,7 @@ def decide_model(args, device_map):
53
  tokenizer = _MODEL_CLASSES[model_type].tokenizer.from_pretrained(args.base_model)
54
  model = _MODEL_CLASSES[model_type].model.from_pretrained(
55
  args.base_model,
56
- load_in_8bit=True,
57
  torch_dtype=torch.float16,
58
  device_map=device_map
59
  )
 
53
  tokenizer = _MODEL_CLASSES[model_type].tokenizer.from_pretrained(args.base_model)
54
  model = _MODEL_CLASSES[model_type].model.from_pretrained(
55
  args.base_model,
56
+ load_in_8bit=False,
57
  torch_dtype=torch.float16,
58
  device_map=device_map
59
  )