diff --git a/.github/workflows/build_documentation.yml b/.github/workflows/build_documentation.yml index 309d35a587..9e58cb8a27 100644 --- a/.github/workflows/build_documentation.yml +++ b/.github/workflows/build_documentation.yml @@ -13,5 +13,6 @@ jobs: with: commit_sha: ${{ github.sha }} package: peft + notebook_folder: peft_docs secrets: - token: ${{ secrets.HUGGINGFACE_PUSH }} + token: ${{ secrets.HUGGINGFACE_PUSH }} \ No newline at end of file diff --git a/docs/source/_config.py b/docs/source/_config.py new file mode 100644 index 0000000000..a99c6a2b70 --- /dev/null +++ b/docs/source/_config.py @@ -0,0 +1,7 @@ +# docstyle-ignore +INSTALL_CONTENT = """ +# PEFT installation +! pip install peft accelerate transformers +# To install from source instead of the last release, comment the command above and uncomment the following one. +# ! pip install git+https://github.com/huggingface/peft.git +""" \ No newline at end of file