Skip to content

Commit 9bc6d16

Browse files
Fix trailing newline in FastModel.from_pretrained cell across Gemma 4 Text notebooks (#231)
The FastModel.from_pretrained code cell in all four Gemma 4 Text notebooks ended with a trailing newline after the closing paren: )\n This causes Jupyter/Colab to render a dangling blank line below the closing paren. Every other FastModel.from_pretrained cell in the repo (48 of 52) already ends with just ')' and no trailing newline. This brings the four Gemma 4 Text notebooks into line with the rest. Affected notebooks: nb/Gemma4_(26B_A4B)-Text.ipynb nb/Gemma4_(31B)-Text.ipynb nb/Gemma4_(E2B)-Text.ipynb nb/Gemma4_(E4B)-Text.ipynb Pure whitespace fix: 4 files, 4 lines changed total, no logic or indentation touched.
1 parent 71c09c9 commit 9bc6d16

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

nb/Gemma4_(26B_A4B)-Text.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@
382382
" load_in_4bit = True, # 4 bit quantization to reduce memory\n",
383383
" full_finetuning = False, # [NEW!] We have full finetuning now!\n",
384384
" # token = \"YOUR_HF_TOKEN\", # HF Token for gated models\n",
385-
")\n"
385+
")"
386386
]
387387
},
388388
{

nb/Gemma4_(31B)-Text.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@
382382
" load_in_4bit = True, # 4 bit quantization to reduce memory\n",
383383
" full_finetuning = False, # [NEW!] We have full finetuning now!\n",
384384
" # token = \"YOUR_HF_TOKEN\", # HF Token for gated models\n",
385-
")\n"
385+
")"
386386
]
387387
},
388388
{

nb/Gemma4_(E2B)-Text.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@
332332
" load_in_4bit = False, # 4 bit quantization to reduce memory\n",
333333
" full_finetuning = False, # [NEW!] We have full finetuning now!\n",
334334
" # token = \"YOUR_HF_TOKEN\", # HF Token for gated models\n",
335-
")\n"
335+
")"
336336
]
337337
},
338338
{

0 commit comments

Comments
 (0)