This repository provides tutorial code for deep learning researchers to learn PyTorch
PyTorch is a Python-based scientific computing package serving two broad purposes:
- A replacement for NumPy to use the power of GPUs and other accelerators.
- An automatic differentiation library that is useful to implement neural networks.
PyTorch, like most other deep learning libraries, supports reverse-mode automatic differentiation of scalar functions (or vector-Jacobian products of functions with multiple outputs), the most important form of automatic differentiation for deep learning applications which usually differentiatea single scalar loss. You write code as if you were executing tensor operations directly; however, instead of operating on Tensors (PyTorch’s equivalentof Numpy’s nd-arrays), the user manipulates Variables, which store extra metadata necessary for AD. Variables support a backward() method, which computes the gradient of all input Variables involved in computation of this quantity.
This repository contains:
- Computer Vision(CV) Implement complex computer vision algorithms.
- Natural language processing(NLP) Examples to show how NLP can tacke real problem.Including the source code, dataset, state-of-the art in NLP.
- Dataset All the data you can use in this project are under this directory.
- Reference Other reference materials for this project.
- Python: 3.8.5
- PyTorch: 1.8.0
- Transformers: 4.9.0
- NLTK: 3.5
- LTP: 4.0
-
Image Classification
- AlexNet
- VGGNet
- ResNet
- Inception-v1
- Transfer-learning
-
Generative Adversarial Network
-
Open-Set domain adaption
pip install en_core_web_sm-2.2.5.tar.gz
pip install de_core_news_sm-2.2.5.tar.gz
- Basic Knowledge
- Bi-LSTM
- Bi-LSTM Attention
- Seq2Seq
- Seq2Seq Attention
- Transformer
- Bert
This project uses PyTorch. Go check them out if you don't have them locally installed and thirt-party dependencies.
$ pip install -r requirements.txt
All data for this project can be found in Baidu Cloud Disk 密码: 39nw
This project exists thanks to all the people who contribute. Everyone is welcome to submit code contributions