modelparams 0.0.3__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.

Files changed (33) hide show
  1. {modelparams-0.0.3 → modelparams-0.0.5}/PKG-INFO +1 -1
  2. {modelparams-0.0.3 → modelparams-0.0.5}/pyproject.toml +1 -1
  3. {modelparams-0.0.3 → modelparams-0.0.5}/src/modelparams/_generated/catalog.json +198 -0
  4. {modelparams-0.0.3 → modelparams-0.0.5}/src/modelparams/_generated/model_ids.py +4 -0
  5. {modelparams-0.0.3 → modelparams-0.0.5}/src/modelparams/_generated/registry.py +2 -0
  6. {modelparams-0.0.3 → modelparams-0.0.5}/src/modelparams/types/meta.py +18 -0
  7. {modelparams-0.0.3 → modelparams-0.0.5}/src/modelparams/types/xai.py +15 -0
  8. {modelparams-0.0.3 → modelparams-0.0.5}/.gitignore +0 -0
  9. {modelparams-0.0.3 → modelparams-0.0.5}/LICENSE +0 -0
  10. {modelparams-0.0.3 → modelparams-0.0.5}/README.md +0 -0
  11. {modelparams-0.0.3 → modelparams-0.0.5}/src/modelparams/__init__.py +0 -0
  12. {modelparams-0.0.3 → modelparams-0.0.5}/src/modelparams/_generated/__init__.py +0 -0
  13. {modelparams-0.0.3 → modelparams-0.0.5}/src/modelparams/catalog.py +0 -0
  14. {modelparams-0.0.3 → modelparams-0.0.5}/src/modelparams/models.py +0 -0
  15. {modelparams-0.0.3 → modelparams-0.0.5}/src/modelparams/py.typed +0 -0
  16. {modelparams-0.0.3 → modelparams-0.0.5}/src/modelparams/types/__init__.py +0 -0
  17. {modelparams-0.0.3 → modelparams-0.0.5}/src/modelparams/types/alibaba.py +0 -0
  18. {modelparams-0.0.3 → modelparams-0.0.5}/src/modelparams/types/anthropic.py +0 -0
  19. {modelparams-0.0.3 → modelparams-0.0.5}/src/modelparams/types/cerebras.py +0 -0
  20. {modelparams-0.0.3 → modelparams-0.0.5}/src/modelparams/types/cohere.py +0 -0
  21. {modelparams-0.0.3 → modelparams-0.0.5}/src/modelparams/types/deepseek.py +0 -0
  22. {modelparams-0.0.3 → modelparams-0.0.5}/src/modelparams/types/google.py +0 -0
  23. {modelparams-0.0.3 → modelparams-0.0.5}/src/modelparams/types/groq.py +0 -0
  24. {modelparams-0.0.3 → modelparams-0.0.5}/src/modelparams/types/minimax.py +0 -0
  25. {modelparams-0.0.3 → modelparams-0.0.5}/src/modelparams/types/mistral.py +0 -0
  26. {modelparams-0.0.3 → modelparams-0.0.5}/src/modelparams/types/moonshot.py +0 -0
  27. {modelparams-0.0.3 → modelparams-0.0.5}/src/modelparams/types/nvidia.py +0 -0
  28. {modelparams-0.0.3 → modelparams-0.0.5}/src/modelparams/types/openai.py +0 -0
  29. {modelparams-0.0.3 → modelparams-0.0.5}/src/modelparams/types/perplexity.py +0 -0
  30. {modelparams-0.0.3 → modelparams-0.0.5}/src/modelparams/types/thinking_machines.py +0 -0
  31. {modelparams-0.0.3 → modelparams-0.0.5}/src/modelparams/types/xiaomi.py +0 -0
  32. {modelparams-0.0.3 → modelparams-0.0.5}/src/modelparams/types/z_ai.py +0 -0
  33. {modelparams-0.0.3 → 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
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
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "modelparams"
7
- version = "0.0.3"
7
+ version = "0.0.5"
8
8
  description = "Typed model parameters for Python, generated from the modelparams.dev catalog."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -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",
@@ -16217,6 +16345,76 @@
16217
16345
  }
16218
16346
  ]
16219
16347
  },
