Skip to content

DonghaeSuh/NLP_Pytorch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published