Skip to content

Commit

Permalink
update, azure cannot wait so we lowered echops again but to 300 this …
Browse files Browse the repository at this point in the history
…time
  • Loading branch information
CComps committed Jun 5, 2023
1 parent 2f7d82e commit 6504218
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def train_model():
model.compile(loss="categorical_crossentropy", optimizer=sgd, metrics=["accuracy"])

mychatbotmodel = model.fit(
np.array(training_x), np.array(training_y), epochs=1000, batch_size=5, verbose=1
np.array(training_x), np.array(training_y), epochs=300, batch_size=5, verbose=1
)
model.save("chatbotmodel.h5", mychatbotmodel)
print("Done")
Expand Down

0 comments on commit 6504218

Please sign in to comment.