Skip to content

Commit

Permalink
Merge pull request #177 from macrocosm-os/dev
Browse files Browse the repository at this point in the history
Release 2.7.2.
  • Loading branch information
Sid-Data-Universe authored Dec 23, 2024
2 parents 32aba23 + c57ff6f commit 20bc7d6
Show file tree
Hide file tree
Showing 4 changed files with 112 additions and 103 deletions.
70 changes: 13 additions & 57 deletions constants/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
# Project Constants.
# ---------------------------------

__version__ = "2.7.1"
__version__ = "2.7.2"
version_split = __version__.split(".")
__spec_version__ = (
(1000 * int(version_split[0]))
Expand Down Expand Up @@ -140,56 +140,12 @@
),
}

INSTRUCT_8B_BLOCK = 4_451_695
IF_EVAL_V2_BLOCK = 4_523_592
INSTRUCT_8B_TO_25_WEIGHT_BLOCK = 4_552_883

# Schedule of competitions by block.
COMPETITION_SCHEDULE_BY_BLOCK: List[Tuple[int, List[Competition]]] = [
(
0,
[
Competition(
CompetitionId.B7_MULTI_CHOICE,
MODEL_CONSTRAINTS_BY_COMPETITION_ID[CompetitionId.B7_MULTI_CHOICE],
1.0,
eval_tasks=[
EvalTask(
name="SYNTHETIC_MMLU",
method_id=EvalMethodId.MULTIPLE_CHOICE,
dataset_id=DatasetId.SYNTHETIC_MMLU,
normalization_id=NormalizationId.NONE,
weight=0.85,
),
EvalTask(
name="WORD_SORTING",
method_id=EvalMethodId.REFERENCE_LOSS,
dataset_id=DatasetId.WORD_SORTING,
normalization_id=NormalizationId.INVERSE_EXPONENTIAL,
normalization_kwargs={"ceiling": 40.0},
weight=0.05,
),
EvalTask(
name="FINEWEB",
method_id=EvalMethodId.TEXT_LOSS,
dataset_id=DatasetId.FINEWEB,
normalization_id=NormalizationId.INVERSE_EXPONENTIAL,
normalization_kwargs={"ceiling": 20.0},
weight=0.05,
),
EvalTask(
name="IF_EVAL_V1",
method_id=EvalMethodId.IF_EVAL,
dataset_id=DatasetId.SYNTHETIC_IF_EVAL,
normalization_id=NormalizationId.NONE,
dataset_kwargs={"if_eval_version": IfEvalVersion.V1},
weight=0.05,
),
],
),
],
),
(
INSTRUCT_8B_BLOCK,
[
Competition(
CompetitionId.B7_MULTI_CHOICE,
Expand All @@ -201,7 +157,7 @@
method_id=EvalMethodId.MULTIPLE_CHOICE,
dataset_id=DatasetId.SYNTHETIC_MMLU,
normalization_id=NormalizationId.NONE,
weight=0.8,
weight=0.75,
),
EvalTask(
name="WORD_SORTING",
Expand All @@ -220,12 +176,12 @@
weight=0.1,
),
EvalTask(
name="IF_EVAL_V1",
name="IF_EVAL_V2",
method_id=EvalMethodId.IF_EVAL,
dataset_id=DatasetId.SYNTHETIC_IF_EVAL,
normalization_id=NormalizationId.NONE,
dataset_kwargs={"if_eval_version": IfEvalVersion.V1},
weight=0.05,
dataset_kwargs={"if_eval_version": IfEvalVersion.V2},
weight=0.1,
),
],
),
Expand All @@ -239,7 +195,7 @@
method_id=EvalMethodId.MULTIPLE_CHOICE,
dataset_id=DatasetId.SYNTHETIC_MMLU,
normalization_id=NormalizationId.NONE,
weight=0.8,
weight=0.75,
),
EvalTask(
name="WORD_SORTING",
Expand All @@ -258,24 +214,24 @@
weight=0.1,
),
EvalTask(
name="IF_EVAL_V1",
name="IF_EVAL_V2",
method_id=EvalMethodId.IF_EVAL,
dataset_id=DatasetId.SYNTHETIC_IF_EVAL,
normalization_id=NormalizationId.NONE,
dataset_kwargs={"if_eval_version": IfEvalVersion.V1},
weight=0.05,
dataset_kwargs={"if_eval_version": IfEvalVersion.V2},
weight=0.1,
),
],
),
],
),
(
IF_EVAL_V2_BLOCK,
INSTRUCT_8B_TO_25_WEIGHT_BLOCK,
[
Competition(
CompetitionId.B7_MULTI_CHOICE,
MODEL_CONSTRAINTS_BY_COMPETITION_ID[CompetitionId.B7_MULTI_CHOICE],
0.9,
0.75,
eval_tasks=[
EvalTask(
name="SYNTHETIC_MMLU",
Expand Down Expand Up @@ -313,7 +269,7 @@
Competition(
CompetitionId.INSTRUCT_8B,
MODEL_CONSTRAINTS_BY_COMPETITION_ID[CompetitionId.INSTRUCT_8B],
0.1,
0.25,
eval_tasks=[
EvalTask(
name="SYNTHETIC_MMLU",
Expand Down
2 changes: 1 addition & 1 deletion neurons/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def validator_config():
help="Where to store downloaded models",
)
parser.add_argument(
"--netuid", type=str, default=constants.SUBNET_UID, help="The subnet UID."
"--netuid", type=int, default=constants.SUBNET_UID, help="The subnet UID."
)
parser.add_argument(
"--do_sample",
Expand Down
Loading

0 comments on commit 20bc7d6

Please sign in to comment.