[doc] homogenize instructions slightly

This commit is contained in:
Julien Chaumond 2019-11-23 11:18:54 -05:00
parent 041a901f32
commit 176cd1ce1b
2 changed files with 4 additions and 5 deletions

View File

@ -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

View File

@ -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 |