16348
+ {
16349
+ "provider": "xai",
16350
+ "authType": "api_key",
16351
+ "model": "grok-4.6",
16352
+ "params": [
16353
+ {
16354
+ "path": "max_completion_tokens",
16355
+ "label": "Max completion tokens",
16356
+ "description": "Upper bound for visible output tokens generated in the chat completion.",
16357
+ "group": "generation_length",
16358
+ "type": "integer",
16359
+ "range": {
16360
+ "min": 1
16361
+ }
16362
+ },
16363
+ {
16364
+ "path": "temperature",
16365
+ "label": "Temperature",
16366
+ "description": "Controls randomness. Lower values make outputs more focused; higher values make them more varied.",
16367
+ "group": "sampling",
16368
+ "type": "number",
16369
+ "default": 1,
16370
+ "range": {
16371
+ "min": 0,
16372
+ "max": 2,
16373
+ "step": 0.1
16374
+ }
16375
+ },
16376
+ {
16377
+ "path": "top_p",
16378
+ "label": "Top P",
16379
+ "description": "Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability.",
16380
+ "group": "sampling",
16381
+ "type": "number",
16382
+ "default": 1,
16383
+ "range": {
16384
+ "min": 0,
16385
+ "max": 1,
16386
+ "step": 0.01
16387
+ }
16388
+ },
16389
+ {
16390
+ "path": "seed",
16391
+ "label": "Seed",
16392
+ "description": "Optional seed used for decoding when reproducible sampling is desired.",
16393
+ "group": "sampling",
16394
+ "type": "integer"
16395
+ },
16396
+ {
16397
+ "path": "stop",
16398
+ "label": "Stop sequence",
16399
+ "description": "Stops generation when this sequence is produced. xAI accepts up to four stop sequences.",
16400
+ "group": "generation_length",
16401
+ "type": "string"
16402
+ },
16403
+ {
16404
+ "path": "response_format.type",
16405
+ "label": "Response format",
16406
+ "description": "Controls whether the model returns text, JSON mode output, or structured JSON schema output.",
16407
+ "group": "output_format",
16408
+ "type": "enum",
16409
+ "default": "text",
16410
+ "values": [
16411
+ "text",
16412
+ "json_object",
16413
+ "json_schema"
16414
+ ]
16415
+ }
16416
+ ]
16417
+ },
16220
16418
  {
16221
16419
  "provider": "xai",
16222
16420
  "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",
@@ -221,6 +222,7 @@ ModelId = Literal[
221
222
  "xai/grok-4.3-subscription",
222
223
  "xai/grok-4.5",
223
224
  "xai/grok-4.5-subscription",
225
+ "xai/grok-4.6",
224
226
  "xai/grok-build-0.1",
225
227
  "xai/grok-build-0.1-subscription",
226
228
  "xiaomi/mimo-v2.5",
@@ -345,6 +347,7 @@ MODEL_IDS: tuple[ModelId, ...] = (
345
347
  "meta/Llama-3.3-8B-Instruct",
346
348
  "meta/Llama-4-Maverick-17B-128E-Instruct-FP8",
347
349
  "meta/Llama-4-Scout-17B-16E-Instruct-FP8",
350
+ "meta/muse-spark-1.2-contributor",
348
351
  "minimax/minimax-m2",
349
352
  "minimax/MiniMax-M2-subscription",
350
353
  "minimax/minimax-m2.1",
@@ -467,6 +470,7 @@ MODEL_IDS: tuple[ModelId, ...] = (
467
470
  "xai/grok-4.3-subscription",
468
471
  "xai/grok-4.5",
469
472
  "xai/grok-4.5-subscription",
473
+ "xai/grok-4.6",
470
474
  "xai/grok-build-0.1",
471
475
  "xai/grok-build-0.1-subscription",
472
476
  "xiaomi/mimo-v2.5",
@@ -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,
@@ -242,6 +243,7 @@ PARAM_TYPES: dict[ModelId, Any] = {
242
243
  "xai/grok-4.3-subscription": xai.Grok_4_3_SubscriptionParams,
243
244
  "xai/grok-4.5": xai.Grok_4_5Params,
244
245
  "xai/grok-4.5-subscription": xai.Grok_4_5_SubscriptionParams,
246
+ "xai/grok-4.6": xai.Grok_4_6Params,
245
247
  "xai/grok-build-0.1": xai.Grok_Build_0_1Params,
246
248
  "xai/grok-build-0.1-subscription": xai.Grok_Build_0_1_SubscriptionParams,
247
249
  "xiaomi/mimo-v2.5": xiaomi.Mimo_V2_5Params,
@@ -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
  ]
@@ -133,6 +133,20 @@ Grok_4_5_SubscriptionParams = TypedDict(
133
133
  )
134
134
  setattr(Grok_4_5_SubscriptionParams, "__pydantic_config__", _PARAMS_CONFIG)
135
135
 
136
+ Grok_4_6Params = TypedDict(
137
+ "Grok_4_6Params",
138
+ {
139
+ "max_completion_tokens": Annotated[int, Field(ge=1)],
140
+ "temperature": Annotated[float, Field(ge=0, le=2)],
141
+ "top_p": Annotated[float, Field(ge=0, le=1)],
142
+ "seed": int,
143
+ "stop": str,
144
+ "response_format.type": Literal["text", "json_object", "json_schema"],
145
+ },
146
+ total=False,
147
+ )
148
+ setattr(Grok_4_6Params, "__pydantic_config__", _PARAMS_CONFIG)
149
+
136
150
  Grok_Build_0_1Params = TypedDict(
137
151
  "Grok_Build_0_1Params",
138
152
  {
@@ -169,6 +183,7 @@ __all__ = [
169
183
  "Grok_4_3_SubscriptionParams",
170
184
  "Grok_4_5Params",
171
185
  "Grok_4_5_SubscriptionParams",
186
+ "Grok_4_6Params",
172
187
  "Grok_Build_0_1Params",
173
188
  "Grok_Build_0_1_SubscriptionParams",
174
189
  ]
File without changes
File without changes
File without changes