Skip to content

Commit

Permalink
Merge pull request #1 from AIT-Protocol/bugfix/validator_domain
Browse files Browse the repository at this point in the history
fix domain error on task generating + update README
  • Loading branch information
LVH-Tony authored Feb 22, 2024
2 parents 64c7eee + 85a2d98 commit 3251cf1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,18 @@ python -m pip install -r requirements.txt && python -m pip install -e .

# Running Validators and Miners

*Disclaimer:* We encourage miners to use testnet as this gives you a risk-free playground before running on mainnet. If you require test tao, please reach out to <steffen@opentensor.dev>
*Disclaimer:*

We encourage miners to use testnet as this gives you a risk-free playground before running on mainnet. If you require test tao, please reach out to <steffen@opentensor.dev>

Prior to running a miner or validator, you must [create a wallet](https://github.com/opentensor/docs/blob/main/reference/btcli.md) and [register the wallet to a netuid](https://github.com/opentensor/docs/blob/main/subnetworks/registration.md). Once you have done so, you can run the miner and validator with the following commands.

## Login to Weight and Biases

```bash
wandb login
```

---

## Running Validators
Expand Down
2 changes: 1 addition & 1 deletion einstein/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def create_challenge(self) -> str:

# Example message: "Derive the formula for..."
self.challenge = super().query(message="Pose a mathematical problem", cleaner=cleaner)
self.challenge = self.task.format_challenge(self.challenge, domain="mathematics")
self.challenge = self.task.format_challenge(self.challenge)
self.challenge_time = time.time() - t0

bt.logging.info(f"🤖 Challenge created: {self.challenge} in {self.challenge_time:.2f} seconds")
Expand Down

0 comments on commit 3251cf1

Please sign in to comment.