Spaces:
Sleeping
Sleeping
Update constants.py
Browse files- constants.py +1 -1
constants.py
CHANGED
|
@@ -4,7 +4,7 @@ seed = 42
|
|
| 4 |
""" Hyperparameters to use for training to roughly match
|
| 5 |
the numbers mentioned in the assignment description """
|
| 6 |
batch_size = 16 # Number of independent sequences we will process in parallel
|
| 7 |
-
block_size =
|
| 8 |
learning_rate = 1e-4 # Learning rate for the optimizer , OG: 1e-3
|
| 9 |
n_embd = 512 # Embedding dimension
|
| 10 |
n_head = 8 # Number of attention heads
|
|
|
|
| 4 |
""" Hyperparameters to use for training to roughly match
|
| 5 |
the numbers mentioned in the assignment description """
|
| 6 |
batch_size = 16 # Number of independent sequences we will process in parallel
|
| 7 |
+
block_size = 128 # Maximum context length for predictions
|
| 8 |
learning_rate = 1e-4 # Learning rate for the optimizer , OG: 1e-3
|
| 9 |
n_embd = 512 # Embedding dimension
|
| 10 |
n_head = 8 # Number of attention heads
|