Skip to content
This repository was archived by the owner on Aug 28, 2025. It is now read-only.

Commit fe468ca

Browse files
committed
pip
1 parent 5f303d8 commit fe468ca

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.actions/assistant.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ def bash_test(folder: str, output_file: str = PATH_SCRIPT_TEST) -> Optional[str]
372372
if AssistantCLI._valid_accelerator(folder):
373373
# and install specific packages
374374
pip_req, pip_args = AssistantCLI._parse_requirements(folder)
375-
cmd += [f"pip install {pip_req} --quiet {pip_args}", "pip list"]
375+
cmd += [f"pip install {pip_req} {pip_args}", "pip list"] # TODO: add ` --quiet`
376376
# Export the actual packages used in runtime
377377
cmd.append(f"meta_file=$(python .actions/assistant.py update-env-details {folder} --base_path .)")
378378
# show created meta config

templates/titanic/tutorial.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
target_fields="Survived",
4040
train_file=csv_train,
4141
val_split=0.1,
42-
batch_size=8,
42+
batch_size=32,
4343
)
4444

4545
# %% [markdown]
@@ -49,7 +49,7 @@
4949
model = TabularClassifier.from_data(
5050
datamodule,
5151
learning_rate=0.1,
52-
optimizer="Adam",
52+
optimizer="AdamW",
5353
n_a=8,
5454
gamma=0.3,
5555
)
@@ -81,6 +81,7 @@
8181
sns.relplot(data=metrics, kind="line")
8282
plt.gca().set_ylim([0, 1.25])
8383
plt.gcf().set_size_inches(10, 5)
84+
plt.grid()
8485

8586
# %% [markdown]
8687
# ## 4. Generate predictions from a CSV

0 commit comments

Comments
 (0)