Skip to content

Instantly share code, notes, and snippets.

@cjams
Created December 31, 2025 19:39
Show Gist options
  • Select an option

  • Save cjams/ac22f670285ea9ce56d19c4c4d765129 to your computer and use it in GitHub Desktop.

Select an option

Save cjams/ac22f670285ea9ce56d19c4c4d765129 to your computer and use it in GitHub Desktop.
Bengio hyperparams
ctx_window = 8
max_step = 100000
batch_size = 64
embed_dim = 32
hidden_size = 256
lr = 1e-3
vocab_size = len(stoi)
device = torch.device(”cuda” if torch.cuda.is_available() else “cpu”)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment