Skip to content

Commit

Permalink
Score Adjustment (#144)
Browse files Browse the repository at this point in the history
* increasing ema alpha slightly, reintroducing a weaker decay to score

* version bump
  • Loading branch information
dylanuys authored Jan 29, 2025
1 parent 49631c5 commit 7734d45
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bitmind/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# DEALINGS IN THE SOFTWARE.


__version__ = "2.1.1"
__version__ = "2.1.2"
version_split = __version__.split(".")
__spec_version__ = (
(1000 * int(version_split[0]))
Expand Down
2 changes: 1 addition & 1 deletion bitmind/base/validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ def update_scores(self, rewards: np.ndarray, uids: List[int]):

# Compute forward pass rewards, assumes uids are mutually exclusive.
# shape: [ metagraph.n ]
scattered_rewards: np.ndarray = self.scores.copy()
scattered_rewards: np.ndarray = np.full_like(self.scores, 0.5)
scattered_rewards[uids_array] = rewards
bt.logging.debug(f"Scattered rewards: {rewards}")

Expand Down
2 changes: 1 addition & 1 deletion bitmind/utils/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ def add_validator_args(cls, parser):
"--neuron.moving_average_alpha",
type=float,
help="Moving average alpha parameter, how much to add of the new observation.",
default=0.02,
default=0.05,
)

parser.add_argument(
Expand Down

0 comments on commit 7734d45

Please sign in to comment.