nkanungo commited on
Commit
881afc1
·
1 Parent(s): 011e441

Update nano_gpt_inferencing.py

Browse files
Files changed (1) hide show
  1. nano_gpt_inferencing.py +2 -2
nano_gpt_inferencing.py CHANGED
@@ -22,8 +22,8 @@ dropout = 0.2
22
  torch.manual_seed(1337)
23
 
24
  # wget https://raw.githubusercontent.com/karpathy/char-rnn/master/data/tinyshakespeare/input.txt
25
- with open('input.txt', 'r', encoding='utf-8') as f:
26
- text = f.read()
27
 
28
  # here are all the unique characters that occur in this text
29
  chars = sorted(list(set(text)))
 
22
  torch.manual_seed(1337)
23
 
24
  # wget https://raw.githubusercontent.com/karpathy/char-rnn/master/data/tinyshakespeare/input.txt
25
+ # with open('input.txt', 'r', encoding='utf-8') as f:
26
+ # text = f.read()
27
 
28
  # here are all the unique characters that occur in this text
29
  chars = sorted(list(set(text)))