Skip to content

Commit

Permalink
move up to v0.2.0!
Browse files Browse the repository at this point in the history
  • Loading branch information
VictorSanh committed Feb 4, 2022
1 parent 8bb489c commit 6f4af98
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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,
Expand Down

0 comments on commit 6f4af98

Please sign in to comment.