Skip to content
This repository was archived by the owner on Oct 3, 2021. It is now read-only.

Commit d81d729

Browse files
committed
Updated PyPi
1 parent 4ad59b0 commit d81d729

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

dist/gpt2_client-1.9.4.tar.gz

12.2 KB
Binary file not shown.

gpt2_client.egg-info/PKG-INFO

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
Metadata-Version: 2.1
22
Name: gpt2-client
3-
Version: 1.9.3
3+
Version: 1.9.4
44
Summary: Easy-to-use Wrapper for the GPT-2 117M and 345M Transformer Models
55
Home-page: https://github.com/rish-16/gpt2client
66
Author: Rishabh Anand
77
Author-email: [email protected]
88
License: MIT
9-
Download-URL: https://github.com/rish-16/gpt2client/archive/1.9.3.tar.gz
9+
Download-URL: https://github.com/rish-16/gpt2client/archive/1.9.4.tar.gz
1010
Description: <h1 align="center">gpt2-client 🤖📝</h1>
1111

1212
<p align="center">Easy-to-use Wrapper for GPT-2 117M and 345M Transformer Models</p>
@@ -45,7 +45,7 @@ Description: <h1 align="center">gpt2-client 🤖📝</h1>
4545
<br>
4646
Finally, `gpt2-client` is a wrapper around the original [`gpt-2` repository](https://github.com/openai/gpt-2) that features the same functionality but with more accessiblity, comprehensibility, and utilty. You can play around both GPT-2 models with less tha five lines of code.
4747

48-
> ***Note**: This client wrapper is in no way liable to any damage caused directly or indirectly. Any names, places, and objects referenced by the model are fictional and seek no resemblance to real life entities or organisations.*
48+
> ***Note**: This client wrapper is in no way liable to any damage caused directly or indirectly. Any names, places, and objects referenced by the model are fictional and seek no resemblance to real life entities or organisations. Samples rae unfiltered and may contain offensive content. User discretion advised.*
4949

5050
<p aligh="center"><h2 align="center">Installation</h2></p>
5151

@@ -57,16 +57,16 @@ Description: <h1 align="center">gpt2-client 🤖📝</h1>
5757

5858
<p aligh="center"><h2 align="center">Getting started</h2></p>
5959

60-
**1. Download the model**
60+
**1. Download the model weights and checkpoints**
6161

6262
```python
6363
from gpt2_client import GPT2Client
6464

6565
gpt2 = GPT2Client('117M') # This could also be `345M`
66-
gpt2.download_model(save_dir='gpt2-models') # Rename it to anything
66+
gpt2.download_model(save_dir='models') # Rename it to anything. Saves to `models` by default.
6767
```
6868

69-
This creates a directory called `gpt2-models` in the current working directory and downloads the weights, checkpoints, model JSON, and hyper-parameters required by the model. Once you have called the `download_model()` function, you need not call it again assuming that the files have finished downloading in the `gpt2-models` directory.
69+
This creates a directory called `models` in the current working directory and downloads the weights, checkpoints, model JSON, and hyper-parameters required by the model. Once you have called the `download_model()` function, you need not call it again assuming that the files have finished downloading in the `models` directory.
7070

7171
**2. Start generating text!**
7272

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@
99
setup(
1010
name = 'gpt2_client',
1111
packages = ['gpt2_client'],
12-
version = '1.9.3',
12+
version = '1.9.4',
1313
license='MIT',
1414
description = 'Easy-to-use Wrapper for the GPT-2 117M and 345M Transformer Models',
1515
long_description = long_description,
1616
long_description_content_type = 'text/markdown',
1717
author = 'Rishabh Anand',
1818
author_email = '[email protected]',
1919
url = 'https://github.com/rish-16/gpt2client',
20-
download_url = 'https://github.com/rish-16/gpt2client/archive/1.9.3.tar.gz',
20+
download_url = 'https://github.com/rish-16/gpt2client/archive/1.9.4.tar.gz',
2121
keywords = ['gpt-2', 'wrapper', 'transformer', 'machine learning', 'openai', 'text generation'],
2222
install_requires=[
2323
'numpy',

0 commit comments

Comments
 (0)