Skip to content

Commit baf4bac

Browse files
NoB0sgugger
andauthored
[i18n-fr] Translate index page to French (#21458)
* 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 <[email protected]> --------- Co-authored-by: Sylvain Gugger <[email protected]>
1 parent 3b9a1dc commit baf4bac

File tree

6 files changed

+579
-2
lines changed

6 files changed

+579
-2
lines changed

.github/workflows/build_documentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ jobs:
1515
commit_sha: ${{ github.sha }}
1616
package: transformers
1717
notebook_folder: transformers_doc
18-
languages: de en es it ko pt zh
18+
languages: de en es fr it ko pt zh
1919
secrets:
2020
token: ${{ secrets.HUGGINGFACE_PUSH }}

.github/workflows/build_pr_documentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ jobs:
1414
commit_sha: ${{ github.event.pull_request.head.sha }}
1515
pr_number: ${{ github.event.number }}
1616
package: transformers
17-
languages: de en es it ko pt zh
17+
languages: de en es fr it ko pt zh

docs/source/fr/_config.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# docstyle-ignore
2+
INSTALL_CONTENT = """
3+
# Installation de Transformers
4+
! pip install transformers datasets
5+
# Pour installer à partir du code source au lieu de la dernière version, commentez la commande ci-dessus et décommentez la suivante.
6+
# ! pip install git+https://github.com/huggingface/transformers.git
7+
"""
8+
9+
notebook_first_cells = [{"type": "code", "content": INSTALL_CONTENT}]
10+
black_avoid_patterns = {
11+
"{processor_class}": "FakeProcessorClass",
12+
"{model_class}": "FakeModelClass",
13+
"{object_class}": "FakeObjectClass",
14+
}

docs/source/fr/_toctree.yml

Lines changed: 156 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,156 @@
1+
- sections:
2+
- local: index
3+
title: 🤗 Transformers
4+
- local: in_translation
5+
title: Visite rapide
6+
- local: in_translation
7+
title: Installation
8+
title: Démarrer
9+
- sections:
10+
- local: in_translation
11+
title: Pipelines pour l'inférence
12+
- local: in_translation
13+
title: Chargement d'instances pré-entraînées avec une AutoClass
14+
- local: in_translation
15+
title: Préparation des données
16+
- local: in_translation
17+
title: Fine-tune un modèle pré-entraîné
18+
- local: in_translation
19+
title: Entraînement distribué avec 🤗 Accelerate
20+
- local: in_translation
21+
title: Partager un modèle
22+
title: Tutoriels
23+
- sections:
24+
- sections:
25+
- local: in_translation
26+
title: Créer votre architecture
27+
- local: in_translation
28+
title: Partager vos modèles
29+
- local: in_translation
30+
title: Entraînement avec un script
31+
- local: in_translation
32+
title: Entraînement avec Amazon SageMaker
33+
- local: in_translation
34+
title: Convertir depuis des checkpoints Tensorflow
35+
- local: in_translation
36+
title: Exporter vers ONNX
37+
- local: in_translation
38+
title: Exporter vers TorchScript
39+
- local: in_translation
40+
title: Aide au dépannage
41+
title: Usage général
42+
- sections:
43+
- local: in_translation
44+
title: Utiliser les tokenizers de 🤗 Tokenizers
45+
- local: in_translation
46+
title: Inférence avec les modèles multilingues
47+
- local: in_translation
48+
title: Stratégies de génération de texte
49+
- sections:
50+
- isExpanded: false
51+
local: in_translation
52+
title: Classification de texte
53+
- local: in_translation
54+
title: Classification de token
55+
- local: in_translation
56+
title: Système de question-réponse
57+
- local: in_translation
58+
title: Modélisation causale du langage
59+
- local: in_translation
60+
title: Modélisation du langage avec masque
61+
- local: in_translation
62+
title: Traduction
63+
- local: in_translation
64+
title: Génération de résumé
65+
- local: in_translation
66+
title: Question à choix multiple
67+
title: Guides des tâches
68+
title: Traitement automatique des langues
69+
- sections:
70+
- local: in_translation
71+
title: Classification audio
72+
- local: in_translation
73+
title: Reconnaissance automatique de la parole
74+
title: Audio
75+
- sections:
76+
- local: in_translation
77+
title: Classification d'images
78+
- local: in_translation
79+
title: Segmentation sémantique
80+
- local: in_translation
81+
title: Classification de vidéos
82+
- local: in_translation
83+
title: Détection d'objets
84+
title: Vision par ordinateur
85+
- sections:
86+
- local: in_translation
87+
title: Performance et extensibilité
88+
- sections:
89+
- local: in_translation
90+
title: Comment contribuer à transformers?
91+
- local: in_translation
92+
title: Comment ajouter un modèle à 🤗 Transformers?
93+
- local: in_translation
94+
title: Comment convertir un modèle 🤗 Transformers vers TensorFlow?
95+
- local: in_translation
96+
title: Comment ajouter un pipeline à 🤗 Transformers?
97+
- local: in_translation
98+
title: Tester
99+
- local: in_translation
100+
title: Vérification pour une Pull Request
101+
title: Contribuer
102+
- local: in_translation
103+
title: 🤗 Transformers Notebooks
104+
- local: in_translation
105+
title: Ressources communautaires
106+
- local: in_translation
107+
title: Benchmarks
108+
- local: in_translation
109+
title: Migration à partir de versions précédentes
110+
title: Guides d'utilisation
111+
- sections:
112+
- local: in_translation
113+
title: Philosophie
114+
- local: in_translation
115+
title: Glossaire
116+
- local: in_translation
117+
title: Qu'est ce 🤗 Transformers peut faire ?
118+
- local: in_translation
119+
title: Quelles tâches 🤗 Transformers peut résoudre ?
120+
- local: in_translation
121+
title: Résumé des modèles
122+
- local: in_translation
123+
title: Résumé des tokenizers
124+
- local: in_translation
125+
title: Remplissage et troncature
126+
- local: in_translation
127+
title: BERTology
128+
- local: in_translation
129+
title: Perplexité des modèles à longueur fixe
130+
- local: in_translation
131+
title: Pipelines pour inférence avec des serveurs web
132+
title: Guides conceptuels
133+
- sections:
134+
- isExpanded: false
135+
sections:
136+
- local: in_translation
137+
title: Classes principales
138+
- local: in_translation
139+
title: Modèles textuels
140+
- local: in_translation
141+
title: Modèles visuels
142+
- local: in_translation
143+
title: Modèles audio
144+
- local: in_translation
145+
title: Modèles multimodal
146+
- local: in_translation
147+
title: Modèles d'apprentissage par renforcement
148+
- local: in_translation
149+
title: Modèles de séries temporelles
150+
- local: in_translation
151+
title: Graph models
152+
title: Modèles
153+
- sections:
154+
- local: in_translation
155+
title: Utilitaires internes
156+
title: API

docs/source/fr/in_translation.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Traduction en cours.

0 commit comments

Comments
 (0)