All Projects → cgpotts → Cs224u

cgpotts / Cs224u

Licence: apache-2.0
Code for Stanford CS224u

Projects that are alternatives of or similar to Cs224u

Awesome Ai Books
Some awesome AI related books and pdfs for learning and downloading, also apply some playground models for learning
Stars: ✭ 855 (-0.23%)
Mutual labels:  jupyter-notebook
Movielens Recommender
Course project for Programing Machine Learnings Applications class
Stars: ✭ 10 (-98.83%)
Mutual labels:  jupyter-notebook
Dl Workshop Series
Material used for Deep Learning related workshops for Machine Learning Tokyo (MLT)
Stars: ✭ 857 (+0%)
Mutual labels:  jupyter-notebook
Group meetings
Notes and ideas for MARL group meetings
Stars: ✭ 10 (-98.83%)
Mutual labels:  jupyter-notebook
Meetupcityfinder
Stars: ✭ 10 (-98.83%)
Mutual labels:  jupyter-notebook
Changepoint Detection
Online Change-point Detection Algorithm for Multi-Variate Data: Applications on Human/Robot Demonstrations.
Stars: ✭ 10 (-98.83%)
Mutual labels:  jupyter-notebook
Notes Lsju Machine Learning
机器学习笔记
Stars: ✭ 852 (-0.58%)
Mutual labels:  jupyter-notebook
Wikipediagenderinequality
Stars: ✭ 10 (-98.83%)
Mutual labels:  jupyter-notebook
Variational Autoencoders Summerschool 2016
Exercises for the semi-supervised summer school https://semisupervised-learning.compute.dtu.dk.
Stars: ✭ 10 (-98.83%)
Mutual labels:  jupyter-notebook
Pandas jupyter
Laboranyagok
Stars: ✭ 10 (-98.83%)
Mutual labels:  jupyter-notebook
Resnet
Tensorflow ResNet implementation on cifar10
Stars: ✭ 10 (-98.83%)
Mutual labels:  jupyter-notebook
Cds Ta Meetup
Competitive Data Science @ Tel Aviv Meetup
Stars: ✭ 10 (-98.83%)
Mutual labels:  jupyter-notebook
Tensorflow Tutorial
Basics of Tensorflow
Stars: ✭ 10 (-98.83%)
Mutual labels:  jupyter-notebook
Keras Tutorial
3-hour tutorial on building deep learning models with Keras.
Stars: ✭ 10 (-98.83%)
Mutual labels:  jupyter-notebook
Convolutional Pose Machines Release
Code repository for Convolutional Pose Machines, CVPR'16
Stars: ✭ 857 (+0%)
Mutual labels:  jupyter-notebook
Algorithmic Trading Python
The repository for freeCodeCamp's YouTube course, Algorithmic Trading in Python
Stars: ✭ 846 (-1.28%)
Mutual labels:  jupyter-notebook
Deeplearningcameraapp
Deep Learning Capstone Project. Live camera app that can interpret number strings in real-world images.
Stars: ✭ 10 (-98.83%)
Mutual labels:  jupyter-notebook
Idiomatic Robotframework
Stars: ✭ 10 (-98.83%)
Mutual labels:  jupyter-notebook
Data Science Toolbox Bootcamp
A 4 week program to get started with Data Science. Useful for beginners who want to get started by themselves.
Stars: ✭ 10 (-98.83%)
Mutual labels:  jupyter-notebook
Python And Spark For Data Analysis
A four-day course on Python, the Scientific Python stack and PySpark, adapted from a training course given by Patrick Varilly to one of our clients in December 2015
Stars: ✭ 10 (-98.83%)
Mutual labels:  jupyter-notebook

CS224u: Natural Language Understanding

Code for the Stanford course.

Fall 2020

Instructors

Core components

setup.ipynb

Details on how to get set up to work with this code.

tutorial_* notebooks

Introductions to Juypter notebooks, scientific computing with NumPy and friends, and PyTorch.

torch_*.py modules

A generic optimization class (torch_model_base.py) and subclasses for GloVe, Autoencoders, shallow neural classifiers, RNN classifiers, tree-structured networks, and grounded natural language generation.

tutorial_pytorch_models.ipynb shows how to use these modules as a general framework for creating original systems.

np_*.py modules

Reference implementations for the torch_*.py models, designed to reveal more about how the optimization process works.

vsm_* and hw_wordsim.ipynb

A until on vector space models of meaning, covering traditional methods like PMI and LSA as well as newer methods like Autoencoders and GloVe. vsm.py provides a lot of the core functionality, and torch_glove.py and torch_autoencoder.py are the learned models that we cover. vsm_03_retroffiting.ipynb is an extension that uses retrofitting.py.

sst_* and hw_sst.ipynb

A unit on sentiment analysis with the English Stanford Sentiment Treebank. The core code is sst.py, which includes a flexible experimental framework. All the PyTorch classifiers are put to use as well: torch_shallow_neural_network.py, torch_rnn_classifier.py, and torch_tree_nn.py.

rel_ext* and hw_rel_ext.ipynb

A unit on relation extraction with distant supervision.

nli_* and hw_wordentail.ipynb

A unit on Natural Language Inference. nli.py provides core interfaces to a variety of NLI dataset, and an experimental framework. All the PyTorch classifiers are again in heavy use: torch_shallow_neural_network.py, torch_rnn_classifier.py, and torch_tree_nn.py.

colors*, torch_color_describer.py, and hw_colors.ipynb

A unit on grounded natural language generation, focused on generating context-dependent color descriptions using the English Stanford Colors in Context dataset.

contextualreps.ipynb

Using pretrained parameters from Hugging Face and AllenNLP for featurization and fine-tuning.

evaluation_*.ipynb and projects.md

Notebooks covering key experimental methods and practical considerations, and tips on writing up and presenting work in the field.

utils.py

Miscellaneous core functions used throughout the code.

test/

To run these tests, use

py.test -vv test/*

or, for just the tests in test_shallow_neural_classifiers.py,

py.test -vv test/test_shallow_neural_classifiers.py

If the above commands don't work, try

python3 -m pytest -vv test/test_shallow_neural_classifiers.py

License

The materials in this repo are licensed under the Apache 2.0 license and a Creative Commons Attribution-ShareAlike 4.0 International license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].