[doc] homogenize instructions slightly
This commit is contained in:
parent
041a901f32
commit
176cd1ce1b
|
@ -89,13 +89,12 @@ pip install [--editable] .
|
|||
### Run the examples
|
||||
|
||||
Examples are included in the repository but are not shipped with the library.
|
||||
Therefore, in order to run the examples you will first need to clone the
|
||||
repository and install the bleeding edge version of the library. To do so, create a new virtual environment and follow these steps:
|
||||
Therefore, in order to run the latest versions of the examples you also need to install from source. To do so, create a new virtual environment and follow these steps:
|
||||
|
||||
```bash
|
||||
git clone git@github.com:huggingface/transformers
|
||||
cd transformers
|
||||
pip install .
|
||||
pip install [--editable] .
|
||||
```
|
||||
|
||||
### Tests
|
||||
|
|
|
@ -4,12 +4,12 @@ In this section a few examples are put together. All of these examples work for
|
|||
similar API between the different models.
|
||||
|
||||
**Important**
|
||||
To use the examples, execute the following steps in a new virtual environment:
|
||||
To run the latest versions of the examples, you have to install from source. Execute the following steps in a new virtual environment:
|
||||
|
||||
```bash
|
||||
git clone git@github.com:huggingface/transformers
|
||||
cd transformers
|
||||
pip install .
|
||||
pip install [--editable] .
|
||||
```
|
||||
|
||||
| Section | Description |
|
||||
|
|
Loading…
Reference in New Issue