Giter Club home page Giter Club logo

nlp-projects's Introduction

NLP-Projects

Some fun NLP projects based on Pytorch.

  • Pytorch: 1.0.1
  • Python: 3.6

1. LSTM part-of-speech tagger with character-level features

Train and test

  • The following command starts training.
python lstm_tag_plus.py

Refs

2. 普通话-四川话翻译器

Train and test

  • The following command starts training.
python main.py
  • Examples:
    • 普通话> 你想做什么 四川话: 你想做啥子
    • 普通话> 你怎么这么那个 四川话: 你啷个这么那个
    • 普通话> 我明天不上班 四川话: 老子明天不上班
  • A jupyter-notebook version can be found in pt-sc/pt_sc.ipynb.

Refs

3. compare the sum embeddings and average embeddings based on BOW(bag of words) model

4. Dive-into-DL-PyTorch

  • 只截取了其中第10章NLP部分,包括word2vec, glove, seq2seq, machine translation..., 详见Dive-into-DL-PyTorch

nlp-projects's People

Contributors

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