Skip to content

This repository contains my solution to the Stanford Course cs224u "Natural Language Understanding" Summer 2019

Notifications You must be signed in to change notification settings

Anwarvic/Stanford_CS224u--NLU-Course

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Stanford_CS224n (Natural Language Understanding)

This repository contains my solution to the Stanford course "Natural Language Understanding"under CS224u code by prof. Bill MacCartney and Prof.Christopher Potts in Summer 2019.

The original assignment (without my solution) can be found via the official GitHub repository of Prof. Potts here. Also, you can watch the lectures for free on YouTube. Here is the official playlist.

About the Course

Project-oriented class focused on developing systems and algorithms for robust machine understanding of human language. Draws on theoretical concepts from linguistics, natural language processing, and machine learning. There will be special lectures on developing projects, presenting research results, and making connections with industry.

It's expected to learn these few concepts after taking this course:

  • Lexical semantics
  • Distributed representations of meaning
  • Relation extraction
  • Semantic parsing
  • Sentiment analysis
  • Dialogue agents

In this repository, you can find nine different lessons. Inside each project, you can find three folders at most:

  • Lab: which contains exploratory code snippets
  • HW: whch contains the homework for this lesson.
  • Slides: which contains the slides for this lesson.

Getting Started

This course's code is written to run under Python 3.7. It's really recommended to install Anaconda3 for this course -to save a lot of time and effort- that can be done from here.

After that, you need to install these few packages:

$ # Install Tensorflow
$ conda install -c conda-forge tensorflow

$ # Install PyTorch
$ conda install pytorch torchvision cpuonly -c pytorch

$ # Install mitten
$ pip install mittens

$ # Install popular packages in NLTK
$ python
>>> import nltk
>>> nltk.download('popular')

Download Data

In this repository, we are using the data collected by Prof. Christopher Potts. We can download this data from this link (1.4GB). After downloading, it should be extracted in a folder called data and put in the root directory of this repository.

Acknowledgement

Big fat thanks to Stanford for making this great course publically-available.