From 6f4af98df6496df7bdc6032359cb0ae178899f8f Mon Sep 17 00:00:00 2001 From: Victor Sanh Date: Fri, 4 Feb 2022 19:22:16 +0000 Subject: [PATCH] move up to v0.2.0! --- README.md | 13 +++++++------ setup.py | 4 ++-- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 8d38881af..deb2c4a4d 100644 --- a/README.md +++ b/README.md @@ -19,16 +19,17 @@ Question: Does this imply that "{{hypothesis}}"? Yes, no, or maybe? ||| {{answer **You can browse through existing prompts on the [hosted version of PromptSource](https://bigscience.huggingface.co/promptsource).** ## Setup +If you do not intend to modify prompts, you can simply run: +```bash +pip install promptsource +``` + +Otherwise, you need to install the repo locally: 1. Download the repo 1. Navigate to the root directory of the repo 1. Run `pip install -e .` to install the `promptsource` module -*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).* - -If you do not intend to modify prompts, you can simply run: -```python -pip install promptsource -``` +*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.* ## How to use prompts You can apply prompts to examples from datasets of the [Hugging Face Datasets library](https://github.com/huggingface/datasets). diff --git a/setup.py b/setup.py index 79577e50b..2ba2ec8ab 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ setup( name='promptsource', - version='0.1.0', + version='0.2.0', url='https://github.com/bigscience-workshop/promptsource.git', author='Multiple Authors', author_email='xxx', @@ -22,7 +22,7 @@ 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.7', ], - description='Toolkit for collecting and applying templates of prompting instances.', + description='An Integrated Development Environment and Repository for Natural Language Prompts.', packages=find_packages(), license="Apache Software License 2.0", long_description=readme,