Code Monkey home page Code Monkey logo

nlp_pytorch's Introduction

NLP_Pytorch

  • The "NLP Pytorch" project aims to provide a concise overview of how to handle natural language processing (NLP) models using PyTorch.
  • This project covers the implementation of simple deep learning models like RNN and CNN using PyTorch, as well as fine-tuning pre-trained models like BERT and GPT-2 using the Huggingface library.

Overview

  • The "NLP Pytorch" project is a repository that focuses on handling basic deep learning-based NLP models using PyTorch.
  • It primarily demonstrates the implementation of fundamental architectures such as RNN and CNN for tasks like text classification and sentiment analysis.
  • Additionally, it introduces the method of fine-tuning pre-trained models like BERT and GPT-2 using the Huggingface library.

Key Features and Highlights

  • Implementation of NLP models using basic deep learning architectures such as RNN and CNN
  • Fine-tuning of pre-trained models like BERT,GPT-2 using the Huggingface library
  • Example code for tasks like text classification and sentiment analysis

Model Architecture

Repository

NLP_Pytorch
├── Architecture
│   ├── BERT_MRC.md
│   ├── BERT_NER.md
│   ├── BERT_NLI.md
│   ├── BERT_STS.md
│   ├── BERT_Text_Classification.md
│   ├── GPT2_GEN.md
│   ├── RNN_Classification.md
│   ├── Seq2Seq_Chatbot.md
│   └── Transformer_Chatbot.md
├── EDA
│   ├── Chatbot_EDA.ipynb
│   ├── Quora_Question_Pairs_EDA.ipynb
│   └── aclImdb_EDA.ipynb
├── Model
│   ├── BERT
│   │   ├── BERT_MRC.ipynb
│   │   ├── BERT_NER.ipynb
│   │   ├── BERT_NLI.ipynb
│   │   ├── BERT_STS.ipynb
│   │   └── BERT_Text_Classification.ipynb
│   ├── GPT_2
│   │   └── GPT2_GEN.ipynb
│   ├── Quora_Question_Pairs_CNN.ipynb
│   ├── RNN_Classification.ipynb
│   ├── Seq2Seq_Chatbot_ver2.ipynb
│   └── Transformer_Chatbot.ipynb
├── Preprocessing
│   ├── NER_data_to_DataFrame.ipynb
│   ├── NLP_Preprocessing.ipynb
│   ├── Python_NLP_Preprocessing.ipynb
│   └── Torchtext_korean.ipynb
├── LICENSE
└── README.md

Installation and Usage Guide

To run the project, follow these steps:

  1. Clone this repository: git clone https://github.com/DonghaeSuh/NLP-Pytorch.git
  2. Each code file contains comments with installation and usage instructions. Simply run the respective code to explore.

License

This project is licensed under the MIT License. [License file link](LICENSE)

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.