We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 389a81e commit b97d99bCopy full SHA for b97d99b
src/MaxText/examples/rl_llama3_demo.ipynb
@@ -117,7 +117,10 @@
117
"if not MODEL_CHECKPOINT_PATH:\n",
118
" raise RuntimeError(\"MODEL_CHECKPOINT_PATH is not set\")\n",
119
" \n",
120
- "OUTPUT_DIRECTORY = \"/tmp/gpo_output\" # Update this!\n",
+ "OUTPUT_DIRECTORY = \"\" # Update this!\n",
121
+ "if not OUTPUT_DIRECTORY:\n",
122
+ " raise RuntimeError(\"OUTPUT_DIRECTORY is not set\")\n",
123
+ " \n",
124
"os.environ[\"HF_TOKEN\"] = HF_TOKEN\n",
125
"\n",
126
"if HF_TOKEN:\n",
0 commit comments