Skip to content

Commit 2402cf9

Browse files
authored
change default beta value (#197)
1 parent e118e7d commit 2402cf9

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

docs/validator_guide.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ pm2 start validator.config.js -- --ewma.window_days 10
320320

321321
Negative beta to give higher weight to lower scores for the 1h prompt
322322

323-
Default: `-0.05`
323+
Default: `-0.2`
324324

325325
Example:
326326

@@ -332,7 +332,7 @@ module.exports = {
332332
name: "validator",
333333
interpreter: "python3",
334334
script: "./neurons/validator.py",
335-
args: "--softmax.beta -0.05",
335+
args: "--softmax.beta -0.2",
336336
env: {
337337
PYTHONPATH: ".",
338338
},
@@ -344,7 +344,7 @@ module.exports = {
344344
Alternatively, you can add the args directly to the command:
345345

346346
```shell
347-
pm2 start validator.config.js -- --softmax.beta -0.05
347+
pm2 start validator.config.js -- --softmax.beta -0.2
348348
```
349349

350350
<sup>[Back to top ^][table-of-contents]</sup>

entrypoint-validator.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ validator_coldkey_name=validator
1010
validator_hotkey_name=default
1111

1212
ewma_window_days=10
13-
softmax_beta=-0.05
13+
softmax_beta=-0.2
1414

1515
log_id_prefix=my_validator_name
1616

synth/utils/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ def add_validator_args(_, parser: argparse.ArgumentParser):
242242
"--softmax.beta",
243243
type=float,
244244
help="Negative beta to give higher weight to lower scores.",
245-
default=-0.05,
245+
default=-0.2,
246246
)
247247

248248

synth/validator/prompt_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,6 @@ class PromptConfig:
6262
"0_60min_gaps": 3600,
6363
},
6464
window_days=1,
65-
softmax_beta=-0.05,
65+
softmax_beta=-0.2,
6666
smoothed_score_coefficient=0.5,
6767
)

validator.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module.exports = {
44
name: "validator",
55
interpreter: "python3",
66
script: "./neurons/validator.py",
7-
args: "--netuid 50 --logging.debug --wallet.name validator --wallet.hotkey default --neuron.axon_off true --neuron.vpermit_tao_limit 999999 --ewma.window_days 10 --softmax.beta -0.05",
7+
args: "--netuid 50 --logging.debug --wallet.name validator --wallet.hotkey default --neuron.axon_off true --neuron.vpermit_tao_limit 999999 --softmax.beta -0.2",
88
env: {
99
PYTHONPATH: ".",
1010
},

validator.test.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module.exports = {
44
name: "validator",
55
interpreter: "python3",
66
script: "./neurons/validator.py",
7-
args: "--netuid 247 --logging.debug --logging.trace --subtensor.network test --wallet.name validator --wallet.hotkey default --neuron.axon_off true --ewma.window_days 10 --softmax.beta -0.05",
7+
args: "--netuid 247 --logging.debug --logging.trace --subtensor.network test --wallet.name validator --wallet.hotkey default --neuron.axon_off true --softmax.beta -0.2",
88
env: {
99
PYTHONPATH: ".",
1010
},

0 commit comments

Comments
 (0)