Skip to content

Added telegram_print function#50

Open
apthagowda97 wants to merge 3 commits intohuggingface:masterfrom
apthagowda97:add-telegram-print
Open

Added telegram_print function#50
apthagowda97 wants to merge 3 commits intohuggingface:masterfrom
apthagowda97:add-telegram-print

Conversation

@apthagowda97
Copy link

@apthagowda97 apthagowda97 commented Mar 26, 2020

Thanks for this wonderful library.

When I commit a kernel in Kaggle I use knockkncok(telegram_sender) so that I 'll get to know the status of training. But the problem is I am unable to view some important data such as loss or accuracy for each epoch while the model is training.

So, I thought of writing a simple function

telegram_print(text="<your_text>",token="<your_api_token>", chat_id=CHAT_ID)

which can be used to send the message directly to telegram while training. It helps a lot to kill the kernel when the model is not performing well and thereby saving GPU.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant