All Projects → Steven-Hewitt → Entailment With Tensorflow

Steven-Hewitt / Entailment With Tensorflow

Accompanying notebook for the Entailment with Tensorflow article.

Projects that are alternatives of or similar to Entailment With Tensorflow

Seq2seq Signal Prediction
Signal forecasting with a Sequence-to-Sequence (seq2seq) Recurrent Neural Network (RNN) model in TensorFlow - Guillaume Chevalier
Stars: ✭ 890 (+998.77%)
Mutual labels:  jupyter-notebook, tensorflow-tutorials
Deeptrading
Deep Neural Network Trading collection of Tensorflow Jupyter notebooks
Stars: ✭ 41 (-49.38%)
Mutual labels:  jupyter-notebook, tensorflow-tutorials
Tensorflow Tutorial
Some interesting TensorFlow tutorials for beginners.
Stars: ✭ 893 (+1002.47%)
Mutual labels:  jupyter-notebook, tensorflow-tutorials
Machine Learning Book
《机器学习宝典》包含:谷歌机器学习速成课程(招式)+机器学习术语表(口诀)+机器学习规则(心得)+机器学习中的常识性问题 (内功)。该资源适用于机器学习、深度学习研究人员和爱好者参考!
Stars: ✭ 616 (+660.49%)
Mutual labels:  jupyter-notebook, tensorflow-tutorials
Fish detection
Fish detection using Open Images Dataset and Tensorflow Object Detection
Stars: ✭ 67 (-17.28%)
Mutual labels:  jupyter-notebook, tensorflow-tutorials
Machine Learning
머신러닝 입문자 혹은 스터디를 준비하시는 분들에게 도움이 되고자 만든 repository입니다. (This repository is intented for helping whom are interested in machine learning study)
Stars: ✭ 705 (+770.37%)
Mutual labels:  jupyter-notebook, tensorflow-tutorials
Tensorflow Mnist Tutorial
MNIST classification in Tensorflow using Django
Stars: ✭ 36 (-55.56%)
Mutual labels:  jupyter-notebook, tensorflow-tutorials
Tensorflow learning notes
tensorflow学习笔记,来源于电子书:《Tensorflow实战Google深度学习框架》
Stars: ✭ 403 (+397.53%)
Mutual labels:  jupyter-notebook, tensorflow-tutorials
Duke Tsinghua Mlss 2017
Duke-Tsinghua Machine Learning Summer School 2017
Stars: ✭ 65 (-19.75%)
Mutual labels:  jupyter-notebook, tensorflow-tutorials
Tensorflow Tutorials For Time Series
TensorFlow Tutorial for Time Series Prediction
Stars: ✭ 1,067 (+1217.28%)
Mutual labels:  jupyter-notebook, tensorflow-tutorials
Generative Adversarial Networks
Introduction to generative adversarial networks, with code to accompany the O'Reilly tutorial on GANs
Stars: ✭ 505 (+523.46%)
Mutual labels:  jupyter-notebook, tensorflow-tutorials
Mit Deep Learning
Tutorials, assignments, and competitions for MIT Deep Learning related courses.
Stars: ✭ 8,912 (+10902.47%)
Mutual labels:  jupyter-notebook, tensorflow-tutorials
Docs
TensorFlow documentation
Stars: ✭ 4,999 (+6071.6%)
Mutual labels:  jupyter-notebook, tensorflow-tutorials
Tensorflow 2.x Tutorials
TensorFlow 2.x version's Tutorials and Examples, including CNN, RNN, GAN, Auto-Encoders, FasterRCNN, GPT, BERT examples, etc. TF 2.0版入门实例代码,实战教程。
Stars: ✭ 6,088 (+7416.05%)
Mutual labels:  jupyter-notebook, tensorflow-tutorials
Introtodeeplearning
Lab Materials for MIT 6.S191: Introduction to Deep Learning
Stars: ✭ 4,955 (+6017.28%)
Mutual labels:  jupyter-notebook, tensorflow-tutorials
Tensorflow In Practice Specialization
DeepLearning.AI TensorFlow Developer Professional Certificate Specialization
Stars: ✭ 29 (-64.2%)
Mutual labels:  jupyter-notebook, tensorflow-tutorials
Tensorflow chessbot
Predict chessboard FEN layouts from images using TensorFlow
Stars: ✭ 362 (+346.91%)
Mutual labels:  jupyter-notebook, tensorflow-tutorials
Daily Deeplearning
🔥机器学习/深度学习/Python/算法面试/自然语言处理教程/剑指offer/machine learning/deeplearning/Python/Algorithm interview/NLP Tutorial
Stars: ✭ 381 (+370.37%)
Mutual labels:  jupyter-notebook, tensorflow-tutorials
Tensorflow From Zero To One
TensorFlow 最佳学习资源大全(含课程、书籍、博客、公开课等内容)
Stars: ✭ 1,052 (+1198.77%)
Mutual labels:  jupyter-notebook, tensorflow-tutorials
Tensorflow Brasil
Códigos e materiais sobre TensorFlow em Português
Stars: ✭ 74 (-8.64%)
Mutual labels:  jupyter-notebook, tensorflow-tutorials

Textual Entailment with TensorFlow

This repo hosts the code associated with my O'Reilly article, "Textual entailment with TensorFlow: Using neural networks to explore natural language," published on July 17, 2017.

This article serves as an introduction to textual entailment, a simple natural language processing machine learning task, and guides you through creating a model that will accomplish this task. In natural language processing, the task of textual entailment attempts to answer the question of whether, given one text that is accepted as truth, another text is true, false, or indeterminable. The article, with the help of the code contained within this notebook, uses textual entailment as a practical example of the uses of word vectorization, recurrence in neural networks, LSTMs, and dropout as a regularization method.

Requirements and installation

In order to run this notebook, you'll need to install TensorFlow v1.0, Jupyter, NumPy, and Matplotlib.

The notebook also uses TQDM to display friendly progress bars during training.

Note: The first time you run this notebook, it will download the SNLI and GloVe datasets from Stanford University. Together these total just under 1 gigabyte of data and may take several minutes to download, depending on the speed of your connection. After the first run, the notebook will use local copies of the datasets cached on your machine.

There are two easy ways to install these libraries and their dependencies:

Option A: use the provided Dockerfile configured for this notebook

  1. Download and unzip this entire repo from GitHub, either interactively, or by entering

    git clone https://github.com/Steven-Hewitt/Entailment-with-Tensorflow.git
    
  2. Open your terminal and use cd to navigate into the top directory of the repo on your machine

  3. To build the Dockerfile, enter

    docker build -t entailment_dockerfile -f dockerfile .
    

    If you get a permissions error on running this command, you may need to run it with sudo:

    sudo docker build -t entailment_dockerfile -f dockerfile .
    
  4. Run Docker from the Dockerfile you've just built

    docker run -it -p 8888:8888 -p 6006:6006 entailment_dockerfile bash
    

    or

    sudo docker run -it -p 8888:8888 -p 6006:6006 entailment_dockerfile bash
    

    if you run into permission problems.

  5. Launch Jupyter by entering

    jupyter notebook
    

    and, using your browser, navigate to the URL shown in the terminal output (usually http://localhost:8888/)

Option B: install Anaconda Python, TensorFlow, and TQDM manually

NumPy can be tricky to install manually, so we recommend using the managed Anaconda Python distribution, which includes NumPy, Matplotlib, and Jupyter in a single installation. The Docker-based method above is much easier, but if you have a compatible NVIDIA GPU, manual installation makes it possible to use GPU acceleration to speed up training.

  1. Follow the installation instructions for Anaconda Python. We recommend using Python 3.6.

  2. Follow the platform-specific TensorFlow installation instructions. Be sure to follow the "Installing with Anaconda" process, and create a Conda environment named tensorflow.

  3. If you aren't still inside your Conda TensorFlow environment, enter it by typing

    source activate tensorflow
    
  4. Install TQDM by entering

    pip install tqdm
    
  5. Download and unzip this entire repo from GitHub, either interactively, or by entering

    git clone https://github.com/Steven-Hewitt/Entailment-with-Tensorflow.git
    
  6. Use cd to navigate into the top directory of the repo on your machine

  7. Launch Jupyter by entering

    jupyter notebook
    

    and, using your browser, navigate to the URL shown in the terminal output (usually http://localhost:8888/)

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].