-
Notifications
You must be signed in to change notification settings - Fork 27.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add French version of run scripts tutorial #31483
Add French version of run scripts tutorial #31483
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Semble bien 🇫🇷🎊
@NielsRogge, could you kindly confirm the French part? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for translating
<frameworkcontent> | ||
<pt> | ||
|
||
Les unités de traitement de tenseurs (UTT) (TPU) sont spécialement conçues pour accélérer les performances. PyTorch prend en charge les TPU avec le compilateur de deep learning [XLA](https://www.tensorflow.org/xla). Pour utiliser un TPU, lancez le script xla_spawn.py et utilisez l'argument num_cores pour définir le nombre de cœurs TPU que vous souhaitez utilise |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unités de traitement de tenseur sounds super strange
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
true, mais je pense que c'est correct:
https://phoenixnap.fr/glossaire/qu%27est-ce-qu%27une-unit%C3%A9-de-traitement-de-tenseur
|
||
## Exécuter un script avec 🤗 Accelerate | ||
|
||
🤗 [Accelerate](https://huggingface.co/docs/accelerate) est une bibliothèque uniquement pour PyTorch qui offre une méthode unifiée pour entraîner un modèle sur plusieurs types de configurations (CPU uniquement, plusieurs GPU, TPU) tout en maintenant une visibilité complète sur la boucle d'entraînement PyTorch. Assurez-vous que vous avez installé 🤗 Accelerate si ce n'est pas déjà le cas. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
entrainer et inférer
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
D'accord, vous pouvez la modifier
merci!
- `text_column` est le texte d'entrée à résumer. | ||
- `summary_column` est le texte cible à produire. | ||
|
||
Un exemple de script de résumé utilisant un ensemble de données personnalisé ressemblerait à ceci : |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Un exemple de script de résumé utilisant un ensemble de données personnalisé ressemblerait à ceci : | |
Un exemple de script de résumé utilisant un ensemble de données personnalisé ressemblerait à ceci : |
un script de résumé n'ap as de sense à revoir
Co-authored-by: Arthur <[email protected]>
Co-authored-by: Arthur <[email protected]>
Co-authored-by: Arthur <[email protected]>
Co-authored-by: Arthur <[email protected]>
Co-authored-by: Arthur <[email protected]>
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
What does this PR do?
This pull request adds a French translation of the run_scripts from English to French.
Changes made
run_scripts.md
from English to French._toctree.yml
to include the French version of the run_scripts tutorial.Why is this change important?
Providing documentation in multiple languages helps make the information accessible to a broader audience and supports users who are more comfortable reading in French. 🇫🇷
More docs to come. 🤗
Review
Like last time I will tag: