openpond-sdk 0.12.26 → 0.12.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/PRODUCT_INTEGRATION.md +13 -6
- package/README.md +2 -10
- package/SERVERLESS_SERVING.md +52 -35
- package/TASK_INGESTION.md +0 -4
- package/dist/advanced-refiner-evaluations.js +7 -7
- package/dist/ai-sdk.js +20 -83
- package/dist/ai-sdk.js.map +1 -1
- package/dist/candidate-evaluations.js +6 -6
- package/dist/{chunk-UZAVG2WK.js → chunk-3HOGOWKU.js} +8 -6
- package/dist/chunk-3HOGOWKU.js.map +1 -0
- package/dist/{chunk-YV6PPDXZ.js → chunk-3Z5IK2UK.js} +27 -2
- package/dist/chunk-3Z5IK2UK.js.map +1 -0
- package/dist/{chunk-4REK5TTE.js → chunk-4D4QSQC3.js} +2 -2
- package/dist/{chunk-AMZ2SWHR.js → chunk-534W2O2S.js} +2 -2
- package/dist/{chunk-6LVLWRBJ.js → chunk-54BJJL7G.js} +2 -2
- package/dist/{chunk-XWUTYFOU.js → chunk-5KJY44FB.js} +3 -3
- package/dist/{chunk-QKLZZOZD.js → chunk-7MLFWVDI.js} +29 -10
- package/dist/chunk-7MLFWVDI.js.map +1 -0
- package/dist/{chunk-4A4FNG4R.js → chunk-7ZV626YS.js} +2 -2
- package/dist/{chunk-57ROW3XF.js → chunk-ABOZV47D.js} +2 -2
- package/dist/{chunk-3BILL33A.js → chunk-BIQ5TG3T.js} +4 -4
- package/dist/{chunk-JINWKUKR.js → chunk-BT6CC6QB.js} +3 -3
- package/dist/{chunk-4PEK3YOW.js → chunk-CNFN6GHY.js} +2 -2
- package/dist/{chunk-X5AT253K.js → chunk-CVYGJUWM.js} +2 -2
- package/dist/{chunk-D26RJQU7.js → chunk-CX7ETU2F.js} +2 -2
- package/dist/{chunk-4CDLPMJK.js → chunk-D7LV3USE.js} +2 -2
- package/dist/{chunk-WZKKQNYY.js → chunk-GA7OSSEA.js} +2 -2
- package/dist/{chunk-EL6KZO43.js → chunk-GFWXDWEE.js} +3 -3
- package/dist/{chunk-XYK3MAIC.js → chunk-JYWIKBGD.js} +122 -112
- package/dist/chunk-JYWIKBGD.js.map +1 -0
- package/dist/{chunk-AQV7RQZH.js → chunk-K4WU4JOP.js} +2 -2
- package/dist/{chunk-CAOMKM55.js → chunk-L7MVGGBH.js} +2 -2
- package/dist/{chunk-P56JWQYV.js → chunk-LRFVISLA.js} +3 -3
- package/dist/{chunk-2U6BQ5C4.js → chunk-MJHQMQEW.js} +3 -3
- package/dist/chunk-ON3KSXWR.js +639 -0
- package/dist/chunk-ON3KSXWR.js.map +1 -0
- package/dist/{chunk-PMVSO23F.js → chunk-RMXZISHK.js} +10 -1
- package/dist/chunk-RMXZISHK.js.map +1 -0
- package/dist/{chunk-JWEIAEQ6.js → chunk-TMNEDWA7.js} +10 -3
- package/dist/chunk-TMNEDWA7.js.map +1 -0
- package/dist/{chunk-C7I4ZG6Q.js → chunk-TX552FQG.js} +3 -3
- package/dist/{chunk-4CRLQMJ2.js → chunk-VIDRZCPQ.js} +6 -6
- package/dist/{chunk-MN4FE52A.js → chunk-VRUAIMM3.js} +7 -7
- package/dist/chunk-VRUAIMM3.js.map +1 -0
- package/dist/{chunk-H5KHLBC5.js → chunk-WJZHSIGD.js} +6 -8
- package/dist/{chunk-H5KHLBC5.js.map → chunk-WJZHSIGD.js.map} +1 -1
- package/dist/{chunk-HCUZYGUK.js → chunk-WPTFJZ4L.js} +3 -3
- package/dist/connected-evidence.js +7 -7
- package/dist/dataset-workspaces.js +10 -10
- package/dist/errors.js +1 -1
- package/dist/experiment-evaluation-schedules.js +16 -16
- package/dist/experiment-improvements.js +7 -7
- package/dist/experiments.js +15 -15
- package/dist/index.js +23 -23
- package/dist/learning.js +15 -4
- package/dist/learning.js.map +1 -1
- package/dist/model-projects.js +1 -1
- package/dist/model-starter-attempts.js +2 -2
- package/dist/model-starter-catalog.js +4 -4
- package/dist/model-starters.js +4 -4
- package/dist/model-taskset-runs.js +3 -3
- package/dist/post-training.js +6 -6
- package/dist/taskset-drafts.js +6 -6
- package/dist/taskset-packages.js +12 -10
- package/dist/training-bundle.js +46 -20
- package/dist/training-bundle.js.map +1 -1
- package/dist/training-hardware.js +2 -2
- package/dist/training.js +5620 -4342
- package/dist/training.js.map +1 -1
- package/dist/types/packages/sdk/src/ai-sdk.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/alphaedit-model-serving.d.ts +8 -4
- package/dist/types/packages/sdk/src/alphaedit-model-serving.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/candidate-evaluation-client.d.ts +162 -162
- package/dist/types/packages/sdk/src/decision-model-serving.d.ts +4 -2
- package/dist/types/packages/sdk/src/decision-model-serving.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/engram-model-serving.d.ts +3 -1
- package/dist/types/packages/sdk/src/engram-model-serving.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/experiment-client.d.ts +699 -691
- package/dist/types/packages/sdk/src/experiment-client.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/experiment-draft-storage.d.ts +34 -28
- package/dist/types/packages/sdk/src/experiment-draft-storage.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/experiment-improvement-client.d.ts +1889 -1889
- package/dist/types/packages/sdk/src/experiment-run-details.d.ts +7 -7
- package/dist/types/packages/sdk/src/experiment-scoring-contracts.d.ts +21 -3
- package/dist/types/packages/sdk/src/experiment-scoring-contracts.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/learning.d.ts +1 -0
- package/dist/types/packages/sdk/src/learning.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/managed-alphaedit-executions.d.ts +272 -16
- package/dist/types/packages/sdk/src/managed-alphaedit-executions.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/managed-compute-price.d.ts +53 -1
- package/dist/types/packages/sdk/src/managed-compute-price.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/managed-decision-executions.d.ts +612 -356
- package/dist/types/packages/sdk/src/managed-decision-executions.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/managed-engram-executions.d.ts +272 -16
- package/dist/types/packages/sdk/src/managed-engram-executions.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/managed-modification-executions.d.ts +208 -16
- package/dist/types/packages/sdk/src/managed-modification-executions.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/managed-neuron-training-executions.d.ts +272 -16
- package/dist/types/packages/sdk/src/managed-neuron-training-executions.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/managed-serving-usage.d.ts +3 -0
- package/dist/types/packages/sdk/src/managed-serving-usage.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/managed-training-preparation.d.ts +25 -25
- package/dist/types/packages/sdk/src/managed-training-preparation.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/model-learning-capabilities.d.ts +4 -0
- package/dist/types/packages/sdk/src/model-learning-capabilities.d.ts.map +1 -0
- package/dist/types/packages/sdk/src/model-learning-policy.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/model-supervised-training-defaults.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/model-training-defaults.d.ts +5 -2
- package/dist/types/packages/sdk/src/model-training-defaults.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/neuron-training-model-serving.d.ts +8 -4
- package/dist/types/packages/sdk/src/neuron-training-model-serving.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/post-training.d.ts +7 -7
- package/dist/types/packages/sdk/src/product-model-response.d.ts +6 -2
- package/dist/types/packages/sdk/src/product-model-response.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/product-model-transport.d.ts +99 -0
- package/dist/types/packages/sdk/src/product-model-transport.d.ts.map +1 -0
- package/dist/types/packages/sdk/src/product-model-wire.d.ts +104 -0
- package/dist/types/packages/sdk/src/product-model-wire.d.ts.map +1 -0
- package/dist/types/packages/sdk/src/product-models.d.ts +18 -15
- package/dist/types/packages/sdk/src/product-models.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/serverless-serving.d.ts +416 -9
- package/dist/types/packages/sdk/src/serverless-serving.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/steering-model-serving.d.ts +2144 -703
- package/dist/types/packages/sdk/src/steering-model-serving.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/steering-profile-publication.d.ts +631 -0
- package/dist/types/packages/sdk/src/steering-profile-publication.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/taskset-draft-client.d.ts +120 -120
- package/dist/types/packages/sdk/src/taskset-package-projection.d.ts +20 -20
- package/dist/types/packages/sdk/src/taskset-packages.d.ts +1 -0
- package/dist/types/packages/sdk/src/taskset-packages.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/taskset-text-policy.d.ts +11 -0
- package/dist/types/packages/sdk/src/taskset-text-policy.d.ts.map +1 -0
- package/dist/types/packages/sdk/src/training-compute-selection.d.ts +6 -19
- package/dist/types/packages/sdk/src/training-compute-selection.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/training-estimates.d.ts +1 -1
- package/dist/types/packages/sdk/src/training-experiment-setup.d.ts +4 -1
- package/dist/types/packages/sdk/src/training-experiment-setup.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/training-harness-sources.d.ts +2 -2
- package/dist/types/packages/sdk/src/training-learning-batch.d.ts +40 -40
- package/dist/types/packages/sdk/src/training-model-serving-control.d.ts +406 -8
- package/dist/types/packages/sdk/src/training-model-serving-control.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/training-model-serving.d.ts +1136 -30
- package/dist/types/packages/sdk/src/training-model-serving.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/training-operations.d.ts +11197 -0
- package/dist/types/packages/sdk/src/training-operations.d.ts.map +1 -0
- package/dist/types/packages/sdk/src/training-qualification-preparation.d.ts +25 -25
- package/dist/types/packages/sdk/src/training-supervised.d.ts +13 -0
- package/dist/types/packages/sdk/src/training-supervised.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/training-transport.d.ts +4 -1
- package/dist/types/packages/sdk/src/training-transport.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/training.d.ts +15885 -4662
- package/dist/types/packages/sdk/src/training.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/weight-inference.d.ts +8 -5
- package/dist/types/packages/sdk/src/weight-inference.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/weight-model-versions.d.ts +2089 -398
- package/dist/types/packages/sdk/src/weight-model-versions.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/weight-space-artifact.d.ts +433 -0
- package/dist/types/packages/sdk/src/weight-space-artifact.d.ts.map +1 -0
- package/dist/types/packages/sdk/src/weight-space-evaluation.d.ts +1437 -0
- package/dist/types/packages/sdk/src/weight-space-evaluation.d.ts.map +1 -0
- package/dist/types/packages/sdk/src/weight-space-model-serving.d.ts +2910 -0
- package/dist/types/packages/sdk/src/weight-space-model-serving.d.ts.map +1 -0
- package/dist/types/packages/sdk/src/weight-space-programming.d.ts +845 -0
- package/dist/types/packages/sdk/src/weight-space-programming.d.ts.map +1 -0
- package/dist/types/packages/sdk/src/weight-space-sessions.d.ts +4600 -0
- package/dist/types/packages/sdk/src/weight-space-sessions.d.ts.map +1 -0
- package/fixtures/python-foundation/operation-matrix.json +369 -0
- package/fixtures/python-foundation/schemas.json +34304 -27905
- package/fixtures/python-foundation/training-estimate-http-workflow.json +1 -1
- package/package.json +2 -2
- package/dist/chunk-JWEIAEQ6.js.map +0 -1
- package/dist/chunk-MN4FE52A.js.map +0 -1
- package/dist/chunk-PMVSO23F.js.map +0 -1
- package/dist/chunk-QKLZZOZD.js.map +0 -1
- package/dist/chunk-UZAVG2WK.js.map +0 -1
- package/dist/chunk-XYK3MAIC.js.map +0 -1
- package/dist/chunk-YV6PPDXZ.js.map +0 -1
- package/dist/chunk-ZG4HVCJB.js +0 -248
- package/dist/chunk-ZG4HVCJB.js.map +0 -1
- /package/dist/{chunk-4REK5TTE.js.map → chunk-4D4QSQC3.js.map} +0 -0
- /package/dist/{chunk-AMZ2SWHR.js.map → chunk-534W2O2S.js.map} +0 -0
- /package/dist/{chunk-6LVLWRBJ.js.map → chunk-54BJJL7G.js.map} +0 -0
- /package/dist/{chunk-XWUTYFOU.js.map → chunk-5KJY44FB.js.map} +0 -0
- /package/dist/{chunk-4A4FNG4R.js.map → chunk-7ZV626YS.js.map} +0 -0
- /package/dist/{chunk-57ROW3XF.js.map → chunk-ABOZV47D.js.map} +0 -0
- /package/dist/{chunk-3BILL33A.js.map → chunk-BIQ5TG3T.js.map} +0 -0
- /package/dist/{chunk-JINWKUKR.js.map → chunk-BT6CC6QB.js.map} +0 -0
- /package/dist/{chunk-4PEK3YOW.js.map → chunk-CNFN6GHY.js.map} +0 -0
- /package/dist/{chunk-X5AT253K.js.map → chunk-CVYGJUWM.js.map} +0 -0
- /package/dist/{chunk-D26RJQU7.js.map → chunk-CX7ETU2F.js.map} +0 -0
- /package/dist/{chunk-4CDLPMJK.js.map → chunk-D7LV3USE.js.map} +0 -0
- /package/dist/{chunk-WZKKQNYY.js.map → chunk-GA7OSSEA.js.map} +0 -0
- /package/dist/{chunk-EL6KZO43.js.map → chunk-GFWXDWEE.js.map} +0 -0
- /package/dist/{chunk-AQV7RQZH.js.map → chunk-K4WU4JOP.js.map} +0 -0
- /package/dist/{chunk-CAOMKM55.js.map → chunk-L7MVGGBH.js.map} +0 -0
- /package/dist/{chunk-P56JWQYV.js.map → chunk-LRFVISLA.js.map} +0 -0
- /package/dist/{chunk-2U6BQ5C4.js.map → chunk-MJHQMQEW.js.map} +0 -0
- /package/dist/{chunk-C7I4ZG6Q.js.map → chunk-TX552FQG.js.map} +0 -0
- /package/dist/{chunk-4CRLQMJ2.js.map → chunk-VIDRZCPQ.js.map} +0 -0
- /package/dist/{chunk-HCUZYGUK.js.map → chunk-WPTFJZ4L.js.map} +0 -0
|
@@ -947,6 +947,344 @@ export declare const NeuronTrainingModelVersionSchema: z.ZodObject<{
|
|
|
947
947
|
contentHash: z.ZodString;
|
|
948
948
|
}, z.core.$strict>;
|
|
949
949
|
export type NeuronTrainingModelVersion = z.infer<typeof NeuronTrainingModelVersionSchema>;
|
|
950
|
+
export declare const WeightSpaceModelVersionContentSchema: z.ZodObject<{
|
|
951
|
+
teamId: z.ZodString;
|
|
952
|
+
ownerUserId: z.ZodString;
|
|
953
|
+
modelProjectId: z.ZodString;
|
|
954
|
+
portableProjectId: z.ZodString;
|
|
955
|
+
baseModel: z.ZodObject<{
|
|
956
|
+
schemaVersion: z.ZodLiteral<"openpond.baseModelPreference.v1">;
|
|
957
|
+
modelId: z.ZodString;
|
|
958
|
+
revision: z.ZodNullable<z.ZodString>;
|
|
959
|
+
tokenizerRevision: z.ZodNullable<z.ZodString>;
|
|
960
|
+
chatTemplateHash: z.ZodNullable<z.ZodString>;
|
|
961
|
+
modelAssetId: z.ZodNullable<z.ZodString>;
|
|
962
|
+
source: z.ZodEnum<{
|
|
963
|
+
builtin: "builtin";
|
|
964
|
+
local: "local";
|
|
965
|
+
managed: "managed";
|
|
966
|
+
}>;
|
|
967
|
+
}, z.core.$strict>;
|
|
968
|
+
source: z.ZodObject<{
|
|
969
|
+
executionId: z.ZodString;
|
|
970
|
+
inputHash: z.ZodString;
|
|
971
|
+
runtimeHash: z.ZodString;
|
|
972
|
+
resultHash: z.ZodString;
|
|
973
|
+
}, z.core.$strict>;
|
|
974
|
+
createdAt: z.ZodISODateTime;
|
|
975
|
+
schemaVersion: z.ZodLiteral<"openpond.weightSpaceModelVersion.v1">;
|
|
976
|
+
request: z.ZodObject<{
|
|
977
|
+
schemaVersion: z.ZodLiteral<"openpond.weightSpaceRequest.v1">;
|
|
978
|
+
model: z.ZodObject<{
|
|
979
|
+
schemaVersion: z.ZodLiteral<"openpond.neuronSteeringModel.v1">;
|
|
980
|
+
modelId: z.ZodString;
|
|
981
|
+
revision: z.ZodString;
|
|
982
|
+
configHash: z.ZodString;
|
|
983
|
+
weightsHash: z.ZodString;
|
|
984
|
+
tokenizerHash: z.ZodString;
|
|
985
|
+
weightIdentity: z.ZodLiteral<"torch_state_dict_sha256_v1">;
|
|
986
|
+
architecture: z.ZodLiteral<"dense_decoder">;
|
|
987
|
+
dtype: z.ZodEnum<{
|
|
988
|
+
bfloat16: "bfloat16";
|
|
989
|
+
float16: "float16";
|
|
990
|
+
float32: "float32";
|
|
991
|
+
}>;
|
|
992
|
+
quantization: z.ZodLiteral<"none">;
|
|
993
|
+
adapter: z.ZodNull;
|
|
994
|
+
hiddenSize: z.ZodNumber;
|
|
995
|
+
intermediateSizes: z.ZodArray<z.ZodNumber>;
|
|
996
|
+
}, z.core.$strict>;
|
|
997
|
+
teacher: z.ZodObject<{
|
|
998
|
+
controller: z.ZodLiteral<"local_agent">;
|
|
999
|
+
providerId: z.ZodString;
|
|
1000
|
+
modelId: z.ZodString;
|
|
1001
|
+
sessionId: z.ZodString;
|
|
1002
|
+
}, z.core.$strict>;
|
|
1003
|
+
objective: z.ZodString;
|
|
1004
|
+
panels: z.ZodArray<z.ZodObject<{
|
|
1005
|
+
id: z.ZodString;
|
|
1006
|
+
source: z.ZodNullable<z.ZodObject<{
|
|
1007
|
+
id: z.ZodString;
|
|
1008
|
+
contentHash: z.ZodString;
|
|
1009
|
+
revision: z.ZodNumber;
|
|
1010
|
+
}, z.core.$strict>>;
|
|
1011
|
+
role: z.ZodEnum<{
|
|
1012
|
+
development: "development";
|
|
1013
|
+
preservation: "preservation";
|
|
1014
|
+
}>;
|
|
1015
|
+
prompts: z.ZodArray<z.ZodObject<{
|
|
1016
|
+
id: z.ZodString;
|
|
1017
|
+
text: z.ZodString;
|
|
1018
|
+
system: z.ZodOptional<z.ZodString>;
|
|
1019
|
+
}, z.core.$strict>>;
|
|
1020
|
+
}, z.core.$strict>>;
|
|
1021
|
+
frozenEvaluation: z.ZodNullable<z.ZodObject<{
|
|
1022
|
+
id: z.ZodString;
|
|
1023
|
+
contentHash: z.ZodString;
|
|
1024
|
+
revision: z.ZodNumber;
|
|
1025
|
+
}, z.core.$strict>>;
|
|
1026
|
+
generation: z.ZodObject<{
|
|
1027
|
+
maxOutputTokens: z.ZodNumber;
|
|
1028
|
+
seed: z.ZodNumber;
|
|
1029
|
+
sampling: z.ZodLiteral<"greedy_v1">;
|
|
1030
|
+
}, z.core.$strict>;
|
|
1031
|
+
limits: z.ZodObject<{
|
|
1032
|
+
maximumDurationSeconds: z.ZodNumber;
|
|
1033
|
+
maximumIdleSeconds: z.ZodNumber;
|
|
1034
|
+
maximumCommands: z.ZodNumber;
|
|
1035
|
+
maximumCandidates: z.ZodNumber;
|
|
1036
|
+
maximumPatchColumns: z.ZodNumber;
|
|
1037
|
+
maximumTensorElements: z.ZodNumber;
|
|
1038
|
+
maximumReturnedValues: z.ZodNumber;
|
|
1039
|
+
maximumArithmeticWork: z.ZodNumber;
|
|
1040
|
+
maximumForwardTokenWork: z.ZodNumber;
|
|
1041
|
+
maximumCheckpointBytes: z.ZodNumber;
|
|
1042
|
+
}, z.core.$strict>;
|
|
1043
|
+
}, z.core.$strict>;
|
|
1044
|
+
artifact: z.ZodObject<{
|
|
1045
|
+
id: z.ZodString;
|
|
1046
|
+
contentHash: z.ZodString;
|
|
1047
|
+
manifest: z.ZodObject<{
|
|
1048
|
+
schemaVersion: z.ZodLiteral<"openpond.weightSpaceArtifact.v1">;
|
|
1049
|
+
method: z.ZodLiteral<"weight_space_programming">;
|
|
1050
|
+
representation: z.ZodLiteral<"exact_bf16_mlp_column_replacements_v1">;
|
|
1051
|
+
model: z.ZodObject<{
|
|
1052
|
+
schemaVersion: z.ZodLiteral<"openpond.neuronSteeringModel.v1">;
|
|
1053
|
+
modelId: z.ZodString;
|
|
1054
|
+
revision: z.ZodString;
|
|
1055
|
+
configHash: z.ZodString;
|
|
1056
|
+
weightsHash: z.ZodString;
|
|
1057
|
+
tokenizerHash: z.ZodString;
|
|
1058
|
+
weightIdentity: z.ZodLiteral<"torch_state_dict_sha256_v1">;
|
|
1059
|
+
architecture: z.ZodLiteral<"dense_decoder">;
|
|
1060
|
+
dtype: z.ZodEnum<{
|
|
1061
|
+
bfloat16: "bfloat16";
|
|
1062
|
+
float16: "float16";
|
|
1063
|
+
float32: "float32";
|
|
1064
|
+
}>;
|
|
1065
|
+
quantization: z.ZodLiteral<"none">;
|
|
1066
|
+
adapter: z.ZodNull;
|
|
1067
|
+
hiddenSize: z.ZodNumber;
|
|
1068
|
+
intermediateSizes: z.ZodArray<z.ZodNumber>;
|
|
1069
|
+
}, z.core.$strict>;
|
|
1070
|
+
requestHash: z.ZodString;
|
|
1071
|
+
runtimeHash: z.ZodString;
|
|
1072
|
+
candidateHash: z.ZodString;
|
|
1073
|
+
teacher: z.ZodObject<{
|
|
1074
|
+
controller: z.ZodLiteral<"local_agent">;
|
|
1075
|
+
providerId: z.ZodString;
|
|
1076
|
+
modelId: z.ZodString;
|
|
1077
|
+
sessionId: z.ZodString;
|
|
1078
|
+
}, z.core.$strict>;
|
|
1079
|
+
historyHash: z.ZodString;
|
|
1080
|
+
columns: z.ZodArray<z.ZodObject<{
|
|
1081
|
+
layer: z.ZodNumber;
|
|
1082
|
+
columns: z.ZodArray<z.ZodNumber>;
|
|
1083
|
+
}, z.core.$strict>>;
|
|
1084
|
+
columnHashes: z.ZodArray<z.ZodString>;
|
|
1085
|
+
payload: z.ZodObject<{
|
|
1086
|
+
path: z.ZodLiteral<"patch.safetensors">;
|
|
1087
|
+
sha256: z.ZodString;
|
|
1088
|
+
sizeBytes: z.ZodNumber;
|
|
1089
|
+
tensors: z.ZodArray<z.ZodObject<{
|
|
1090
|
+
name: z.ZodString;
|
|
1091
|
+
dtype: z.ZodEnum<{
|
|
1092
|
+
BF16: "BF16";
|
|
1093
|
+
I64: "I64";
|
|
1094
|
+
}>;
|
|
1095
|
+
shape: z.ZodArray<z.ZodNumber>;
|
|
1096
|
+
}, z.core.$strict>>;
|
|
1097
|
+
}, z.core.$strict>;
|
|
1098
|
+
reload: z.ZodObject<{
|
|
1099
|
+
effectiveColumnsHash: z.ZodString;
|
|
1100
|
+
reloadedColumnsHash: z.ZodString;
|
|
1101
|
+
untouchedWeightsHashBefore: z.ZodString;
|
|
1102
|
+
untouchedWeightsHashAfter: z.ZodString;
|
|
1103
|
+
equivalent: z.ZodLiteral<true>;
|
|
1104
|
+
}, z.core.$strict>;
|
|
1105
|
+
contentHash: z.ZodString;
|
|
1106
|
+
}, z.core.$strict>;
|
|
1107
|
+
files: z.ZodArray<z.ZodObject<{
|
|
1108
|
+
path: z.ZodEnum<{
|
|
1109
|
+
"manifest.json": "manifest.json";
|
|
1110
|
+
"patch.safetensors": "patch.safetensors";
|
|
1111
|
+
}>;
|
|
1112
|
+
artifactId: z.ZodString;
|
|
1113
|
+
sha256: z.ZodString;
|
|
1114
|
+
sizeBytes: z.ZodNumber;
|
|
1115
|
+
}, z.core.$strict>>;
|
|
1116
|
+
}, z.core.$strict>;
|
|
1117
|
+
}, z.core.$strict>;
|
|
1118
|
+
export declare const WeightSpaceModelVersionSchema: z.ZodObject<{
|
|
1119
|
+
teamId: z.ZodString;
|
|
1120
|
+
ownerUserId: z.ZodString;
|
|
1121
|
+
modelProjectId: z.ZodString;
|
|
1122
|
+
portableProjectId: z.ZodString;
|
|
1123
|
+
baseModel: z.ZodObject<{
|
|
1124
|
+
schemaVersion: z.ZodLiteral<"openpond.baseModelPreference.v1">;
|
|
1125
|
+
modelId: z.ZodString;
|
|
1126
|
+
revision: z.ZodNullable<z.ZodString>;
|
|
1127
|
+
tokenizerRevision: z.ZodNullable<z.ZodString>;
|
|
1128
|
+
chatTemplateHash: z.ZodNullable<z.ZodString>;
|
|
1129
|
+
modelAssetId: z.ZodNullable<z.ZodString>;
|
|
1130
|
+
source: z.ZodEnum<{
|
|
1131
|
+
builtin: "builtin";
|
|
1132
|
+
local: "local";
|
|
1133
|
+
managed: "managed";
|
|
1134
|
+
}>;
|
|
1135
|
+
}, z.core.$strict>;
|
|
1136
|
+
source: z.ZodObject<{
|
|
1137
|
+
executionId: z.ZodString;
|
|
1138
|
+
inputHash: z.ZodString;
|
|
1139
|
+
runtimeHash: z.ZodString;
|
|
1140
|
+
resultHash: z.ZodString;
|
|
1141
|
+
}, z.core.$strict>;
|
|
1142
|
+
createdAt: z.ZodISODateTime;
|
|
1143
|
+
schemaVersion: z.ZodLiteral<"openpond.weightSpaceModelVersion.v1">;
|
|
1144
|
+
request: z.ZodObject<{
|
|
1145
|
+
schemaVersion: z.ZodLiteral<"openpond.weightSpaceRequest.v1">;
|
|
1146
|
+
model: z.ZodObject<{
|
|
1147
|
+
schemaVersion: z.ZodLiteral<"openpond.neuronSteeringModel.v1">;
|
|
1148
|
+
modelId: z.ZodString;
|
|
1149
|
+
revision: z.ZodString;
|
|
1150
|
+
configHash: z.ZodString;
|
|
1151
|
+
weightsHash: z.ZodString;
|
|
1152
|
+
tokenizerHash: z.ZodString;
|
|
1153
|
+
weightIdentity: z.ZodLiteral<"torch_state_dict_sha256_v1">;
|
|
1154
|
+
architecture: z.ZodLiteral<"dense_decoder">;
|
|
1155
|
+
dtype: z.ZodEnum<{
|
|
1156
|
+
bfloat16: "bfloat16";
|
|
1157
|
+
float16: "float16";
|
|
1158
|
+
float32: "float32";
|
|
1159
|
+
}>;
|
|
1160
|
+
quantization: z.ZodLiteral<"none">;
|
|
1161
|
+
adapter: z.ZodNull;
|
|
1162
|
+
hiddenSize: z.ZodNumber;
|
|
1163
|
+
intermediateSizes: z.ZodArray<z.ZodNumber>;
|
|
1164
|
+
}, z.core.$strict>;
|
|
1165
|
+
teacher: z.ZodObject<{
|
|
1166
|
+
controller: z.ZodLiteral<"local_agent">;
|
|
1167
|
+
providerId: z.ZodString;
|
|
1168
|
+
modelId: z.ZodString;
|
|
1169
|
+
sessionId: z.ZodString;
|
|
1170
|
+
}, z.core.$strict>;
|
|
1171
|
+
objective: z.ZodString;
|
|
1172
|
+
panels: z.ZodArray<z.ZodObject<{
|
|
1173
|
+
id: z.ZodString;
|
|
1174
|
+
source: z.ZodNullable<z.ZodObject<{
|
|
1175
|
+
id: z.ZodString;
|
|
1176
|
+
contentHash: z.ZodString;
|
|
1177
|
+
revision: z.ZodNumber;
|
|
1178
|
+
}, z.core.$strict>>;
|
|
1179
|
+
role: z.ZodEnum<{
|
|
1180
|
+
development: "development";
|
|
1181
|
+
preservation: "preservation";
|
|
1182
|
+
}>;
|
|
1183
|
+
prompts: z.ZodArray<z.ZodObject<{
|
|
1184
|
+
id: z.ZodString;
|
|
1185
|
+
text: z.ZodString;
|
|
1186
|
+
system: z.ZodOptional<z.ZodString>;
|
|
1187
|
+
}, z.core.$strict>>;
|
|
1188
|
+
}, z.core.$strict>>;
|
|
1189
|
+
frozenEvaluation: z.ZodNullable<z.ZodObject<{
|
|
1190
|
+
id: z.ZodString;
|
|
1191
|
+
contentHash: z.ZodString;
|
|
1192
|
+
revision: z.ZodNumber;
|
|
1193
|
+
}, z.core.$strict>>;
|
|
1194
|
+
generation: z.ZodObject<{
|
|
1195
|
+
maxOutputTokens: z.ZodNumber;
|
|
1196
|
+
seed: z.ZodNumber;
|
|
1197
|
+
sampling: z.ZodLiteral<"greedy_v1">;
|
|
1198
|
+
}, z.core.$strict>;
|
|
1199
|
+
limits: z.ZodObject<{
|
|
1200
|
+
maximumDurationSeconds: z.ZodNumber;
|
|
1201
|
+
maximumIdleSeconds: z.ZodNumber;
|
|
1202
|
+
maximumCommands: z.ZodNumber;
|
|
1203
|
+
maximumCandidates: z.ZodNumber;
|
|
1204
|
+
maximumPatchColumns: z.ZodNumber;
|
|
1205
|
+
maximumTensorElements: z.ZodNumber;
|
|
1206
|
+
maximumReturnedValues: z.ZodNumber;
|
|
1207
|
+
maximumArithmeticWork: z.ZodNumber;
|
|
1208
|
+
maximumForwardTokenWork: z.ZodNumber;
|
|
1209
|
+
maximumCheckpointBytes: z.ZodNumber;
|
|
1210
|
+
}, z.core.$strict>;
|
|
1211
|
+
}, z.core.$strict>;
|
|
1212
|
+
artifact: z.ZodObject<{
|
|
1213
|
+
id: z.ZodString;
|
|
1214
|
+
contentHash: z.ZodString;
|
|
1215
|
+
manifest: z.ZodObject<{
|
|
1216
|
+
schemaVersion: z.ZodLiteral<"openpond.weightSpaceArtifact.v1">;
|
|
1217
|
+
method: z.ZodLiteral<"weight_space_programming">;
|
|
1218
|
+
representation: z.ZodLiteral<"exact_bf16_mlp_column_replacements_v1">;
|
|
1219
|
+
model: z.ZodObject<{
|
|
1220
|
+
schemaVersion: z.ZodLiteral<"openpond.neuronSteeringModel.v1">;
|
|
1221
|
+
modelId: z.ZodString;
|
|
1222
|
+
revision: z.ZodString;
|
|
1223
|
+
configHash: z.ZodString;
|
|
1224
|
+
weightsHash: z.ZodString;
|
|
1225
|
+
tokenizerHash: z.ZodString;
|
|
1226
|
+
weightIdentity: z.ZodLiteral<"torch_state_dict_sha256_v1">;
|
|
1227
|
+
architecture: z.ZodLiteral<"dense_decoder">;
|
|
1228
|
+
dtype: z.ZodEnum<{
|
|
1229
|
+
bfloat16: "bfloat16";
|
|
1230
|
+
float16: "float16";
|
|
1231
|
+
float32: "float32";
|
|
1232
|
+
}>;
|
|
1233
|
+
quantization: z.ZodLiteral<"none">;
|
|
1234
|
+
adapter: z.ZodNull;
|
|
1235
|
+
hiddenSize: z.ZodNumber;
|
|
1236
|
+
intermediateSizes: z.ZodArray<z.ZodNumber>;
|
|
1237
|
+
}, z.core.$strict>;
|
|
1238
|
+
requestHash: z.ZodString;
|
|
1239
|
+
runtimeHash: z.ZodString;
|
|
1240
|
+
candidateHash: z.ZodString;
|
|
1241
|
+
teacher: z.ZodObject<{
|
|
1242
|
+
controller: z.ZodLiteral<"local_agent">;
|
|
1243
|
+
providerId: z.ZodString;
|
|
1244
|
+
modelId: z.ZodString;
|
|
1245
|
+
sessionId: z.ZodString;
|
|
1246
|
+
}, z.core.$strict>;
|
|
1247
|
+
historyHash: z.ZodString;
|
|
1248
|
+
columns: z.ZodArray<z.ZodObject<{
|
|
1249
|
+
layer: z.ZodNumber;
|
|
1250
|
+
columns: z.ZodArray<z.ZodNumber>;
|
|
1251
|
+
}, z.core.$strict>>;
|
|
1252
|
+
columnHashes: z.ZodArray<z.ZodString>;
|
|
1253
|
+
payload: z.ZodObject<{
|
|
1254
|
+
path: z.ZodLiteral<"patch.safetensors">;
|
|
1255
|
+
sha256: z.ZodString;
|
|
1256
|
+
sizeBytes: z.ZodNumber;
|
|
1257
|
+
tensors: z.ZodArray<z.ZodObject<{
|
|
1258
|
+
name: z.ZodString;
|
|
1259
|
+
dtype: z.ZodEnum<{
|
|
1260
|
+
BF16: "BF16";
|
|
1261
|
+
I64: "I64";
|
|
1262
|
+
}>;
|
|
1263
|
+
shape: z.ZodArray<z.ZodNumber>;
|
|
1264
|
+
}, z.core.$strict>>;
|
|
1265
|
+
}, z.core.$strict>;
|
|
1266
|
+
reload: z.ZodObject<{
|
|
1267
|
+
effectiveColumnsHash: z.ZodString;
|
|
1268
|
+
reloadedColumnsHash: z.ZodString;
|
|
1269
|
+
untouchedWeightsHashBefore: z.ZodString;
|
|
1270
|
+
untouchedWeightsHashAfter: z.ZodString;
|
|
1271
|
+
equivalent: z.ZodLiteral<true>;
|
|
1272
|
+
}, z.core.$strict>;
|
|
1273
|
+
contentHash: z.ZodString;
|
|
1274
|
+
}, z.core.$strict>;
|
|
1275
|
+
files: z.ZodArray<z.ZodObject<{
|
|
1276
|
+
path: z.ZodEnum<{
|
|
1277
|
+
"manifest.json": "manifest.json";
|
|
1278
|
+
"patch.safetensors": "patch.safetensors";
|
|
1279
|
+
}>;
|
|
1280
|
+
artifactId: z.ZodString;
|
|
1281
|
+
sha256: z.ZodString;
|
|
1282
|
+
sizeBytes: z.ZodNumber;
|
|
1283
|
+
}, z.core.$strict>>;
|
|
1284
|
+
}, z.core.$strict>;
|
|
1285
|
+
contentHash: z.ZodString;
|
|
1286
|
+
}, z.core.$strict>;
|
|
1287
|
+
export type WeightSpaceModelVersion = z.infer<typeof WeightSpaceModelVersionSchema>;
|
|
950
1288
|
type Scope = {
|
|
951
1289
|
teamId?: string;
|
|
952
1290
|
modelProjectId?: string;
|
|
@@ -1379,7 +1717,7 @@ export declare function parseAndVerifyNeuronTrainingModelVersion(raw: unknown, e
|
|
|
1379
1717
|
};
|
|
1380
1718
|
contentHash: string;
|
|
1381
1719
|
}>;
|
|
1382
|
-
export declare function
|
|
1720
|
+
export declare function parseAndVerifyWeightSpaceModelVersion(raw: unknown, expected?: Scope): Promise<{
|
|
1383
1721
|
teamId: string;
|
|
1384
1722
|
ownerUserId: string;
|
|
1385
1723
|
modelProjectId: string;
|
|
@@ -1400,9 +1738,9 @@ export declare function verifySavedAlphaEditExperimentSource(sourceInput: unknow
|
|
|
1400
1738
|
resultHash: string;
|
|
1401
1739
|
};
|
|
1402
1740
|
createdAt: string;
|
|
1403
|
-
schemaVersion: "openpond.
|
|
1741
|
+
schemaVersion: "openpond.weightSpaceModelVersion.v1";
|
|
1404
1742
|
request: {
|
|
1405
|
-
schemaVersion: "openpond.
|
|
1743
|
+
schemaVersion: "openpond.weightSpaceRequest.v1";
|
|
1406
1744
|
model: {
|
|
1407
1745
|
schemaVersion: "openpond.neuronSteeringModel.v1";
|
|
1408
1746
|
modelId: string;
|
|
@@ -1418,23 +1756,171 @@ export declare function verifySavedAlphaEditExperimentSource(sourceInput: unknow
|
|
|
1418
1756
|
hiddenSize: number;
|
|
1419
1757
|
intermediateSizes: number[];
|
|
1420
1758
|
};
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1759
|
+
teacher: {
|
|
1760
|
+
controller: "local_agent";
|
|
1761
|
+
providerId: string;
|
|
1762
|
+
modelId: string;
|
|
1763
|
+
sessionId: string;
|
|
1764
|
+
};
|
|
1765
|
+
objective: string;
|
|
1766
|
+
panels: {
|
|
1767
|
+
id: string;
|
|
1768
|
+
source: {
|
|
1769
|
+
id: string;
|
|
1770
|
+
contentHash: string;
|
|
1771
|
+
revision: number;
|
|
1772
|
+
} | null;
|
|
1773
|
+
role: "development" | "preservation";
|
|
1774
|
+
prompts: {
|
|
1775
|
+
id: string;
|
|
1776
|
+
text: string;
|
|
1777
|
+
system?: string | undefined;
|
|
1778
|
+
}[];
|
|
1779
|
+
}[];
|
|
1780
|
+
frozenEvaluation: {
|
|
1781
|
+
id: string;
|
|
1782
|
+
contentHash: string;
|
|
1783
|
+
revision: number;
|
|
1784
|
+
} | null;
|
|
1785
|
+
generation: {
|
|
1786
|
+
maxOutputTokens: number;
|
|
1787
|
+
seed: number;
|
|
1788
|
+
sampling: "greedy_v1";
|
|
1789
|
+
};
|
|
1790
|
+
limits: {
|
|
1791
|
+
maximumDurationSeconds: number;
|
|
1792
|
+
maximumIdleSeconds: number;
|
|
1793
|
+
maximumCommands: number;
|
|
1794
|
+
maximumCandidates: number;
|
|
1795
|
+
maximumPatchColumns: number;
|
|
1796
|
+
maximumTensorElements: number;
|
|
1797
|
+
maximumReturnedValues: number;
|
|
1798
|
+
maximumArithmeticWork: number;
|
|
1799
|
+
maximumForwardTokenWork: number;
|
|
1800
|
+
maximumCheckpointBytes: number;
|
|
1801
|
+
};
|
|
1802
|
+
};
|
|
1803
|
+
artifact: {
|
|
1804
|
+
id: string;
|
|
1805
|
+
contentHash: string;
|
|
1806
|
+
manifest: {
|
|
1807
|
+
schemaVersion: "openpond.weightSpaceArtifact.v1";
|
|
1808
|
+
method: "weight_space_programming";
|
|
1809
|
+
representation: "exact_bf16_mlp_column_replacements_v1";
|
|
1810
|
+
model: {
|
|
1811
|
+
schemaVersion: "openpond.neuronSteeringModel.v1";
|
|
1812
|
+
modelId: string;
|
|
1813
|
+
revision: string;
|
|
1814
|
+
configHash: string;
|
|
1815
|
+
weightsHash: string;
|
|
1816
|
+
tokenizerHash: string;
|
|
1817
|
+
weightIdentity: "torch_state_dict_sha256_v1";
|
|
1818
|
+
architecture: "dense_decoder";
|
|
1819
|
+
dtype: "bfloat16" | "float16" | "float32";
|
|
1820
|
+
quantization: "none";
|
|
1821
|
+
adapter: null;
|
|
1822
|
+
hiddenSize: number;
|
|
1823
|
+
intermediateSizes: number[];
|
|
1824
|
+
};
|
|
1825
|
+
requestHash: string;
|
|
1826
|
+
runtimeHash: string;
|
|
1827
|
+
candidateHash: string;
|
|
1828
|
+
teacher: {
|
|
1829
|
+
controller: "local_agent";
|
|
1830
|
+
providerId: string;
|
|
1831
|
+
modelId: string;
|
|
1832
|
+
sessionId: string;
|
|
1833
|
+
};
|
|
1834
|
+
historyHash: string;
|
|
1835
|
+
columns: {
|
|
1836
|
+
layer: number;
|
|
1837
|
+
columns: number[];
|
|
1838
|
+
}[];
|
|
1839
|
+
columnHashes: string[];
|
|
1840
|
+
payload: {
|
|
1841
|
+
path: "patch.safetensors";
|
|
1842
|
+
sha256: string;
|
|
1843
|
+
sizeBytes: number;
|
|
1844
|
+
tensors: {
|
|
1845
|
+
name: string;
|
|
1846
|
+
dtype: "BF16" | "I64";
|
|
1847
|
+
shape: number[];
|
|
1848
|
+
}[];
|
|
1849
|
+
};
|
|
1850
|
+
reload: {
|
|
1851
|
+
effectiveColumnsHash: string;
|
|
1852
|
+
reloadedColumnsHash: string;
|
|
1853
|
+
untouchedWeightsHashBefore: string;
|
|
1854
|
+
untouchedWeightsHashAfter: string;
|
|
1855
|
+
equivalent: true;
|
|
1856
|
+
};
|
|
1857
|
+
contentHash: string;
|
|
1858
|
+
};
|
|
1859
|
+
files: {
|
|
1860
|
+
path: "manifest.json" | "patch.safetensors";
|
|
1861
|
+
artifactId: string;
|
|
1862
|
+
sha256: string;
|
|
1863
|
+
sizeBytes: number;
|
|
1864
|
+
}[];
|
|
1865
|
+
};
|
|
1866
|
+
contentHash: string;
|
|
1867
|
+
}>;
|
|
1868
|
+
export declare function verifySavedAlphaEditExperimentSource(sourceInput: unknown, raw: unknown, expected?: Scope): Promise<{
|
|
1869
|
+
teamId: string;
|
|
1870
|
+
ownerUserId: string;
|
|
1871
|
+
modelProjectId: string;
|
|
1872
|
+
portableProjectId: string;
|
|
1873
|
+
baseModel: {
|
|
1874
|
+
schemaVersion: "openpond.baseModelPreference.v1";
|
|
1875
|
+
modelId: string;
|
|
1876
|
+
revision: string | null;
|
|
1877
|
+
tokenizerRevision: string | null;
|
|
1878
|
+
chatTemplateHash: string | null;
|
|
1879
|
+
modelAssetId: string | null;
|
|
1880
|
+
source: "builtin" | "local" | "managed";
|
|
1881
|
+
};
|
|
1882
|
+
source: {
|
|
1883
|
+
executionId: string;
|
|
1884
|
+
inputHash: string;
|
|
1885
|
+
runtimeHash: string;
|
|
1886
|
+
resultHash: string;
|
|
1887
|
+
};
|
|
1888
|
+
createdAt: string;
|
|
1889
|
+
schemaVersion: "openpond.alphaEditModelVersion.v1";
|
|
1890
|
+
request: {
|
|
1891
|
+
schemaVersion: "openpond.alphaEditTrainingRequest.v1";
|
|
1892
|
+
model: {
|
|
1893
|
+
schemaVersion: "openpond.neuronSteeringModel.v1";
|
|
1894
|
+
modelId: string;
|
|
1895
|
+
revision: string;
|
|
1896
|
+
configHash: string;
|
|
1897
|
+
weightsHash: string;
|
|
1898
|
+
tokenizerHash: string;
|
|
1899
|
+
weightIdentity: "torch_state_dict_sha256_v1";
|
|
1900
|
+
architecture: "dense_decoder";
|
|
1901
|
+
dtype: "bfloat16" | "float16" | "float32";
|
|
1902
|
+
quantization: "none";
|
|
1903
|
+
adapter: null;
|
|
1904
|
+
hiddenSize: number;
|
|
1905
|
+
intermediateSizes: number[];
|
|
1906
|
+
};
|
|
1907
|
+
data: {
|
|
1908
|
+
edits: {
|
|
1909
|
+
batch: {
|
|
1910
|
+
id: string;
|
|
1911
|
+
contentHash: string;
|
|
1912
|
+
revision: number;
|
|
1913
|
+
};
|
|
1914
|
+
examplesSha256: string;
|
|
1915
|
+
};
|
|
1916
|
+
preservation: {
|
|
1917
|
+
batch: {
|
|
1918
|
+
id: string;
|
|
1919
|
+
contentHash: string;
|
|
1920
|
+
revision: number;
|
|
1921
|
+
};
|
|
1922
|
+
examplesSha256: string;
|
|
1923
|
+
};
|
|
1438
1924
|
};
|
|
1439
1925
|
config: {
|
|
1440
1926
|
schemaVersion: "openpond.alphaEditConfig.v1";
|
|
@@ -1804,6 +2290,27 @@ export declare function verifySavedNeuronTrainingExperimentSource(sourceInput: u
|
|
|
1804
2290
|
};
|
|
1805
2291
|
contentHash: string;
|
|
1806
2292
|
}>;
|
|
2293
|
+
declare const SaveRequest: z.ZodObject<{
|
|
2294
|
+
teamId: z.ZodString;
|
|
2295
|
+
operationId: z.ZodString;
|
|
2296
|
+
executionId: z.ZodString;
|
|
2297
|
+
resultHash: z.ZodString;
|
|
2298
|
+
artifactHash: z.ZodString;
|
|
2299
|
+
name: z.ZodString;
|
|
2300
|
+
modelProjectId: z.ZodNullable<z.ZodString>;
|
|
2301
|
+
expectedModelRevision: z.ZodNumber;
|
|
2302
|
+
}, z.core.$strict>;
|
|
2303
|
+
export declare const WeightSpaceResultSaveRequestSchema: z.ZodObject<{
|
|
2304
|
+
teamId: z.ZodString;
|
|
2305
|
+
operationId: z.ZodString;
|
|
2306
|
+
executionId: z.ZodString;
|
|
2307
|
+
resultHash: z.ZodString;
|
|
2308
|
+
artifactHash: z.ZodString;
|
|
2309
|
+
name: z.ZodString;
|
|
2310
|
+
modelProjectId: z.ZodNullable<z.ZodString>;
|
|
2311
|
+
expectedModelRevision: z.ZodNumber;
|
|
2312
|
+
}, z.core.$strict>;
|
|
2313
|
+
export type WeightSpaceResultSaveRequest = z.infer<typeof SaveRequest>;
|
|
1807
2314
|
export declare const AlphaEditResultSaveRequestSchema: z.ZodObject<{
|
|
1808
2315
|
teamId: z.ZodString;
|
|
1809
2316
|
operationId: z.ZodString;
|
|
@@ -3426,124 +3933,1087 @@ export declare const NeuronTrainingResultSaveReceiptSchema: z.ZodObject<{
|
|
|
3426
3933
|
contentHash: z.ZodString;
|
|
3427
3934
|
}, z.core.$strict>;
|
|
3428
3935
|
export type NeuronTrainingResultSaveReceipt = z.infer<typeof NeuronTrainingResultSaveReceiptSchema>;
|
|
3429
|
-
export declare
|
|
3430
|
-
teamId:
|
|
3431
|
-
actorId:
|
|
3432
|
-
operationId:
|
|
3433
|
-
requestHash:
|
|
3434
|
-
model: {
|
|
3435
|
-
id:
|
|
3436
|
-
teamId:
|
|
3437
|
-
portableProjectId:
|
|
3438
|
-
name:
|
|
3439
|
-
objective:
|
|
3440
|
-
defaultBaseModel: {
|
|
3441
|
-
schemaVersion: "openpond.baseModelPreference.v1"
|
|
3442
|
-
modelId:
|
|
3443
|
-
revision:
|
|
3444
|
-
tokenizerRevision:
|
|
3445
|
-
chatTemplateHash:
|
|
3446
|
-
modelAssetId:
|
|
3447
|
-
source:
|
|
3448
|
-
|
|
3449
|
-
|
|
3450
|
-
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
|
|
3454
|
-
|
|
3455
|
-
|
|
3456
|
-
|
|
3457
|
-
|
|
3458
|
-
|
|
3459
|
-
|
|
3460
|
-
|
|
3461
|
-
|
|
3462
|
-
|
|
3463
|
-
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
id:
|
|
3480
|
-
contentHash:
|
|
3481
|
-
}
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
}
|
|
3492
|
-
|
|
3493
|
-
id:
|
|
3494
|
-
contentHash:
|
|
3495
|
-
}
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
|
|
3499
|
-
|
|
3500
|
-
|
|
3501
|
-
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
|
|
3523
|
-
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
}
|
|
3528
|
-
|
|
3529
|
-
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
|
|
3534
|
-
|
|
3535
|
-
|
|
3536
|
-
|
|
3537
|
-
|
|
3538
|
-
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
|
|
3936
|
+
export declare const WeightSpaceResultSaveReceiptContentSchema: z.ZodObject<{
|
|
3937
|
+
teamId: z.ZodString;
|
|
3938
|
+
actorId: z.ZodString;
|
|
3939
|
+
operationId: z.ZodString;
|
|
3940
|
+
requestHash: z.ZodString;
|
|
3941
|
+
model: z.ZodObject<{
|
|
3942
|
+
id: z.ZodString;
|
|
3943
|
+
teamId: z.ZodString;
|
|
3944
|
+
portableProjectId: z.ZodString;
|
|
3945
|
+
name: z.ZodString;
|
|
3946
|
+
objective: z.ZodNullable<z.ZodString>;
|
|
3947
|
+
defaultBaseModel: z.ZodNullable<z.ZodObject<{
|
|
3948
|
+
schemaVersion: z.ZodLiteral<"openpond.baseModelPreference.v1">;
|
|
3949
|
+
modelId: z.ZodString;
|
|
3950
|
+
revision: z.ZodNullable<z.ZodString>;
|
|
3951
|
+
tokenizerRevision: z.ZodNullable<z.ZodString>;
|
|
3952
|
+
chatTemplateHash: z.ZodNullable<z.ZodString>;
|
|
3953
|
+
modelAssetId: z.ZodNullable<z.ZodString>;
|
|
3954
|
+
source: z.ZodEnum<{
|
|
3955
|
+
builtin: "builtin";
|
|
3956
|
+
local: "local";
|
|
3957
|
+
managed: "managed";
|
|
3958
|
+
}>;
|
|
3959
|
+
}, z.core.$strict>>;
|
|
3960
|
+
defaultDestinationId: z.ZodNullable<z.ZodString>;
|
|
3961
|
+
trainingSetup: z.ZodObject<{
|
|
3962
|
+
tasksetRef: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
3963
|
+
id: z.ZodString;
|
|
3964
|
+
contentHash: z.ZodString;
|
|
3965
|
+
revision: z.ZodNumber;
|
|
3966
|
+
}, z.core.$strict>>>;
|
|
3967
|
+
evaluationTasksetRef: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3968
|
+
id: z.ZodString;
|
|
3969
|
+
contentHash: z.ZodString;
|
|
3970
|
+
revision: z.ZodNumber;
|
|
3971
|
+
}, z.core.$strict>>>;
|
|
3972
|
+
profileSource: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3973
|
+
profileProjectId: z.ZodString;
|
|
3974
|
+
sourceRevision: z.ZodString;
|
|
3975
|
+
harnessRelease: z.ZodObject<{
|
|
3976
|
+
id: z.ZodString;
|
|
3977
|
+
contentHash: z.ZodString;
|
|
3978
|
+
}, z.core.$strict>;
|
|
3979
|
+
}, z.core.$strict>>>;
|
|
3980
|
+
profileEvaluation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3981
|
+
profileProjectId: z.ZodString;
|
|
3982
|
+
sourceRevision: z.ZodString;
|
|
3983
|
+
catalogHash: z.ZodString;
|
|
3984
|
+
definitionId: z.ZodString;
|
|
3985
|
+
harnessRelease: z.ZodObject<{
|
|
3986
|
+
id: z.ZodString;
|
|
3987
|
+
contentHash: z.ZodString;
|
|
3988
|
+
}, z.core.$strict>;
|
|
3989
|
+
tasksetRelease: z.ZodObject<{
|
|
3990
|
+
id: z.ZodString;
|
|
3991
|
+
contentHash: z.ZodString;
|
|
3992
|
+
}, z.core.$strict>;
|
|
3993
|
+
}, z.core.$strict>>>;
|
|
3994
|
+
rewardBindingRef: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3995
|
+
id: z.ZodString;
|
|
3996
|
+
contentHash: z.ZodString;
|
|
3997
|
+
revision: z.ZodNumber;
|
|
3998
|
+
}, z.core.$strict>>>;
|
|
3999
|
+
tasksetRelease: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
4000
|
+
id: z.ZodString;
|
|
4001
|
+
contentHash: z.ZodString;
|
|
4002
|
+
}, z.core.$strict>>>;
|
|
4003
|
+
harnessRelease: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
4004
|
+
id: z.ZodString;
|
|
4005
|
+
contentHash: z.ZodString;
|
|
4006
|
+
}, z.core.$strict>>>;
|
|
4007
|
+
baseModel: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
4008
|
+
schemaVersion: z.ZodLiteral<"openpond.baseModelPreference.v1">;
|
|
4009
|
+
modelId: z.ZodString;
|
|
4010
|
+
revision: z.ZodNullable<z.ZodString>;
|
|
4011
|
+
tokenizerRevision: z.ZodNullable<z.ZodString>;
|
|
4012
|
+
chatTemplateHash: z.ZodNullable<z.ZodString>;
|
|
4013
|
+
modelAssetId: z.ZodNullable<z.ZodString>;
|
|
4014
|
+
source: z.ZodEnum<{
|
|
4015
|
+
builtin: "builtin";
|
|
4016
|
+
local: "local";
|
|
4017
|
+
managed: "managed";
|
|
4018
|
+
}>;
|
|
4019
|
+
}, z.core.$strict>>>;
|
|
4020
|
+
method: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
4021
|
+
dpo: "dpo";
|
|
4022
|
+
grpo: "grpo";
|
|
4023
|
+
opd: "opd";
|
|
4024
|
+
opsd: "opsd";
|
|
4025
|
+
ppo: "ppo";
|
|
4026
|
+
sdft: "sdft";
|
|
4027
|
+
sdpo: "sdpo";
|
|
4028
|
+
sft: "sft";
|
|
4029
|
+
}>>>;
|
|
4030
|
+
destinationId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
4031
|
+
managedRolloutPlacement: z.ZodDefault<z.ZodEnum<{
|
|
4032
|
+
local: "local";
|
|
4033
|
+
remote: "remote";
|
|
4034
|
+
}>>;
|
|
4035
|
+
managedGpuPlacementObjective: z.ZodDefault<z.ZodEnum<{
|
|
4036
|
+
balanced: "balanced";
|
|
4037
|
+
economical: "economical";
|
|
4038
|
+
fast: "fast";
|
|
4039
|
+
}>>;
|
|
4040
|
+
managedGpuSelection: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4041
|
+
mode: z.ZodLiteral<"automatic">;
|
|
4042
|
+
objective: z.ZodEnum<{
|
|
4043
|
+
balanced: "balanced";
|
|
4044
|
+
economical: "economical";
|
|
4045
|
+
fast: "fast";
|
|
4046
|
+
}>;
|
|
4047
|
+
gpuCount: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
4048
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4049
|
+
mode: z.ZodLiteral<"manual">;
|
|
4050
|
+
availabilityId: z.ZodString;
|
|
4051
|
+
gpuType: z.ZodString;
|
|
4052
|
+
gpuCount: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
4053
|
+
}, z.core.$strict>], "mode">>;
|
|
4054
|
+
continuationAdapterMode: z.ZodOptional<z.ZodEnum<{
|
|
4055
|
+
residual_append: "residual_append";
|
|
4056
|
+
sequential_merge: "sequential_merge";
|
|
4057
|
+
shared: "shared";
|
|
4058
|
+
}>>;
|
|
4059
|
+
managedGpuRequirement: z.ZodDefault<z.ZodEnum<{
|
|
4060
|
+
any: "any";
|
|
4061
|
+
h100_hbm3: "h100_hbm3";
|
|
4062
|
+
}>>;
|
|
4063
|
+
runPreset: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
4064
|
+
custom: "custom";
|
|
4065
|
+
small: "small";
|
|
4066
|
+
small_experiment: "small_experiment";
|
|
4067
|
+
standard: "standard";
|
|
4068
|
+
}>>>;
|
|
4069
|
+
recipe: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
4070
|
+
schemaVersion: z.ZodString;
|
|
4071
|
+
method: z.ZodEnum<{
|
|
4072
|
+
dpo: "dpo";
|
|
4073
|
+
grpo: "grpo";
|
|
4074
|
+
opd: "opd";
|
|
4075
|
+
opsd: "opsd";
|
|
4076
|
+
ppo: "ppo";
|
|
4077
|
+
sdft: "sdft";
|
|
4078
|
+
sdpo: "sdpo";
|
|
4079
|
+
sft: "sft";
|
|
4080
|
+
}>;
|
|
4081
|
+
parameterization: z.ZodEnum<{
|
|
4082
|
+
full: "full";
|
|
4083
|
+
lora: "lora";
|
|
4084
|
+
}>;
|
|
4085
|
+
}, z.core.$catchall<z.ZodUnknown>>>>;
|
|
4086
|
+
preferredMaximumSpendUsd: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
4087
|
+
preferredRetentionDays: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
4088
|
+
}, z.core.$strict>;
|
|
4089
|
+
sourceRevision: z.ZodNumber;
|
|
4090
|
+
sourceUpdatedAt: z.ZodString;
|
|
4091
|
+
revision: z.ZodNumber;
|
|
4092
|
+
etag: z.ZodString;
|
|
4093
|
+
createdAt: z.ZodString;
|
|
4094
|
+
updatedAt: z.ZodString;
|
|
4095
|
+
}, z.core.$strict>;
|
|
4096
|
+
schemaVersion: z.ZodLiteral<"openpond.weightSpaceResultSaveReceipt.v1">;
|
|
4097
|
+
version: z.ZodObject<{
|
|
4098
|
+
teamId: z.ZodString;
|
|
4099
|
+
ownerUserId: z.ZodString;
|
|
4100
|
+
modelProjectId: z.ZodString;
|
|
4101
|
+
portableProjectId: z.ZodString;
|
|
4102
|
+
baseModel: z.ZodObject<{
|
|
4103
|
+
schemaVersion: z.ZodLiteral<"openpond.baseModelPreference.v1">;
|
|
4104
|
+
modelId: z.ZodString;
|
|
4105
|
+
revision: z.ZodNullable<z.ZodString>;
|
|
4106
|
+
tokenizerRevision: z.ZodNullable<z.ZodString>;
|
|
4107
|
+
chatTemplateHash: z.ZodNullable<z.ZodString>;
|
|
4108
|
+
modelAssetId: z.ZodNullable<z.ZodString>;
|
|
4109
|
+
source: z.ZodEnum<{
|
|
4110
|
+
builtin: "builtin";
|
|
4111
|
+
local: "local";
|
|
4112
|
+
managed: "managed";
|
|
4113
|
+
}>;
|
|
4114
|
+
}, z.core.$strict>;
|
|
4115
|
+
source: z.ZodObject<{
|
|
4116
|
+
executionId: z.ZodString;
|
|
4117
|
+
inputHash: z.ZodString;
|
|
4118
|
+
runtimeHash: z.ZodString;
|
|
4119
|
+
resultHash: z.ZodString;
|
|
4120
|
+
}, z.core.$strict>;
|
|
4121
|
+
createdAt: z.ZodISODateTime;
|
|
4122
|
+
schemaVersion: z.ZodLiteral<"openpond.weightSpaceModelVersion.v1">;
|
|
4123
|
+
request: z.ZodObject<{
|
|
4124
|
+
schemaVersion: z.ZodLiteral<"openpond.weightSpaceRequest.v1">;
|
|
4125
|
+
model: z.ZodObject<{
|
|
4126
|
+
schemaVersion: z.ZodLiteral<"openpond.neuronSteeringModel.v1">;
|
|
4127
|
+
modelId: z.ZodString;
|
|
4128
|
+
revision: z.ZodString;
|
|
4129
|
+
configHash: z.ZodString;
|
|
4130
|
+
weightsHash: z.ZodString;
|
|
4131
|
+
tokenizerHash: z.ZodString;
|
|
4132
|
+
weightIdentity: z.ZodLiteral<"torch_state_dict_sha256_v1">;
|
|
4133
|
+
architecture: z.ZodLiteral<"dense_decoder">;
|
|
4134
|
+
dtype: z.ZodEnum<{
|
|
4135
|
+
bfloat16: "bfloat16";
|
|
4136
|
+
float16: "float16";
|
|
4137
|
+
float32: "float32";
|
|
4138
|
+
}>;
|
|
4139
|
+
quantization: z.ZodLiteral<"none">;
|
|
4140
|
+
adapter: z.ZodNull;
|
|
4141
|
+
hiddenSize: z.ZodNumber;
|
|
4142
|
+
intermediateSizes: z.ZodArray<z.ZodNumber>;
|
|
4143
|
+
}, z.core.$strict>;
|
|
4144
|
+
teacher: z.ZodObject<{
|
|
4145
|
+
controller: z.ZodLiteral<"local_agent">;
|
|
4146
|
+
providerId: z.ZodString;
|
|
4147
|
+
modelId: z.ZodString;
|
|
4148
|
+
sessionId: z.ZodString;
|
|
4149
|
+
}, z.core.$strict>;
|
|
4150
|
+
objective: z.ZodString;
|
|
4151
|
+
panels: z.ZodArray<z.ZodObject<{
|
|
4152
|
+
id: z.ZodString;
|
|
4153
|
+
source: z.ZodNullable<z.ZodObject<{
|
|
4154
|
+
id: z.ZodString;
|
|
4155
|
+
contentHash: z.ZodString;
|
|
4156
|
+
revision: z.ZodNumber;
|
|
4157
|
+
}, z.core.$strict>>;
|
|
4158
|
+
role: z.ZodEnum<{
|
|
4159
|
+
development: "development";
|
|
4160
|
+
preservation: "preservation";
|
|
4161
|
+
}>;
|
|
4162
|
+
prompts: z.ZodArray<z.ZodObject<{
|
|
4163
|
+
id: z.ZodString;
|
|
4164
|
+
text: z.ZodString;
|
|
4165
|
+
system: z.ZodOptional<z.ZodString>;
|
|
4166
|
+
}, z.core.$strict>>;
|
|
4167
|
+
}, z.core.$strict>>;
|
|
4168
|
+
frozenEvaluation: z.ZodNullable<z.ZodObject<{
|
|
4169
|
+
id: z.ZodString;
|
|
4170
|
+
contentHash: z.ZodString;
|
|
4171
|
+
revision: z.ZodNumber;
|
|
4172
|
+
}, z.core.$strict>>;
|
|
4173
|
+
generation: z.ZodObject<{
|
|
4174
|
+
maxOutputTokens: z.ZodNumber;
|
|
4175
|
+
seed: z.ZodNumber;
|
|
4176
|
+
sampling: z.ZodLiteral<"greedy_v1">;
|
|
4177
|
+
}, z.core.$strict>;
|
|
4178
|
+
limits: z.ZodObject<{
|
|
4179
|
+
maximumDurationSeconds: z.ZodNumber;
|
|
4180
|
+
maximumIdleSeconds: z.ZodNumber;
|
|
4181
|
+
maximumCommands: z.ZodNumber;
|
|
4182
|
+
maximumCandidates: z.ZodNumber;
|
|
4183
|
+
maximumPatchColumns: z.ZodNumber;
|
|
4184
|
+
maximumTensorElements: z.ZodNumber;
|
|
4185
|
+
maximumReturnedValues: z.ZodNumber;
|
|
4186
|
+
maximumArithmeticWork: z.ZodNumber;
|
|
4187
|
+
maximumForwardTokenWork: z.ZodNumber;
|
|
4188
|
+
maximumCheckpointBytes: z.ZodNumber;
|
|
4189
|
+
}, z.core.$strict>;
|
|
4190
|
+
}, z.core.$strict>;
|
|
4191
|
+
artifact: z.ZodObject<{
|
|
4192
|
+
id: z.ZodString;
|
|
4193
|
+
contentHash: z.ZodString;
|
|
4194
|
+
manifest: z.ZodObject<{
|
|
4195
|
+
schemaVersion: z.ZodLiteral<"openpond.weightSpaceArtifact.v1">;
|
|
4196
|
+
method: z.ZodLiteral<"weight_space_programming">;
|
|
4197
|
+
representation: z.ZodLiteral<"exact_bf16_mlp_column_replacements_v1">;
|
|
4198
|
+
model: z.ZodObject<{
|
|
4199
|
+
schemaVersion: z.ZodLiteral<"openpond.neuronSteeringModel.v1">;
|
|
4200
|
+
modelId: z.ZodString;
|
|
4201
|
+
revision: z.ZodString;
|
|
4202
|
+
configHash: z.ZodString;
|
|
4203
|
+
weightsHash: z.ZodString;
|
|
4204
|
+
tokenizerHash: z.ZodString;
|
|
4205
|
+
weightIdentity: z.ZodLiteral<"torch_state_dict_sha256_v1">;
|
|
4206
|
+
architecture: z.ZodLiteral<"dense_decoder">;
|
|
4207
|
+
dtype: z.ZodEnum<{
|
|
4208
|
+
bfloat16: "bfloat16";
|
|
4209
|
+
float16: "float16";
|
|
4210
|
+
float32: "float32";
|
|
4211
|
+
}>;
|
|
4212
|
+
quantization: z.ZodLiteral<"none">;
|
|
4213
|
+
adapter: z.ZodNull;
|
|
4214
|
+
hiddenSize: z.ZodNumber;
|
|
4215
|
+
intermediateSizes: z.ZodArray<z.ZodNumber>;
|
|
4216
|
+
}, z.core.$strict>;
|
|
4217
|
+
requestHash: z.ZodString;
|
|
4218
|
+
runtimeHash: z.ZodString;
|
|
4219
|
+
candidateHash: z.ZodString;
|
|
4220
|
+
teacher: z.ZodObject<{
|
|
4221
|
+
controller: z.ZodLiteral<"local_agent">;
|
|
4222
|
+
providerId: z.ZodString;
|
|
4223
|
+
modelId: z.ZodString;
|
|
4224
|
+
sessionId: z.ZodString;
|
|
4225
|
+
}, z.core.$strict>;
|
|
4226
|
+
historyHash: z.ZodString;
|
|
4227
|
+
columns: z.ZodArray<z.ZodObject<{
|
|
4228
|
+
layer: z.ZodNumber;
|
|
4229
|
+
columns: z.ZodArray<z.ZodNumber>;
|
|
4230
|
+
}, z.core.$strict>>;
|
|
4231
|
+
columnHashes: z.ZodArray<z.ZodString>;
|
|
4232
|
+
payload: z.ZodObject<{
|
|
4233
|
+
path: z.ZodLiteral<"patch.safetensors">;
|
|
4234
|
+
sha256: z.ZodString;
|
|
4235
|
+
sizeBytes: z.ZodNumber;
|
|
4236
|
+
tensors: z.ZodArray<z.ZodObject<{
|
|
4237
|
+
name: z.ZodString;
|
|
4238
|
+
dtype: z.ZodEnum<{
|
|
4239
|
+
BF16: "BF16";
|
|
4240
|
+
I64: "I64";
|
|
4241
|
+
}>;
|
|
4242
|
+
shape: z.ZodArray<z.ZodNumber>;
|
|
4243
|
+
}, z.core.$strict>>;
|
|
4244
|
+
}, z.core.$strict>;
|
|
4245
|
+
reload: z.ZodObject<{
|
|
4246
|
+
effectiveColumnsHash: z.ZodString;
|
|
4247
|
+
reloadedColumnsHash: z.ZodString;
|
|
4248
|
+
untouchedWeightsHashBefore: z.ZodString;
|
|
4249
|
+
untouchedWeightsHashAfter: z.ZodString;
|
|
4250
|
+
equivalent: z.ZodLiteral<true>;
|
|
4251
|
+
}, z.core.$strict>;
|
|
4252
|
+
contentHash: z.ZodString;
|
|
4253
|
+
}, z.core.$strict>;
|
|
4254
|
+
files: z.ZodArray<z.ZodObject<{
|
|
4255
|
+
path: z.ZodEnum<{
|
|
4256
|
+
"manifest.json": "manifest.json";
|
|
4257
|
+
"patch.safetensors": "patch.safetensors";
|
|
4258
|
+
}>;
|
|
4259
|
+
artifactId: z.ZodString;
|
|
4260
|
+
sha256: z.ZodString;
|
|
4261
|
+
sizeBytes: z.ZodNumber;
|
|
4262
|
+
}, z.core.$strict>>;
|
|
4263
|
+
}, z.core.$strict>;
|
|
4264
|
+
contentHash: z.ZodString;
|
|
4265
|
+
}, z.core.$strict>;
|
|
4266
|
+
}, z.core.$strict>;
|
|
4267
|
+
export declare const WeightSpaceResultSaveReceiptSchema: z.ZodObject<{
|
|
4268
|
+
teamId: z.ZodString;
|
|
4269
|
+
actorId: z.ZodString;
|
|
4270
|
+
operationId: z.ZodString;
|
|
4271
|
+
requestHash: z.ZodString;
|
|
4272
|
+
model: z.ZodObject<{
|
|
4273
|
+
id: z.ZodString;
|
|
4274
|
+
teamId: z.ZodString;
|
|
4275
|
+
portableProjectId: z.ZodString;
|
|
4276
|
+
name: z.ZodString;
|
|
4277
|
+
objective: z.ZodNullable<z.ZodString>;
|
|
4278
|
+
defaultBaseModel: z.ZodNullable<z.ZodObject<{
|
|
4279
|
+
schemaVersion: z.ZodLiteral<"openpond.baseModelPreference.v1">;
|
|
4280
|
+
modelId: z.ZodString;
|
|
4281
|
+
revision: z.ZodNullable<z.ZodString>;
|
|
4282
|
+
tokenizerRevision: z.ZodNullable<z.ZodString>;
|
|
4283
|
+
chatTemplateHash: z.ZodNullable<z.ZodString>;
|
|
4284
|
+
modelAssetId: z.ZodNullable<z.ZodString>;
|
|
4285
|
+
source: z.ZodEnum<{
|
|
4286
|
+
builtin: "builtin";
|
|
4287
|
+
local: "local";
|
|
4288
|
+
managed: "managed";
|
|
4289
|
+
}>;
|
|
4290
|
+
}, z.core.$strict>>;
|
|
4291
|
+
defaultDestinationId: z.ZodNullable<z.ZodString>;
|
|
4292
|
+
trainingSetup: z.ZodObject<{
|
|
4293
|
+
tasksetRef: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
4294
|
+
id: z.ZodString;
|
|
4295
|
+
contentHash: z.ZodString;
|
|
4296
|
+
revision: z.ZodNumber;
|
|
4297
|
+
}, z.core.$strict>>>;
|
|
4298
|
+
evaluationTasksetRef: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4299
|
+
id: z.ZodString;
|
|
4300
|
+
contentHash: z.ZodString;
|
|
4301
|
+
revision: z.ZodNumber;
|
|
4302
|
+
}, z.core.$strict>>>;
|
|
4303
|
+
profileSource: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4304
|
+
profileProjectId: z.ZodString;
|
|
4305
|
+
sourceRevision: z.ZodString;
|
|
4306
|
+
harnessRelease: z.ZodObject<{
|
|
4307
|
+
id: z.ZodString;
|
|
4308
|
+
contentHash: z.ZodString;
|
|
4309
|
+
}, z.core.$strict>;
|
|
4310
|
+
}, z.core.$strict>>>;
|
|
4311
|
+
profileEvaluation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4312
|
+
profileProjectId: z.ZodString;
|
|
4313
|
+
sourceRevision: z.ZodString;
|
|
4314
|
+
catalogHash: z.ZodString;
|
|
4315
|
+
definitionId: z.ZodString;
|
|
4316
|
+
harnessRelease: z.ZodObject<{
|
|
4317
|
+
id: z.ZodString;
|
|
4318
|
+
contentHash: z.ZodString;
|
|
4319
|
+
}, z.core.$strict>;
|
|
4320
|
+
tasksetRelease: z.ZodObject<{
|
|
4321
|
+
id: z.ZodString;
|
|
4322
|
+
contentHash: z.ZodString;
|
|
4323
|
+
}, z.core.$strict>;
|
|
4324
|
+
}, z.core.$strict>>>;
|
|
4325
|
+
rewardBindingRef: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4326
|
+
id: z.ZodString;
|
|
4327
|
+
contentHash: z.ZodString;
|
|
4328
|
+
revision: z.ZodNumber;
|
|
4329
|
+
}, z.core.$strict>>>;
|
|
4330
|
+
tasksetRelease: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
4331
|
+
id: z.ZodString;
|
|
4332
|
+
contentHash: z.ZodString;
|
|
4333
|
+
}, z.core.$strict>>>;
|
|
4334
|
+
harnessRelease: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
4335
|
+
id: z.ZodString;
|
|
4336
|
+
contentHash: z.ZodString;
|
|
4337
|
+
}, z.core.$strict>>>;
|
|
4338
|
+
baseModel: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
4339
|
+
schemaVersion: z.ZodLiteral<"openpond.baseModelPreference.v1">;
|
|
4340
|
+
modelId: z.ZodString;
|
|
4341
|
+
revision: z.ZodNullable<z.ZodString>;
|
|
4342
|
+
tokenizerRevision: z.ZodNullable<z.ZodString>;
|
|
4343
|
+
chatTemplateHash: z.ZodNullable<z.ZodString>;
|
|
4344
|
+
modelAssetId: z.ZodNullable<z.ZodString>;
|
|
4345
|
+
source: z.ZodEnum<{
|
|
4346
|
+
builtin: "builtin";
|
|
4347
|
+
local: "local";
|
|
4348
|
+
managed: "managed";
|
|
4349
|
+
}>;
|
|
4350
|
+
}, z.core.$strict>>>;
|
|
4351
|
+
method: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
4352
|
+
dpo: "dpo";
|
|
4353
|
+
grpo: "grpo";
|
|
4354
|
+
opd: "opd";
|
|
4355
|
+
opsd: "opsd";
|
|
4356
|
+
ppo: "ppo";
|
|
4357
|
+
sdft: "sdft";
|
|
4358
|
+
sdpo: "sdpo";
|
|
4359
|
+
sft: "sft";
|
|
4360
|
+
}>>>;
|
|
4361
|
+
destinationId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
4362
|
+
managedRolloutPlacement: z.ZodDefault<z.ZodEnum<{
|
|
4363
|
+
local: "local";
|
|
4364
|
+
remote: "remote";
|
|
4365
|
+
}>>;
|
|
4366
|
+
managedGpuPlacementObjective: z.ZodDefault<z.ZodEnum<{
|
|
4367
|
+
balanced: "balanced";
|
|
4368
|
+
economical: "economical";
|
|
4369
|
+
fast: "fast";
|
|
4370
|
+
}>>;
|
|
4371
|
+
managedGpuSelection: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4372
|
+
mode: z.ZodLiteral<"automatic">;
|
|
4373
|
+
objective: z.ZodEnum<{
|
|
4374
|
+
balanced: "balanced";
|
|
4375
|
+
economical: "economical";
|
|
4376
|
+
fast: "fast";
|
|
4377
|
+
}>;
|
|
4378
|
+
gpuCount: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
4379
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4380
|
+
mode: z.ZodLiteral<"manual">;
|
|
4381
|
+
availabilityId: z.ZodString;
|
|
4382
|
+
gpuType: z.ZodString;
|
|
4383
|
+
gpuCount: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
4384
|
+
}, z.core.$strict>], "mode">>;
|
|
4385
|
+
continuationAdapterMode: z.ZodOptional<z.ZodEnum<{
|
|
4386
|
+
residual_append: "residual_append";
|
|
4387
|
+
sequential_merge: "sequential_merge";
|
|
4388
|
+
shared: "shared";
|
|
4389
|
+
}>>;
|
|
4390
|
+
managedGpuRequirement: z.ZodDefault<z.ZodEnum<{
|
|
4391
|
+
any: "any";
|
|
4392
|
+
h100_hbm3: "h100_hbm3";
|
|
4393
|
+
}>>;
|
|
4394
|
+
runPreset: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
4395
|
+
custom: "custom";
|
|
4396
|
+
small: "small";
|
|
4397
|
+
small_experiment: "small_experiment";
|
|
4398
|
+
standard: "standard";
|
|
4399
|
+
}>>>;
|
|
4400
|
+
recipe: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
4401
|
+
schemaVersion: z.ZodString;
|
|
4402
|
+
method: z.ZodEnum<{
|
|
4403
|
+
dpo: "dpo";
|
|
4404
|
+
grpo: "grpo";
|
|
4405
|
+
opd: "opd";
|
|
4406
|
+
opsd: "opsd";
|
|
4407
|
+
ppo: "ppo";
|
|
4408
|
+
sdft: "sdft";
|
|
4409
|
+
sdpo: "sdpo";
|
|
4410
|
+
sft: "sft";
|
|
4411
|
+
}>;
|
|
4412
|
+
parameterization: z.ZodEnum<{
|
|
4413
|
+
full: "full";
|
|
4414
|
+
lora: "lora";
|
|
4415
|
+
}>;
|
|
4416
|
+
}, z.core.$catchall<z.ZodUnknown>>>>;
|
|
4417
|
+
preferredMaximumSpendUsd: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
4418
|
+
preferredRetentionDays: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
4419
|
+
}, z.core.$strict>;
|
|
4420
|
+
sourceRevision: z.ZodNumber;
|
|
4421
|
+
sourceUpdatedAt: z.ZodString;
|
|
4422
|
+
revision: z.ZodNumber;
|
|
4423
|
+
etag: z.ZodString;
|
|
4424
|
+
createdAt: z.ZodString;
|
|
4425
|
+
updatedAt: z.ZodString;
|
|
4426
|
+
}, z.core.$strict>;
|
|
4427
|
+
schemaVersion: z.ZodLiteral<"openpond.weightSpaceResultSaveReceipt.v1">;
|
|
4428
|
+
version: z.ZodObject<{
|
|
4429
|
+
teamId: z.ZodString;
|
|
4430
|
+
ownerUserId: z.ZodString;
|
|
4431
|
+
modelProjectId: z.ZodString;
|
|
4432
|
+
portableProjectId: z.ZodString;
|
|
4433
|
+
baseModel: z.ZodObject<{
|
|
4434
|
+
schemaVersion: z.ZodLiteral<"openpond.baseModelPreference.v1">;
|
|
4435
|
+
modelId: z.ZodString;
|
|
4436
|
+
revision: z.ZodNullable<z.ZodString>;
|
|
4437
|
+
tokenizerRevision: z.ZodNullable<z.ZodString>;
|
|
4438
|
+
chatTemplateHash: z.ZodNullable<z.ZodString>;
|
|
4439
|
+
modelAssetId: z.ZodNullable<z.ZodString>;
|
|
4440
|
+
source: z.ZodEnum<{
|
|
4441
|
+
builtin: "builtin";
|
|
4442
|
+
local: "local";
|
|
4443
|
+
managed: "managed";
|
|
4444
|
+
}>;
|
|
4445
|
+
}, z.core.$strict>;
|
|
4446
|
+
source: z.ZodObject<{
|
|
4447
|
+
executionId: z.ZodString;
|
|
4448
|
+
inputHash: z.ZodString;
|
|
4449
|
+
runtimeHash: z.ZodString;
|
|
4450
|
+
resultHash: z.ZodString;
|
|
4451
|
+
}, z.core.$strict>;
|
|
4452
|
+
createdAt: z.ZodISODateTime;
|
|
4453
|
+
schemaVersion: z.ZodLiteral<"openpond.weightSpaceModelVersion.v1">;
|
|
4454
|
+
request: z.ZodObject<{
|
|
4455
|
+
schemaVersion: z.ZodLiteral<"openpond.weightSpaceRequest.v1">;
|
|
4456
|
+
model: z.ZodObject<{
|
|
4457
|
+
schemaVersion: z.ZodLiteral<"openpond.neuronSteeringModel.v1">;
|
|
4458
|
+
modelId: z.ZodString;
|
|
4459
|
+
revision: z.ZodString;
|
|
4460
|
+
configHash: z.ZodString;
|
|
4461
|
+
weightsHash: z.ZodString;
|
|
4462
|
+
tokenizerHash: z.ZodString;
|
|
4463
|
+
weightIdentity: z.ZodLiteral<"torch_state_dict_sha256_v1">;
|
|
4464
|
+
architecture: z.ZodLiteral<"dense_decoder">;
|
|
4465
|
+
dtype: z.ZodEnum<{
|
|
4466
|
+
bfloat16: "bfloat16";
|
|
4467
|
+
float16: "float16";
|
|
4468
|
+
float32: "float32";
|
|
4469
|
+
}>;
|
|
4470
|
+
quantization: z.ZodLiteral<"none">;
|
|
4471
|
+
adapter: z.ZodNull;
|
|
4472
|
+
hiddenSize: z.ZodNumber;
|
|
4473
|
+
intermediateSizes: z.ZodArray<z.ZodNumber>;
|
|
4474
|
+
}, z.core.$strict>;
|
|
4475
|
+
teacher: z.ZodObject<{
|
|
4476
|
+
controller: z.ZodLiteral<"local_agent">;
|
|
4477
|
+
providerId: z.ZodString;
|
|
4478
|
+
modelId: z.ZodString;
|
|
4479
|
+
sessionId: z.ZodString;
|
|
4480
|
+
}, z.core.$strict>;
|
|
4481
|
+
objective: z.ZodString;
|
|
4482
|
+
panels: z.ZodArray<z.ZodObject<{
|
|
4483
|
+
id: z.ZodString;
|
|
4484
|
+
source: z.ZodNullable<z.ZodObject<{
|
|
4485
|
+
id: z.ZodString;
|
|
4486
|
+
contentHash: z.ZodString;
|
|
4487
|
+
revision: z.ZodNumber;
|
|
4488
|
+
}, z.core.$strict>>;
|
|
4489
|
+
role: z.ZodEnum<{
|
|
4490
|
+
development: "development";
|
|
4491
|
+
preservation: "preservation";
|
|
4492
|
+
}>;
|
|
4493
|
+
prompts: z.ZodArray<z.ZodObject<{
|
|
4494
|
+
id: z.ZodString;
|
|
4495
|
+
text: z.ZodString;
|
|
4496
|
+
system: z.ZodOptional<z.ZodString>;
|
|
4497
|
+
}, z.core.$strict>>;
|
|
4498
|
+
}, z.core.$strict>>;
|
|
4499
|
+
frozenEvaluation: z.ZodNullable<z.ZodObject<{
|
|
4500
|
+
id: z.ZodString;
|
|
4501
|
+
contentHash: z.ZodString;
|
|
4502
|
+
revision: z.ZodNumber;
|
|
4503
|
+
}, z.core.$strict>>;
|
|
4504
|
+
generation: z.ZodObject<{
|
|
4505
|
+
maxOutputTokens: z.ZodNumber;
|
|
4506
|
+
seed: z.ZodNumber;
|
|
4507
|
+
sampling: z.ZodLiteral<"greedy_v1">;
|
|
4508
|
+
}, z.core.$strict>;
|
|
4509
|
+
limits: z.ZodObject<{
|
|
4510
|
+
maximumDurationSeconds: z.ZodNumber;
|
|
4511
|
+
maximumIdleSeconds: z.ZodNumber;
|
|
4512
|
+
maximumCommands: z.ZodNumber;
|
|
4513
|
+
maximumCandidates: z.ZodNumber;
|
|
4514
|
+
maximumPatchColumns: z.ZodNumber;
|
|
4515
|
+
maximumTensorElements: z.ZodNumber;
|
|
4516
|
+
maximumReturnedValues: z.ZodNumber;
|
|
4517
|
+
maximumArithmeticWork: z.ZodNumber;
|
|
4518
|
+
maximumForwardTokenWork: z.ZodNumber;
|
|
4519
|
+
maximumCheckpointBytes: z.ZodNumber;
|
|
4520
|
+
}, z.core.$strict>;
|
|
4521
|
+
}, z.core.$strict>;
|
|
4522
|
+
artifact: z.ZodObject<{
|
|
4523
|
+
id: z.ZodString;
|
|
4524
|
+
contentHash: z.ZodString;
|
|
4525
|
+
manifest: z.ZodObject<{
|
|
4526
|
+
schemaVersion: z.ZodLiteral<"openpond.weightSpaceArtifact.v1">;
|
|
4527
|
+
method: z.ZodLiteral<"weight_space_programming">;
|
|
4528
|
+
representation: z.ZodLiteral<"exact_bf16_mlp_column_replacements_v1">;
|
|
4529
|
+
model: z.ZodObject<{
|
|
4530
|
+
schemaVersion: z.ZodLiteral<"openpond.neuronSteeringModel.v1">;
|
|
4531
|
+
modelId: z.ZodString;
|
|
4532
|
+
revision: z.ZodString;
|
|
4533
|
+
configHash: z.ZodString;
|
|
4534
|
+
weightsHash: z.ZodString;
|
|
4535
|
+
tokenizerHash: z.ZodString;
|
|
4536
|
+
weightIdentity: z.ZodLiteral<"torch_state_dict_sha256_v1">;
|
|
4537
|
+
architecture: z.ZodLiteral<"dense_decoder">;
|
|
4538
|
+
dtype: z.ZodEnum<{
|
|
4539
|
+
bfloat16: "bfloat16";
|
|
4540
|
+
float16: "float16";
|
|
4541
|
+
float32: "float32";
|
|
4542
|
+
}>;
|
|
4543
|
+
quantization: z.ZodLiteral<"none">;
|
|
4544
|
+
adapter: z.ZodNull;
|
|
4545
|
+
hiddenSize: z.ZodNumber;
|
|
4546
|
+
intermediateSizes: z.ZodArray<z.ZodNumber>;
|
|
4547
|
+
}, z.core.$strict>;
|
|
4548
|
+
requestHash: z.ZodString;
|
|
4549
|
+
runtimeHash: z.ZodString;
|
|
4550
|
+
candidateHash: z.ZodString;
|
|
4551
|
+
teacher: z.ZodObject<{
|
|
4552
|
+
controller: z.ZodLiteral<"local_agent">;
|
|
4553
|
+
providerId: z.ZodString;
|
|
4554
|
+
modelId: z.ZodString;
|
|
4555
|
+
sessionId: z.ZodString;
|
|
4556
|
+
}, z.core.$strict>;
|
|
4557
|
+
historyHash: z.ZodString;
|
|
4558
|
+
columns: z.ZodArray<z.ZodObject<{
|
|
4559
|
+
layer: z.ZodNumber;
|
|
4560
|
+
columns: z.ZodArray<z.ZodNumber>;
|
|
4561
|
+
}, z.core.$strict>>;
|
|
4562
|
+
columnHashes: z.ZodArray<z.ZodString>;
|
|
4563
|
+
payload: z.ZodObject<{
|
|
4564
|
+
path: z.ZodLiteral<"patch.safetensors">;
|
|
4565
|
+
sha256: z.ZodString;
|
|
4566
|
+
sizeBytes: z.ZodNumber;
|
|
4567
|
+
tensors: z.ZodArray<z.ZodObject<{
|
|
4568
|
+
name: z.ZodString;
|
|
4569
|
+
dtype: z.ZodEnum<{
|
|
4570
|
+
BF16: "BF16";
|
|
4571
|
+
I64: "I64";
|
|
4572
|
+
}>;
|
|
4573
|
+
shape: z.ZodArray<z.ZodNumber>;
|
|
4574
|
+
}, z.core.$strict>>;
|
|
4575
|
+
}, z.core.$strict>;
|
|
4576
|
+
reload: z.ZodObject<{
|
|
4577
|
+
effectiveColumnsHash: z.ZodString;
|
|
4578
|
+
reloadedColumnsHash: z.ZodString;
|
|
4579
|
+
untouchedWeightsHashBefore: z.ZodString;
|
|
4580
|
+
untouchedWeightsHashAfter: z.ZodString;
|
|
4581
|
+
equivalent: z.ZodLiteral<true>;
|
|
4582
|
+
}, z.core.$strict>;
|
|
4583
|
+
contentHash: z.ZodString;
|
|
4584
|
+
}, z.core.$strict>;
|
|
4585
|
+
files: z.ZodArray<z.ZodObject<{
|
|
4586
|
+
path: z.ZodEnum<{
|
|
4587
|
+
"manifest.json": "manifest.json";
|
|
4588
|
+
"patch.safetensors": "patch.safetensors";
|
|
4589
|
+
}>;
|
|
4590
|
+
artifactId: z.ZodString;
|
|
4591
|
+
sha256: z.ZodString;
|
|
4592
|
+
sizeBytes: z.ZodNumber;
|
|
4593
|
+
}, z.core.$strict>>;
|
|
4594
|
+
}, z.core.$strict>;
|
|
4595
|
+
contentHash: z.ZodString;
|
|
4596
|
+
}, z.core.$strict>;
|
|
4597
|
+
contentHash: z.ZodString;
|
|
4598
|
+
}, z.core.$strict>;
|
|
4599
|
+
export type WeightSpaceResultSaveReceipt = z.infer<typeof WeightSpaceResultSaveReceiptSchema>;
|
|
4600
|
+
export declare function parseAndVerifyAlphaEditResultSaveReceipt(raw: unknown, input: AlphaEditResultSaveRequest): Promise<{
|
|
4601
|
+
teamId: string;
|
|
4602
|
+
actorId: string;
|
|
4603
|
+
operationId: string;
|
|
4604
|
+
requestHash: string;
|
|
4605
|
+
model: {
|
|
4606
|
+
id: string;
|
|
4607
|
+
teamId: string;
|
|
4608
|
+
portableProjectId: string;
|
|
4609
|
+
name: string;
|
|
4610
|
+
objective: string | null;
|
|
4611
|
+
defaultBaseModel: {
|
|
4612
|
+
schemaVersion: "openpond.baseModelPreference.v1";
|
|
4613
|
+
modelId: string;
|
|
4614
|
+
revision: string | null;
|
|
4615
|
+
tokenizerRevision: string | null;
|
|
4616
|
+
chatTemplateHash: string | null;
|
|
4617
|
+
modelAssetId: string | null;
|
|
4618
|
+
source: "builtin" | "local" | "managed";
|
|
4619
|
+
} | null;
|
|
4620
|
+
defaultDestinationId: string | null;
|
|
4621
|
+
trainingSetup: {
|
|
4622
|
+
tasksetRef: {
|
|
4623
|
+
id: string;
|
|
4624
|
+
contentHash: string;
|
|
4625
|
+
revision: number;
|
|
4626
|
+
} | null;
|
|
4627
|
+
evaluationTasksetRef?: {
|
|
4628
|
+
id: string;
|
|
4629
|
+
contentHash: string;
|
|
4630
|
+
revision: number;
|
|
4631
|
+
} | null | undefined;
|
|
4632
|
+
profileSource?: {
|
|
4633
|
+
profileProjectId: string;
|
|
4634
|
+
sourceRevision: string;
|
|
4635
|
+
harnessRelease: {
|
|
4636
|
+
id: string;
|
|
4637
|
+
contentHash: string;
|
|
4638
|
+
};
|
|
4639
|
+
} | null | undefined;
|
|
4640
|
+
profileEvaluation?: {
|
|
4641
|
+
profileProjectId: string;
|
|
4642
|
+
sourceRevision: string;
|
|
4643
|
+
catalogHash: string;
|
|
4644
|
+
definitionId: string;
|
|
4645
|
+
harnessRelease: {
|
|
4646
|
+
id: string;
|
|
4647
|
+
contentHash: string;
|
|
4648
|
+
};
|
|
4649
|
+
tasksetRelease: {
|
|
4650
|
+
id: string;
|
|
4651
|
+
contentHash: string;
|
|
4652
|
+
};
|
|
4653
|
+
} | null | undefined;
|
|
4654
|
+
rewardBindingRef?: {
|
|
4655
|
+
id: string;
|
|
4656
|
+
contentHash: string;
|
|
4657
|
+
revision: number;
|
|
4658
|
+
} | null | undefined;
|
|
4659
|
+
tasksetRelease: {
|
|
4660
|
+
id: string;
|
|
4661
|
+
contentHash: string;
|
|
4662
|
+
} | null;
|
|
4663
|
+
harnessRelease: {
|
|
4664
|
+
id: string;
|
|
4665
|
+
contentHash: string;
|
|
4666
|
+
} | null;
|
|
4667
|
+
baseModel: {
|
|
4668
|
+
schemaVersion: "openpond.baseModelPreference.v1";
|
|
4669
|
+
modelId: string;
|
|
4670
|
+
revision: string | null;
|
|
4671
|
+
tokenizerRevision: string | null;
|
|
4672
|
+
chatTemplateHash: string | null;
|
|
4673
|
+
modelAssetId: string | null;
|
|
4674
|
+
source: "builtin" | "local" | "managed";
|
|
4675
|
+
} | null;
|
|
4676
|
+
method: "dpo" | "grpo" | "opd" | "opsd" | "ppo" | "sdft" | "sdpo" | "sft" | null;
|
|
4677
|
+
destinationId: string | null;
|
|
4678
|
+
managedRolloutPlacement: "local" | "remote";
|
|
4679
|
+
managedGpuPlacementObjective: "balanced" | "economical" | "fast";
|
|
4680
|
+
managedGpuSelection?: {
|
|
4681
|
+
mode: "automatic";
|
|
4682
|
+
objective: "balanced" | "economical" | "fast";
|
|
4683
|
+
gpuCount?: 1 | 2 | undefined;
|
|
4684
|
+
} | {
|
|
4685
|
+
mode: "manual";
|
|
4686
|
+
availabilityId: string;
|
|
4687
|
+
gpuType: string;
|
|
4688
|
+
gpuCount?: 1 | 2 | undefined;
|
|
4689
|
+
} | undefined;
|
|
4690
|
+
continuationAdapterMode?: "residual_append" | "sequential_merge" | "shared" | undefined;
|
|
4691
|
+
managedGpuRequirement: "any" | "h100_hbm3";
|
|
4692
|
+
runPreset: "custom" | "small" | "small_experiment" | "standard" | null;
|
|
4693
|
+
recipe: {
|
|
4694
|
+
[x: string]: unknown;
|
|
4695
|
+
schemaVersion: string;
|
|
4696
|
+
method: "dpo" | "grpo" | "opd" | "opsd" | "ppo" | "sdft" | "sdpo" | "sft";
|
|
4697
|
+
parameterization: "full" | "lora";
|
|
4698
|
+
} | null;
|
|
4699
|
+
preferredMaximumSpendUsd: number | null;
|
|
4700
|
+
preferredRetentionDays: number | null;
|
|
4701
|
+
};
|
|
4702
|
+
sourceRevision: number;
|
|
4703
|
+
sourceUpdatedAt: string;
|
|
4704
|
+
revision: number;
|
|
4705
|
+
etag: string;
|
|
4706
|
+
createdAt: string;
|
|
4707
|
+
updatedAt: string;
|
|
4708
|
+
};
|
|
4709
|
+
schemaVersion: "openpond.alphaEditResultSaveReceipt.v1";
|
|
4710
|
+
version: {
|
|
4711
|
+
teamId: string;
|
|
4712
|
+
ownerUserId: string;
|
|
4713
|
+
modelProjectId: string;
|
|
4714
|
+
portableProjectId: string;
|
|
4715
|
+
baseModel: {
|
|
4716
|
+
schemaVersion: "openpond.baseModelPreference.v1";
|
|
4717
|
+
modelId: string;
|
|
4718
|
+
revision: string | null;
|
|
4719
|
+
tokenizerRevision: string | null;
|
|
4720
|
+
chatTemplateHash: string | null;
|
|
4721
|
+
modelAssetId: string | null;
|
|
4722
|
+
source: "builtin" | "local" | "managed";
|
|
4723
|
+
};
|
|
4724
|
+
source: {
|
|
4725
|
+
executionId: string;
|
|
4726
|
+
inputHash: string;
|
|
4727
|
+
runtimeHash: string;
|
|
4728
|
+
resultHash: string;
|
|
4729
|
+
};
|
|
4730
|
+
createdAt: string;
|
|
4731
|
+
schemaVersion: "openpond.alphaEditModelVersion.v1";
|
|
4732
|
+
request: {
|
|
4733
|
+
schemaVersion: "openpond.alphaEditTrainingRequest.v1";
|
|
4734
|
+
model: {
|
|
4735
|
+
schemaVersion: "openpond.neuronSteeringModel.v1";
|
|
4736
|
+
modelId: string;
|
|
4737
|
+
revision: string;
|
|
4738
|
+
configHash: string;
|
|
4739
|
+
weightsHash: string;
|
|
4740
|
+
tokenizerHash: string;
|
|
4741
|
+
weightIdentity: "torch_state_dict_sha256_v1";
|
|
4742
|
+
architecture: "dense_decoder";
|
|
4743
|
+
dtype: "bfloat16" | "float16" | "float32";
|
|
4744
|
+
quantization: "none";
|
|
4745
|
+
adapter: null;
|
|
4746
|
+
hiddenSize: number;
|
|
4747
|
+
intermediateSizes: number[];
|
|
4748
|
+
};
|
|
4749
|
+
data: {
|
|
4750
|
+
edits: {
|
|
4751
|
+
batch: {
|
|
4752
|
+
id: string;
|
|
4753
|
+
contentHash: string;
|
|
4754
|
+
revision: number;
|
|
4755
|
+
};
|
|
4756
|
+
examplesSha256: string;
|
|
4757
|
+
};
|
|
4758
|
+
preservation: {
|
|
4759
|
+
batch: {
|
|
4760
|
+
id: string;
|
|
4761
|
+
contentHash: string;
|
|
4762
|
+
revision: number;
|
|
4763
|
+
};
|
|
4764
|
+
examplesSha256: string;
|
|
4765
|
+
};
|
|
4766
|
+
};
|
|
4767
|
+
config: {
|
|
4768
|
+
schemaVersion: "openpond.alphaEditConfig.v1";
|
|
4769
|
+
implementation: "openpond_qwen_alphaedit_v1";
|
|
4770
|
+
sourceRevision: "b84624f44dfe8fc6cd9e41df916c44124a0c46dc";
|
|
4771
|
+
rewriteModule: "mlp.down_proj.weight";
|
|
4772
|
+
factToken: "subject_last";
|
|
4773
|
+
layers: number[];
|
|
4774
|
+
lossLayer: number;
|
|
4775
|
+
contextTemplateGroups: string[][];
|
|
4776
|
+
nullspaceThreshold: number;
|
|
4777
|
+
l2: number;
|
|
4778
|
+
covariance: "non_padding_uncentered_second_moment_fp32_v1";
|
|
4779
|
+
projector: "covariance_svd_below_absolute_threshold_v1";
|
|
4780
|
+
sequentialState: "post_edit_group_mean_keys_outer_product_sum_v1";
|
|
4781
|
+
targetTokenization: "leading_space_no_special_tokens_v1";
|
|
4782
|
+
};
|
|
4783
|
+
training: {
|
|
4784
|
+
maxSteps: number;
|
|
4785
|
+
learningRate: number;
|
|
4786
|
+
klFactor: number;
|
|
4787
|
+
latentWeightDecay: number;
|
|
4788
|
+
clampNormFactor: number;
|
|
4789
|
+
maxSequenceLength: number;
|
|
4790
|
+
maxDurationSeconds: number;
|
|
4791
|
+
maxForwardTokenWork: number;
|
|
4792
|
+
maxCheckpointBytes: number;
|
|
4793
|
+
seed: number;
|
|
4794
|
+
};
|
|
4795
|
+
parentArtifact: {
|
|
4796
|
+
id: string;
|
|
4797
|
+
contentHash: string;
|
|
4798
|
+
} | null;
|
|
4799
|
+
};
|
|
4800
|
+
artifact: {
|
|
4801
|
+
id: string;
|
|
4802
|
+
contentHash: string;
|
|
4803
|
+
manifest: {
|
|
4804
|
+
schemaVersion: "openpond.alphaEditArtifact.v1";
|
|
4805
|
+
method: "alphaedit";
|
|
4806
|
+
config: {
|
|
4807
|
+
schemaVersion: "openpond.alphaEditConfig.v1";
|
|
4808
|
+
implementation: "openpond_qwen_alphaedit_v1";
|
|
4809
|
+
sourceRevision: "b84624f44dfe8fc6cd9e41df916c44124a0c46dc";
|
|
4810
|
+
rewriteModule: "mlp.down_proj.weight";
|
|
4811
|
+
factToken: "subject_last";
|
|
4812
|
+
layers: number[];
|
|
4813
|
+
lossLayer: number;
|
|
4814
|
+
contextTemplateGroups: string[][];
|
|
4815
|
+
nullspaceThreshold: number;
|
|
4816
|
+
l2: number;
|
|
4817
|
+
covariance: "non_padding_uncentered_second_moment_fp32_v1";
|
|
4818
|
+
projector: "covariance_svd_below_absolute_threshold_v1";
|
|
4819
|
+
sequentialState: "post_edit_group_mean_keys_outer_product_sum_v1";
|
|
4820
|
+
targetTokenization: "leading_space_no_special_tokens_v1";
|
|
4821
|
+
};
|
|
4822
|
+
pins: {
|
|
4823
|
+
baseModel: {
|
|
4824
|
+
schemaVersion: "openpond.neuronSteeringModel.v1";
|
|
4825
|
+
modelId: string;
|
|
4826
|
+
revision: string;
|
|
4827
|
+
configHash: string;
|
|
4828
|
+
weightsHash: string;
|
|
4829
|
+
tokenizerHash: string;
|
|
4830
|
+
weightIdentity: "torch_state_dict_sha256_v1";
|
|
4831
|
+
architecture: "dense_decoder";
|
|
4832
|
+
dtype: "bfloat16" | "float16" | "float32";
|
|
4833
|
+
quantization: "none";
|
|
4834
|
+
adapter: null;
|
|
4835
|
+
hiddenSize: number;
|
|
4836
|
+
intermediateSizes: number[];
|
|
4837
|
+
};
|
|
4838
|
+
configHash: string;
|
|
4839
|
+
recipeHash: string;
|
|
4840
|
+
dataHash: string;
|
|
4841
|
+
data: {
|
|
4842
|
+
edits: {
|
|
4843
|
+
batch: {
|
|
4844
|
+
id: string;
|
|
4845
|
+
contentHash: string;
|
|
4846
|
+
revision: number;
|
|
4847
|
+
};
|
|
4848
|
+
examplesSha256: string;
|
|
4849
|
+
};
|
|
4850
|
+
preservation: {
|
|
4851
|
+
batch: {
|
|
4852
|
+
id: string;
|
|
4853
|
+
contentHash: string;
|
|
4854
|
+
revision: number;
|
|
4855
|
+
};
|
|
4856
|
+
examplesSha256: string;
|
|
4857
|
+
};
|
|
4858
|
+
};
|
|
4859
|
+
runtimeHash: string;
|
|
4860
|
+
parentArtifactHash: string | null;
|
|
4861
|
+
preservationModelHash: string;
|
|
4862
|
+
};
|
|
4863
|
+
representation: "exact_replacement_bf16_down_proj_matrices_v1";
|
|
4864
|
+
payloads: {
|
|
4865
|
+
patch: {
|
|
4866
|
+
sha256: string;
|
|
4867
|
+
sizeBytes: number;
|
|
4868
|
+
tensors: {
|
|
4869
|
+
name: string;
|
|
4870
|
+
shape: number[];
|
|
4871
|
+
dtype: "BF16" | "F32";
|
|
4872
|
+
}[];
|
|
4873
|
+
path: "patch.safetensors";
|
|
4874
|
+
};
|
|
4875
|
+
state: {
|
|
4876
|
+
sha256: string;
|
|
4877
|
+
sizeBytes: number;
|
|
4878
|
+
tensors: {
|
|
4879
|
+
name: string;
|
|
4880
|
+
shape: number[];
|
|
4881
|
+
dtype: "BF16" | "F32";
|
|
4882
|
+
}[];
|
|
4883
|
+
path: string;
|
|
4884
|
+
}[];
|
|
4885
|
+
};
|
|
4886
|
+
contentHash: string;
|
|
4887
|
+
};
|
|
4888
|
+
files: {
|
|
4889
|
+
path: string;
|
|
4890
|
+
artifactId: string;
|
|
4891
|
+
sha256: string;
|
|
4892
|
+
sizeBytes: number;
|
|
4893
|
+
}[];
|
|
4894
|
+
};
|
|
4895
|
+
contentHash: string;
|
|
4896
|
+
};
|
|
4897
|
+
contentHash: string;
|
|
4898
|
+
}>;
|
|
4899
|
+
export declare function parseAndVerifyNeuronTrainingResultSaveReceipt(raw: unknown, input: NeuronTrainingResultSaveRequest): Promise<{
|
|
4900
|
+
teamId: string;
|
|
4901
|
+
actorId: string;
|
|
4902
|
+
operationId: string;
|
|
4903
|
+
requestHash: string;
|
|
4904
|
+
model: {
|
|
4905
|
+
id: string;
|
|
4906
|
+
teamId: string;
|
|
4907
|
+
portableProjectId: string;
|
|
4908
|
+
name: string;
|
|
4909
|
+
objective: string | null;
|
|
4910
|
+
defaultBaseModel: {
|
|
4911
|
+
schemaVersion: "openpond.baseModelPreference.v1";
|
|
4912
|
+
modelId: string;
|
|
4913
|
+
revision: string | null;
|
|
4914
|
+
tokenizerRevision: string | null;
|
|
4915
|
+
chatTemplateHash: string | null;
|
|
4916
|
+
modelAssetId: string | null;
|
|
4917
|
+
source: "builtin" | "local" | "managed";
|
|
4918
|
+
} | null;
|
|
4919
|
+
defaultDestinationId: string | null;
|
|
4920
|
+
trainingSetup: {
|
|
4921
|
+
tasksetRef: {
|
|
4922
|
+
id: string;
|
|
4923
|
+
contentHash: string;
|
|
4924
|
+
revision: number;
|
|
4925
|
+
} | null;
|
|
4926
|
+
evaluationTasksetRef?: {
|
|
4927
|
+
id: string;
|
|
4928
|
+
contentHash: string;
|
|
4929
|
+
revision: number;
|
|
4930
|
+
} | null | undefined;
|
|
4931
|
+
profileSource?: {
|
|
4932
|
+
profileProjectId: string;
|
|
4933
|
+
sourceRevision: string;
|
|
4934
|
+
harnessRelease: {
|
|
4935
|
+
id: string;
|
|
4936
|
+
contentHash: string;
|
|
4937
|
+
};
|
|
4938
|
+
} | null | undefined;
|
|
4939
|
+
profileEvaluation?: {
|
|
4940
|
+
profileProjectId: string;
|
|
4941
|
+
sourceRevision: string;
|
|
4942
|
+
catalogHash: string;
|
|
4943
|
+
definitionId: string;
|
|
4944
|
+
harnessRelease: {
|
|
4945
|
+
id: string;
|
|
4946
|
+
contentHash: string;
|
|
4947
|
+
};
|
|
4948
|
+
tasksetRelease: {
|
|
4949
|
+
id: string;
|
|
4950
|
+
contentHash: string;
|
|
4951
|
+
};
|
|
4952
|
+
} | null | undefined;
|
|
4953
|
+
rewardBindingRef?: {
|
|
4954
|
+
id: string;
|
|
4955
|
+
contentHash: string;
|
|
4956
|
+
revision: number;
|
|
4957
|
+
} | null | undefined;
|
|
4958
|
+
tasksetRelease: {
|
|
4959
|
+
id: string;
|
|
4960
|
+
contentHash: string;
|
|
4961
|
+
} | null;
|
|
4962
|
+
harnessRelease: {
|
|
4963
|
+
id: string;
|
|
4964
|
+
contentHash: string;
|
|
4965
|
+
} | null;
|
|
4966
|
+
baseModel: {
|
|
4967
|
+
schemaVersion: "openpond.baseModelPreference.v1";
|
|
4968
|
+
modelId: string;
|
|
4969
|
+
revision: string | null;
|
|
4970
|
+
tokenizerRevision: string | null;
|
|
4971
|
+
chatTemplateHash: string | null;
|
|
4972
|
+
modelAssetId: string | null;
|
|
4973
|
+
source: "builtin" | "local" | "managed";
|
|
4974
|
+
} | null;
|
|
4975
|
+
method: "dpo" | "grpo" | "opd" | "opsd" | "ppo" | "sdft" | "sdpo" | "sft" | null;
|
|
4976
|
+
destinationId: string | null;
|
|
4977
|
+
managedRolloutPlacement: "local" | "remote";
|
|
4978
|
+
managedGpuPlacementObjective: "balanced" | "economical" | "fast";
|
|
4979
|
+
managedGpuSelection?: {
|
|
4980
|
+
mode: "automatic";
|
|
4981
|
+
objective: "balanced" | "economical" | "fast";
|
|
4982
|
+
gpuCount?: 1 | 2 | undefined;
|
|
4983
|
+
} | {
|
|
4984
|
+
mode: "manual";
|
|
4985
|
+
availabilityId: string;
|
|
4986
|
+
gpuType: string;
|
|
4987
|
+
gpuCount?: 1 | 2 | undefined;
|
|
4988
|
+
} | undefined;
|
|
4989
|
+
continuationAdapterMode?: "residual_append" | "sequential_merge" | "shared" | undefined;
|
|
4990
|
+
managedGpuRequirement: "any" | "h100_hbm3";
|
|
4991
|
+
runPreset: "custom" | "small" | "small_experiment" | "standard" | null;
|
|
4992
|
+
recipe: {
|
|
4993
|
+
[x: string]: unknown;
|
|
4994
|
+
schemaVersion: string;
|
|
4995
|
+
method: "dpo" | "grpo" | "opd" | "opsd" | "ppo" | "sdft" | "sdpo" | "sft";
|
|
4996
|
+
parameterization: "full" | "lora";
|
|
4997
|
+
} | null;
|
|
4998
|
+
preferredMaximumSpendUsd: number | null;
|
|
4999
|
+
preferredRetentionDays: number | null;
|
|
5000
|
+
};
|
|
5001
|
+
sourceRevision: number;
|
|
5002
|
+
sourceUpdatedAt: string;
|
|
5003
|
+
revision: number;
|
|
5004
|
+
etag: string;
|
|
5005
|
+
createdAt: string;
|
|
5006
|
+
updatedAt: string;
|
|
5007
|
+
};
|
|
5008
|
+
schemaVersion: "openpond.neuronTrainingResultSaveReceipt.v1";
|
|
5009
|
+
version: {
|
|
5010
|
+
teamId: string;
|
|
5011
|
+
ownerUserId: string;
|
|
5012
|
+
modelProjectId: string;
|
|
5013
|
+
portableProjectId: string;
|
|
5014
|
+
baseModel: {
|
|
5015
|
+
schemaVersion: "openpond.baseModelPreference.v1";
|
|
5016
|
+
modelId: string;
|
|
3547
5017
|
revision: string | null;
|
|
3548
5018
|
tokenizerRevision: string | null;
|
|
3549
5019
|
chatTemplateHash: string | null;
|
|
@@ -3557,9 +5027,9 @@ export declare function parseAndVerifyAlphaEditResultSaveReceipt(raw: unknown, i
|
|
|
3557
5027
|
resultHash: string;
|
|
3558
5028
|
};
|
|
3559
5029
|
createdAt: string;
|
|
3560
|
-
schemaVersion: "openpond.
|
|
5030
|
+
schemaVersion: "openpond.neuronTrainingModelVersion.v1";
|
|
3561
5031
|
request: {
|
|
3562
|
-
schemaVersion: "openpond.
|
|
5032
|
+
schemaVersion: "openpond.selectiveNeuronTrainingRequest.v1";
|
|
3563
5033
|
model: {
|
|
3564
5034
|
schemaVersion: "openpond.neuronSteeringModel.v1";
|
|
3565
5035
|
modelId: string;
|
|
@@ -3576,14 +5046,25 @@ export declare function parseAndVerifyAlphaEditResultSaveReceipt(raw: unknown, i
|
|
|
3576
5046
|
intermediateSizes: number[];
|
|
3577
5047
|
};
|
|
3578
5048
|
data: {
|
|
3579
|
-
|
|
5049
|
+
target: {
|
|
3580
5050
|
batch: {
|
|
3581
5051
|
id: string;
|
|
3582
5052
|
contentHash: string;
|
|
3583
5053
|
revision: number;
|
|
3584
5054
|
};
|
|
3585
5055
|
examplesSha256: string;
|
|
5056
|
+
encodingHash: string;
|
|
3586
5057
|
};
|
|
5058
|
+
background: {
|
|
5059
|
+
batch: {
|
|
5060
|
+
id: string;
|
|
5061
|
+
contentHash: string;
|
|
5062
|
+
revision: number;
|
|
5063
|
+
};
|
|
5064
|
+
examplesSha256: string;
|
|
5065
|
+
encodingHash: string;
|
|
5066
|
+
domain: string;
|
|
5067
|
+
}[];
|
|
3587
5068
|
preservation: {
|
|
3588
5069
|
batch: {
|
|
3589
5070
|
id: string;
|
|
@@ -3591,62 +5072,65 @@ export declare function parseAndVerifyAlphaEditResultSaveReceipt(raw: unknown, i
|
|
|
3591
5072
|
revision: number;
|
|
3592
5073
|
};
|
|
3593
5074
|
examplesSha256: string;
|
|
3594
|
-
|
|
5075
|
+
encodingHash: string;
|
|
5076
|
+
} | null;
|
|
3595
5077
|
};
|
|
3596
|
-
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
|
|
3600
|
-
|
|
3601
|
-
|
|
3602
|
-
|
|
3603
|
-
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
l2: number;
|
|
3607
|
-
covariance: "non_padding_uncentered_second_moment_fp32_v1";
|
|
3608
|
-
projector: "covariance_svd_below_absolute_threshold_v1";
|
|
3609
|
-
sequentialState: "post_edit_group_mean_keys_outer_product_sum_v1";
|
|
3610
|
-
targetTokenization: "leading_space_no_special_tokens_v1";
|
|
5078
|
+
selection: {
|
|
5079
|
+
count: number;
|
|
5080
|
+
span: "prompt" | "reply_prediction" | "reply_start";
|
|
5081
|
+
backgroundStatistic: "max_domains" | "mean_domains";
|
|
5082
|
+
maximumBackgroundTargetRatio: number;
|
|
5083
|
+
gradientExamples: number;
|
|
5084
|
+
explicitCoordinates: {
|
|
5085
|
+
layer: number;
|
|
5086
|
+
neuron: number;
|
|
5087
|
+
}[] | null;
|
|
3611
5088
|
};
|
|
3612
5089
|
training: {
|
|
3613
|
-
maxSteps: number;
|
|
3614
5090
|
learningRate: number;
|
|
3615
|
-
|
|
3616
|
-
|
|
3617
|
-
clampNormFactor: number;
|
|
5091
|
+
maxSteps: number;
|
|
5092
|
+
gradientAccumulationSteps: number;
|
|
3618
5093
|
maxSequenceLength: number;
|
|
5094
|
+
preservationWeight: number;
|
|
5095
|
+
preservationExamplesPerStep: number;
|
|
5096
|
+
seed: number;
|
|
3619
5097
|
maxDurationSeconds: number;
|
|
3620
|
-
maxForwardTokenWork: number;
|
|
3621
5098
|
maxCheckpointBytes: number;
|
|
3622
|
-
|
|
5099
|
+
maximumForwardTokenWork: number;
|
|
3623
5100
|
};
|
|
3624
5101
|
parentArtifact: {
|
|
3625
5102
|
id: string;
|
|
3626
5103
|
contentHash: string;
|
|
5104
|
+
selectionHash: string;
|
|
5105
|
+
payloadSha256: string;
|
|
5106
|
+
mode: "frozen_parent_fresh_residual_adam_v1";
|
|
3627
5107
|
} | null;
|
|
3628
5108
|
};
|
|
3629
5109
|
artifact: {
|
|
3630
5110
|
id: string;
|
|
3631
5111
|
contentHash: string;
|
|
3632
5112
|
manifest: {
|
|
3633
|
-
schemaVersion: "openpond.
|
|
3634
|
-
method: "
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
|
|
3644
|
-
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
|
|
5113
|
+
schemaVersion: "openpond.neuronTrainingArtifact.v1";
|
|
5114
|
+
method: "selective_neuron_training";
|
|
5115
|
+
algorithm: {
|
|
5116
|
+
implementation: "openpond_qwen3_selective_columns_v1";
|
|
5117
|
+
upstream: "changjonathanc/neuron-tuning";
|
|
5118
|
+
revision: "8a55f3159f735eb0823d7a894f67f632bf568bb3";
|
|
5119
|
+
license: "Apache-2.0";
|
|
5120
|
+
hook: "mlp.down_proj";
|
|
5121
|
+
operation: "output_plus_selected_input_times_delta_v1";
|
|
5122
|
+
parameterization: "column_gain_rms_direction_v1";
|
|
5123
|
+
activityQuantile: 0.9;
|
|
5124
|
+
backgroundFloor: 0.000001;
|
|
5125
|
+
gradientSubsetSeed: 0;
|
|
5126
|
+
optimizer: "Adam";
|
|
5127
|
+
betas: [0.9, 0.999];
|
|
5128
|
+
epsilon: 1e-8;
|
|
5129
|
+
weightDecay: 0;
|
|
5130
|
+
gradientClipNorm: 1;
|
|
5131
|
+
batchSize: 1;
|
|
5132
|
+
parameterDtype: "float32";
|
|
5133
|
+
resume: "unsupported";
|
|
3650
5134
|
};
|
|
3651
5135
|
pins: {
|
|
3652
5136
|
baseModel: {
|
|
@@ -3664,58 +5148,95 @@ export declare function parseAndVerifyAlphaEditResultSaveReceipt(raw: unknown, i
|
|
|
3664
5148
|
hiddenSize: number;
|
|
3665
5149
|
intermediateSizes: number[];
|
|
3666
5150
|
};
|
|
3667
|
-
|
|
3668
|
-
recipeHash: string;
|
|
3669
|
-
dataHash: string;
|
|
5151
|
+
inputHash: string;
|
|
3670
5152
|
data: {
|
|
3671
|
-
|
|
5153
|
+
target: {
|
|
3672
5154
|
batch: {
|
|
3673
5155
|
id: string;
|
|
3674
5156
|
contentHash: string;
|
|
3675
5157
|
revision: number;
|
|
3676
5158
|
};
|
|
3677
5159
|
examplesSha256: string;
|
|
5160
|
+
encodingHash: string;
|
|
3678
5161
|
};
|
|
3679
|
-
|
|
5162
|
+
background: {
|
|
3680
5163
|
batch: {
|
|
3681
5164
|
id: string;
|
|
3682
5165
|
contentHash: string;
|
|
3683
5166
|
revision: number;
|
|
3684
5167
|
};
|
|
3685
5168
|
examplesSha256: string;
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
runtimeHash: string;
|
|
3689
|
-
parentArtifactHash: string | null;
|
|
3690
|
-
preservationModelHash: string;
|
|
3691
|
-
};
|
|
3692
|
-
representation: "exact_replacement_bf16_down_proj_matrices_v1";
|
|
3693
|
-
payloads: {
|
|
3694
|
-
patch: {
|
|
3695
|
-
sha256: string;
|
|
3696
|
-
sizeBytes: number;
|
|
3697
|
-
tensors: {
|
|
3698
|
-
name: string;
|
|
3699
|
-
shape: number[];
|
|
3700
|
-
dtype: "BF16" | "F32";
|
|
5169
|
+
encodingHash: string;
|
|
5170
|
+
domain: string;
|
|
3701
5171
|
}[];
|
|
3702
|
-
|
|
5172
|
+
preservation: {
|
|
5173
|
+
batch: {
|
|
5174
|
+
id: string;
|
|
5175
|
+
contentHash: string;
|
|
5176
|
+
revision: number;
|
|
5177
|
+
};
|
|
5178
|
+
examplesSha256: string;
|
|
5179
|
+
encodingHash: string;
|
|
5180
|
+
} | null;
|
|
3703
5181
|
};
|
|
3704
|
-
|
|
3705
|
-
|
|
3706
|
-
|
|
3707
|
-
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
|
|
5182
|
+
dataHash: string;
|
|
5183
|
+
selectionConfigHash: string;
|
|
5184
|
+
trainingConfigHash: string;
|
|
5185
|
+
runtimeHash: string;
|
|
5186
|
+
parentArtifactHash: string | null;
|
|
5187
|
+
};
|
|
5188
|
+
selection: {
|
|
5189
|
+
schemaVersion: "openpond.neuronTrainingSelectionResult.v1";
|
|
5190
|
+
modelHash: string;
|
|
5191
|
+
dataHash: string;
|
|
5192
|
+
selectionConfigHash: string;
|
|
5193
|
+
preparedRowsHash: string;
|
|
5194
|
+
source: "automatic" | "explicit";
|
|
5195
|
+
targetExampleIds: string[];
|
|
5196
|
+
eligibleCount: number;
|
|
5197
|
+
entries: {
|
|
5198
|
+
layer: number;
|
|
5199
|
+
neuron: number;
|
|
5200
|
+
targetMeanAbsolute: number;
|
|
5201
|
+
backgroundMeanAbsolute: number;
|
|
5202
|
+
backgroundTargetRatio: number;
|
|
5203
|
+
gradientNorm: number;
|
|
5204
|
+
score: number;
|
|
5205
|
+
targetActivityThreshold: number;
|
|
5206
|
+
backgroundByDomain: {
|
|
5207
|
+
domainIndex: number;
|
|
5208
|
+
meanAbsolute: number;
|
|
3711
5209
|
}[];
|
|
3712
|
-
|
|
5210
|
+
}[];
|
|
5211
|
+
contentHash: string;
|
|
5212
|
+
};
|
|
5213
|
+
continuation?: {
|
|
5214
|
+
mode: "frozen_parent_fresh_residual_adam_v1";
|
|
5215
|
+
selectionProvenance: "inherited_parent_observations";
|
|
5216
|
+
parameterAnchor: "original_dense_base_columns_v1";
|
|
5217
|
+
parentArtifactHash: string;
|
|
5218
|
+
parentSelectionHash: string;
|
|
5219
|
+
parentPayloadSha256: string;
|
|
5220
|
+
parentPatchStateSha256: string;
|
|
5221
|
+
initialPatchStateSha256: string;
|
|
5222
|
+
finalPatchStateSha256: string;
|
|
5223
|
+
installedBeforeOptimizer: true;
|
|
5224
|
+
optimizerState: "fresh";
|
|
5225
|
+
} | undefined;
|
|
5226
|
+
payload: {
|
|
5227
|
+
path: "patch.safetensors";
|
|
5228
|
+
sha256: string;
|
|
5229
|
+
sizeBytes: number;
|
|
5230
|
+
tensors: {
|
|
5231
|
+
name: string;
|
|
5232
|
+
dtype: "F32" | "I64";
|
|
5233
|
+
shape: number[];
|
|
3713
5234
|
}[];
|
|
3714
5235
|
};
|
|
3715
5236
|
contentHash: string;
|
|
3716
5237
|
};
|
|
3717
5238
|
files: {
|
|
3718
|
-
path:
|
|
5239
|
+
path: "manifest.json" | "patch.safetensors";
|
|
3719
5240
|
artifactId: string;
|
|
3720
5241
|
sha256: string;
|
|
3721
5242
|
sizeBytes: number;
|
|
@@ -3725,7 +5246,7 @@ export declare function parseAndVerifyAlphaEditResultSaveReceipt(raw: unknown, i
|
|
|
3725
5246
|
};
|
|
3726
5247
|
contentHash: string;
|
|
3727
5248
|
}>;
|
|
3728
|
-
export declare function
|
|
5249
|
+
export declare function parseAndVerifyWeightSpaceResultSaveReceipt(raw: unknown, input: WeightSpaceResultSaveRequest): Promise<{
|
|
3729
5250
|
teamId: string;
|
|
3730
5251
|
actorId: string;
|
|
3731
5252
|
operationId: string;
|
|
@@ -3834,7 +5355,7 @@ export declare function parseAndVerifyNeuronTrainingResultSaveReceipt(raw: unkno
|
|
|
3834
5355
|
createdAt: string;
|
|
3835
5356
|
updatedAt: string;
|
|
3836
5357
|
};
|
|
3837
|
-
schemaVersion: "openpond.
|
|
5358
|
+
schemaVersion: "openpond.weightSpaceResultSaveReceipt.v1";
|
|
3838
5359
|
version: {
|
|
3839
5360
|
teamId: string;
|
|
3840
5361
|
ownerUserId: string;
|
|
@@ -3855,114 +5376,338 @@ export declare function parseAndVerifyNeuronTrainingResultSaveReceipt(raw: unkno
|
|
|
3855
5376
|
runtimeHash: string;
|
|
3856
5377
|
resultHash: string;
|
|
3857
5378
|
};
|
|
3858
|
-
createdAt: string;
|
|
3859
|
-
schemaVersion: "openpond.
|
|
3860
|
-
request: {
|
|
3861
|
-
schemaVersion: "openpond.
|
|
3862
|
-
model: {
|
|
3863
|
-
schemaVersion: "openpond.neuronSteeringModel.v1";
|
|
5379
|
+
createdAt: string;
|
|
5380
|
+
schemaVersion: "openpond.weightSpaceModelVersion.v1";
|
|
5381
|
+
request: {
|
|
5382
|
+
schemaVersion: "openpond.weightSpaceRequest.v1";
|
|
5383
|
+
model: {
|
|
5384
|
+
schemaVersion: "openpond.neuronSteeringModel.v1";
|
|
5385
|
+
modelId: string;
|
|
5386
|
+
revision: string;
|
|
5387
|
+
configHash: string;
|
|
5388
|
+
weightsHash: string;
|
|
5389
|
+
tokenizerHash: string;
|
|
5390
|
+
weightIdentity: "torch_state_dict_sha256_v1";
|
|
5391
|
+
architecture: "dense_decoder";
|
|
5392
|
+
dtype: "bfloat16" | "float16" | "float32";
|
|
5393
|
+
quantization: "none";
|
|
5394
|
+
adapter: null;
|
|
5395
|
+
hiddenSize: number;
|
|
5396
|
+
intermediateSizes: number[];
|
|
5397
|
+
};
|
|
5398
|
+
teacher: {
|
|
5399
|
+
controller: "local_agent";
|
|
5400
|
+
providerId: string;
|
|
5401
|
+
modelId: string;
|
|
5402
|
+
sessionId: string;
|
|
5403
|
+
};
|
|
5404
|
+
objective: string;
|
|
5405
|
+
panels: {
|
|
5406
|
+
id: string;
|
|
5407
|
+
source: {
|
|
5408
|
+
id: string;
|
|
5409
|
+
contentHash: string;
|
|
5410
|
+
revision: number;
|
|
5411
|
+
} | null;
|
|
5412
|
+
role: "development" | "preservation";
|
|
5413
|
+
prompts: {
|
|
5414
|
+
id: string;
|
|
5415
|
+
text: string;
|
|
5416
|
+
system?: string | undefined;
|
|
5417
|
+
}[];
|
|
5418
|
+
}[];
|
|
5419
|
+
frozenEvaluation: {
|
|
5420
|
+
id: string;
|
|
5421
|
+
contentHash: string;
|
|
5422
|
+
revision: number;
|
|
5423
|
+
} | null;
|
|
5424
|
+
generation: {
|
|
5425
|
+
maxOutputTokens: number;
|
|
5426
|
+
seed: number;
|
|
5427
|
+
sampling: "greedy_v1";
|
|
5428
|
+
};
|
|
5429
|
+
limits: {
|
|
5430
|
+
maximumDurationSeconds: number;
|
|
5431
|
+
maximumIdleSeconds: number;
|
|
5432
|
+
maximumCommands: number;
|
|
5433
|
+
maximumCandidates: number;
|
|
5434
|
+
maximumPatchColumns: number;
|
|
5435
|
+
maximumTensorElements: number;
|
|
5436
|
+
maximumReturnedValues: number;
|
|
5437
|
+
maximumArithmeticWork: number;
|
|
5438
|
+
maximumForwardTokenWork: number;
|
|
5439
|
+
maximumCheckpointBytes: number;
|
|
5440
|
+
};
|
|
5441
|
+
};
|
|
5442
|
+
artifact: {
|
|
5443
|
+
id: string;
|
|
5444
|
+
contentHash: string;
|
|
5445
|
+
manifest: {
|
|
5446
|
+
schemaVersion: "openpond.weightSpaceArtifact.v1";
|
|
5447
|
+
method: "weight_space_programming";
|
|
5448
|
+
representation: "exact_bf16_mlp_column_replacements_v1";
|
|
5449
|
+
model: {
|
|
5450
|
+
schemaVersion: "openpond.neuronSteeringModel.v1";
|
|
5451
|
+
modelId: string;
|
|
5452
|
+
revision: string;
|
|
5453
|
+
configHash: string;
|
|
5454
|
+
weightsHash: string;
|
|
5455
|
+
tokenizerHash: string;
|
|
5456
|
+
weightIdentity: "torch_state_dict_sha256_v1";
|
|
5457
|
+
architecture: "dense_decoder";
|
|
5458
|
+
dtype: "bfloat16" | "float16" | "float32";
|
|
5459
|
+
quantization: "none";
|
|
5460
|
+
adapter: null;
|
|
5461
|
+
hiddenSize: number;
|
|
5462
|
+
intermediateSizes: number[];
|
|
5463
|
+
};
|
|
5464
|
+
requestHash: string;
|
|
5465
|
+
runtimeHash: string;
|
|
5466
|
+
candidateHash: string;
|
|
5467
|
+
teacher: {
|
|
5468
|
+
controller: "local_agent";
|
|
5469
|
+
providerId: string;
|
|
5470
|
+
modelId: string;
|
|
5471
|
+
sessionId: string;
|
|
5472
|
+
};
|
|
5473
|
+
historyHash: string;
|
|
5474
|
+
columns: {
|
|
5475
|
+
layer: number;
|
|
5476
|
+
columns: number[];
|
|
5477
|
+
}[];
|
|
5478
|
+
columnHashes: string[];
|
|
5479
|
+
payload: {
|
|
5480
|
+
path: "patch.safetensors";
|
|
5481
|
+
sha256: string;
|
|
5482
|
+
sizeBytes: number;
|
|
5483
|
+
tensors: {
|
|
5484
|
+
name: string;
|
|
5485
|
+
dtype: "BF16" | "I64";
|
|
5486
|
+
shape: number[];
|
|
5487
|
+
}[];
|
|
5488
|
+
};
|
|
5489
|
+
reload: {
|
|
5490
|
+
effectiveColumnsHash: string;
|
|
5491
|
+
reloadedColumnsHash: string;
|
|
5492
|
+
untouchedWeightsHashBefore: string;
|
|
5493
|
+
untouchedWeightsHashAfter: string;
|
|
5494
|
+
equivalent: true;
|
|
5495
|
+
};
|
|
5496
|
+
contentHash: string;
|
|
5497
|
+
};
|
|
5498
|
+
files: {
|
|
5499
|
+
path: "manifest.json" | "patch.safetensors";
|
|
5500
|
+
artifactId: string;
|
|
5501
|
+
sha256: string;
|
|
5502
|
+
sizeBytes: number;
|
|
5503
|
+
}[];
|
|
5504
|
+
};
|
|
5505
|
+
contentHash: string;
|
|
5506
|
+
};
|
|
5507
|
+
contentHash: string;
|
|
5508
|
+
}>;
|
|
5509
|
+
export declare function createWeightModelClient(request: (path: string, init?: RequestInit) => Promise<unknown>): {
|
|
5510
|
+
saveWeightSpaceResultModel(raw: WeightSpaceResultSaveRequest): Promise<{
|
|
5511
|
+
teamId: string;
|
|
5512
|
+
actorId: string;
|
|
5513
|
+
operationId: string;
|
|
5514
|
+
requestHash: string;
|
|
5515
|
+
model: {
|
|
5516
|
+
id: string;
|
|
5517
|
+
teamId: string;
|
|
5518
|
+
portableProjectId: string;
|
|
5519
|
+
name: string;
|
|
5520
|
+
objective: string | null;
|
|
5521
|
+
defaultBaseModel: {
|
|
5522
|
+
schemaVersion: "openpond.baseModelPreference.v1";
|
|
5523
|
+
modelId: string;
|
|
5524
|
+
revision: string | null;
|
|
5525
|
+
tokenizerRevision: string | null;
|
|
5526
|
+
chatTemplateHash: string | null;
|
|
5527
|
+
modelAssetId: string | null;
|
|
5528
|
+
source: "builtin" | "local" | "managed";
|
|
5529
|
+
} | null;
|
|
5530
|
+
defaultDestinationId: string | null;
|
|
5531
|
+
trainingSetup: {
|
|
5532
|
+
tasksetRef: {
|
|
5533
|
+
id: string;
|
|
5534
|
+
contentHash: string;
|
|
5535
|
+
revision: number;
|
|
5536
|
+
} | null;
|
|
5537
|
+
evaluationTasksetRef?: {
|
|
5538
|
+
id: string;
|
|
5539
|
+
contentHash: string;
|
|
5540
|
+
revision: number;
|
|
5541
|
+
} | null | undefined;
|
|
5542
|
+
profileSource?: {
|
|
5543
|
+
profileProjectId: string;
|
|
5544
|
+
sourceRevision: string;
|
|
5545
|
+
harnessRelease: {
|
|
5546
|
+
id: string;
|
|
5547
|
+
contentHash: string;
|
|
5548
|
+
};
|
|
5549
|
+
} | null | undefined;
|
|
5550
|
+
profileEvaluation?: {
|
|
5551
|
+
profileProjectId: string;
|
|
5552
|
+
sourceRevision: string;
|
|
5553
|
+
catalogHash: string;
|
|
5554
|
+
definitionId: string;
|
|
5555
|
+
harnessRelease: {
|
|
5556
|
+
id: string;
|
|
5557
|
+
contentHash: string;
|
|
5558
|
+
};
|
|
5559
|
+
tasksetRelease: {
|
|
5560
|
+
id: string;
|
|
5561
|
+
contentHash: string;
|
|
5562
|
+
};
|
|
5563
|
+
} | null | undefined;
|
|
5564
|
+
rewardBindingRef?: {
|
|
5565
|
+
id: string;
|
|
5566
|
+
contentHash: string;
|
|
5567
|
+
revision: number;
|
|
5568
|
+
} | null | undefined;
|
|
5569
|
+
tasksetRelease: {
|
|
5570
|
+
id: string;
|
|
5571
|
+
contentHash: string;
|
|
5572
|
+
} | null;
|
|
5573
|
+
harnessRelease: {
|
|
5574
|
+
id: string;
|
|
5575
|
+
contentHash: string;
|
|
5576
|
+
} | null;
|
|
5577
|
+
baseModel: {
|
|
5578
|
+
schemaVersion: "openpond.baseModelPreference.v1";
|
|
5579
|
+
modelId: string;
|
|
5580
|
+
revision: string | null;
|
|
5581
|
+
tokenizerRevision: string | null;
|
|
5582
|
+
chatTemplateHash: string | null;
|
|
5583
|
+
modelAssetId: string | null;
|
|
5584
|
+
source: "builtin" | "local" | "managed";
|
|
5585
|
+
} | null;
|
|
5586
|
+
method: "dpo" | "grpo" | "opd" | "opsd" | "ppo" | "sdft" | "sdpo" | "sft" | null;
|
|
5587
|
+
destinationId: string | null;
|
|
5588
|
+
managedRolloutPlacement: "local" | "remote";
|
|
5589
|
+
managedGpuPlacementObjective: "balanced" | "economical" | "fast";
|
|
5590
|
+
managedGpuSelection?: {
|
|
5591
|
+
mode: "automatic";
|
|
5592
|
+
objective: "balanced" | "economical" | "fast";
|
|
5593
|
+
gpuCount?: 1 | 2 | undefined;
|
|
5594
|
+
} | {
|
|
5595
|
+
mode: "manual";
|
|
5596
|
+
availabilityId: string;
|
|
5597
|
+
gpuType: string;
|
|
5598
|
+
gpuCount?: 1 | 2 | undefined;
|
|
5599
|
+
} | undefined;
|
|
5600
|
+
continuationAdapterMode?: "residual_append" | "sequential_merge" | "shared" | undefined;
|
|
5601
|
+
managedGpuRequirement: "any" | "h100_hbm3";
|
|
5602
|
+
runPreset: "custom" | "small" | "small_experiment" | "standard" | null;
|
|
5603
|
+
recipe: {
|
|
5604
|
+
[x: string]: unknown;
|
|
5605
|
+
schemaVersion: string;
|
|
5606
|
+
method: "dpo" | "grpo" | "opd" | "opsd" | "ppo" | "sdft" | "sdpo" | "sft";
|
|
5607
|
+
parameterization: "full" | "lora";
|
|
5608
|
+
} | null;
|
|
5609
|
+
preferredMaximumSpendUsd: number | null;
|
|
5610
|
+
preferredRetentionDays: number | null;
|
|
5611
|
+
};
|
|
5612
|
+
sourceRevision: number;
|
|
5613
|
+
sourceUpdatedAt: string;
|
|
5614
|
+
revision: number;
|
|
5615
|
+
etag: string;
|
|
5616
|
+
createdAt: string;
|
|
5617
|
+
updatedAt: string;
|
|
5618
|
+
};
|
|
5619
|
+
schemaVersion: "openpond.weightSpaceResultSaveReceipt.v1";
|
|
5620
|
+
version: {
|
|
5621
|
+
teamId: string;
|
|
5622
|
+
ownerUserId: string;
|
|
5623
|
+
modelProjectId: string;
|
|
5624
|
+
portableProjectId: string;
|
|
5625
|
+
baseModel: {
|
|
5626
|
+
schemaVersion: "openpond.baseModelPreference.v1";
|
|
3864
5627
|
modelId: string;
|
|
3865
|
-
revision: string;
|
|
3866
|
-
|
|
3867
|
-
|
|
3868
|
-
|
|
3869
|
-
|
|
3870
|
-
architecture: "dense_decoder";
|
|
3871
|
-
dtype: "bfloat16" | "float16" | "float32";
|
|
3872
|
-
quantization: "none";
|
|
3873
|
-
adapter: null;
|
|
3874
|
-
hiddenSize: number;
|
|
3875
|
-
intermediateSizes: number[];
|
|
5628
|
+
revision: string | null;
|
|
5629
|
+
tokenizerRevision: string | null;
|
|
5630
|
+
chatTemplateHash: string | null;
|
|
5631
|
+
modelAssetId: string | null;
|
|
5632
|
+
source: "builtin" | "local" | "managed";
|
|
3876
5633
|
};
|
|
3877
|
-
|
|
3878
|
-
|
|
3879
|
-
|
|
3880
|
-
|
|
3881
|
-
|
|
3882
|
-
|
|
3883
|
-
|
|
3884
|
-
|
|
3885
|
-
|
|
5634
|
+
source: {
|
|
5635
|
+
executionId: string;
|
|
5636
|
+
inputHash: string;
|
|
5637
|
+
runtimeHash: string;
|
|
5638
|
+
resultHash: string;
|
|
5639
|
+
};
|
|
5640
|
+
createdAt: string;
|
|
5641
|
+
schemaVersion: "openpond.weightSpaceModelVersion.v1";
|
|
5642
|
+
request: {
|
|
5643
|
+
schemaVersion: "openpond.weightSpaceRequest.v1";
|
|
5644
|
+
model: {
|
|
5645
|
+
schemaVersion: "openpond.neuronSteeringModel.v1";
|
|
5646
|
+
modelId: string;
|
|
5647
|
+
revision: string;
|
|
5648
|
+
configHash: string;
|
|
5649
|
+
weightsHash: string;
|
|
5650
|
+
tokenizerHash: string;
|
|
5651
|
+
weightIdentity: "torch_state_dict_sha256_v1";
|
|
5652
|
+
architecture: "dense_decoder";
|
|
5653
|
+
dtype: "bfloat16" | "float16" | "float32";
|
|
5654
|
+
quantization: "none";
|
|
5655
|
+
adapter: null;
|
|
5656
|
+
hiddenSize: number;
|
|
5657
|
+
intermediateSizes: number[];
|
|
3886
5658
|
};
|
|
3887
|
-
|
|
3888
|
-
|
|
5659
|
+
teacher: {
|
|
5660
|
+
controller: "local_agent";
|
|
5661
|
+
providerId: string;
|
|
5662
|
+
modelId: string;
|
|
5663
|
+
sessionId: string;
|
|
5664
|
+
};
|
|
5665
|
+
objective: string;
|
|
5666
|
+
panels: {
|
|
5667
|
+
id: string;
|
|
5668
|
+
source: {
|
|
3889
5669
|
id: string;
|
|
3890
5670
|
contentHash: string;
|
|
3891
5671
|
revision: number;
|
|
3892
|
-
};
|
|
3893
|
-
|
|
3894
|
-
|
|
3895
|
-
domain: string;
|
|
3896
|
-
}[];
|
|
3897
|
-
preservation: {
|
|
3898
|
-
batch: {
|
|
5672
|
+
} | null;
|
|
5673
|
+
role: "development" | "preservation";
|
|
5674
|
+
prompts: {
|
|
3899
5675
|
id: string;
|
|
3900
|
-
|
|
3901
|
-
|
|
3902
|
-
};
|
|
3903
|
-
|
|
3904
|
-
|
|
5676
|
+
text: string;
|
|
5677
|
+
system?: string | undefined;
|
|
5678
|
+
}[];
|
|
5679
|
+
}[];
|
|
5680
|
+
frozenEvaluation: {
|
|
5681
|
+
id: string;
|
|
5682
|
+
contentHash: string;
|
|
5683
|
+
revision: number;
|
|
3905
5684
|
} | null;
|
|
5685
|
+
generation: {
|
|
5686
|
+
maxOutputTokens: number;
|
|
5687
|
+
seed: number;
|
|
5688
|
+
sampling: "greedy_v1";
|
|
5689
|
+
};
|
|
5690
|
+
limits: {
|
|
5691
|
+
maximumDurationSeconds: number;
|
|
5692
|
+
maximumIdleSeconds: number;
|
|
5693
|
+
maximumCommands: number;
|
|
5694
|
+
maximumCandidates: number;
|
|
5695
|
+
maximumPatchColumns: number;
|
|
5696
|
+
maximumTensorElements: number;
|
|
5697
|
+
maximumReturnedValues: number;
|
|
5698
|
+
maximumArithmeticWork: number;
|
|
5699
|
+
maximumForwardTokenWork: number;
|
|
5700
|
+
maximumCheckpointBytes: number;
|
|
5701
|
+
};
|
|
3906
5702
|
};
|
|
3907
|
-
|
|
3908
|
-
count: number;
|
|
3909
|
-
span: "prompt" | "reply_prediction" | "reply_start";
|
|
3910
|
-
backgroundStatistic: "max_domains" | "mean_domains";
|
|
3911
|
-
maximumBackgroundTargetRatio: number;
|
|
3912
|
-
gradientExamples: number;
|
|
3913
|
-
explicitCoordinates: {
|
|
3914
|
-
layer: number;
|
|
3915
|
-
neuron: number;
|
|
3916
|
-
}[] | null;
|
|
3917
|
-
};
|
|
3918
|
-
training: {
|
|
3919
|
-
learningRate: number;
|
|
3920
|
-
maxSteps: number;
|
|
3921
|
-
gradientAccumulationSteps: number;
|
|
3922
|
-
maxSequenceLength: number;
|
|
3923
|
-
preservationWeight: number;
|
|
3924
|
-
preservationExamplesPerStep: number;
|
|
3925
|
-
seed: number;
|
|
3926
|
-
maxDurationSeconds: number;
|
|
3927
|
-
maxCheckpointBytes: number;
|
|
3928
|
-
maximumForwardTokenWork: number;
|
|
3929
|
-
};
|
|
3930
|
-
parentArtifact: {
|
|
5703
|
+
artifact: {
|
|
3931
5704
|
id: string;
|
|
3932
5705
|
contentHash: string;
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
|
-
|
|
3938
|
-
artifact: {
|
|
3939
|
-
id: string;
|
|
3940
|
-
contentHash: string;
|
|
3941
|
-
manifest: {
|
|
3942
|
-
schemaVersion: "openpond.neuronTrainingArtifact.v1";
|
|
3943
|
-
method: "selective_neuron_training";
|
|
3944
|
-
algorithm: {
|
|
3945
|
-
implementation: "openpond_qwen3_selective_columns_v1";
|
|
3946
|
-
upstream: "changjonathanc/neuron-tuning";
|
|
3947
|
-
revision: "8a55f3159f735eb0823d7a894f67f632bf568bb3";
|
|
3948
|
-
license: "Apache-2.0";
|
|
3949
|
-
hook: "mlp.down_proj";
|
|
3950
|
-
operation: "output_plus_selected_input_times_delta_v1";
|
|
3951
|
-
parameterization: "column_gain_rms_direction_v1";
|
|
3952
|
-
activityQuantile: 0.9;
|
|
3953
|
-
backgroundFloor: 0.000001;
|
|
3954
|
-
gradientSubsetSeed: 0;
|
|
3955
|
-
optimizer: "Adam";
|
|
3956
|
-
betas: [0.9, 0.999];
|
|
3957
|
-
epsilon: 1e-8;
|
|
3958
|
-
weightDecay: 0;
|
|
3959
|
-
gradientClipNorm: 1;
|
|
3960
|
-
batchSize: 1;
|
|
3961
|
-
parameterDtype: "float32";
|
|
3962
|
-
resume: "unsupported";
|
|
3963
|
-
};
|
|
3964
|
-
pins: {
|
|
3965
|
-
baseModel: {
|
|
5706
|
+
manifest: {
|
|
5707
|
+
schemaVersion: "openpond.weightSpaceArtifact.v1";
|
|
5708
|
+
method: "weight_space_programming";
|
|
5709
|
+
representation: "exact_bf16_mlp_column_replacements_v1";
|
|
5710
|
+
model: {
|
|
3966
5711
|
schemaVersion: "openpond.neuronSteeringModel.v1";
|
|
3967
5712
|
modelId: string;
|
|
3968
5713
|
revision: string;
|
|
@@ -3977,105 +5722,51 @@ export declare function parseAndVerifyNeuronTrainingResultSaveReceipt(raw: unkno
|
|
|
3977
5722
|
hiddenSize: number;
|
|
3978
5723
|
intermediateSizes: number[];
|
|
3979
5724
|
};
|
|
3980
|
-
|
|
3981
|
-
data: {
|
|
3982
|
-
target: {
|
|
3983
|
-
batch: {
|
|
3984
|
-
id: string;
|
|
3985
|
-
contentHash: string;
|
|
3986
|
-
revision: number;
|
|
3987
|
-
};
|
|
3988
|
-
examplesSha256: string;
|
|
3989
|
-
encodingHash: string;
|
|
3990
|
-
};
|
|
3991
|
-
background: {
|
|
3992
|
-
batch: {
|
|
3993
|
-
id: string;
|
|
3994
|
-
contentHash: string;
|
|
3995
|
-
revision: number;
|
|
3996
|
-
};
|
|
3997
|
-
examplesSha256: string;
|
|
3998
|
-
encodingHash: string;
|
|
3999
|
-
domain: string;
|
|
4000
|
-
}[];
|
|
4001
|
-
preservation: {
|
|
4002
|
-
batch: {
|
|
4003
|
-
id: string;
|
|
4004
|
-
contentHash: string;
|
|
4005
|
-
revision: number;
|
|
4006
|
-
};
|
|
4007
|
-
examplesSha256: string;
|
|
4008
|
-
encodingHash: string;
|
|
4009
|
-
} | null;
|
|
4010
|
-
};
|
|
4011
|
-
dataHash: string;
|
|
4012
|
-
selectionConfigHash: string;
|
|
4013
|
-
trainingConfigHash: string;
|
|
5725
|
+
requestHash: string;
|
|
4014
5726
|
runtimeHash: string;
|
|
4015
|
-
|
|
4016
|
-
|
|
4017
|
-
|
|
4018
|
-
|
|
4019
|
-
|
|
4020
|
-
|
|
4021
|
-
|
|
4022
|
-
|
|
4023
|
-
|
|
4024
|
-
targetExampleIds: string[];
|
|
4025
|
-
eligibleCount: number;
|
|
4026
|
-
entries: {
|
|
5727
|
+
candidateHash: string;
|
|
5728
|
+
teacher: {
|
|
5729
|
+
controller: "local_agent";
|
|
5730
|
+
providerId: string;
|
|
5731
|
+
modelId: string;
|
|
5732
|
+
sessionId: string;
|
|
5733
|
+
};
|
|
5734
|
+
historyHash: string;
|
|
5735
|
+
columns: {
|
|
4027
5736
|
layer: number;
|
|
4028
|
-
|
|
4029
|
-
targetMeanAbsolute: number;
|
|
4030
|
-
backgroundMeanAbsolute: number;
|
|
4031
|
-
backgroundTargetRatio: number;
|
|
4032
|
-
gradientNorm: number;
|
|
4033
|
-
score: number;
|
|
4034
|
-
targetActivityThreshold: number;
|
|
4035
|
-
backgroundByDomain: {
|
|
4036
|
-
domainIndex: number;
|
|
4037
|
-
meanAbsolute: number;
|
|
4038
|
-
}[];
|
|
5737
|
+
columns: number[];
|
|
4039
5738
|
}[];
|
|
5739
|
+
columnHashes: string[];
|
|
5740
|
+
payload: {
|
|
5741
|
+
path: "patch.safetensors";
|
|
5742
|
+
sha256: string;
|
|
5743
|
+
sizeBytes: number;
|
|
5744
|
+
tensors: {
|
|
5745
|
+
name: string;
|
|
5746
|
+
dtype: "BF16" | "I64";
|
|
5747
|
+
shape: number[];
|
|
5748
|
+
}[];
|
|
5749
|
+
};
|
|
5750
|
+
reload: {
|
|
5751
|
+
effectiveColumnsHash: string;
|
|
5752
|
+
reloadedColumnsHash: string;
|
|
5753
|
+
untouchedWeightsHashBefore: string;
|
|
5754
|
+
untouchedWeightsHashAfter: string;
|
|
5755
|
+
equivalent: true;
|
|
5756
|
+
};
|
|
4040
5757
|
contentHash: string;
|
|
4041
5758
|
};
|
|
4042
|
-
|
|
4043
|
-
|
|
4044
|
-
|
|
4045
|
-
parameterAnchor: "original_dense_base_columns_v1";
|
|
4046
|
-
parentArtifactHash: string;
|
|
4047
|
-
parentSelectionHash: string;
|
|
4048
|
-
parentPayloadSha256: string;
|
|
4049
|
-
parentPatchStateSha256: string;
|
|
4050
|
-
initialPatchStateSha256: string;
|
|
4051
|
-
finalPatchStateSha256: string;
|
|
4052
|
-
installedBeforeOptimizer: true;
|
|
4053
|
-
optimizerState: "fresh";
|
|
4054
|
-
} | undefined;
|
|
4055
|
-
payload: {
|
|
4056
|
-
path: "patch.safetensors";
|
|
5759
|
+
files: {
|
|
5760
|
+
path: "manifest.json" | "patch.safetensors";
|
|
5761
|
+
artifactId: string;
|
|
4057
5762
|
sha256: string;
|
|
4058
5763
|
sizeBytes: number;
|
|
4059
|
-
|
|
4060
|
-
name: string;
|
|
4061
|
-
dtype: "F32" | "I64";
|
|
4062
|
-
shape: number[];
|
|
4063
|
-
}[];
|
|
4064
|
-
};
|
|
4065
|
-
contentHash: string;
|
|
5764
|
+
}[];
|
|
4066
5765
|
};
|
|
4067
|
-
|
|
4068
|
-
path: "manifest.json" | "patch.safetensors";
|
|
4069
|
-
artifactId: string;
|
|
4070
|
-
sha256: string;
|
|
4071
|
-
sizeBytes: number;
|
|
4072
|
-
}[];
|
|
5766
|
+
contentHash: string;
|
|
4073
5767
|
};
|
|
4074
5768
|
contentHash: string;
|
|
4075
|
-
}
|
|
4076
|
-
contentHash: string;
|
|
4077
|
-
}>;
|
|
4078
|
-
export declare function createWeightModelClient(request: (path: string, init?: RequestInit) => Promise<unknown>): {
|
|
5769
|
+
}>;
|
|
4079
5770
|
saveAlphaEditResultModel(raw: AlphaEditResultSaveRequest): Promise<{
|
|
4080
5771
|
teamId: string;
|
|
4081
5772
|
actorId: string;
|