Skip to content

derinworks/penr-oz-gpt-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

penr-oz-gpt-example

Implementation of an example GPT for understanding how next character is generated by a Transformer

Quickstart Guide

  1. Clone the Repository:

    git clone https://github.com/derinworks/penr-oz-gpt-example.git
    cd penr-oz-gpt-example
  2. Create and Activate a Virtual Environment:

    • Create:
      python -m venv venv
    • Activate:
      • On Unix or macOS:
        source venv/bin/activate
      • On Windows:
        venv\Scripts\activate
  3. Install Dependencies:

    pip install -r requirements.txt
  4. Neural Network Service:

    • Follow instructions on Quick Start Guide
    • Deployed remotely then use a .env file as such to configure url:
    PREDICTION_SERVER_URL=http://???:8000
  5. Run:

    python main.py

About

Implementation of an example GPT for understanding how next character is generated by a Transformer

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages