Skip to content

Commit

Permalink
default to using hotkey in hash
Browse files Browse the repository at this point in the history
  • Loading branch information
chpiatt committed May 2, 2024
1 parent fafc33f commit a96a211
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion finetune/mining.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ async def push(
tokenizer: PreTrainedTokenizerBase,
competition_parameters: CompetitionParameters,
retry_delay_secs: int = 60,
use_hotkey_in_hash: bool = False
use_hotkey_in_hash: bool = True
):
"""Pushes the model to Hugging Face and publishes it on the chain for evaluation by validators."""
bt.logging.info(f"Pushing model for competition {competition_parameters.competition_id}")
Expand Down
3 changes: 2 additions & 1 deletion neurons/miner.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,9 @@ def get_config():
)
parser.add_argument(
"--use_hotkey_in_hash",
action="store_true", # Defaults to False.
action="store_true",
help="If true, use the hotkey of the miner when generating the hash.",
default=True
)


Expand Down

0 comments on commit a96a211

Please sign in to comment.