Corianas commited on
Commit
fdbe694
·
1 Parent(s): afac7f3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -30,6 +30,8 @@ max_new_tokens = 175 # number of tokens generated in each sample
30
  temperature = 0.8 # 1.0 = no change, < 1.0 = less random, > 1.0 = more random, in predictions
31
  top_k = 200 # retain only the top_k most likely tokens, clamp others to have 0 probability
32
  device = 'cuda' # examples: 'cpu', 'cuda', 'cuda:0', 'cuda:1', etc.
 
 
33
 
34
 
35
  torch.backends.cuda.matmul.allow_tf32 = True # allow tf32 on matmul
 
30
  temperature = 0.8 # 1.0 = no change, < 1.0 = less random, > 1.0 = more random, in predictions
31
  top_k = 200 # retain only the top_k most likely tokens, clamp others to have 0 probability
32
  device = 'cuda' # examples: 'cpu', 'cuda', 'cuda:0', 'cuda:1', etc.
33
+ dtype = 'bfloat16' # 'float32' or 'bfloat16' or 'float16'
34
+ out_dir = 'model' # ignored if init_from is not 'resume'
35
 
36
 
37
  torch.backends.cuda.matmul.allow_tf32 = True # allow tf32 on matmul