Skip to content

A light Reinforcement Learning lmplementation of GPT in Python with PyTorch.

Notifications You must be signed in to change notification settings

Quicksticks-oss/GPTX-RL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GPTX-RL

Features

  • Just like GPT this model generates text based on an input prompt.
  • This project uses Reinforcement Learning (RL) for training and inference.
  • All models can be found on hugging face.

Models


Training

  • First step is to run generate_vocab.py on whatever text data you would like to train on for example python3 generate_vocab.py -i train.txt
  • Next step is to run train.py
  • Now all you have to do is wait!

Inference

  • Run inference.py with -i as an argumentand with models path.

Logging

  • Output plot graphs will be avalible in the next version.

About

A light Reinforcement Learning lmplementation of GPT in Python with PyTorch.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages