modelparams 0.0.4__tar.gz → 0.0.6__tar.gz
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.
Potentially problematic release.
This version of modelparams might be problematic. Click here for more details.
- {modelparams-0.0.4 → modelparams-0.0.6}/PKG-INFO +1 -1
- {modelparams-0.0.4 → modelparams-0.0.6}/pyproject.toml +1 -1
- {modelparams-0.0.4 → modelparams-0.0.6}/src/modelparams/_generated/catalog.json +256 -0
- {modelparams-0.0.4 → modelparams-0.0.6}/src/modelparams/_generated/model_ids.py +4 -0
- {modelparams-0.0.4 → modelparams-0.0.6}/src/modelparams/_generated/registry.py +2 -0
- {modelparams-0.0.4 → modelparams-0.0.6}/src/modelparams/types/meta.py +36 -0
- {modelparams-0.0.4 → modelparams-0.0.6}/.gitignore +0 -0
- {modelparams-0.0.4 → modelparams-0.0.6}/LICENSE +0 -0
- {modelparams-0.0.4 → modelparams-0.0.6}/README.md +0 -0
- {modelparams-0.0.4 → modelparams-0.0.6}/src/modelparams/__init__.py +0 -0
- {modelparams-0.0.4 → modelparams-0.0.6}/src/modelparams/_generated/__init__.py +0 -0
- {modelparams-0.0.4 → modelparams-0.0.6}/src/modelparams/catalog.py +0 -0
- {modelparams-0.0.4 → modelparams-0.0.6}/src/modelparams/models.py +0 -0
- {modelparams-0.0.4 → modelparams-0.0.6}/src/modelparams/py.typed +0 -0
- {modelparams-0.0.4 → modelparams-0.0.6}/src/modelparams/types/__init__.py +0 -0
- {modelparams-0.0.4 → modelparams-0.0.6}/src/modelparams/types/alibaba.py +0 -0
- {modelparams-0.0.4 → modelparams-0.0.6}/src/modelparams/types/anthropic.py +0 -0
- {modelparams-0.0.4 → modelparams-0.0.6}/src/modelparams/types/cerebras.py +0 -0
- {modelparams-0.0.4 → modelparams-0.0.6}/src/modelparams/types/cohere.py +0 -0
- {modelparams-0.0.4 → modelparams-0.0.6}/src/modelparams/types/deepseek.py +0 -0
- {modelparams-0.0.4 → modelparams-0.0.6}/src/modelparams/types/google.py +0 -0
- {modelparams-0.0.4 → modelparams-0.0.6}/src/modelparams/types/groq.py +0 -0
- {modelparams-0.0.4 → modelparams-0.0.6}/src/modelparams/types/minimax.py +0 -0
- {modelparams-0.0.4 → modelparams-0.0.6}/src/modelparams/types/mistral.py +0 -0
- {modelparams-0.0.4 → modelparams-0.0.6}/src/modelparams/types/moonshot.py +0 -0
- {modelparams-0.0.4 → modelparams-0.0.6}/src/modelparams/types/nvidia.py +0 -0
- {modelparams-0.0.4 → modelparams-0.0.6}/src/modelparams/types/openai.py +0 -0
- {modelparams-0.0.4 → modelparams-0.0.6}/src/modelparams/types/perplexity.py +0 -0
- {modelparams-0.0.4 → modelparams-0.0.6}/src/modelparams/types/thinking_machines.py +0 -0
- {modelparams-0.0.4 → modelparams-0.0.6}/src/modelparams/types/xai.py +0 -0
- {modelparams-0.0.4 → modelparams-0.0.6}/src/modelparams/types/xiaomi.py +0 -0
- {modelparams-0.0.4 → modelparams-0.0.6}/src/modelparams/types/z_ai.py +0 -0
- {modelparams-0.0.4 → modelparams-0.0.6}/src/modelparams/validation.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: modelparams
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.6
|
|
4
4
|
Summary: Typed model parameters for Python, generated from the modelparams.dev catalog.
|
|
5
5
|
Project-URL: Homepage, https://modelparams.dev
|
|
6
6
|
Project-URL: Repository, https://github.com/mnfst/modelparameters.dev
|
|
@@ -9053,6 +9053,262 @@
|
|
|
9053
9053
|
}
|
|
9054
9054
|
]
|
|
9055
9055
|
},
|
|
9056
|
+
{
|
|
9057
|
+
"provider": "meta",
|
|
9058
|
+
"authType": "api_key",
|
|
9059
|
+
"model": "muse-spark-1.1",
|
|
9060
|
+
"params": [
|
|
9061
|
+
{
|
|
9062
|
+
"path": "max_completion_tokens",
|
|
9063
|
+
"label": "Max tokens",
|
|
9064
|
+
"description": "Maximum number of output tokens the model may generate.",
|
|
9065
|
+
"group": "generation_length",
|
|
9066
|
+
"type": "integer",
|
|
9067
|
+
"range": {
|
|
9068
|
+
"min": 1
|
|
9069
|
+
}
|
|
9070
|
+
},
|
|
9071
|
+
{
|
|
9072
|
+
"path": "reasoning_effort",
|
|
9073
|
+
"label": "Reasoning effort",
|
|
9074
|
+
"description": "Controls how much reasoning the model should perform before producing an answer.",
|
|
9075
|
+
"group": "reasoning",
|
|
9076
|
+
"type": "enum",
|
|
9077
|
+
"values": [
|
|
9078
|
+
"minimal",
|
|
9079
|
+
"low",
|
|
9080
|
+
"medium",
|
|
9081
|
+
"high",
|
|
9082
|
+
"xhigh"
|
|
9083
|
+
]
|
|
9084
|
+
},
|
|
9085
|
+
{
|
|
9086
|
+
"path": "temperature",
|
|
9087
|
+
"label": "Temperature",
|
|
9088
|
+
"description": "Controls randomness; use this or Top P, but not both.",
|
|
9089
|
+
"group": "sampling",
|
|
9090
|
+
"applicability": {
|
|
9091
|
+
"except": {
|
|
9092
|
+
"top_p": {
|
|
9093
|
+
"not": 1
|
|
9094
|
+
}
|
|
9095
|
+
}
|
|
9096
|
+
},
|
|
9097
|
+
"type": "number",
|
|
9098
|
+
"default": 1,
|
|
9099
|
+
"range": {
|
|
9100
|
+
"min": 0,
|
|
9101
|
+
"max": 2,
|
|
9102
|
+
"step": 0.1
|
|
9103
|
+
}
|
|
9104
|
+
},
|
|
9105
|
+
{
|
|
9106
|
+
"path": "top_p",
|
|
9107
|
+
"label": "Top P",
|
|
9108
|
+
"description": "Controls nucleus sampling; use this or Temperature, but not both.",
|
|
9109
|
+
"group": "sampling",
|
|
9110
|
+
"applicability": {
|
|
9111
|
+
"except": {
|
|
9112
|
+
"temperature": {
|
|
9113
|
+
"not": 1
|
|
9114
|
+
}
|
|
9115
|
+
}
|
|
9116
|
+
},
|
|
9117
|
+
"type": "number",
|
|
9118
|
+
"default": 1,
|
|
9119
|
+
"range": {
|
|
9120
|
+
"min": 0.01,
|
|
9121
|
+
"max": 1,
|
|
9122
|
+
"step": 0.01
|
|
9123
|
+
}
|
|
9124
|
+
},
|
|
9125
|
+
{
|
|
9126
|
+
"path": "frequency_penalty",
|
|
9127
|
+
"label": "Frequency penalty",
|
|
9128
|
+
"description": "Penalizes tokens in proportion to how often they have appeared, reducing repetition.",
|
|
9129
|
+
"group": "sampling",
|
|
9130
|
+
"type": "number",
|
|
9131
|
+
"default": 0,
|
|
9132
|
+
"range": {
|
|
9133
|
+
"min": -2,
|
|
9134
|
+
"max": 2,
|
|
9135
|
+
"step": 0.1
|
|
9136
|
+
}
|
|
9137
|
+
},
|
|
9138
|
+
{
|
|
9139
|
+
"path": "presence_penalty",
|
|
9140
|
+
"label": "Presence penalty",
|
|
9141
|
+
"description": "Penalizes tokens that have already appeared, encouraging new topics.",
|
|
9142
|
+
"group": "sampling",
|
|
9143
|
+
"type": "number",
|
|
9144
|
+
"default": 0,
|
|
9145
|
+
"range": {
|
|
9146
|
+
"min": -2,
|
|
9147
|
+
"max": 2,
|
|
9148
|
+
"step": 0.1
|
|
9149
|
+
}
|
|
9150
|
+
},
|
|
9151
|
+
{
|
|
9152
|
+
"path": "seed",
|
|
9153
|
+
"label": "Random seed",
|
|
9154
|
+
"description": "Requests best-effort deterministic sampling for repeated requests.",
|
|
9155
|
+
"group": "sampling",
|
|
9156
|
+
"type": "integer"
|
|
9157
|
+
},
|
|
9158
|
+
{
|
|
9159
|
+
"path": "response_format.type",
|
|
9160
|
+
"label": "Response format",
|
|
9161
|
+
"description": "Controls whether the model returns text, JSON, or schema-constrained JSON.",
|
|
9162
|
+
"group": "output_format",
|
|
9163
|
+
"type": "enum",
|
|
9164
|
+
"default": "text",
|
|
9165
|
+
"values": [
|
|
9166
|
+
"text",
|
|
9167
|
+
"json_object",
|
|
9168
|
+
"json_schema"
|
|
9169
|
+
]
|
|
9170
|
+
},
|
|
9171
|
+
{
|
|
9172
|
+
"path": "prompt_cache_retention",
|
|
9173
|
+
"label": "Prompt cache retention",
|
|
9174
|
+
"description": "Controls whether the prompt cache stays in memory or persists for up to 24 hours.",
|
|
9175
|
+
"group": "provider_metadata",
|
|
9176
|
+
"type": "enum",
|
|
9177
|
+
"values": [
|
|
9178
|
+
"in_memory",
|
|
9179
|
+
"24h"
|
|
9180
|
+
]
|
|
9181
|
+
}
|
|
9182
|
+
]
|
|
9183
|
+
},
|
|
9184
|
+
{
|
|
9185
|
+
"provider": "meta",
|
|
9186
|
+
"authType": "api_key",
|
|
9187
|
+
"model": "muse-spark-1.2-contributor",
|
|
9188
|
+
"params": [
|
|
9189
|
+
{
|
|
9190
|
+
"path": "max_completion_tokens",
|
|
9191
|
+
"label": "Max tokens",
|
|
9192
|
+
"description": "Maximum number of output tokens the model may generate.",
|
|
9193
|
+
"group": "generation_length",
|
|
9194
|
+
"type": "integer",
|
|
9195
|
+
"range": {
|
|
9196
|
+
"min": 1
|
|
9197
|
+
}
|
|
9198
|
+
},
|
|
9199
|
+
{
|
|
9200
|
+
"path": "reasoning_effort",
|
|
9201
|
+
"label": "Reasoning effort",
|
|
9202
|
+
"description": "Controls how much reasoning the model should perform before producing an answer.",
|
|
9203
|
+
"group": "reasoning",
|
|
9204
|
+
"type": "enum",
|
|
9205
|
+
"values": [
|
|
9206
|
+
"minimal",
|
|
9207
|
+
"low",
|
|
9208
|
+
"medium",
|
|
9209
|
+
"high",
|
|
9210
|
+
"xhigh"
|
|
9211
|
+
]
|
|
9212
|
+
},
|
|
9213
|
+
{
|
|
9214
|
+
"path": "temperature",
|
|
9215
|
+
"label": "Temperature",
|
|
9216
|
+
"description": "Controls randomness; use this or Top P, but not both.",
|
|
9217
|
+
"group": "sampling",
|
|
9218
|
+
"applicability": {
|
|
9219
|
+
"except": {
|
|
9220
|
+
"top_p": {
|
|
9221
|
+
"not": 1
|
|
9222
|
+
}
|
|
9223
|
+
}
|
|
9224
|
+
},
|
|
9225
|
+
"type": "number",
|
|
9226
|
+
"default": 1,
|
|
9227
|
+
"range": {
|
|
9228
|
+
"min": 0,
|
|
9229
|
+
"max": 2,
|
|
9230
|
+
"step": 0.1
|
|
9231
|
+
}
|
|
9232
|
+
},
|
|
9233
|
+
{
|
|
9234
|
+
"path": "top_p",
|
|
9235
|
+
"label": "Top P",
|
|
9236
|
+
"description": "Controls nucleus sampling; use this or Temperature, but not both.",
|
|
9237
|
+
"group": "sampling",
|
|
9238
|
+
"applicability": {
|
|
9239
|
+
"except": {
|
|
9240
|
+
"temperature": {
|
|
9241
|
+
"not": 1
|
|
9242
|
+
}
|
|
9243
|
+
}
|
|
9244
|
+
},
|
|
9245
|
+
"type": "number",
|
|
9246
|
+
"default": 1,
|
|
9247
|
+
"range": {
|
|
9248
|
+
"min": 0.01,
|
|
9249
|
+
"max": 1,
|
|
9250
|
+
"step": 0.01
|
|
9251
|
+
}
|
|
9252
|
+
},
|
|
9253
|
+
{
|
|
9254
|
+
"path": "frequency_penalty",
|
|
9255
|
+
"label": "Frequency penalty",
|
|
9256
|
+
"description": "Penalizes tokens in proportion to how often they have appeared, reducing repetition.",
|
|
9257
|
+
"group": "sampling",
|
|
9258
|
+
"type": "number",
|
|
9259
|
+
"default": 0,
|
|
9260
|
+
"range": {
|
|
9261
|
+
"min": -2,
|
|
9262
|
+
"max": 2,
|
|
9263
|
+
"step": 0.1
|
|
9264
|
+
}
|
|
9265
|
+
},
|
|
9266
|
+
{
|
|
9267
|
+
"path": "presence_penalty",
|
|
9268
|
+
"label": "Presence penalty",
|
|
9269
|
+
"description": "Penalizes tokens that have already appeared, encouraging new topics.",
|
|
9270
|
+
"group": "sampling",
|
|
9271
|
+
"type": "number",
|
|
9272
|
+
"default": 0,
|
|
9273
|
+
"range": {
|
|
9274
|
+
"min": -2,
|
|
9275
|
+
"max": 2,
|
|
9276
|
+
"step": 0.1
|
|
9277
|
+
}
|
|
9278
|
+
},
|
|
9279
|
+
{
|
|
9280
|
+
"path": "seed",
|
|
9281
|
+
"label": "Random seed",
|
|
9282
|
+
"description": "Requests best-effort deterministic sampling for repeated requests.",
|
|
9283
|
+
"group": "sampling",
|
|
9284
|
+
"type": "integer"
|
|
9285
|
+
},
|
|
9286
|
+
{
|
|
9287
|
+
"path": "response_format.type",
|
|
9288
|
+
"label": "Response format",
|
|
9289
|
+
"description": "Controls whether the model returns text, JSON, or schema-constrained JSON.",
|
|
9290
|
+
"group": "output_format",
|
|
9291
|
+
"type": "enum",
|
|
9292
|
+
"default": "text",
|
|
9293
|
+
"values": [
|
|
9294
|
+
"text",
|
|
9295
|
+
"json_object",
|
|
9296
|
+
"json_schema"
|
|
9297
|
+
]
|
|
9298
|
+
},
|
|
9299
|
+
{
|
|
9300
|
+
"path": "prompt_cache_retention",
|
|
9301
|
+
"label": "Prompt cache retention",
|
|
9302
|
+
"description": "Controls whether the prompt cache stays in memory or persists for up to 24 hours.",
|
|
9303
|
+
"group": "provider_metadata",
|
|
9304
|
+
"type": "enum",
|
|
9305
|
+
"values": [
|
|
9306
|
+
"in_memory",
|
|
9307
|
+
"24h"
|
|
9308
|
+
]
|
|
9309
|
+
}
|
|
9310
|
+
]
|
|
9311
|
+
},
|
|
9056
9312
|
{
|
|
9057
9313
|
"provider": "minimax",
|
|
9058
9314
|
"authType": "api_key",
|
|
@@ -99,6 +99,8 @@ ModelId = Literal[
|
|
|
99
99
|
"meta/Llama-3.3-8B-Instruct",
|
|
100
100
|
"meta/Llama-4-Maverick-17B-128E-Instruct-FP8",
|
|
101
101
|
"meta/Llama-4-Scout-17B-16E-Instruct-FP8",
|
|
102
|
+
"meta/muse-spark-1.1",
|
|
103
|
+
"meta/muse-spark-1.2-contributor",
|
|
102
104
|
"minimax/minimax-m2",
|
|
103
105
|
"minimax/MiniMax-M2-subscription",
|
|
104
106
|
"minimax/minimax-m2.1",
|
|
@@ -346,6 +348,8 @@ MODEL_IDS: tuple[ModelId, ...] = (
|
|
|
346
348
|
"meta/Llama-3.3-8B-Instruct",
|
|
347
349
|
"meta/Llama-4-Maverick-17B-128E-Instruct-FP8",
|
|
348
350
|
"meta/Llama-4-Scout-17B-16E-Instruct-FP8",
|
|
351
|
+
"meta/muse-spark-1.1",
|
|
352
|
+
"meta/muse-spark-1.2-contributor",
|
|
349
353
|
"minimax/minimax-m2",
|
|
350
354
|
"minimax/MiniMax-M2-subscription",
|
|
351
355
|
"minimax/minimax-m2.1",
|
|
@@ -120,6 +120,8 @@ PARAM_TYPES: dict[ModelId, Any] = {
|
|
|
120
120
|
"meta/Llama-3.3-8B-Instruct": meta.Llama_3_3_8b_InstructParams,
|
|
121
121
|
"meta/Llama-4-Maverick-17B-128E-Instruct-FP8": meta.Llama_4_Maverick_17b_128e_Instruct_Fp8Params,
|
|
122
122
|
"meta/Llama-4-Scout-17B-16E-Instruct-FP8": meta.Llama_4_Scout_17b_16e_Instruct_Fp8Params,
|
|
123
|
+
"meta/muse-spark-1.1": meta.Muse_Spark_1_1Params,
|
|
124
|
+
"meta/muse-spark-1.2-contributor": meta.Muse_Spark_1_2_ContributorParams,
|
|
123
125
|
"minimax/minimax-m2": minimax.Minimax_M2Params,
|
|
124
126
|
"minimax/MiniMax-M2-subscription": minimax.Minimax_M2_SubscriptionParams,
|
|
125
127
|
"minimax/minimax-m2.1": minimax.Minimax_M2_1Params,
|
|
@@ -70,9 +70,45 @@ Llama_4_Scout_17b_16e_Instruct_Fp8Params = TypedDict(
|
|
|
70
70
|
)
|
|
71
71
|
setattr(Llama_4_Scout_17b_16e_Instruct_Fp8Params, "__pydantic_config__", _PARAMS_CONFIG)
|
|
72
72
|
|
|
73
|
+
Muse_Spark_1_1Params = TypedDict(
|
|
74
|
+
"Muse_Spark_1_1Params",
|
|
75
|
+
{
|
|
76
|
+
"max_completion_tokens": Annotated[int, Field(ge=1)],
|
|
77
|
+
"reasoning_effort": Literal["minimal", "low", "medium", "high", "xhigh"],
|
|
78
|
+
"temperature": Annotated[float, Field(ge=0, le=2)],
|
|
79
|
+
"top_p": Annotated[float, Field(ge=0.01, le=1)],
|
|
80
|
+
"frequency_penalty": Annotated[float, Field(ge=-2, le=2)],
|
|
81
|
+
"presence_penalty": Annotated[float, Field(ge=-2, le=2)],
|
|
82
|
+
"seed": int,
|
|
83
|
+
"response_format.type": Literal["text", "json_object", "json_schema"],
|
|
84
|
+
"prompt_cache_retention": Literal["in_memory", "24h"],
|
|
85
|
+
},
|
|
86
|
+
total=False,
|
|
87
|
+
)
|
|
88
|
+
setattr(Muse_Spark_1_1Params, "__pydantic_config__", _PARAMS_CONFIG)
|
|
89
|
+
|
|
90
|
+
Muse_Spark_1_2_ContributorParams = TypedDict(
|
|
91
|
+
"Muse_Spark_1_2_ContributorParams",
|
|
92
|
+
{
|
|
93
|
+
"max_completion_tokens": Annotated[int, Field(ge=1)],
|
|
94
|
+
"reasoning_effort": Literal["minimal", "low", "medium", "high", "xhigh"],
|
|
95
|
+
"temperature": Annotated[float, Field(ge=0, le=2)],
|
|
96
|
+
"top_p": Annotated[float, Field(ge=0.01, le=1)],
|
|
97
|
+
"frequency_penalty": Annotated[float, Field(ge=-2, le=2)],
|
|
98
|
+
"presence_penalty": Annotated[float, Field(ge=-2, le=2)],
|
|
99
|
+
"seed": int,
|
|
100
|
+
"response_format.type": Literal["text", "json_object", "json_schema"],
|
|
101
|
+
"prompt_cache_retention": Literal["in_memory", "24h"],
|
|
102
|
+
},
|
|
103
|
+
total=False,
|
|
104
|
+
)
|
|
105
|
+
setattr(Muse_Spark_1_2_ContributorParams, "__pydantic_config__", _PARAMS_CONFIG)
|
|
106
|
+
|
|
73
107
|
__all__ = [
|
|
74
108
|
"Llama_3_3_70b_InstructParams",
|
|
75
109
|
"Llama_3_3_8b_InstructParams",
|
|
76
110
|
"Llama_4_Maverick_17b_128e_Instruct_Fp8Params",
|
|
77
111
|
"Llama_4_Scout_17b_16e_Instruct_Fp8Params",
|
|
112
|
+
"Muse_Spark_1_1Params",
|
|
113
|
+
"Muse_Spark_1_2_ContributorParams",
|
|
78
114
|
]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|