Skip to content

Commit 4cac5f8

Browse files
Update generative-proof-of-concept-CPU-preprocessing-in-memory.py
Change a few params for scale - up.
1 parent ba6aff9 commit 4cac5f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
EXPERIMENT_ITERATION = "0002"
1717

18-
N_TRIALS = 10
18+
N_TRIALS = 40
1919

2020

2121
mlflow.set_tracking_uri(uri=f"http://127.0.0.1:{MLFLOW_PORT}")
@@ -83,7 +83,7 @@ def objective(trial: optuna.Trial) -> float:
8383
# Number of text samples to create: # Number of text samples (of approximately max_seq_len) to create
8484
# Raises RAM in a linear fashion
8585

86-
SAMPLES_TO_CREATE = 10
86+
SAMPLES_TO_CREATE = 150
8787

8888
# How many tokens to provide before expecting the next token to be predicted.
8989
# Half this = double RAM (inversely proportional to RAM requirement)

0 commit comments

Comments
 (0)