Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jquesnelle committed Jan 29, 2024
1 parent 603890b commit 74ef7c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/miner.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The communication between a miner and a validator happens asynchronously chain a

# System Requirements

Miners will need enough disk space to store their model as they work on. Each uploaded model (As of Jan 1st, 2024) may not be more than 15 GB. It is reommended to have at least 25 GB of disk space.
Miners will need enough disk space to store their model as they work on. Each uploaded model (As of Jan 1st, 2024) may not be more than 15 GB. It is recommended to have at least 25 GB of disk space.

Miners will need enough processing power to train their model. The device the model is trained on is recommended to be a large GPU with atleast 48 GB of VRAM.

Expand Down Expand Up @@ -120,7 +120,7 @@ python scripts/upload_model.py --load_model_dir <path to model> --hf_repo_id my-

## Running a custom Miner

As of Jan 1st, 2024 the subnet works with any model supported by [AutoModelForCausalLM](https://huggingface.co/docs/transformers/model_doc/auto#transformers.AutoModelForCausalLM) subject to the following constraints:
As of Jan 1st, 2024 the subnet works with any model supported by [LlamaForCausalLM](https://huggingface.co/docs/transformers/v4.37.2/en/model_doc/llama2#transformers.LlamaForCausalLM) subject to the following constraints:
1. Has less than 7B parameters.
2. Total size of the repo is less than 15 Gigabytes.
3. 2K max token sequence length.
Expand Down
4 changes: 2 additions & 2 deletions docs/validator.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ def iswin( loss_a, loss_b, block_a, block_b ):
return loss_a < loss_b
```

It is important to note that this affects the game theoretics of the incentive landscape since miners should only update their model (thus updating their timestamp to a newer date) if they have achieved an `epsilon` better loss on average on the Falcon Refined Web dataset than their previous model. This undermines the obvious optimal strategy for miners to copy the publicly available models from other miners. They **can** and should copy other miners, but they will always obtain fewer wins compared to them until they also decrease their loss by `epsilon`.
It is important to note that this affects the game theoretics of the incentive landscape since miners should only update their model (thus updating their timestamp to a newer date) if they have achieved an `epsilon` better loss on average on the [Cortex.t subnet](https://taostats.io/subnets/netuid-18/) dataset than their previous model. This undermines the obvious optimal strategy for miners to copy the publicly available models from other miners. They **can** and should copy other miners, but they will always obtain fewer wins compared to them until they also decrease their loss by `epsilon`.

# System Requirements

Validators will need enough disk space to store the model of every miner in the subnet. Each model (As of Jan 1st, 2024) is limited to 15 GB and 7B parameters, and the validator has cleanup logic to remove old models. It is recommended to have at least 500 GB of disk space.
Validators will need enough disk space to store the model of every miner in the subnet. Each model (As of Jan 1st, 2024) is limited to 15 GB and 7B parameters, and the validator has cleanup logic to remove old models. It is recommended to have at least 3 TB of disk space.

Validators will need enough processing power to evaluate their model. As of Jan 1st, 2024 it is required to have a GPU with atleast 24 GB of VRAM.

Expand Down

0 comments on commit 74ef7c8

Please sign in to comment.