message: Use the last char instead of the first in prediction
diff: "# empty string to store our results\n",
  "text_generated = ''\n",
  "\n",
  - "# low temperatures results in more predictable text.\n",
  - "# higher temperatures results in more surprising text\n",
  - "# experiment to find the best setting\n",
  - "temperature = 1.0\n",
  - "\n",
  "# hidden state shape == (batch_size, number of rnn units); here batch size == 1\n",
  "hidden = [tf.zeros((1, units))]\n",
  "for i in range(num_generate):\n",
  " predictions, hidden = model(input_eval, hidden)\n",
  "\n",
  " # using a multinomial distribution to predict the word returned by the model\n",
  - " predictions = predictions / temperature\n",
  - " predicted_id = tf.argmax(predictions[0]).numpy()\n",
  + " predicted_id = tf.argmax(predictions[-1]).numpy()\n",
  " \n",
  " # We pass the predicted word as the next input to the model\n",
  " # along with the previous hidden state\n",
  