patchbanks commited on
Commit
b1f0002
·
verified ·
1 Parent(s): e348a77

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -24,11 +24,11 @@ ckpt_load = 'model.pt'
24
 
25
  start = "000000000000\n"
26
  num_samples = 1
27
- max_new_tokens = 1152
28
 
29
  seed = random.randint(1, 100000)
30
  torch.manual_seed(seed)
31
- device = 'cuda' if torch.cuda.is_available() else 'cpu'
32
  dtype = 'bfloat16' if torch.cuda.is_available() and torch.cuda.is_bf16_supported() else 'float16'
33
  compile = False
34
  exec(open('configurator.py').read())
 
24
 
25
  start = "000000000000\n"
26
  num_samples = 1
27
+ max_new_tokens = 768
28
 
29
  seed = random.randint(1, 100000)
30
  torch.manual_seed(seed)
31
+ device = 'cpu' if torch.cuda.is_available() else 'cpu'
32
  dtype = 'bfloat16' if torch.cuda.is_available() and torch.cuda.is_bf16_supported() else 'float16'
33
  compile = False
34
  exec(open('configurator.py').read())