Skip to content

Latest commit

Β 

History

History
33 lines (16 loc) Β· 1.48 KB

File metadata and controls

33 lines (16 loc) Β· 1.48 KB

NLP2

Beirut AI second NLP workshop: Word Embeddings

Last Workshop, we introduced NLP and we coded an AI that is able to predict Stackoverflow questions tags given the questions. We relied completely on Bag of Words (a well-known technique to convert text into numerical values machines can understand). We concluded with some limitations of Bag of Words, such as inability of understanding semanrics & meanings.

In this workshop, we introduce a new technique called Word Embeddings, which is well-known by its ability of interpreting meanings and relations. For the hands-on session, we use Word embeddings to predict the sentiment of IMDB movies reviews.

image

πŸ‘‡ πŸ‘‡ πŸ‘‡ πŸ‘‡ πŸ‘‡ πŸ‘‡ πŸ‘‡ πŸ‘‡ πŸ‘‡ πŸ‘‡

Slides can be found here: https://drive.google.com/file/d/19-UPW5NeV16LYbTV3f9AJkCkKDD4qzRz/view?usp=sharing

Code (with blanks) on Google Colab can be found here: https://colab.research.google.com/drive/1r0F3c-ndJjCijHdEnVmKhi4GPFu_Zkkb

Complete code (with solutions) on Google Colab can be found here: https://colab.research.google.com/drive/1Devsm-PdvPKmTXnvS-AeVMePfTObNFyX

To edit the code, click File then Save a copy in Drive…


Happy coding πŸ’»

Live Love AI 😍

Live Love NLP 😍

Instructor

This workshop was prepared and presented by Obeida ElJundi