{
  "id": 113148,
  "title": "Getting Notified when your ML model is complete",
  "url": "/competitions/ashrae-energy-prediction/discussion/113148",
  "author_name": "",
  "post_date": "2019-10-17T09:56:31.187187300Z",
  "votes": null,
  "comment_count": 1,
  "views": 0,
  "content": "<p>Hi kagglers,</p>\n\n<p>I've recently discovered this beautiful Python library: <a href=\"https://github.com/huggingface/knockknock\">knockknock</a>.</p>\n\n<p>Have you ever wished to get a message whenever your model ends its training? Well, this is the library for us 😄 ! I've created a Telegram bot so that I receive a notification saying some cool info about my models (it brings also errors if your pipeline crashes).</p>\n\n<p>I also noticed that they've recently added the SMS option with @abhishek 's help</p>\n\n<p><a href=\"https://www.kaggle.com/raimonds1993/getting-notified-when-you-ml-model-is-complete\">Here you can find a simple and fun tutorial</a> to get your own notifier! Hope this will help you as much it did with me 😎 .</p>",
  "messages": [
    {
      "id": "651307",
      "postDate": "10/17/2019 09:56:31",
      "content": "<p>Hi kagglers,</p>\n\n<p>I've recently discovered this beautiful Python library: <a href=\"https://github.com/huggingface/knockknock\">knockknock</a>.</p>\n\n<p>Have you ever wished to get a message whenever your model ends its training? Well, this is the library for us 😄 ! I've created a Telegram bot so that I receive a notification saying some cool info about my models (it brings also errors if your pipeline crashes).</p>\n\n<p>I also noticed that they've recently added the SMS option with @abhishek 's help</p>\n\n<p><a href=\"https://www.kaggle.com/raimonds1993/getting-notified-when-you-ml-model-is-complete\">Here you can find a simple and fun tutorial</a> to get your own notifier! Hope this will help you as much it did with me 😎 .</p>",
      "rawMarkdown": "Hi kagglers,\n\nI've recently discovered this beautiful Python library: [knockknock](https://github.com/huggingface/knockknock).\n\nHave you ever wished to get a message whenever your model ends its training? Well, this is the library for us 😄 ! I've created a Telegram bot so that I receive a notification saying some cool info about my models (it brings also errors if your pipeline crashes).\n\nI also noticed that they've recently added the SMS option with @abhishek 's help\n\n[Here you can find a simple and fun tutorial](https://www.kaggle.com/raimonds1993/getting-notified-when-you-ml-model-is-complete) to get your own notifier! Hope this will help you as much it did with me 😎 .",
      "votes": null
    },
    {
      "id": "651313",
      "postDate": "10/17/2019 10:12:48",
      "content": "<p>```\nfrom knockknock import email_sender</p>\n\n<p>@email_sender(recipient_email=\"your_email@address.com\", sender_email=\"grandma's_email@gmail.com\")\ndef train_your_nicest_model(your_nicest_parameters):\n    import time\n    time.sleep(10000)\n    return {'loss': 0.9} # Optional return value\n```\nNice way to get emails from your grandma! ;)</p>",
      "rawMarkdown": "```\nfrom knockknock import email_sender\n\n@email_sender(recipient_email=\"your_email@address.com\", sender_email=\"grandma's_email@gmail.com\")\ndef train_your_nicest_model(your_nicest_parameters):\n    import time\n    time.sleep(10000)\n    return {'loss': 0.9} # Optional return value\n```\nNice way to get emails from your grandma! ;)",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 651313,
      "author_name": "hmendonca",
      "author_url": "",
      "post_date": "10/17/2019 10:12:48",
      "content": "<p>```\nfrom knockknock import email_sender</p>\n\n<p>@email_sender(recipient_email=\"your_email@address.com\", sender_email=\"grandma's_email@gmail.com\")\ndef train_your_nicest_model(your_nicest_parameters):\n    import time\n    time.sleep(10000)\n    return {'loss': 0.9} # Optional return value\n```\nNice way to get emails from your grandma! ;)</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "651307": "Hi kagglers,\n\nI've recently discovered this beautiful Python library: [knockknock](https://github.com/huggingface/knockknock).\n\nHave you ever wished to get a message whenever your model ends its training? Well, this is the library for us 😄 ! I've created a Telegram bot so that I receive a notification saying some cool info about my models (it brings also errors if your pipeline crashes).\n\nI also noticed that they've recently added the SMS option with @abhishek 's help\n\n[Here you can find a simple and fun tutorial](https://www.kaggle.com/raimonds1993/getting-notified-when-you-ml-model-is-complete) to get your own notifier! Hope this will help you as much it did with me 😎 .",
    "651313": "```\nfrom knockknock import email_sender\n\n@email_sender(recipient_email=\"your_email@address.com\", sender_email=\"grandma's_email@gmail.com\")\ndef train_your_nicest_model(your_nicest_parameters):\n    import time\n    time.sleep(10000)\n    return {'loss': 0.9} # Optional return value\n```\nNice way to get emails from your grandma! ;)"
  },
  "source": "meta"
}