harupiko / nlp_gpt2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nlp_gpt2

This is for my study on natural language processing (NLP) The codes include two main examples.

  1. translation (English-Japanese) using Seq2Seq2 and Transformer.
  2. text classification (news and fx trend) using GPT-2

How to use:

  1. Set up environment
  2. Run codes 2.1. translation cases -> run translation_seq2seq.ipynb or translation_transformer.ipynb 2.2. text classification cases -> run process_data.ipynb and then run run_model_gpt2.ipynb

About


Languages

Language:Jupyter Notebook 100.0%