Skip to content

Commit 8f46cd1

Browse files
authored
Merge pull request #288 from huggingface/gpt2
forgot to add regex to requirements.txt :(
2 parents 0856a23 + e0855e8 commit 8f46cd1

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

pytorch_pretrained_bert/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "0.6.0"
1+
__version__ = "0.6.1"
22
from .tokenization import BertTokenizer, BasicTokenizer, WordpieceTokenizer
33
from .tokenization_openai import OpenAIGPTTokenizer
44
from .tokenization_transfo_xl import (TransfoXLTokenizer, TransfoXLCorpus)

requirements.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,6 @@ tqdm
55
# Accessing files from S3 directly.
66
boto3
77
# Used for downloading models over HTTP
8-
requests
8+
requests
9+
# For OpenAI GPT
10+
regex

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
setup(
4040
name="pytorch_pretrained_bert",
41-
version="0.6.0",
41+
version="0.6.1",
4242
author="Thomas Wolf, Victor Sanh, Tim Rault, Google AI Language Team Authors, Open AI team Authors",
4343
author_email="thomas@huggingface.co",
4444
description="PyTorch version of Google AI BERT model with script to load Google pre-trained models",
@@ -53,7 +53,8 @@
5353
'numpy',
5454
'boto3',
5555
'requests',
56-
'tqdm'],
56+
'tqdm',
57+
'regex'],
5758
entry_points={
5859
'console_scripts': [
5960
"pytorch_pretrained_bert=pytorch_pretrained_bert.__main__:main",

0 commit comments

Comments
 (0)