trainer = GRUTrainer(gru, learning_rate=1e-3, patience=50, verbose=True, delta=0.001)