Download testbed/huggingface__trl/docs/source/installation.mdx from hc99/FEA-Bench: direct link, hf CLI and curl.
- Browser
- Download file 476 Bytes
-
https://huggingface.co/datasets/hc99/FEA-Bench/resolve/main/testbed/huggingface__trl/docs/source/installation.mdx
- Command line
-
hf download hf://datasets/hc99/FEA-Bench/testbed/huggingface__trl/docs/source/installation.mdx
-
curl -L -o installation.mdx https://huggingface.co/datasets/hc99/FEA-Bench/resolve/main/testbed/huggingface__trl/docs/source/installation.mdx
476 Bytes
| # Installation | |
| You can install TRL either from pypi or from source: | |
| ## pypi | |
| Install the library with pip: | |
| ```bash | |
| pip install trl | |
| ``` | |
| ### Source | |
| You can also install the latest version from source. First clone the repo and then run the installation with `pip`: | |
| ```bash | |
| git clone https://github.com/huggingface/trl.git | |
| cd trl/ | |
| pip install -e . | |
| ``` | |
| If you want the development install you can replace the pip install with the following: | |
| ```bash | |
| pip install -e ".[dev]" | |
| ``` |