Implementation of a Bigram Predictor for understanding next character prediction algorithms.
- Based on makemore
- Using a Neural Network service
-
Clone the Repository:
git clone https://github.com/derinworks/penr-oz-neural-bigram-predictor.git cd penr-oz-bigram-predictor
-
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
- On Unix or macOS:
- Create:
-
Install Dependencies:
pip install -r requirements.txt
-
Neural Network Service:
- Follow instructions on penr-oz-neural-network-torch
-
Run:
python main.py