wondervictor commited on
Commit
6efa488
·
verified ·
1 Parent(s): 5559068

Update model.py

Browse files
Files changed (1) hide show
  1. model.py +1 -1
model.py CHANGED
@@ -85,7 +85,7 @@ class Model:
85
  ).to(device='cuda', dtype=precision)
86
 
87
  model_weight = load_file(gpt_ckpt)
88
- gpt_model.load_state_dict(model_weight, strict=True)
89
  gpt_model.eval()
90
  print("gpt model is loaded")
91
  return gpt_model
 
85
  ).to(device='cuda', dtype=precision)
86
 
87
  model_weight = load_file(gpt_ckpt)
88
+ # gpt_model.load_state_dict(model_weight, strict=True)
89
  gpt_model.eval()
90
  print("gpt model is loaded")
91
  return gpt_model