Skip to content
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

Merged
merged 6 commits into from
Jun 28, 2024

Conversation

jadechoghari
Copy link
Contributor

What does this PR do?

This pull request adds a French translation of the run_scripts from English to French.

Changes made

  • Translated run_scripts.md from English to French.
  • Updated the _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:

Copy link

@ebrisk-bit ebrisk-bit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Semble bien 🇫🇷🎊

@jadechoghari
Copy link
Contributor Author

@NielsRogge, could you kindly confirm the French part?
We just need one review from a maintainer with write access to close this small PR, been 5 days.
🤗 Thank you! 🇫🇷

Copy link
Collaborator

@ArthurZucker ArthurZucker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for translating

docs/source/fr/run_scripts_fr.md Outdated Show resolved Hide resolved
docs/source/fr/run_scripts_fr.md Outdated Show resolved Hide resolved
docs/source/fr/run_scripts_fr.md Outdated Show resolved Hide resolved
docs/source/fr/run_scripts_fr.md Outdated Show resolved Hide resolved
docs/source/fr/run_scripts_fr.md Outdated Show resolved Hide resolved
<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
Copy link
Collaborator

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


## 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.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

entrainer et inférer

Copy link
Contributor Author

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 :
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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

@ArthurZucker ArthurZucker merged commit e655029 into huggingface:main Jun 28, 2024
8 checks passed
@HuggingFaceDocBuilderDev

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants