Study working TensorFlow code for RNNs, LSTMs, and sequence-to-sequence models while learning the framework.
Explore reinforcement learning algorithms like DQN, Policy Gradient, and Actor-Critic with runnable examples.
Implement recommendation models like DeepFM, DIN, or NCF using code close to production patterns.
Experiment with GAN training using the included basic GAN and SeqGAN examples.
Built against TensorFlow 1.4, datasets must be downloaded separately from Baidu Pan.
This repository is a collection of TensorFlow practice examples written in Python, covering several areas of machine learning. TensorFlow is a framework for building and training machine learning models, and this repo provides working code for a range of techniques so someone learning the subject can study real implementations alongside the theory. The README and companion articles are in Chinese. The code is organized into five main sections. The first covers TensorFlow basics: syntax, visualizing model structure with TensorBoard, saving and loading trained models, and building simple neural networks and convolutional networks. These are entry-level examples intended for people just starting with the framework. The second section focuses on natural language processing. It includes examples of recurrent neural networks (RNNs) in both static and dynamic forms, LSTM networks for sequence tasks, and a sequence-to-sequence model with an attention mechanism used to build a simple chatbot. The third section covers reinforcement learning, which is a way of training an agent to make decisions by rewarding correct actions. The examples work through a progression of algorithms: Q-learning, SARSA, DQN and its three major variants (Double DQN, Dueling DQN, and Prioritized Replay DQN), Policy Gradient, Actor-Critic, DDPG, and MADDPG for multi-agent settings. There is also an example of a Pointer Network, which is a neural architecture used for combinatorial optimization problems. The fourth section focuses on recommendation systems, which are the kind of algorithms used to suggest products, articles, or videos to users. It includes implementations of many models commonly used in industry, including FM, FFM, DeepFM, Deep Cross Network, PNN, NFM, AFM, DIN, NCF, and others. There are also examples of evaluation metrics used to measure how well recommendation models perform. The fifth section has two generative adversarial network examples: a basic GAN and SeqGAN, which applies adversarial training to sequence generation tasks. The project was built against TensorFlow 1.4 and links to a Baidu Pan download for the datasets used in the examples.
← princewen on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.