Skip to content

lvyufeng/mindspore-nlp-tutorial

Repository files navigation

mindspore-nlp-tutorial

mindspore-nlp-tutorial is a tutorial for who is studying NLP(Natural Language Processing) using MindSpore. This repository is migrated from nlp-tutorial. Most of the models in NLP were migrated from Pytorch version with less than 100 lines of code.(except comments or blank lines)

  • Notice: All models are tested on CPU(Linux and macOS), GPU and Ascend.

Curriculum - (Example Purpose)

1. Basic Embedding Model

2. CNN(Convolutional Neural Network)

3. RNN(Recurrent Neural Network)

4. Attention Mechanism

5. Model based on Transformer

Dependencies

  • Python >= 3.7.5
  • MindSpore 1.9.0
  • Pytorch 1.7.1(for comparation)

Author