Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Staging #110

Merged
merged 85 commits into from
Feb 21, 2024
Merged
Changes from 1 commit
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
a812a8a
Add Date and Math Tasks
bkb2135 Jan 30, 2024
337ffd4
Date Scoring
bkb2135 Jan 30, 2024
d704d21
Update Float Scoring
bkb2135 Feb 4, 2024
c1515d6
cleanup date.py
bkb2135 Feb 5, 2024
25bd780
update requirements
bkb2135 Feb 5, 2024
29711c1
Update requirements.txt
bkb2135 Feb 5, 2024
38427b9
Gaussian Date Scoring
bkb2135 Feb 6, 2024
3f50e30
Merge branch 'features/task-expansion' of https://github.com/opentens…
bkb2135 Feb 6, 2024
980c41e
Add unit tests
bkb2135 Feb 7, 2024
b21d1fb
Update unittests
bkb2135 Feb 7, 2024
ef1ec4f
Update tests/test_scoring.py
bkb2135 Feb 8, 2024
b2ec0fe
Update tests/test_scoring.py
bkb2135 Feb 8, 2024
e0678e2
Update tests/test_scoring.py
bkb2135 Feb 8, 2024
dde74ac
Update tests/test_scoring.py
bkb2135 Feb 8, 2024
5288dce
Update tests/test_scoring.py
bkb2135 Feb 8, 2024
65df744
Update prompting/rewards/float_diff.py
bkb2135 Feb 8, 2024
cf236b9
Update prompting/rewards/float_diff.py
bkb2135 Feb 8, 2024
13b62f6
Update prompting/rewards/float_diff.py
bkb2135 Feb 8, 2024
769d8b5
Update prompting/rewards/float_diff.py
bkb2135 Feb 8, 2024
69ff1f2
Update prompting/rewards/float_diff.py
bkb2135 Feb 8, 2024
2c73013
Update prompting/rewards/float_diff.py
bkb2135 Feb 8, 2024
7731850
Add documentation to date and float
bkb2135 Feb 8, 2024
5d7a525
Add forward_words to unit test
bkb2135 Feb 13, 2024
0ea3480
fix logging in case axon is not set
surcyf123 Feb 13, 2024
382c7e4
Update README.md
dougsillars Feb 16, 2024
01cfa4e
Update mock objects for more control and improved testing
steffencruz Feb 17, 2024
e61c512
Add tests for mock objects
steffencruz Feb 17, 2024
cfae3bb
Remove comment
steffencruz Feb 17, 2024
cc7432f
Improved validator logging
steffencruz Feb 18, 2024
b61168e
Improved miner logging
steffencruz Feb 18, 2024
7617ded
Increment miner step counter on forward
steffencruz Feb 18, 2024
051ace1
Add base dataset
steffencruz Feb 19, 2024
94cda65
Add selector class
steffencruz Feb 19, 2024
5d40ff7
Add wiki datasets (date and normal)
steffencruz Feb 19, 2024
41f1615
Add context class
steffencruz Feb 19, 2024
481632b
Add mock dataset
steffencruz Feb 19, 2024
17873e9
Add code dataset
steffencruz Feb 19, 2024
a6e7b6a
Add math dataset
steffencruz Feb 19, 2024
b2c8425
Add init
steffencruz Feb 19, 2024
3768036
Remove old monolothic dataset file
steffencruz Feb 19, 2024
9fcf494
Update submodule init
steffencruz Feb 19, 2024
ae9769a
Refactor QA task to use new context class, and cleanup
steffencruz Feb 19, 2024
849ab97
Refactor summarization task to use new context class, and cleanup
steffencruz Feb 19, 2024
7171a28
Update base task so that context can be unpacked into state dict
steffencruz Feb 19, 2024
d5ceec4
Refactor date QA task to use new context class, and cleanup
steffencruz Feb 19, 2024
9824cb5
Refactor math task to use new context class, and cleanup
steffencruz Feb 19, 2024
edb0a39
Refactor debugging task to use new context class, and cleanup
steffencruz Feb 19, 2024
b0cc7da
Add TASKS list in submodule init
steffencruz Feb 19, 2024
1f6b2af
Add MaxRetryError exception class
steffencruz Feb 19, 2024
b37b110
Catch MaxRetryError and continue validation
steffencruz Feb 19, 2024
7682f76
Update dependencies: synapse fork of mathegenerator and wiki sections
steffencruz Feb 19, 2024
bfdf7b3
Update fixtures for dataset tests to use updated dataset and context …
steffencruz Feb 19, 2024
73ed922
Update tests for dataset and context
steffencruz Feb 19, 2024
5aa8673
Update tests for tasks
steffencruz Feb 19, 2024
5dca2dd
Add pre-staging to workflows
steffencruz Feb 19, 2024
e282a27
Fix dataset name typos
steffencruz Feb 19, 2024
5543e90
Import REWARD_MODELS dict from pipeline for global access to reward m…
steffencruz Feb 19, 2024
a57a491
Import TASKS from tasks submodule
steffencruz Feb 19, 2024
a58c973
Remove redundant args
steffencruz Feb 19, 2024
9694848
Remove redundant args
steffencruz Feb 19, 2024
9229eac
Remove redundant args
steffencruz Feb 19, 2024
0dbd3f0
Add more task fields to tests
steffencruz Feb 19, 2024
77ee3ed
Add tests for reward and penalty definitions and make test_task_field…
steffencruz Feb 19, 2024
811d93a
Ensure a default wallet exists in test environemt
steffencruz Feb 19, 2024
565212c
Add pre-staging to workflows
steffencruz Feb 19, 2024
6dee0f4
Merge pull request #101 from surcyf123/patch-1
steffencruz Feb 19, 2024
3486027
Add config for decay_alpha
steffencruz Feb 19, 2024
c4ee6c1
Apply score decay
steffencruz Feb 19, 2024
5112b47
Remove hanging reference to score decay
steffencruz Feb 20, 2024
24e434e
Update math.py
bkb2135 Feb 20, 2024
14149c2
Merge pull request #111 from opentensor/features/decay-scores
steffencruz Feb 20, 2024
dd74a4c
fix broken unit test by adding a mock wallet to mock dendrite
p-ferreira Feb 20, 2024
8586a99
Update config.py
bkb2135 Feb 20, 2024
3d7b577
Merge pull request #109 from opentensor/features/context
steffencruz Feb 20, 2024
a5db577
Merge pull request #107 from opentensor/mock/tests
steffencruz Feb 20, 2024
6af33ec
Merge pull request #108 from opentensor/logging/neuron-info
steffencruz Feb 20, 2024
c7ff221
Merge remote-tracking branch 'origin/pre-staging' into features/task-…
bkb2135 Feb 21, 2024
e6ffa46
Update Math Task to use context
bkb2135 Feb 21, 2024
dfca67b
Merge pull request #105 from dougsillars/main
steffencruz Feb 21, 2024
1200586
Merge pull request #88 from opentensor/features/task-expansion
steffencruz Feb 21, 2024
c9d0b02
update versioning
p-ferreira Feb 21, 2024
745f68e
Remove unecessary logging
bkb2135 Feb 21, 2024
85247eb
Merge branch 'pre-staging' of https://github.com/opentensor/prompting…
bkb2135 Feb 21, 2024
f7a02b5
Fix bug when handling disambiguiation errors and replace expections w…
steffencruz Feb 21, 2024
f751e10
Merge pull request #112 from opentensor/pre-staging
steffencruz Feb 21, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix logging in case axon is not set
  • Loading branch information
surcyf123 authored Feb 13, 2024
commit 0ea348097dd00adb37cf0372d2457a0085555df4
13 changes: 9 additions & 4 deletions prompting/base/validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,15 @@ def run(self):

# Check that validator is registered on the network.
self.sync()

bt.logging.info(
f"Running validator {self.axon} on network: {self.config.subtensor.chain_endpoint} with netuid: {self.config.netuid}"
)

if not self.config.neuron.axon_off:
bt.logging.info(
f"Running validator {self.axon} on network: {self.config.subtensor.chain_endpoint} with netuid: {self.config.netuid}"
)
else:
bt.logging.info(
f"Running validator on network: {self.config.subtensor.chain_endpoint} with netuid: {self.config.netuid}"
)

bt.logging.info(f"Validator starting at block: {self.block}")

Expand Down
Loading