Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
e0855e89
Commit
e0855e89
authored
Feb 18, 2019
by
thomwolf
Browse files
forgot to add regex to requirements :(
parent
ab7f5d29
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
+7
-4
pytorch_pretrained_bert/__init__.py
pytorch_pretrained_bert/__init__.py
+1
-1
requirements.txt
requirements.txt
+3
-1
setup.py
setup.py
+3
-2
No files found.
pytorch_pretrained_bert/__init__.py
View file @
e0855e89
__version__
=
"0.6.
0
"
__version__
=
"0.6.
1
"
from
.tokenization
import
BertTokenizer
,
BasicTokenizer
,
WordpieceTokenizer
from
.tokenization_openai
import
OpenAIGPTTokenizer
from
.tokenization_transfo_xl
import
(
TransfoXLTokenizer
,
TransfoXLCorpus
)
...
...
requirements.txt
View file @
e0855e89
...
...
@@ -6,3 +6,5 @@ tqdm
boto3
# Used for downloading models over HTTP
requests
# For OpenAI GPT
regex
\ No newline at end of file
setup.py
View file @
e0855e89
...
...
@@ -38,7 +38,7 @@ from setuptools import find_packages, setup
setup
(
name
=
"pytorch_pretrained_bert"
,
version
=
"0.6.
0
"
,
version
=
"0.6.
1
"
,
author
=
"Thomas Wolf, Victor Sanh, Tim Rault, Google AI Language Team Authors, Open AI team Authors"
,
author_email
=
"thomas@huggingface.co"
,
description
=
"PyTorch version of Google AI BERT model with script to load Google pre-trained models"
,
...
...
@@ -53,7 +53,8 @@ setup(
'numpy'
,
'boto3'
,
'requests'
,
'tqdm'
],
'tqdm'
,
'regex'
],
entry_points
=
{
'console_scripts'
:
[
"pytorch_pretrained_bert=pytorch_pretrained_bert.__main__:main"
,
...
...
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