LDJA commited on
Commit
77b1444
1 Parent(s): 3fb7e99
Files changed (1) hide show
  1. app/sample.py +2 -0
app/sample.py CHANGED
@@ -8,6 +8,8 @@ import torch
8
  import tiktoken
9
  from model import GPTConfig, GPT
10
 
 
 
11
  # -----------------------------------------------------------------------------
12
  init_from = 'resume' # either 'resume' (from an out_dir) or a gpt2 variant (e.g. 'gpt2-xl')
13
  out_dir = 'out' # ignored if init_from is not 'resume'
 
8
  import tiktoken
9
  from model import GPTConfig, GPT
10
 
11
+ pip install tiktoken
12
+
13
  # -----------------------------------------------------------------------------
14
  init_from = 'resume' # either 'resume' (from an out_dir) or a gpt2 variant (e.g. 'gpt2-xl')
15
  out_dir = 'out' # ignored if init_from is not 'resume'