Merge pull request #240 from stevhliu/build-notebooks

[docs] Build notebooks from Markdown
This commit is contained in:
Steven Liu
2023-03-31 17:01:09 -07:00
committed by GitHub
2 changed files with 9 additions and 1 deletions
+2 -1
View File
@@ -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 }}
+7
View File
@@ -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
"""