Skip to content

Commit

Permalink
Update validator instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Trudeau committed Dec 20, 2024
1 parent 9600435 commit 24cba9c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/validators.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,7 @@ Update the `.env` file with your validator's values.

```text
WANDB_API_KEY='REPLACE_WITH_WANDB_API_KEY'
MINER_HF_ACCESS_TOKEN='REPLACE_WITH_HUGGINGFACE_ACCESS_KEY'
HF_ACCESS_TOKEN='REPLACE_WITH_HUGGINGFACE_ACCESS_KEY'
HF_ACCESS_TOKEN = 'REPLACE_WITH_HUGGINGFACE_ACCESS_KEY'
WANDB_API_KEY = 'REPLACE_WITH_WANDB_API_KEY'
GIT_TOKEN='REPLACE_WITH_GIT_TOKEN'
GIT_USERNAME='REPLACE_WITH_GIT_USERNAME'
GIT_NAME="REPLACE_WITH_GIT_NAME"
Expand All @@ -81,10 +78,15 @@ Before starting the process, validators would be required to procure a WANDB API
#### HuggingFace Access Token
A huggingface access token can be procured from the huggingface platform. Follow the <a href='https://huggingface.co/docs/hub/en/security-tokens'>steps mentioned here</a> to get your huggingface access token.

#### Git Access Token
A git token can be procured from the huggingface platform. Follow the <a href='https://huggingface.co/docs/hub/en/security-tokens'>steps mentioned here</a> to get your huggingface access token. Be sure to scope this token to the organization repository. The `username`, `name`, and `email` environment variable properties are all tied to your HuggingFace account.

## Deploying a Validator
**IMPORTANT**
> Make sure your have activated your virtual environment before running your validator.
1. Run the command:
```shell
make validator
```

Inspect the Makefile for port configurations.

0 comments on commit 24cba9c

Please sign in to comment.