Skip to content

Commit

Permalink
Add instructions for playing with qlora model to colab example (#1290)
Browse files Browse the repository at this point in the history
* Add instructions for playing with qlora model to colab example

* Update examples/colab-notebooks/colab-axolotl-example.ipynb

Co-authored-by: JohanWork <[email protected]>

---------

Co-authored-by: NanoCode012 <[email protected]>
Co-authored-by: JohanWork <[email protected]>
  • Loading branch information
3 people authored Feb 21, 2024
1 parent 3c00f40 commit 6ab69ec
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions examples/colab-notebooks/colab-axolotl-example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,24 @@
"# Buy using the ! the comand will be executed as a bash command\n",
"!accelerate launch -m axolotl.cli.train /content/test_axolotl.yaml"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Play with inference"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"# Buy using the ! the comand will be executed as a bash command\n",
"!accelerate launch -m axolotl.cli.inference /content/test_axolotl.yaml \\\n",
" --qlora_model_dir=\"./qlora-out\" --gradio"
]
}
],
"metadata": {
Expand Down

0 comments on commit 6ab69ec

Please sign in to comment.