Skip to content

Commit b4be35c

Browse files
Merge pull request #3326 from AI-Hypercomputer:igorts/update_doc_after_pr3285
PiperOrigin-RevId: 879877978
2 parents f690dc9 + e3c0d89 commit b4be35c

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

docs/guides/run_python_notebook.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,9 @@ uv pip install ipykernel
118118
Before you can run the notebook, you must tell VS Code which Python environment to use.
119119

120120
1. Look at the top-right corner of the notebook editor.
121-
1. Click `Select Kernel`.
122-
1. Choose Python Environments and select the virtual environment you created in Step 4.
123-
1. Open [available post-training notebooks in MaxText](#available-examples) inside VS Code and run the jupyter notebook cells.
121+
2. Click `Select Kernel`.
122+
3. Choose Python Environments and select the virtual environment you created in Step 4.
123+
4. Open [available post-training notebooks in MaxText](#available-examples) inside VS Code and run the jupyter notebook cells.
124124

125125
## Method 3: Local Jupyter Lab with TPU (Recommended)
126126

@@ -202,7 +202,7 @@ jupyter lab --ip=0.0.0.0 --port=8888 --no-browser --allow-root
202202
### Supervised Fine-Tuning (SFT)
203203

204204
- **`sft_qwen3_demo.ipynb`** → Qwen3-0.6B SFT training and evaluation on [OpenAI's GSM8K dataset](https://huggingface.co/datasets/openai/gsm8k). This notebook is friendly for beginners and runs successfully on Google Colab's free-tier v5e-1 TPU runtime.
205-
- **`sft_llama3_demo.ipynb`** → Llama3.1-8B SFT training on [Hugging Face ultrachat_200k dataset](https://huggingface.co/datasets/HuggingFaceH4/ultrachat_200k). We recommend running this on a v5p-8 TPU VM using the port-forwarding method.
205+
- **`sft_llama3_demo_tpu.ipynb`** → Llama3.1-8B SFT training on [Hugging Face ultrachat_200k dataset](https://huggingface.co/datasets/HuggingFaceH4/ultrachat_200k). We recommend running this on a v5p-8 TPU VM using the port-forwarding method.
206206

207207
### Reinforcement Learning (GRPO/GSPO) Training
208208

@@ -230,8 +230,8 @@ jupyter lab --ip=0.0.0.0 --port=8888 --no-browser --allow-root
230230
If you encounter issues or have improvements for this guide, please:
231231

232232
1. Open an issue on the MaxText repository
233-
1. Submit a pull request with your improvements
234-
1. Share your experience in the discussions
233+
2. Submit a pull request with your improvements
234+
3. Share your experience in the discussions
235235

236236
______________________________________________________________________
237237

0 commit comments

Comments
 (0)