mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-04 21:30:07 +06:00

* Translate index page to French * Fix indent * Fix toctree * Replace missing file by in_translation * Add index * Update docs/source/fr/index.mdx Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com> --------- Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
15 lines
540 B
Python
15 lines
540 B
Python
# docstyle-ignore
|
|
INSTALL_CONTENT = """
|
|
# Installation de Transformers
|
|
! pip install transformers datasets
|
|
# Pour installer à partir du code source au lieu de la dernière version, commentez la commande ci-dessus et décommentez la suivante.
|
|
# ! pip install git+https://github.com/huggingface/transformers.git
|
|
"""
|
|
|
|
notebook_first_cells = [{"type": "code", "content": INSTALL_CONTENT}]
|
|
black_avoid_patterns = {
|
|
"{processor_class}": "FakeProcessorClass",
|
|
"{model_class}": "FakeModelClass",
|
|
"{object_class}": "FakeObjectClass",
|
|
}
|