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
58830807
"tests/vscode:/vscode.git/clone" did not exist on "97c8199dbb4aa3229a84e5afa73fcfe456114555"
Commit
58830807
authored
Aug 05, 2019
by
thomwolf
Browse files
inidicate we only support pytorch 1.0.0+ now
parent
328afb70
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
README.md
README.md
+1
-1
requirements.txt
requirements.txt
+1
-1
setup.py
setup.py
+1
-1
No files found.
README.md
View file @
58830807
...
@@ -25,7 +25,7 @@ These implementations have been tested on several datasets (see the example scri
...
@@ -25,7 +25,7 @@ These implementations have been tested on several datasets (see the example scri
## Installation
## Installation
This repo is tested on Python 2.7 and 3.5+ (examples are tested only on python 3.5+) and PyTorch
0.4.1 to
1.
1
.0
This repo is tested on Python 2.7 and 3.5+ (examples are tested only on python 3.5+) and PyTorch 1.
0
.0
+
### With pip
### With pip
...
...
requirements.txt
View file @
58830807
# PyTorch
# PyTorch
torch
>=
0.4.1
torch
>=
1.0.0
# progress bars in model download and training scripts
# progress bars in model download and training scripts
tqdm
tqdm
# Accessing files from S3 directly.
# Accessing files from S3 directly.
...
...
setup.py
View file @
58830807
...
@@ -49,7 +49,7 @@ setup(
...
@@ -49,7 +49,7 @@ setup(
url
=
"https://github.com/huggingface/pytorch-transformers"
,
url
=
"https://github.com/huggingface/pytorch-transformers"
,
packages
=
find_packages
(
exclude
=
[
"*.tests"
,
"*.tests.*"
,
packages
=
find_packages
(
exclude
=
[
"*.tests"
,
"*.tests.*"
,
"tests.*"
,
"tests"
]),
"tests.*"
,
"tests"
]),
install_requires
=
[
'torch>=
0.4.1
'
,
install_requires
=
[
'torch>=
1.0.0
'
,
'numpy'
,
'numpy'
,
'boto3'
,
'boto3'
,
'requests'
,
'requests'
,
...
...
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