modelparams 0.0.4__tar.gz → 0.0.5__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.5}/PKG-INFO +1 -1
- {modelparams-0.0.4 → modelparams-0.0.5}/pyproject.toml +1 -1
- {modelparams-0.0.4 → modelparams-0.0.5}/src/modelparams/_generated/catalog.json +128 -0
- {modelparams-0.0.4 → modelparams-0.0.5}/src/modelparams/_generated/model_ids.py +2 -0
- {modelparams-0.0.4 → modelparams-0.0.5}/src/modelparams/_generated/registry.py +1 -0
- {modelparams-0.0.4 → modelparams-0.0.5}/src/modelparams/types/meta.py +18 -0
- {modelparams-0.0.4 → modelparams-0.0.5}/.gitignore +0 -0
- {modelparams-0.0.4 → modelparams-0.0.5}/LICENSE +0 -0
- {modelparams-0.0.4 → modelparams-0.0.5}/README.md +0 -0
- {modelparams-0.0.4 → modelparams-0.0.5}/src/modelparams/__init__.py +0 -0
- {modelparams-0.0.4 → modelparams-0.0.5}/src/modelparams/_generated/__init__.py +0 -0
- {modelparams-0.0.4 → modelparams-0.0.5}/src/modelparams/catalog.py +0 -0
- {modelparams-0.0.4 → modelparams-0.0.5}/src/modelparams/models.py +0 -0
- {modelparams-0.0.4 → modelparams-0.0.5}/src/modelparams/py.typed +0 -0
- {modelparams-0.0.4 → modelparams-0.0.5}/src/modelparams/types/__init__.py +0 -0
- {modelparams-0.0.4 → modelparams-0.0.5}/src/modelparams/types/alibaba.py +0 -0
- {modelparams-0.0.4 → modelparams-0.0.5}/src/modelparams/types/anthropic.py +0 -0
- {modelparams-0.0.4 → modelparams-0.0.5}/src/modelparams/types/cerebras.py +0 -0
- {modelparams-0.0.4 → modelparams-0.0.5}/src/modelparams/types/cohere.py +0 -0
- {modelparams-0.0.4 → modelparams-0.0.5}/src/modelparams/types/deepseek.py +0 -0
- {modelparams-0.0.4 → modelparams-0.0.5}/src/modelparams/types/google.py +0 -0
- {modelparams-0.0.4 → modelparams-0.0.5}/src/modelparams/types/groq.py +0 -0
- {modelparams-0.0.4 → modelparams-0.0.5}/src/modelparams/types/minimax.py +0 -0
- {modelparams-0.0.4 → modelparams-0.0.5}/src/modelparams/types/mistral.py +0 -0
- {modelparams-0.0.4 → modelparams-0.0.5}/src/modelparams/types/moonshot.py +0 -0
- {modelparams-0.0.4 → modelparams-0.0.5}/src/modelparams/types/nvidia.py +0 -0
- {modelparams-0.0.4 → modelparams-0.0.5}/src/modelparams/types/openai.py +0 -0
- {modelparams-0.0.4 → modelparams-0.0.5}/src/modelparams/types/perplexity.py +0 -0
- {modelparams-0.0.4 → modelparams-0.0.5}/src/modelparams/types/thinking_machines.py +0 -0
- {modelparams-0.0.4 → modelparams-0.0.5}/src/modelparams/types/xai.py +0 -0
- {modelparams-0.0.4 → modelparams-0.0.5}/src/modelparams/types/xiaomi.py +0 -0
- {modelparams-0.0.4 → modelparams-0.0.5}/src/modelparams/types/z_ai.py +0 -0
- {modelparams-0.0.4 → modelparams-0.0.5}/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.5
|
|
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,134 @@
|
|
|
9053
9053
|
}
|
|
9054
9054
|
]
|
|
9055
9055
|
},
|
|
9056
|
+
{
|
|
9057
|
+
"provider": "meta",
|
|
9058
|
+
"authType": "api_key",
|
|
9059
|
+
"model": "muse-spark-1.2-contributor",
|
|
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
|
+
},
|
|
9056
9184
|
{
|
|
9057
9185
|
"provider": "minimax",
|
|
9058
9186
|
"authType": "api_key",
|
|
@@ -99,6 +99,7 @@ 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.2-contributor",
|
|
102
103
|
"minimax/minimax-m2",
|
|
103
104
|
"minimax/MiniMax-M2-subscription",
|
|
104
105
|
"minimax/minimax-m2.1",
|
|
@@ -346,6 +347,7 @@ MODEL_IDS: tuple[ModelId, ...] = (
|
|
|
346
347
|
"meta/Llama-3.3-8B-Instruct",
|
|
347
348
|
"meta/Llama-4-Maverick-17B-128E-Instruct-FP8",
|
|
348
349
|
"meta/Llama-4-Scout-17B-16E-Instruct-FP8",
|
|
350
|
+
"meta/muse-spark-1.2-contributor",
|
|
349
351
|
"minimax/minimax-m2",
|
|
350
352
|
"minimax/MiniMax-M2-subscription",
|
|
351
353
|
"minimax/minimax-m2.1",
|
|
@@ -120,6 +120,7 @@ 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.2-contributor": meta.Muse_Spark_1_2_ContributorParams,
|
|
123
124
|
"minimax/minimax-m2": minimax.Minimax_M2Params,
|
|
124
125
|
"minimax/MiniMax-M2-subscription": minimax.Minimax_M2_SubscriptionParams,
|
|
125
126
|
"minimax/minimax-m2.1": minimax.Minimax_M2_1Params,
|
|
@@ -70,9 +70,27 @@ 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_2_ContributorParams = TypedDict(
|
|
74
|
+
"Muse_Spark_1_2_ContributorParams",
|
|
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_2_ContributorParams, "__pydantic_config__", _PARAMS_CONFIG)
|
|
89
|
+
|
|
73
90
|
__all__ = [
|
|
74
91
|
"Llama_3_3_70b_InstructParams",
|
|
75
92
|
"Llama_3_3_8b_InstructParams",
|
|
76
93
|
"Llama_4_Maverick_17b_128e_Instruct_Fp8Params",
|
|
77
94
|
"Llama_4_Scout_17b_16e_Instruct_Fp8Params",
|
|
95
|
+
"Muse_Spark_1_2_ContributorParams",
|
|
78
96
|
]
|
|
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
|