From 85a2d9866428b018f05154817acde66aa67b2033 Mon Sep 17 00:00:00 2001 From: Hung Le Date: Fri, 23 Feb 2024 02:12:51 +0700 Subject: [PATCH] fix domain error on task generating + update README --- README.md | 10 +++++++++- einstein/agent.py | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 21e4f0e..235f084 100644 --- a/README.md +++ b/README.md @@ -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 +*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 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 diff --git a/einstein/agent.py b/einstein/agent.py index 4b3aa9f..d35d1aa 100644 --- a/einstein/agent.py +++ b/einstein/agent.py @@ -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")