Prevent style_doc from tempering the config file

This commit is contained in:
Sylvain Gugger
2021-12-10 15:31:43 -05:00
parent f46668282b
commit 63c284c2d4

View File

@@ -1,7 +1,9 @@
# docstyle-ignore
INSTALL_CONTENT = """ INSTALL_CONTENT = """
# Transformers installation ! pip install transformers datasets # To install from source instead of the last release, # Transformers installation
comment the command above and uncomment the following one. # ! pip install ! pip install transformers datasets
git+https://github.com/huggingface/transformers.git # 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/transformers.git
""" """
notebook_first_cells = [{"type": "code", "content": INSTALL_CONTENT}] notebook_first_cells = [{"type": "code", "content": INSTALL_CONTENT}]