Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix docstrings #27

Merged
merged 4 commits into from
Jan 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -92,7 +92,7 @@ This repository requires python3.8 or higher. To install, simply clone this repo
```bash
git clone https://github.com/opentensor/prompting.git
cd prompting
python -m pip install -r requirements.txt
python -m pip install -r requirements.txt -r prompting/requirements.txt
python -m pip install -e .
```

@@ -107,7 +107,7 @@ Prior to running a miner or validator, you must [create a wallet](https://github

The validator and base miner are based on [zephyr](https://huggingface.co/HuggingFaceH4/zephyr-7b-beta), which is a fine-tuned Mistral-7B.

**To run a validator or zephyr miner you will need 40GB VRAM (we're working on bringing this down to 32).**
**To run a validator you will need 24GB of VRAM or 18GB of VRAM for a zephyr miner**
```bash
# To run the validator
python neurons/validator.py
4 changes: 2 additions & 2 deletions neurons/miners/zephyr/miner.py
Original file line number Diff line number Diff line change
@@ -35,7 +35,7 @@ class ZephyrMiner(Miner):
"""
Base miner which runs zephyr (https://huggingface.co/HuggingFaceH4/zephyr-7b-beta)

This requires a GPU with at least 40GB of memory.
This requires a GPU with at least 20GB of memory.

To run this miner from the project root directory:

@@ -45,7 +45,7 @@ class ZephyrMiner(Miner):
@classmethod
def add_args(cls, parser: argparse.ArgumentParser):
"""
Adds OpenAI-specific arguments to the command line parser.
Adds arguments to the command line parser.
"""
super().add_args(parser)
parser.add_argument(
Loading