Skip to content

Commit

Permalink
Merge pull request #288 from huggingface/gpt2
Browse files Browse the repository at this point in the history
forgot to add regex to requirements.txt :(
  • Loading branch information
thomwolf authored Feb 18, 2019
2 parents 0856a23 + e0855e8 commit 8f46cd1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pytorch_pretrained_bert/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__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)
Expand Down
4 changes: 3 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ tqdm
# Accessing files from S3 directly.
boto3
# Used for downloading models over HTTP
requests
requests
# For OpenAI GPT
regex
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

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="[email protected]",
description="PyTorch version of Google AI BERT model with script to load Google pre-trained models",
Expand All @@ -53,7 +53,8 @@
'numpy',
'boto3',
'requests',
'tqdm'],
'tqdm',
'regex'],
entry_points={
'console_scripts': [
"pytorch_pretrained_bert=pytorch_pretrained_bert.__main__:main",
Expand Down

0 comments on commit 8f46cd1

Please sign in to comment.