Skip to content

Commit 2e8b1b8

Browse files
authored
Merge pull request #91 from opentensor/staging
2.1.6 Release
2 parents 341ddcb + 47b9824 commit 2e8b1b8

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

prompting/baseminer/config.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,6 @@ def get_config() -> "bt.Config":
6868
# Using command-line arguments allows users to customize various miner settings.
6969
parser = argparse.ArgumentParser()
7070

71-
parser.add_argument(
72-
"--axon.port", type=int, default=8098, help="Port to run the axon on."
73-
)
7471
# Subtensor network to connect to
7572
parser.add_argument(
7673
"--subtensor.network",

prompting/baseminer/miner.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,11 @@ def __init__(self, config=None, axon=None, wallet=None, subtensor=None):
108108
bt.logging.info(f"Running miner on uid: {self.my_subnet_uid}")
109109

110110
# The axon handles request processing, allowing validators to send this process requests.
111-
self.axon = axon or bt.axon(wallet=self.wallet, port=self.config.axon.port)
111+
self.axon = axon or bt.axon(
112+
wallet=self.wallet,
113+
port=self.config.axon.port,
114+
external_ip=self.config.axon.external_ip,
115+
)
112116
# Attach determiners which functions are called when servicing a request.
113117
bt.logging.info(f"Attaching forward function to axon.")
114118
self.axon.attach(

prompting/validators/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
from . import event
2828
from . import dataset
2929

30-
__version__ = "2.1.5"
30+
__version__ = "2.1.6"
3131
version_split = __version__.split(".")
3232
__spec_version__ = (
3333
(1000 * int(version_split[0]))

prompting/validators/reward/blacklist.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ def name(self) -> str:
4343

4444
def __init__(
4545
self,
46-
boundary: float = 40,
46+
boundary: float = 20,
4747
n_min: int = 5,
4848
n_max: int = 10,
4949
word_limit: int = 2000,
50-
A: float = 1.3,
50+
A: float = 1.25,
5151
preprocess: str = "[^(\\w|\\s)]",
52-
partial_ratio_boundary: float = 95,
52+
partial_ratio_boundary: float = 90,
5353
half_life: int = 20000,
5454
support: float = 0.01,
5555
error: float = 0.001,

0 commit comments

Comments
 (0)