Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
75a97af6
Commit
75a97af6
authored
Dec 05, 2019
by
thomwolf
Browse files
fix #1450 - add doc
parent
8b388827
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
examples/README.md
examples/README.md
+3
-1
No files found.
examples/README.md
View file @
75a97af6
...
@@ -4,12 +4,14 @@ In this section a few examples are put together. All of these examples work for
...
@@ -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 |
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment