modelparams 0.0.16__tar.gz → 0.0.18__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.16 → modelparams-0.0.18}/PKG-INFO +1 -1
- {modelparams-0.0.16 → modelparams-0.0.18}/pyproject.toml +1 -1
- {modelparams-0.0.16 → modelparams-0.0.18}/src/modelparams/_generated/catalog.json +113 -0
- {modelparams-0.0.16 → modelparams-0.0.18}/src/modelparams/_generated/model_ids.py +2 -0
- {modelparams-0.0.16 → modelparams-0.0.18}/src/modelparams/_generated/registry.py +1 -0
- {modelparams-0.0.16 → modelparams-0.0.18}/src/modelparams/types/anthropic.py +16 -0
- {modelparams-0.0.16 → modelparams-0.0.18}/.gitignore +0 -0
- {modelparams-0.0.16 → modelparams-0.0.18}/LICENSE +0 -0
- {modelparams-0.0.16 → modelparams-0.0.18}/README.md +0 -0
- {modelparams-0.0.16 → modelparams-0.0.18}/src/modelparams/__init__.py +0 -0
- {modelparams-0.0.16 → modelparams-0.0.18}/src/modelparams/_generated/__init__.py +0 -0
- {modelparams-0.0.16 → modelparams-0.0.18}/src/modelparams/catalog.py +0 -0
- {modelparams-0.0.16 → modelparams-0.0.18}/src/modelparams/models.py +0 -0
- {modelparams-0.0.16 → modelparams-0.0.18}/src/modelparams/py.typed +0 -0
- {modelparams-0.0.16 → modelparams-0.0.18}/src/modelparams/types/__init__.py +0 -0
- {modelparams-0.0.16 → modelparams-0.0.18}/src/modelparams/types/alibaba.py +0 -0
- {modelparams-0.0.16 → modelparams-0.0.18}/src/modelparams/types/cerebras.py +0 -0
- {modelparams-0.0.16 → modelparams-0.0.18}/src/modelparams/types/cohere.py +0 -0
- {modelparams-0.0.16 → modelparams-0.0.18}/src/modelparams/types/deepseek.py +0 -0
- {modelparams-0.0.16 → modelparams-0.0.18}/src/modelparams/types/google.py +0 -0
- {modelparams-0.0.16 → modelparams-0.0.18}/src/modelparams/types/groq.py +0 -0
- {modelparams-0.0.16 → modelparams-0.0.18}/src/modelparams/types/meta.py +0 -0
- {modelparams-0.0.16 → modelparams-0.0.18}/src/modelparams/types/minimax.py +0 -0
- {modelparams-0.0.16 → modelparams-0.0.18}/src/modelparams/types/mistral.py +0 -0
- {modelparams-0.0.16 → modelparams-0.0.18}/src/modelparams/types/moonshot.py +0 -0
- {modelparams-0.0.16 → modelparams-0.0.18}/src/modelparams/types/nvidia.py +0 -0
- {modelparams-0.0.16 → modelparams-0.0.18}/src/modelparams/types/openai.py +0 -0
- {modelparams-0.0.16 → modelparams-0.0.18}/src/modelparams/types/perplexity.py +0 -0
- {modelparams-0.0.16 → modelparams-0.0.18}/src/modelparams/types/thinking_machines.py +0 -0
- {modelparams-0.0.16 → modelparams-0.0.18}/src/modelparams/types/xai.py +0 -0
- {modelparams-0.0.16 → modelparams-0.0.18}/src/modelparams/types/xiaomi.py +0 -0
- {modelparams-0.0.16 → modelparams-0.0.18}/src/modelparams/types/z_ai.py +0 -0
- {modelparams-0.0.16 → modelparams-0.0.18}/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.18
|
|
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
|
|
@@ -3794,6 +3794,55 @@
|
|
|
3794
3794
|
"min": 1
|
|
3795
3795
|
}
|
|
3796
3796
|
},
|
|
3797
|
+
{
|
|
3798
|
+
"path": "temperature",
|
|
3799
|
+
"label": "Temperature",
|
|
3800
|
+
"description": "Controls randomness. Lower values make outputs more focused; higher values make them more varied.",
|
|
3801
|
+
"group": "sampling",
|
|
3802
|
+
"deprecated": {
|
|
3803
|
+
"behavior": "default-only",
|
|
3804
|
+
"note": "The API rejects non-default values (\"`temperature` is deprecated for this model\") in every thinking mode; only the default value 1 is accepted. Probed 2026-08-17."
|
|
3805
|
+
},
|
|
3806
|
+
"type": "number",
|
|
3807
|
+
"default": 1,
|
|
3808
|
+
"range": {
|
|
3809
|
+
"min": 0,
|
|
3810
|
+
"max": 1,
|
|
3811
|
+
"step": 0.01
|
|
3812
|
+
}
|
|
3813
|
+
},
|
|
3814
|
+
{
|
|
3815
|
+
"path": "top_p",
|
|
3816
|
+
"label": "Top P",
|
|
3817
|
+
"description": "Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability.",
|
|
3818
|
+
"group": "sampling",
|
|
3819
|
+
"deprecated": {
|
|
3820
|
+
"behavior": "rejected",
|
|
3821
|
+
"note": "The API rejects every value including the default (\"`top_p` is deprecated for this model\"); the parameter must be unset. Probed 2026-08-17."
|
|
3822
|
+
},
|
|
3823
|
+
"type": "number",
|
|
3824
|
+
"default": 1,
|
|
3825
|
+
"range": {
|
|
3826
|
+
"min": 0,
|
|
3827
|
+
"max": 1,
|
|
3828
|
+
"step": 0.01
|
|
3829
|
+
}
|
|
3830
|
+
},
|
|
3831
|
+
{
|
|
3832
|
+
"path": "top_k",
|
|
3833
|
+
"label": "Top K",
|
|
3834
|
+
"description": "Limits sampling to the K most likely tokens.",
|
|
3835
|
+
"group": "sampling",
|
|
3836
|
+
"deprecated": {
|
|
3837
|
+
"behavior": "rejected",
|
|
3838
|
+
"note": "The API rejects every value including the default (\"`top_k` is deprecated for this model\"); the parameter must be unset. Probed 2026-08-17."
|
|
3839
|
+
},
|
|
3840
|
+
"type": "integer",
|
|
3841
|
+
"default": 0,
|
|
3842
|
+
"range": {
|
|
3843
|
+
"min": 0
|
|
3844
|
+
}
|
|
3845
|
+
},
|
|
3797
3846
|
{
|
|
3798
3847
|
"path": "thinking.type",
|
|
3799
3848
|
"label": "Thinking mode",
|
|
@@ -5463,6 +5512,70 @@
|
|
|
5463
5512
|
}
|
|
5464
5513
|
]
|
|
5465
5514
|
},
|
|
5515
|
+
{
|
|
5516
|
+
"provider": "anthropic",
|
|
5517
|
+
"authType": "subscription",
|
|
5518
|
+
"model": "claude-sonnet-5",
|
|
5519
|
+
"params": [
|
|
5520
|
+
{
|
|
5521
|
+
"path": "max_tokens",
|
|
5522
|
+
"label": "Max tokens",
|
|
5523
|
+
"description": "Maximum number of output tokens the model may generate.",
|
|
5524
|
+
"group": "generation_length",
|
|
5525
|
+
"type": "integer",
|
|
5526
|
+
"default": 4096,
|
|
5527
|
+
"range": {
|
|
5528
|
+
"min": 1
|
|
5529
|
+
}
|
|
5530
|
+
},
|
|
5531
|
+
{
|
|
5532
|
+
"path": "thinking.type",
|
|
5533
|
+
"label": "Thinking mode",
|
|
5534
|
+
"description": "Controls the Anthropic thinking mode values supported by this model.",
|
|
5535
|
+
"group": "reasoning",
|
|
5536
|
+
"type": "enum",
|
|
5537
|
+
"default": "disabled",
|
|
5538
|
+
"values": [
|
|
5539
|
+
"disabled",
|
|
5540
|
+
"adaptive"
|
|
5541
|
+
]
|
|
5542
|
+
},
|
|
5543
|
+
{
|
|
5544
|
+
"path": "thinking.display",
|
|
5545
|
+
"label": "Thinking display",
|
|
5546
|
+
"description": "Controls whether Anthropic returns summarized or omitted thinking content.",
|
|
5547
|
+
"group": "reasoning",
|
|
5548
|
+
"applicability": {
|
|
5549
|
+
"only": {
|
|
5550
|
+
"thinking.type": [
|
|
5551
|
+
"adaptive"
|
|
5552
|
+
]
|
|
5553
|
+
}
|
|
5554
|
+
},
|
|
5555
|
+
"type": "enum",
|
|
5556
|
+
"default": "summarized",
|
|
5557
|
+
"values": [
|
|
5558
|
+
"summarized",
|
|
5559
|
+
"omitted"
|
|
5560
|
+
]
|
|
5561
|
+
},
|
|
5562
|
+
{
|
|
5563
|
+
"path": "output_config.effort",
|
|
5564
|
+
"label": "Effort",
|
|
5565
|
+
"description": "Controls Anthropic response thoroughness and token spend.",
|
|
5566
|
+
"group": "reasoning",
|
|
5567
|
+
"type": "enum",
|
|
5568
|
+
"default": "high",
|
|
5569
|
+
"values": [
|
|
5570
|
+
"low",
|
|
5571
|
+
"medium",
|
|
5572
|
+
"high",
|
|
5573
|
+
"xhigh",
|
|
5574
|
+
"max"
|
|
5575
|
+
]
|
|
5576
|
+
}
|
|
5577
|
+
]
|
|
5578
|
+
},
|
|
5466
5579
|
{
|
|
5467
5580
|
"provider": "cerebras",
|
|
5468
5581
|
"authType": "api_key",
|
|
@@ -60,6 +60,7 @@ ModelId = Literal[
|
|
|
60
60
|
"anthropic/claude-sonnet-4-6-subscription",
|
|
61
61
|
"anthropic/claude-sonnet-4-subscription",
|
|
62
62
|
"anthropic/claude-sonnet-5",
|
|
63
|
+
"anthropic/claude-sonnet-5-subscription",
|
|
63
64
|
"cerebras/zai-glm-4.7",
|
|
64
65
|
"cohere/command-a-03-2025",
|
|
65
66
|
"cohere/command-a-plus-05-2026",
|
|
@@ -321,6 +322,7 @@ MODEL_IDS: tuple[ModelId, ...] = (
|
|
|
321
322
|
"anthropic/claude-sonnet-4-6-subscription",
|
|
322
323
|
"anthropic/claude-sonnet-4-subscription",
|
|
323
324
|
"anthropic/claude-sonnet-5",
|
|
325
|
+
"anthropic/claude-sonnet-5-subscription",
|
|
324
326
|
"cerebras/zai-glm-4.7",
|
|
325
327
|
"cohere/command-a-03-2025",
|
|
326
328
|
"cohere/command-a-plus-05-2026",
|
|
@@ -81,6 +81,7 @@ PARAM_TYPES: dict[ModelId, Any] = {
|
|
|
81
81
|
"anthropic/claude-sonnet-4-6-subscription": anthropic.Claude_Sonnet_4_6_SubscriptionParams,
|
|
82
82
|
"anthropic/claude-sonnet-4-subscription": anthropic.Claude_Sonnet_4_SubscriptionParams,
|
|
83
83
|
"anthropic/claude-sonnet-5": anthropic.Claude_Sonnet_5Params,
|
|
84
|
+
"anthropic/claude-sonnet-5-subscription": anthropic.Claude_Sonnet_5_SubscriptionParams,
|
|
84
85
|
"cerebras/zai-glm-4.7": cerebras.Zai_Glm_4_7Params,
|
|
85
86
|
"cohere/command-a-03-2025": cohere.Command_A_03_2025Params,
|
|
86
87
|
"cohere/command-a-plus-05-2026": cohere.Command_A_Plus_05_2026Params,
|
|
@@ -370,6 +370,9 @@ Claude_Opus_4_8Params = TypedDict(
|
|
|
370
370
|
"Claude_Opus_4_8Params",
|
|
371
371
|
{
|
|
372
372
|
"max_tokens": Annotated[int, Field(ge=1)],
|
|
373
|
+
"temperature": Annotated[float, Field(ge=0, le=1)],
|
|
374
|
+
"top_p": Annotated[float, Field(ge=0, le=1)],
|
|
375
|
+
"top_k": Annotated[int, Field(ge=0)],
|
|
373
376
|
"thinking.type": Literal["disabled", "adaptive"],
|
|
374
377
|
"thinking.display": Literal["summarized", "omitted"],
|
|
375
378
|
"output_config.effort": Literal["low", "medium", "high", "xhigh", "max"],
|
|
@@ -575,6 +578,18 @@ Claude_Sonnet_5Params = TypedDict(
|
|
|
575
578
|
)
|
|
576
579
|
setattr(Claude_Sonnet_5Params, "__pydantic_config__", _PARAMS_CONFIG)
|
|
577
580
|
|
|
581
|
+
Claude_Sonnet_5_SubscriptionParams = TypedDict(
|
|
582
|
+
"Claude_Sonnet_5_SubscriptionParams",
|
|
583
|
+
{
|
|
584
|
+
"max_tokens": Annotated[int, Field(ge=1)],
|
|
585
|
+
"thinking.type": Literal["disabled", "adaptive"],
|
|
586
|
+
"thinking.display": Literal["summarized", "omitted"],
|
|
587
|
+
"output_config.effort": Literal["low", "medium", "high", "xhigh", "max"],
|
|
588
|
+
},
|
|
589
|
+
total=False,
|
|
590
|
+
)
|
|
591
|
+
setattr(Claude_Sonnet_5_SubscriptionParams, "__pydantic_config__", _PARAMS_CONFIG)
|
|
592
|
+
|
|
578
593
|
__all__ = [
|
|
579
594
|
"Claude_3_5_Haiku_20241022Params",
|
|
580
595
|
"Claude_3_5_Haiku_LatestParams",
|
|
@@ -617,4 +632,5 @@ __all__ = [
|
|
|
617
632
|
"Claude_Sonnet_4_6_SubscriptionParams",
|
|
618
633
|
"Claude_Sonnet_4_SubscriptionParams",
|
|
619
634
|
"Claude_Sonnet_5Params",
|
|
635
|
+
"Claude_Sonnet_5_SubscriptionParams",
|
|
620
636
|
]
|
|
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
|