fix #1450 - add doc

This commit is contained in:
thomwolf
2019-12-05 11:26:55 +01:00
parent 8b388827b5
commit 75a97af6bc

View File

@@ -4,12 +4,14 @@ 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 run the latest versions of the examples, you have to install from source. Execute the following steps in a new virtual environment: To run the latest versions of the examples, you have to install from source and install some specific requirements for the examples.
Execute the following steps in a new virtual environment:
```bash ```bash
git clone https://github.com/huggingface/transformers git clone https://github.com/huggingface/transformers
cd transformers cd transformers
pip install [--editable] . pip install [--editable] .
pip install -r ./examples/requirements.txt
``` ```
| Section | Description | | Section | Description |