modelparams 0.0.20__tar.gz → 0.0.22__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.
- {modelparams-0.0.20 → modelparams-0.0.22}/PKG-INFO +1 -1
- {modelparams-0.0.20 → modelparams-0.0.22}/pyproject.toml +1 -1
- {modelparams-0.0.20 → modelparams-0.0.22}/src/modelparams/_generated/catalog.json +193 -1
- {modelparams-0.0.20 → modelparams-0.0.22}/src/modelparams/_generated/model_ids.py +4 -0
- {modelparams-0.0.20 → modelparams-0.0.22}/src/modelparams/_generated/registry.py +2 -0
- {modelparams-0.0.20 → modelparams-0.0.22}/src/modelparams/types/google.py +34 -0
- {modelparams-0.0.20 → modelparams-0.0.22}/.gitignore +0 -0
- {modelparams-0.0.20 → modelparams-0.0.22}/LICENSE +0 -0
- {modelparams-0.0.20 → modelparams-0.0.22}/README.md +0 -0
- {modelparams-0.0.20 → modelparams-0.0.22}/src/modelparams/__init__.py +0 -0
- {modelparams-0.0.20 → modelparams-0.0.22}/src/modelparams/_generated/__init__.py +0 -0
- {modelparams-0.0.20 → modelparams-0.0.22}/src/modelparams/catalog.py +0 -0
- {modelparams-0.0.20 → modelparams-0.0.22}/src/modelparams/models.py +0 -0
- {modelparams-0.0.20 → modelparams-0.0.22}/src/modelparams/py.typed +0 -0
- {modelparams-0.0.20 → modelparams-0.0.22}/src/modelparams/types/__init__.py +0 -0
- {modelparams-0.0.20 → modelparams-0.0.22}/src/modelparams/types/alibaba.py +0 -0
- {modelparams-0.0.20 → modelparams-0.0.22}/src/modelparams/types/anthropic.py +0 -0
- {modelparams-0.0.20 → modelparams-0.0.22}/src/modelparams/types/cerebras.py +0 -0
- {modelparams-0.0.20 → modelparams-0.0.22}/src/modelparams/types/cohere.py +0 -0
- {modelparams-0.0.20 → modelparams-0.0.22}/src/modelparams/types/deepseek.py +0 -0
- {modelparams-0.0.20 → modelparams-0.0.22}/src/modelparams/types/groq.py +0 -0
- {modelparams-0.0.20 → modelparams-0.0.22}/src/modelparams/types/meta.py +0 -0
- {modelparams-0.0.20 → modelparams-0.0.22}/src/modelparams/types/minimax.py +0 -0
- {modelparams-0.0.20 → modelparams-0.0.22}/src/modelparams/types/mistral.py +0 -0
- {modelparams-0.0.20 → modelparams-0.0.22}/src/modelparams/types/moonshot.py +0 -0
- {modelparams-0.0.20 → modelparams-0.0.22}/src/modelparams/types/nvidia.py +0 -0
- {modelparams-0.0.20 → modelparams-0.0.22}/src/modelparams/types/openai.py +0 -0
- {modelparams-0.0.20 → modelparams-0.0.22}/src/modelparams/types/perplexity.py +0 -0
- {modelparams-0.0.20 → modelparams-0.0.22}/src/modelparams/types/thinking_machines.py +0 -0
- {modelparams-0.0.20 → modelparams-0.0.22}/src/modelparams/types/xai.py +0 -0
- {modelparams-0.0.20 → modelparams-0.0.22}/src/modelparams/types/xiaomi.py +0 -0
- {modelparams-0.0.20 → modelparams-0.0.22}/src/modelparams/types/z_ai.py +0 -0
- {modelparams-0.0.20 → modelparams-0.0.22}/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.22
|
|
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
|
|
@@ -8033,7 +8033,7 @@
|
|
|
8033
8033
|
{
|
|
8034
8034
|
"path": "reasoning_effort",
|
|
8035
8035
|
"label": "Reasoning effort",
|
|
8036
|
-
"description": "Controls DeepSeek thinking effort when thinking mode is enabled.",
|
|
8036
|
+
"description": "Controls DeepSeek thinking effort when thinking mode is enabled. For compatibility, low, medium, and xhigh are also accepted, but low and medium are mapped to high, and xhigh is mapped to max.",
|
|
8037
8037
|
"group": "reasoning",
|
|
8038
8038
|
"applicability": {
|
|
8039
8039
|
"only": {
|
|
@@ -9264,6 +9264,198 @@
|
|
|
9264
9264
|
}
|
|
9265
9265
|
]
|
|
9266
9266
|
},
|
|
9267
|
+
{
|
|
9268
|
+
"provider": "google",
|
|
9269
|
+
"authType": "api_key",
|
|
9270
|
+
"model": "gemini-3.5-flash-lite",
|
|
9271
|
+
"params": [
|
|
9272
|
+
{
|
|
9273
|
+
"path": "generationConfig.maxOutputTokens",
|
|
9274
|
+
"label": "Max output tokens",
|
|
9275
|
+
"description": "Maximum number of tokens to include in a response candidate.",
|
|
9276
|
+
"group": "generation_length",
|
|
9277
|
+
"type": "integer",
|
|
9278
|
+
"range": {
|
|
9279
|
+
"min": 1,
|
|
9280
|
+
"max": 65536
|
|
9281
|
+
}
|
|
9282
|
+
},
|
|
9283
|
+
{
|
|
9284
|
+
"path": "generationConfig.temperature",
|
|
9285
|
+
"label": "Temperature",
|
|
9286
|
+
"description": "Controls randomness. Lower values make outputs more focused; higher values make them more varied.",
|
|
9287
|
+
"group": "sampling",
|
|
9288
|
+
"type": "number",
|
|
9289
|
+
"default": 1,
|
|
9290
|
+
"range": {
|
|
9291
|
+
"min": 0,
|
|
9292
|
+
"max": 2,
|
|
9293
|
+
"step": 0.1
|
|
9294
|
+
}
|
|
9295
|
+
},
|
|
9296
|
+
{
|
|
9297
|
+
"path": "generationConfig.topP",
|
|
9298
|
+
"label": "Top P",
|
|
9299
|
+
"description": "Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability.",
|
|
9300
|
+
"group": "sampling",
|
|
9301
|
+
"type": "number",
|
|
9302
|
+
"default": 0.95,
|
|
9303
|
+
"range": {
|
|
9304
|
+
"min": 0,
|
|
9305
|
+
"max": 1,
|
|
9306
|
+
"step": 0.01
|
|
9307
|
+
}
|
|
9308
|
+
},
|
|
9309
|
+
{
|
|
9310
|
+
"path": "generationConfig.topK",
|
|
9311
|
+
"label": "Top K",
|
|
9312
|
+
"description": "Limits token sampling to the top K most likely next tokens.",
|
|
9313
|
+
"group": "sampling",
|
|
9314
|
+
"type": "integer",
|
|
9315
|
+
"default": 64,
|
|
9316
|
+
"range": {
|
|
9317
|
+
"min": 0
|
|
9318
|
+
}
|
|
9319
|
+
},
|
|
9320
|
+
{
|
|
9321
|
+
"path": "generationConfig.seed",
|
|
9322
|
+
"label": "Seed",
|
|
9323
|
+
"description": "Optional seed used for decoding when reproducible sampling is desired.",
|
|
9324
|
+
"group": "sampling",
|
|
9325
|
+
"type": "integer"
|
|
9326
|
+
},
|
|
9327
|
+
{
|
|
9328
|
+
"path": "generationConfig.thinkingConfig.thinkingLevel",
|
|
9329
|
+
"label": "Thinking level",
|
|
9330
|
+
"description": "Controls Gemini 3.5 Flash reasoning effort.",
|
|
9331
|
+
"group": "reasoning",
|
|
9332
|
+
"type": "enum",
|
|
9333
|
+
"default": "medium",
|
|
9334
|
+
"values": [
|
|
9335
|
+
"minimal",
|
|
9336
|
+
"low",
|
|
9337
|
+
"medium",
|
|
9338
|
+
"high"
|
|
9339
|
+
]
|
|
9340
|
+
},
|
|
9341
|
+
{
|
|
9342
|
+
"path": "generationConfig.thinkingConfig.includeThoughts",
|
|
9343
|
+
"label": "Include thoughts",
|
|
9344
|
+
"description": "Controls whether Gemini returns available thought summaries in the response parts.",
|
|
9345
|
+
"group": "reasoning",
|
|
9346
|
+
"type": "boolean",
|
|
9347
|
+
"default": false
|
|
9348
|
+
},
|
|
9349
|
+
{
|
|
9350
|
+
"path": "generationConfig.responseMimeType",
|
|
9351
|
+
"label": "Response MIME type",
|
|
9352
|
+
"description": "MIME type for generated text candidates.",
|
|
9353
|
+
"group": "output_format",
|
|
9354
|
+
"type": "enum",
|
|
9355
|
+
"default": "text/plain",
|
|
9356
|
+
"values": [
|
|
9357
|
+
"text/plain",
|
|
9358
|
+
"application/json"
|
|
9359
|
+
]
|
|
9360
|
+
}
|
|
9361
|
+
]
|
|
9362
|
+
},
|
|
9363
|
+
{
|
|
9364
|
+
"provider": "google",
|
|
9365
|
+
"authType": "api_key",
|
|
9366
|
+
"model": "gemini-3.6-flash",
|
|
9367
|
+
"params": [
|
|
9368
|
+
{
|
|
9369
|
+
"path": "generationConfig.maxOutputTokens",
|
|
9370
|
+
"label": "Max output tokens",
|
|
9371
|
+
"description": "Maximum number of tokens to include in a response candidate.",
|
|
9372
|
+
"group": "generation_length",
|
|
9373
|
+
"type": "integer",
|
|
9374
|
+
"range": {
|
|
9375
|
+
"min": 1,
|
|
9376
|
+
"max": 65536
|
|
9377
|
+
}
|
|
9378
|
+
},
|
|
9379
|
+
{
|
|
9380
|
+
"path": "generationConfig.temperature",
|
|
9381
|
+
"label": "Temperature",
|
|
9382
|
+
"description": "Controls randomness. Lower values make outputs more focused; higher values make them more varied.",
|
|
9383
|
+
"group": "sampling",
|
|
9384
|
+
"type": "number",
|
|
9385
|
+
"default": 1,
|
|
9386
|
+
"range": {
|
|
9387
|
+
"min": 0,
|
|
9388
|
+
"max": 2,
|
|
9389
|
+
"step": 0.1
|
|
9390
|
+
}
|
|
9391
|
+
},
|
|
9392
|
+
{
|
|
9393
|
+
"path": "generationConfig.topP",
|
|
9394
|
+
"label": "Top P",
|
|
9395
|
+
"description": "Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability.",
|
|
9396
|
+
"group": "sampling",
|
|
9397
|
+
"type": "number",
|
|
9398
|
+
"default": 0.95,
|
|
9399
|
+
"range": {
|
|
9400
|
+
"min": 0,
|
|
9401
|
+
"max": 1,
|
|
9402
|
+
"step": 0.01
|
|
9403
|
+
}
|
|
9404
|
+
},
|
|
9405
|
+
{
|
|
9406
|
+
"path": "generationConfig.topK",
|
|
9407
|
+
"label": "Top K",
|
|
9408
|
+
"description": "Limits token sampling to the top K most likely next tokens.",
|
|
9409
|
+
"group": "sampling",
|
|
9410
|
+
"type": "integer",
|
|
9411
|
+
"default": 64,
|
|
9412
|
+
"range": {
|
|
9413
|
+
"min": 0
|
|
9414
|
+
}
|
|
9415
|
+
},
|
|
9416
|
+
{
|
|
9417
|
+
"path": "generationConfig.seed",
|
|
9418
|
+
"label": "Seed",
|
|
9419
|
+
"description": "Optional seed used for decoding when reproducible sampling is desired.",
|
|
9420
|
+
"group": "sampling",
|
|
9421
|
+
"type": "integer"
|
|
9422
|
+
},
|
|
9423
|
+
{
|
|
9424
|
+
"path": "generationConfig.thinkingConfig.thinkingLevel",
|
|
9425
|
+
"label": "Thinking level",
|
|
9426
|
+
"description": "Controls Gemini 3.1 Flash-Lite reasoning effort.",
|
|
9427
|
+
"group": "reasoning",
|
|
9428
|
+
"type": "enum",
|
|
9429
|
+
"default": "minimal",
|
|
9430
|
+
"values": [
|
|
9431
|
+
"minimal",
|
|
9432
|
+
"low",
|
|
9433
|
+
"medium",
|
|
9434
|
+
"high"
|
|
9435
|
+
]
|
|
9436
|
+
},
|
|
9437
|
+
{
|
|
9438
|
+
"path": "generationConfig.thinkingConfig.includeThoughts",
|
|
9439
|
+
"label": "Include thoughts",
|
|
9440
|
+
"description": "Controls whether Gemini returns available thought summaries in the response parts.",
|
|
9441
|
+
"group": "reasoning",
|
|
9442
|
+
"type": "boolean",
|
|
9443
|
+
"default": false
|
|
9444
|
+
},
|
|
9445
|
+
{
|
|
9446
|
+
"path": "generationConfig.responseMimeType",
|
|
9447
|
+
"label": "Response MIME type",
|
|
9448
|
+
"description": "MIME type for generated text candidates.",
|
|
9449
|
+
"group": "output_format",
|
|
9450
|
+
"type": "enum",
|
|
9451
|
+
"default": "text/plain",
|
|
9452
|
+
"values": [
|
|
9453
|
+
"text/plain",
|
|
9454
|
+
"application/json"
|
|
9455
|
+
]
|
|
9456
|
+
}
|
|
9457
|
+
]
|
|
9458
|
+
},
|
|
9267
9459
|
{
|
|
9268
9460
|
"provider": "google",
|
|
9269
9461
|
"authType": "api_key",
|
|
@@ -102,6 +102,8 @@ ModelId = Literal[
|
|
|
102
102
|
"google/gemini-3.1-flash-lite-subscription",
|
|
103
103
|
"google/gemini-3.1-pro-preview-subscription",
|
|
104
104
|
"google/gemini-3.5-flash",
|
|
105
|
+
"google/gemini-3.5-flash-lite",
|
|
106
|
+
"google/gemini-3.6-flash",
|
|
105
107
|
"google/gemini-3.7-flash",
|
|
106
108
|
"google/gemini-flash-latest",
|
|
107
109
|
"google/gemma-3-12b-it",
|
|
@@ -381,6 +383,8 @@ MODEL_IDS: tuple[ModelId, ...] = (
|
|
|
381
383
|
"google/gemini-3.1-flash-lite-subscription",
|
|
382
384
|
"google/gemini-3.1-pro-preview-subscription",
|
|
383
385
|
"google/gemini-3.5-flash",
|
|
386
|
+
"google/gemini-3.5-flash-lite",
|
|
387
|
+
"google/gemini-3.6-flash",
|
|
384
388
|
"google/gemini-3.7-flash",
|
|
385
389
|
"google/gemini-flash-latest",
|
|
386
390
|
"google/gemma-3-12b-it",
|
|
@@ -123,6 +123,8 @@ PARAM_TYPES: dict[ModelId, Any] = {
|
|
|
123
123
|
"google/gemini-3.1-flash-lite-subscription": google.Gemini_3_1_Flash_Lite_SubscriptionParams,
|
|
124
124
|
"google/gemini-3.1-pro-preview-subscription": google.Gemini_3_1_Pro_Preview_SubscriptionParams,
|
|
125
125
|
"google/gemini-3.5-flash": google.Gemini_3_5_FlashParams,
|
|
126
|
+
"google/gemini-3.5-flash-lite": google.Gemini_3_5_Flash_LiteParams,
|
|
127
|
+
"google/gemini-3.6-flash": google.Gemini_3_6_FlashParams,
|
|
126
128
|
"google/gemini-3.7-flash": google.Gemini_3_7_FlashParams,
|
|
127
129
|
"google/gemini-flash-latest": google.Gemini_Flash_LatestParams,
|
|
128
130
|
"google/gemma-3-12b-it": google.Gemma_3_12b_ItParams,
|
|
@@ -202,6 +202,38 @@ Gemini_3_5_FlashParams = TypedDict(
|
|
|
202
202
|
)
|
|
203
203
|
setattr(Gemini_3_5_FlashParams, "__pydantic_config__", _PARAMS_CONFIG)
|
|
204
204
|
|
|
205
|
+
Gemini_3_5_Flash_LiteParams = TypedDict(
|
|
206
|
+
"Gemini_3_5_Flash_LiteParams",
|
|
207
|
+
{
|
|
208
|
+
"generationConfig.maxOutputTokens": Annotated[int, Field(ge=1, le=65536)],
|
|
209
|
+
"generationConfig.temperature": Annotated[float, Field(ge=0, le=2)],
|
|
210
|
+
"generationConfig.topP": Annotated[float, Field(ge=0, le=1)],
|
|
211
|
+
"generationConfig.topK": Annotated[int, Field(ge=0)],
|
|
212
|
+
"generationConfig.seed": int,
|
|
213
|
+
"generationConfig.thinkingConfig.thinkingLevel": Literal["minimal", "low", "medium", "high"],
|
|
214
|
+
"generationConfig.thinkingConfig.includeThoughts": bool,
|
|
215
|
+
"generationConfig.responseMimeType": Literal["text/plain", "application/json"],
|
|
216
|
+
},
|
|
217
|
+
total=False,
|
|
218
|
+
)
|
|
219
|
+
setattr(Gemini_3_5_Flash_LiteParams, "__pydantic_config__", _PARAMS_CONFIG)
|
|
220
|
+
|
|
221
|
+
Gemini_3_6_FlashParams = TypedDict(
|
|
222
|
+
"Gemini_3_6_FlashParams",
|
|
223
|
+
{
|
|
224
|
+
"generationConfig.maxOutputTokens": Annotated[int, Field(ge=1, le=65536)],
|
|
225
|
+
"generationConfig.temperature": Annotated[float, Field(ge=0, le=2)],
|
|
226
|
+
"generationConfig.topP": Annotated[float, Field(ge=0, le=1)],
|
|
227
|
+
"generationConfig.topK": Annotated[int, Field(ge=0)],
|
|
228
|
+
"generationConfig.seed": int,
|
|
229
|
+
"generationConfig.thinkingConfig.thinkingLevel": Literal["minimal", "low", "medium", "high"],
|
|
230
|
+
"generationConfig.thinkingConfig.includeThoughts": bool,
|
|
231
|
+
"generationConfig.responseMimeType": Literal["text/plain", "application/json"],
|
|
232
|
+
},
|
|
233
|
+
total=False,
|
|
234
|
+
)
|
|
235
|
+
setattr(Gemini_3_6_FlashParams, "__pydantic_config__", _PARAMS_CONFIG)
|
|
236
|
+
|
|
205
237
|
Gemini_3_7_FlashParams = TypedDict(
|
|
206
238
|
"Gemini_3_7_FlashParams",
|
|
207
239
|
{
|
|
@@ -389,6 +421,8 @@ __all__ = [
|
|
|
389
421
|
"Gemini_3_1_Flash_Lite_SubscriptionParams",
|
|
390
422
|
"Gemini_3_1_Pro_Preview_SubscriptionParams",
|
|
391
423
|
"Gemini_3_5_FlashParams",
|
|
424
|
+
"Gemini_3_5_Flash_LiteParams",
|
|
425
|
+
"Gemini_3_6_FlashParams",
|
|
392
426
|
"Gemini_3_7_FlashParams",
|
|
393
427
|
"Gemini_Flash_LatestParams",
|
|
394
428
|
"Gemma_3_12b_ItParams",
|
|
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
|