Coder Social home page Coder Social logo

tensorflow-implementations's Introduction

TensorFlow-Implementations

This repository contains the projects I have done with TensorFlow, and includes a few tutorials.

Check out my Youtube channel which uses some of this material for lessons.

Other social media sites:

Youtube: https://www.youtube.com/channel/UCgRNCT8mrzKYebyG3Ao9DJA/videos

Twitch: https://www.twitch.tv/johncm99

AI Blog: https://delvingintotech.wordpress.com/

LinkedIn: https://www.linkedin.com/in/chong-min-tan-94652288/

Twitter: https://twitter.com/johntanchongmin

TensorFlow / Deep Learning Tutorial: These are the files I have created to teach others Deep Learning:

  • MLP.pdf / MLP Part 2.pdf / CNN.pdf / RNN.pdf / Transformer.pdf / GNN.pdf
  • AlphaGo:Zero.pdf
  • Geometric Deep Learning.pdf (Summary and personal insights of Geometry Deep Learning proto-book https://geometricdeeplearning.com/ by Michael M. Bronstein, Joan Bruna, Taco Cohen, Petar Veličković)
  • Linear Regression in TensorFlow.ipynb
  • Fashion MNIST in TensorFlow.ipynb (Adapted from https://www.coursera.org/learn/introduction-tensorflow Week 1 Notebook)
  • Fashion MNIST (CNN) in TensorFlow.ipynb
  • GAT_GCN_node_classification.ipynb: Graph Neural Network implementation using TensorFlow on Cora Dataset
  • Tutorial_RNN_Text_Generation.ipynb
  • Custom Training Loop: Converts a simple Keras model.fit into an expanded customizable training loop using GradientTape. Includes graph plotting and model visualization utilities.
  • GPT_Demo.ipynb: Uses huggingface GPT-2 model for text generation, as well as Bertviz for attention visualization
  • ChatGPT - From Transformers to Reinforcement Learning from Human Feedback (RLHF).pdf: Introduction to how ChatGPT works

Paper_Reviews Folder:

  • Overview: Documents Interesting Deep Learning / Machine Learning Papers
  • Decision Transformers.pdf
  • GATO.pdf
  • Policy Graident Presentation.pdf
  • AlphaTensor Presentation.pdf

RL Folder:

  • Overview: Documents Reinforcement Learning Experiments and Tutorials
  • RL Part 1.pdf, DQN.pdf
  • MCTS.ipynb: Using Monte Carlo / Monte Carlo Tree Search / Value Estimates to solve the game of Nim
  • Cart Pole.ipynb: Using rule-based and DQN to solve Cart Pole

Below are the projects I have done using TensorFlow (in Implementations folder):

  • Text Generation: Compares RNN vs a Markov Chain method to generate text. Surprisingly, both are around the same, just by using like n=5 previous characters to predict the next one for the Markov Chain method.
  • Text Generation for Code: Compares RNN vs a Markov Chain method to generate text for coding (and also news). Markov Chain methods generate better text, and that could be due to a very small dataset used. Datasets: news.txt, coding.txt
  • If-Else (Part 1): Investigates if a neural network can model if-else statements
  • Wordle: Solves the Wordle game using 5 different agents: Random (baseline), Minimize Worst Outcome, Maximize Entropy (Information Theory), Minimize Variance, Minimize Variance and Worst Outcome. Currently there are only algorithmic agents. In the future, there will also be Deep Q-Networks and Actor-Critic models.

tensorflow-implementations's People

Contributors

tanchongmin avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.