Skip to content

Commit e4e65cf

Browse files
Update generative-proof-of-concept-CPU-preprocessing-in-memory.py
Try scaling up a tad.
1 parent 7b4120a commit e4e65cf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

generative-proof-of-concept-CPU-preprocessing-in-memory.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def objective(trial: optuna.Trial) -> float:
6363
# Number of text samples to create: # Number of text samples (of approximately max_seq_len) to create
6464
# Raises RAM in a linear fashion
6565

66-
SAMPLES_TO_CREATE = 10 # 681
66+
SAMPLES_TO_CREATE = 20 # 681
6767

6868
# How many tokens to provide before expecting the next token to be predicted.
6969
# Half this = double RAM (inversely proportional to RAM requirement)
@@ -117,9 +117,9 @@ def objective(trial: optuna.Trial) -> float:
117117

118118
epochs = trial.suggest_int('epochs', 10, 85)
119119

120-
batch_size = 10 # trial.suggest_int('batch_size', 5, 10)
120+
batch_size = 5 # trial.suggest_int('batch_size', 5, 10)
121121

122-
gradient_accumulation_steps = trial.suggest_int('gradient_accumulation_steps', 1, 6)
122+
gradient_accumulation_steps = trial.suggest_int('gradient_accumulation_steps', 1, 10)
123123

124124
# Level constraints - ensure max >= min by setting min of max to value of min
125125
minimum_levels = trial.suggest_int('minimum_levels', 1, 3)

0 commit comments

Comments
 (0)