Skip to content

Commit

Permalink
basepath
Browse files Browse the repository at this point in the history
  • Loading branch information
rasbt committed May 12, 2024
1 parent 2e47a6e commit a733a7e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ch06/03_bonus_imdb-classification/train-gpt.py
Expand Up @@ -286,6 +286,8 @@ def train_classifier_simple(model, train_loader, val_loader, optimizer, device,
# Instantiate dataloaders
###############################

base_path = Path(".")

tokenizer = tiktoken.get_encoding("gpt2")

train_dataset = None
Expand Down

0 comments on commit a733a7e

Please sign in to comment.