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

[i18n-FR] Translated "inference" to french (sub PR of 1900) #2336

Open
wants to merge 93 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
cbde7dc
Translated toctree & git_vs_htttp
Dec 9, 2023
7d596f8
Translated the cli guide
Dec 10, 2023
9ab5ba7
Testing to see if user is well configured
Dec 10, 2023
5646220
TEsting to see if branch is well configured
Dec 10, 2023
8d3cd26
Translated index
Dec 10, 2023
2687f87
Translated quick-start
Dec 10, 2023
7aff9fd
Corrected a minor error in the english doc
JibrilEl Dec 11, 2023
9fd8930
Reverting a wrong change
JibrilEl Dec 11, 2023
1ea5fc7
Translated installation.md
JibrilEl Dec 11, 2023
66c11a3
Translated community.md
JibrilEl Dec 11, 2023
d2b4c30
Translated download.md
JibrilEl Dec 11, 2023
87b5bbe
Translated hf_file_system.md
JibrilEl Dec 11, 2023
d18cbf9
Translated inference_client
JibrilEl Dec 11, 2023
3f3e831
Translated inference_endpoints.md
JibrilEl Dec 11, 2023
d492923
Fixed a few errors in the translation
JibrilEl Dec 12, 2023
1127be0
Translated integrations.md
JibrilEl Dec 13, 2023
c12624a
Translated mana-cache.md. Did not find a good translfation for cache-…
JibrilEl Dec 14, 2023
a56ee9b
Translated manage-space.md
JibrilEl Dec 15, 2023
158220b
Translated overview.md
JibrilEl Dec 16, 2023
9e2910a
Translated package-reference file
JibrilEl Dec 16, 2023
f7ec79f
Translated hf_api, login, mixins, repository, space_runtime and tenso…
JibrilEl Dec 18, 2023
c043949
Finished the translation of package reference by translating utilitie…
JibrilEl Dec 19, 2023
f2abc0e
Translated model-cards.md
JibrilEl Dec 20, 2023
2aff74f
Translated collections.md
JibrilEl Dec 27, 2023
9189ef8
translated community.md
JibrilEl Dec 28, 2023
df12926
Translated download.md, corrected an error in the english version and…
JibrilEl Dec 29, 2023
621b58c
translated hf_file_system
JibrilEl Dec 30, 2023
f7f7190
Translated inference_endpoints.md
JibrilEl Jan 1, 2024
4a250a5
Translated inference.md
JibrilEl Jan 2, 2024
ea0137b
translated repository.md
JibrilEl Jan 3, 2024
f521215
Translated search.md
JibrilEl Jan 3, 2024
8ab86fb
Translated webhooks_server.md
JibrilEl Jan 3, 2024
c420deb
corrected webhooks
JibrilEl Jan 4, 2024
ca05e4e
Translated upload.md
JibrilEl Jan 4, 2024
a166872
Added "fr" to .github/workflow
JibrilEl Jan 7, 2024
a6bff36
Deleted redirects as it is not needed
JibrilEl Jan 7, 2024
6946056
Corrected toctree.yml
JibrilEl Jan 7, 2024
c1af8c0
Corrected errors o quick-start.md
JibrilEl Jan 7, 2024
5569ed9
Corrected installation.md
JibrilEl Jan 8, 2024
913454f
Changed the translation of the product "space" in the whole documenta…
JibrilEl Jan 10, 2024
4187a37
Corrected git_vs_http
JibrilEl Feb 2, 2024
5617984
Corrected CLI.md
JibrilEl Feb 2, 2024
48c4612
Corrected collections.md
JibrilEl Feb 2, 2024
7efb701
Corrected community.md
JibrilEl Feb 3, 2024
de03384
Corrected download.md
JibrilEl Feb 3, 2024
353fa23
Corrected hf_file_system
JibrilEl Feb 3, 2024
1fad9bd
Correction of docs/source/fr/concepts/git_vs_http.md
JibrilEl Feb 9, 2024
5089a9a
Corrected git vs http and index.md
JibrilEl Feb 9, 2024
101e35c
Merge branch 'main' of https://github.com/JibrilEl/huggingface_hub
JibrilEl Feb 9, 2024
82c8a79
Finished correcting index.md
JibrilEl Feb 9, 2024
499cd8c
Update docs/source/fr/installation.md
JibrilEl Feb 9, 2024
5655476
Update docs/source/fr/_toctree.yml
JibrilEl Feb 9, 2024
3e50bad
Update docs/source/fr/installation.md
JibrilEl Feb 9, 2024
afbf7db
Update docs/source/fr/installation.md
JibrilEl Feb 9, 2024
1625548
Update docs/source/fr/installation.md
JibrilEl Feb 9, 2024
dd88260
Update docs/source/fr/installation.md
JibrilEl Feb 9, 2024
1759188
Update docs/source/fr/installation.md
JibrilEl Feb 9, 2024
28daada
Update docs/source/fr/installation.md
JibrilEl Feb 9, 2024
06dc88f
Update docs/source/fr/installation.md
JibrilEl Feb 9, 2024
8cf7df0
Update docs/source/fr/installation.md
JibrilEl Feb 9, 2024
3cb34a5
Update docs/source/fr/installation.md
JibrilEl Feb 9, 2024
925b655
Update docs/source/fr/installation.md
JibrilEl Feb 9, 2024
07d3824
Update docs/source/fr/installation.md
JibrilEl Feb 9, 2024
ad44254
Update docs/source/fr/installation.md
JibrilEl Feb 9, 2024
e366b2c
Update docs/source/fr/installation.md
JibrilEl Feb 9, 2024
6d37e1c
Update docs/source/fr/installation.md
JibrilEl Feb 9, 2024
e5b6ded
Finished correcting index.md
JibrilEl Feb 9, 2024
900dcce
Merge branch 'main' of https://github.com/JibrilEl/huggingface_hub
JibrilEl Feb 9, 2024
3c75477
Corrected inference endpoint, a lot of mistakes might have to look at…
JibrilEl Feb 13, 2024
5637113
Update docs/source/fr/concepts/git_vs_http.md
JibrilEl Feb 16, 2024
a735616
Update docs/source/fr/concepts/git_vs_http.md
JibrilEl Feb 16, 2024
8a578f2
Update docs/source/fr/concepts/git_vs_http.md
JibrilEl Feb 16, 2024
8782aed
Update docs/source/fr/_toctree.yml
JibrilEl Feb 16, 2024
d38bf37
Update docs/source/fr/_toctree.yml
JibrilEl Feb 16, 2024
64e18b7
Update docs/source/fr/_toctree.yml
JibrilEl Feb 16, 2024
8423a9e
Update docs/source/fr/_toctree.yml
JibrilEl Feb 16, 2024
c618150
Update docs/source/fr/_toctree.yml
JibrilEl Feb 16, 2024
8666812
Update docs/source/fr/_toctree.yml
JibrilEl Feb 16, 2024
7cdefa2
Update docs/source/fr/_toctree.yml
JibrilEl Feb 16, 2024
2b19af2
Update docs/source/fr/concepts/git_vs_http.md
JibrilEl Feb 16, 2024
8924212
Update docs/source/fr/concepts/git_vs_http.md
JibrilEl Feb 16, 2024
2475344
Update docs/source/fr/concepts/git_vs_http.md
JibrilEl Feb 16, 2024
8ce66cf
Update docs/source/fr/concepts/git_vs_http.md
JibrilEl Feb 16, 2024
bdd7733
Update docs/source/fr/concepts/git_vs_http.md
JibrilEl Feb 16, 2024
5ea15ea
Update docs/source/fr/concepts/git_vs_http.md
JibrilEl Feb 16, 2024
fc85362
Update docs/source/fr/concepts/git_vs_http.md
JibrilEl Feb 16, 2024
34c49a7
Deleted files
JibrilEl Jun 7, 2024
63b0dd2
Revert "Deleted files"
JibrilEl Jun 7, 2024
a0b53ab
Deleted files
JibrilEl Jun 7, 2024
64d4f60
Merge remote-tracking branch 'upstream/main'
JibrilEl Jun 12, 2024
f4616ba
Deleted files
JibrilEl Jun 7, 2024
113897e
Delete files
JibrilEl Jun 13, 2024
25857de
Merge branch 'inference' of https://github.com/JibrilEl/huggingface_h…
JibrilEl Jun 13, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Translated installation.md
JibrilEl committed Dec 11, 2023
commit 1ea5fc749931acbd9db453afb189357ed55fb4ea
63 changes: 32 additions & 31 deletions docs/source/fr/installation.md
Original file line number Diff line number Diff line change
@@ -104,61 +104,62 @@ cd huggingface_hub
pip install -e .
```

Ces commandes lieront le dossier que vous avez cloné avec le dépôt et vos chemins de librairies Python.
Python regardera maintenant à l'intérieur du dossier dans lequel vous avez cloné le dépôt et
These commands will link the folder you cloned the repository to and your Python library paths.
Python will now look inside the folder you cloned to in addition to the normal library paths.
For example, if your Python packages are typically installed in `./.venv/lib/python3.11/site-packages/`,
Python will also search the folder you cloned `./huggingface_hub/`.
Ces commandes lieront le dossier dans lequel vous avez cloné le dépôt et vos chemins de librairies Python.
Python regardera maintenant à l'intérieur du dossier dans lequel vous avez cloné le dépôt en
plus des chemins de librairie classiques. Par exemple, si vos packages Python sont installés dans
`./.venv/lib/python3.11/site-packages/`, Python regardera uassi dans le dossier que vous avez
cloné `./huggingface_hub/`.

## Install with conda
## Installation avec conda

If you are more familiar with it, you can install `huggingface_hub` using the [conda-forge channel](https://anaconda.org/conda-forge/huggingface_hub):
Si vous avez plutôt l'habitude d'utiliser conda, vous pouvez installer `huggingface_hub` en utilisant le [channel conda-forge](https://anaconda.org/conda-forge/huggingface_hub):


```bash
conda install -c conda-forge huggingface_hub
```

Once done, [check installation](#check-installation) is working correctly.
Une fois fini, [vérifiez l'installation](#check-installation).

## Check installation
## Vérification de l'installation

Once installed, check that `huggingface_hub` works properly by running the following command:
Une fois installé, vérifiez que `huggingface_hub` marche correctement en lançant la commande suivante:

```bash
python -c "from huggingface_hub import model_info; print(model_info('gpt2'))"
```

This command will fetch information from the Hub about the [gpt2](https://huggingface.co/gpt2) model.
Output should look like this:
Cette commande va récupérer des informations sur le modèle [gpt2](https://huggingface.co/gpt2) depuis le Hub.
La sortie devrait ressembler à ça:

```text
Model Name: gpt2
Tags: ['pytorch', 'tf', 'jax', 'tflite', 'rust', 'safetensors', 'gpt2', 'text-generation', 'en', 'doi:10.57967/hf/0039', 'transformers', 'exbert', 'license:mit', 'has_space']
Task: text-generation
```

## Windows limitations
## Les limitations Windows

With our goal of democratizing good ML everywhere, we built `huggingface_hub` to be a
cross-platform library and in particular to work correctly on both Unix-based and Windows
systems. However, there are a few cases where `huggingface_hub` has some limitations when
run on Windows. Here is an exhaustive list of known issues. Please let us know if you
encounter any undocumented problem by opening [an issue on Github](https://github.com/huggingface/huggingface_hub/issues/new/choose).
Afin de démocratiser le machine learning pour tous, nous avons construit `huggingface_hub`
de façon à voir une librairie cross-platform et en particulier, une librairie qui marche
sur les systèmes Windows et ceux basés sur Unix. Toutefois il y a certains cas où
`huggingface_hub` est plus limité lorsqu'il tourne sur Windows. Ci-dessous une liste exhaustive
des problèmes connus. N'hésitez pas à nous signaler si vous rencontrez un problème
sans documentation en ouvrant une [issue sur Github](https://github.com/huggingface/huggingface_hub/issues/new/choose).

- `huggingface_hub`'s cache system relies on symlinks to efficiently cache files downloaded
from the Hub. On Windows, you must activate developer mode or run your script as admin to
enable symlinks. If they are not activated, the cache-system still works but in an non-optimized
manner. Please read [the cache limitations](./guides/manage-cache#limitations) section for more details.
- Filepaths on the Hub can have special characters (e.g. `"path/to?/my/file"`). Windows is
more restrictive on [special characters](https://learn.microsoft.com/en-us/windows/win32/intl/character-sets-used-in-file-names)
which makes it impossible to download those files on Windows. Hopefully this is a rare case.
Please reach out to the repo owner if you think this is a mistake or to us to figure out
a solution.
- Le cache de `huggingface_hub` a besoin des symlinks pour mettre en cache les fichiers installé depuis le Hub.
Sur windows, vous devez activer le mode développeur pour lancer votre script en tant qu'administrateur
afin d'activer les symlinks. S'il ne sont pas activés, le système de cache fonctionnera toujours mais
de manière suboptimale. Consultez [limitations du cache](./guides/manage-cache#limitations) pour plus de détails.
- Les chemins de fichiers sur le Hub peuvent avoir des caractères spéciaux (par exemple `"path/to?/my/file"`).
Windows est plus restrictif sur les [caractères spéciaux](https://learn.microsoft.com/en-us/windows/win32/intl/character-sets-used-in-file-names)
ce qui rend ces fichiers ininstallables sur Windows. Heureusement c'est un cas assez rare.
Contactez le propriétaire du dépôt sir vous pensez que c'est une erreur ou contactez nous
pour que nous cherchions une solution.


## Next steps
## Prochaines étapes

Once `huggingface_hub` is properly installed on your machine, you might want
[configure environment variables](package_reference/environment_variables) or [check one of our guides](guides/overview) to get started.
Une fois que `huggingface_hub` est installé correctement sur votre machine, vous aurez peut-être besoin de
[configurer les variables d'environnement](package_reference/environment_variables) ou de [lire un de nos guides](guides/overview)
pour vous lancer.