AkashDataScience commited on
Commit
467a29f
·
1 Parent(s): 78f0cbc

Changed model name

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ elif hasattr(torch.backends, "mps") and torch.backends.mps.is_available():
11
  device = "mps"
12
 
13
  model = GPT(GPTConfig())
14
- model.load_state_dict(torch.load("nanogpt.pth", map_location=torch.device(device)), strict=False)
15
 
16
  model.to(device)
17
 
 
11
  device = "mps"
12
 
13
  model = GPT(GPTConfig())
14
+ model.load_state_dict(torch.load("gpt2.pt", map_location=torch.device(device)), strict=False)
15
 
16
  model.to(device)
17