Skip to content

Commit 6f4af98

Browse files
committed
move up to v0.2.0!
1 parent 8bb489c commit 6f4af98

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,17 @@ Question: Does this imply that "{{hypothesis}}"? Yes, no, or maybe? ||| {{answer
1919
**You can browse through existing prompts on the [hosted version of PromptSource](https://bigscience.huggingface.co/promptsource).**
2020

2121
## Setup
22+
If you do not intend to modify prompts, you can simply run:
23+
```bash
24+
pip install promptsource
25+
```
26+
27+
Otherwise, you need to install the repo locally:
2228
1. Download the repo
2329
1. Navigate to the root directory of the repo
2430
1. Run `pip install -e .` to install the `promptsource` module
2531

26-
*Note: for stability reasons, you will currently need a Python 3.7 environment to run the last step. However, if you only intend to use the prompts, and not create new prompts through the interface, you can remove this constraint in the [`setup.py`](setup.py).*
27-
28-
If you do not intend to modify prompts, you can simply run:
29-
```python
30-
pip install promptsource
31-
```
32+
*Note: for stability reasons, you will currently need a Python 3.7 environment to run the last step. However, if you only intend to use the prompts, and not create new prompts through the interface, you can remove this constraint in the [`setup.py`](setup.py) and install the package locally.*
3233

3334
## How to use prompts
3435
You can apply prompts to examples from datasets of the [Hugging Face Datasets library](https://github.com/huggingface/datasets).

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
setup(
1010
name='promptsource',
11-
version='0.1.0',
11+
version='0.2.0',
1212
url='https://github.com/bigscience-workshop/promptsource.git',
1313
author='Multiple Authors',
1414
author_email='xxx',
@@ -22,7 +22,7 @@
2222
'Programming Language :: Python :: 3',
2323
'Programming Language :: Python :: 3.7',
2424
],
25-
description='Toolkit for collecting and applying templates of prompting instances.',
25+
description='An Integrated Development Environment and Repository for Natural Language Prompts.',
2626
packages=find_packages(),
2727
license="Apache Software License 2.0",
2828
long_description=readme,

0 commit comments

Comments
 (0)