Kc-12 commited on
Commit
c3d89b9
1 Parent(s): 65f0dcb

Upload 2 files

Browse files
Files changed (2) hide show
  1. app.py +1 -0
  2. better_transformer.py +0 -1
app.py CHANGED
@@ -4,6 +4,7 @@ import torch
4
 
5
  from better_transformer import *
6
 
 
7
  def main():
8
 
9
  # Enable CUDA if available and load in tokenizer
 
4
 
5
  from better_transformer import *
6
 
7
+
8
  def main():
9
 
10
  # Enable CUDA if available and load in tokenizer
better_transformer.py CHANGED
@@ -301,7 +301,6 @@ def load_tokenizer(device):
301
 
302
  def load_big_model(tokenizer, device):
303
  ## Model architecture
304
- set_seed(42)
305
  N_HEAD = 16
306
  N_LAYER = 8
307
  N_EMBD = 768
 
301
 
302
  def load_big_model(tokenizer, device):
303
  ## Model architecture
 
304
  N_HEAD = 16
305
  N_LAYER = 8
306
  N_EMBD = 768