If you go to the OAuth2 settings you can create a link with needed permission and by clicking the link a discord server owner can add the bot to their server. You will be needing your `BOT Token` under your Bot settings to connect it from your code. Create an application and then create a bot under your application.Īfter creating the BOT you will see their are several settings for the BOT. Setting up discord bot is straight forward. You will get all the updates of the project and I will get the inspiration to update the project. *** Giving ⭐️ Star on github repositories helps us both grow. But I am particularly interested in implementing it inside a project using my VS Code so that I can connect it with my discord BOT and send a response from there. All the examples are the test cases used in jupyter notebook. Because I couldn’t find any proper example to implement torchMoji in a project. The most hectic part for me in this journey was the setup. So we will use torchmoji for our implementation. ![]() So we will use TochMoji which is a implementation in python3. TorchMoji is a pyTorch implementation of the DeepMoji model built by huggingface. Through emoji prediction on a dataset of 1.2 billion tweets containing one of 64 common emojis they have obtained state-of-the-art performance on 8 benchmark datasets within sentiment, emotion and sarcasm detection using a single pretrained model. This paper shows that by extending the distant supervision to a more diverse set of noisy labels, the models can learn richer representations. Deepmoji is based on this paper developped by Bjarke Felbo, Alan Mislove, Anders Søgaard, Iyad Rahwan and Sune Lehmann. DeepMojiĭeepMoji is a model built on Keras and the backend on Tensorflow. This BOT can listen to all the messages being received and react with emoticons. This is a perfect opportunity for me to make a BOT in discord(as my office communication is held in discord) and experience how a NLP process works using a varient of LSTM and attention mechanism. It’s a common practice now a days to work on a pre-trained model and make it better according to the need. We can use pre trained models like DeepMoji to implement our bot. □ After a bit of research I found, DeepMoji □□♂️. Where will I get so much data to train a Neural Net? Even if I manage data, I will need a machine with hi-fi configuration or at-least with a powerful GPU to train my model with the data. As an experienced software developer its just an urge to implement the new knowledge acquired.īut there are some big hindrances. And also if I deploy a bot with my face, in my office server it can give proxy for me sometimes when I am busy reading. But the best way to learn anything is to experience it. ![]() ![]() I have been reading a lot of paper articles lately, mostly on Deep Learning, RNN, CNN, LSTM, Transformer(Attention is all you need), BERT etc.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |