ierhon commited on
Commit
e9b6c75
1 Parent(s): 97dd1fe

Update hash

Browse files
Files changed (1) hide show
  1. chatbot_constructor.py +1 -1
chatbot_constructor.py CHANGED
@@ -45,7 +45,7 @@ def train(message: str = "", regularization: float = 0.0001, dropout: float = 0.
45
  vocab_size = len(tokenizer.word_index) + 1
46
  inp_len = input_len
47
  if data_hash is None:
48
- data_hash = hash_str(data)+"_"+str(regularization)+"_"+str(dropout)+"_"+str(learning_rate)+"_"+str(epochs)+"_"+str(emb_size)+"_"+str(inp_len)+"_"+str(kernels_count)+"_"+str(kernel_size)+".keras"
49
  elif message == "!getmodelhash":
50
  return data_hash
51
  else:
 
45
  vocab_size = len(tokenizer.word_index) + 1
46
  inp_len = input_len
47
  if data_hash is None:
48
+ data_hash = hash_str(data)+"_"+str(regularization)+"_"+str(dropout)+"_"+str(learning_rate)+"_"+str(epochs)+"_"+str(emb_size)+"_"+str(inp_len)+"_"+str(kernels_count)+"_"+str(kernel_size)+"_"+str(left_padding)+"_"+end_activation+".keras"
49
  elif message == "!getmodelhash":
50
  return data_hash
51
  else: