All Projects → GradySimon → Tensorflow Glove

GradySimon / Tensorflow Glove

An implementation of GloVe in TensorFlow

Projects that are alternatives of or similar to Tensorflow Glove

Tensorflow Tensorrt
This repository is for my YT video series about optimizing a Tensorflow deep learning model using TensorRT. We demonstrate optimizing LeNet-like model and YOLOv3 model, and get 3.7x and 1.5x faster for the former and the latter, respectively, compared to the original models.
Stars: ✭ 284 (-1.39%)
Mutual labels:  jupyter-notebook
Styleclip
Stars: ✭ 285 (-1.04%)
Mutual labels:  jupyter-notebook
Thinking In Tensors Writing In Pytorch
Thinking in tensors, writing in PyTorch (a hands-on deep learning intro)
Stars: ✭ 287 (-0.35%)
Mutual labels:  jupyter-notebook
Dinoruntutorial
Accompanying code for Paperspace tutorial "Build an AI to play Dino Run"
Stars: ✭ 285 (-1.04%)
Mutual labels:  jupyter-notebook
Reinforcement Learning
Implementation of Reinforcement Learning Algorithms. Python, OpenAI Gym, Tensorflow. Exercises and Solutions to accompany Sutton's Book and David Silver's course.
Stars: ✭ 17,453 (+5960.07%)
Mutual labels:  jupyter-notebook
Google Drive Online Decompression
使用Google Colab对Google Drive里面的压缩包进行操作,支持7z和rar以及zip等格式,引擎采用unrar和unzip以及7z
Stars: ✭ 288 (+0%)
Mutual labels:  jupyter-notebook
Pyconuk Introtutorial
practical introduction to pandas and scikit-learn via Kaggle problems - Sept 2014
Stars: ✭ 284 (-1.39%)
Mutual labels:  jupyter-notebook
Code
Compilation of R and Python programming codes on the Data Professor YouTube channel.
Stars: ✭ 287 (-0.35%)
Mutual labels:  jupyter-notebook
Google Research
Google Research
Stars: ✭ 20,927 (+7166.32%)
Mutual labels:  jupyter-notebook
Python
This repository helps you understand python from the scratch.
Stars: ✭ 285 (-1.04%)
Mutual labels:  jupyter-notebook
Brunel
Brunel Visualization
Stars: ✭ 285 (-1.04%)
Mutual labels:  jupyter-notebook
100 Days Of Ml Code
100-Days-Of-ML-Code中文版
Stars: ✭ 16,797 (+5732.29%)
Mutual labels:  jupyter-notebook
Fire Detect Yolov4
fire-smoke-detection-dataset and fire-detection-yolov4-v5,火灾检测,烟雾检测
Stars: ✭ 280 (-2.78%)
Mutual labels:  jupyter-notebook
Cdan
Code release for "Conditional Adversarial Domain Adaptation" (NIPS 2018)
Stars: ✭ 285 (-1.04%)
Mutual labels:  jupyter-notebook
Building A Simple Chatbot In Python Using Nltk
Building a Simple Chatbot from Scratch in Python (using NLTK)
Stars: ✭ 286 (-0.69%)
Mutual labels:  jupyter-notebook
Gcn clustering
Code for CVPR'19 paper Linkage-based Face Clustering via GCN
Stars: ✭ 283 (-1.74%)
Mutual labels:  jupyter-notebook
Covid Qa
API & Webapp to answer questions about COVID-19. Using NLP (Question Answering) and trusted data sources.
Stars: ✭ 283 (-1.74%)
Mutual labels:  jupyter-notebook
Bokeh Cn
Bokeh中文文档(翻译中)
Stars: ✭ 288 (+0%)
Mutual labels:  jupyter-notebook
Eif
Extended Isolation Forest for Anomaly Detection
Stars: ✭ 287 (-0.35%)
Mutual labels:  jupyter-notebook
Stock market
Stars: ✭ 286 (-0.69%)
Mutual labels:  jupyter-notebook

tf-glove

What is this?

This is an implementation of GloVe (Global Vectors for Word Representation), a model for learning vector representations of words. The model was originally developed by Jeffery Pennington, Richard Socher, and Christopher Manning.

This is my implementation of their model in TensorFlow, a "library for numerical computation using data flow graphs" by Google.

How do I use it?

Like this:

>>> import tf_glove
>>> model = tf_glove.GloVeModel(embedding_size=300, context_size=10)
>>> model.fit_to_corpus(corpus)
>>> model.train(num_epochs=100)
>>> model.embedding_for("reddit")
array([ 0.77469945,  0.06020461,
        0.37193006, -0.44537717,
        ...
        0.29987332, -0.12688215,], dtype=float32)
>>> model.generate_tsne()

t-SNE visualization

For a more complete introduction, see the Getting Started notebook.

Credits

Naturally, most of the credit goes to Jeffery Pennington, Richard Socher, and Christopher Manning, who developed the model, published a paper about it, and released an implementation in C.

Thanks also to Jon Gauthier (@hans), who wrote a Python implementation of the model and a blog post describing that implementation, which were both very useful references as well.

References

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