[doc] homogenize instructions slightly
This commit is contained in:
@@ -89,13 +89,12 @@ pip install [--editable] .
|
|||||||
### Run the examples
|
### Run the examples
|
||||||
|
|
||||||
Examples are included in the repository but are not shipped with the library.
|
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
|
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:
|
||||||
repository and install the bleeding edge version of the library. To do so, create a new virtual environment and follow these steps:
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone git@github.com:huggingface/transformers
|
git clone git@github.com:huggingface/transformers
|
||||||
cd transformers
|
cd transformers
|
||||||
pip install .
|
pip install [--editable] .
|
||||||
```
|
```
|
||||||
|
|
||||||
### Tests
|
### 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.
|
similar API between the different models.
|
||||||
|
|
||||||
**Important**
|
**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
|
```bash
|
||||||
git clone git@github.com:huggingface/transformers
|
git clone git@github.com:huggingface/transformers
|
||||||
cd transformers
|
cd transformers
|
||||||
pip install .
|
pip install [--editable] .
|
||||||
```
|
```
|
||||||
|
|
||||||
| Section | Description |
|
| Section | Description |
|
||||||
|
|||||||
Reference in New Issue
Block a user