modelparams 0.0.12__tar.gz → 0.0.14__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.12 → modelparams-0.0.14}/PKG-INFO +1 -1
- {modelparams-0.0.12 → modelparams-0.0.14}/pyproject.toml +1 -1
- {modelparams-0.0.12 → modelparams-0.0.14}/src/modelparams/_generated/catalog.json +171 -0
- {modelparams-0.0.12 → modelparams-0.0.14}/src/modelparams/_generated/model_ids.py +4 -0
- {modelparams-0.0.12 → modelparams-0.0.14}/src/modelparams/_generated/registry.py +2 -0
- {modelparams-0.0.12 → modelparams-0.0.14}/src/modelparams/types/alibaba.py +15 -0
- {modelparams-0.0.12 → modelparams-0.0.14}/src/modelparams/types/google.py +17 -0
- {modelparams-0.0.12 → modelparams-0.0.14}/.gitignore +0 -0
- {modelparams-0.0.12 → modelparams-0.0.14}/LICENSE +0 -0
- {modelparams-0.0.12 → modelparams-0.0.14}/README.md +0 -0
- {modelparams-0.0.12 → modelparams-0.0.14}/src/modelparams/__init__.py +0 -0
- {modelparams-0.0.12 → modelparams-0.0.14}/src/modelparams/_generated/__init__.py +0 -0
- {modelparams-0.0.12 → modelparams-0.0.14}/src/modelparams/catalog.py +0 -0
- {modelparams-0.0.12 → modelparams-0.0.14}/src/modelparams/models.py +0 -0
- {modelparams-0.0.12 → modelparams-0.0.14}/src/modelparams/py.typed +0 -0
- {modelparams-0.0.12 → modelparams-0.0.14}/src/modelparams/types/__init__.py +0 -0
- {modelparams-0.0.12 → modelparams-0.0.14}/src/modelparams/types/anthropic.py +0 -0
- {modelparams-0.0.12 → modelparams-0.0.14}/src/modelparams/types/cerebras.py +0 -0
- {modelparams-0.0.12 → modelparams-0.0.14}/src/modelparams/types/cohere.py +0 -0
- {modelparams-0.0.12 → modelparams-0.0.14}/src/modelparams/types/deepseek.py +0 -0
- {modelparams-0.0.12 → modelparams-0.0.14}/src/modelparams/types/groq.py +0 -0
- {modelparams-0.0.12 → modelparams-0.0.14}/src/modelparams/types/meta.py +0 -0
- {modelparams-0.0.12 → modelparams-0.0.14}/src/modelparams/types/minimax.py +0 -0
- {modelparams-0.0.12 → modelparams-0.0.14}/src/modelparams/types/mistral.py +0 -0
- {modelparams-0.0.12 → modelparams-0.0.14}/src/modelparams/types/moonshot.py +0 -0
- {modelparams-0.0.12 → modelparams-0.0.14}/src/modelparams/types/nvidia.py +0 -0
- {modelparams-0.0.12 → modelparams-0.0.14}/src/modelparams/types/openai.py +0 -0
- {modelparams-0.0.12 → modelparams-0.0.14}/src/modelparams/types/perplexity.py +0 -0
- {modelparams-0.0.12 → modelparams-0.0.14}/src/modelparams/types/thinking_machines.py +0 -0
- {modelparams-0.0.12 → modelparams-0.0.14}/src/modelparams/types/xai.py +0 -0
- {modelparams-0.0.12 → modelparams-0.0.14}/src/modelparams/types/xiaomi.py +0 -0
- {modelparams-0.0.12 → modelparams-0.0.14}/src/modelparams/types/z_ai.py +0 -0
- {modelparams-0.0.12 → modelparams-0.0.14}/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.14
|
|
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
|
|
@@ -628,6 +628,81 @@
|
|
|
628
628
|
}
|
|
629
629
|
]
|
|
630
630
|
},
|
|
631
|
+
{
|
|
632
|
+
"provider": "alibaba",
|
|
633
|
+
"authType": "api_key",
|
|
634
|
+
"model": "qwen3.8-2.4t-a95b",
|
|
635
|
+
"params": [
|
|
636
|
+
{
|
|
637
|
+
"path": "max_completion_tokens",
|
|
638
|
+
"label": "Max tokens",
|
|
639
|
+
"description": "Maximum number of tokens to generate, including both reasoning and the final answer.",
|
|
640
|
+
"group": "generation_length",
|
|
641
|
+
"type": "integer",
|
|
642
|
+
"range": {
|
|
643
|
+
"min": 1
|
|
644
|
+
}
|
|
645
|
+
},
|
|
646
|
+
{
|
|
647
|
+
"path": "temperature",
|
|
648
|
+
"label": "Temperature",
|
|
649
|
+
"description": "Controls randomness. Lower values make outputs more focused; higher values make them more varied.",
|
|
650
|
+
"group": "sampling",
|
|
651
|
+
"type": "number",
|
|
652
|
+
"range": {
|
|
653
|
+
"min": 0,
|
|
654
|
+
"max": 2,
|
|
655
|
+
"step": 0.1
|
|
656
|
+
}
|
|
657
|
+
},
|
|
658
|
+
{
|
|
659
|
+
"path": "top_p",
|
|
660
|
+
"label": "Top P",
|
|
661
|
+
"description": "Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability.",
|
|
662
|
+
"group": "sampling",
|
|
663
|
+
"type": "number",
|
|
664
|
+
"range": {
|
|
665
|
+
"min": 0,
|
|
666
|
+
"max": 1,
|
|
667
|
+
"step": 0.01
|
|
668
|
+
}
|
|
669
|
+
},
|
|
670
|
+
{
|
|
671
|
+
"path": "extra_body.top_k",
|
|
672
|
+
"label": "Top K",
|
|
673
|
+
"description": "Limits generation to the selected number of highest-probability tokens. Values above 100 disable top-k sampling.",
|
|
674
|
+
"group": "sampling",
|
|
675
|
+
"type": "integer",
|
|
676
|
+
"default": 20,
|
|
677
|
+
"range": {
|
|
678
|
+
"min": 0
|
|
679
|
+
}
|
|
680
|
+
},
|
|
681
|
+
{
|
|
682
|
+
"path": "extra_body.enable_thinking",
|
|
683
|
+
"label": "Enable thinking",
|
|
684
|
+
"description": "Toggles the model's hybrid thinking mode, sent as a provider-specific extra body field on OpenAI-compatible clients.",
|
|
685
|
+
"group": "reasoning",
|
|
686
|
+
"type": "boolean",
|
|
687
|
+
"default": true
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
"path": "extra_body.thinking_budget",
|
|
691
|
+
"label": "Thinking budget",
|
|
692
|
+
"description": "Maximum number of tokens the model may spend on reasoning before it starts the final answer; defaults to the model's maximum reasoning length.",
|
|
693
|
+
"group": "reasoning",
|
|
694
|
+
"applicability": {
|
|
695
|
+
"only": {
|
|
696
|
+
"extra_body.enable_thinking": true
|
|
697
|
+
}
|
|
698
|
+
},
|
|
699
|
+
"type": "integer",
|
|
700
|
+
"range": {
|
|
701
|
+
"min": 1
|
|
702
|
+
}
|
|
703
|
+
}
|
|
704
|
+
]
|
|
705
|
+
},
|
|
631
706
|
{
|
|
632
707
|
"provider": "alibaba",
|
|
633
708
|
"authType": "api_key",
|
|
@@ -7944,6 +8019,102 @@
|
|
|
7944
8019
|
}
|
|
7945
8020
|
]
|
|
7946
8021
|
},
|
|
8022
|
+
{
|
|
8023
|
+
"provider": "google",
|
|
8024
|
+
"authType": "api_key",
|
|
8025
|
+
"model": "gemini-3.7-flash",
|
|
8026
|
+
"params": [
|
|
8027
|
+
{
|
|
8028
|
+
"path": "generationConfig.maxOutputTokens",
|
|
8029
|
+
"label": "Max output tokens",
|
|
8030
|
+
"description": "Maximum number of tokens to include in a response candidate.",
|
|
8031
|
+
"group": "generation_length",
|
|
8032
|
+
"type": "integer",
|
|
8033
|
+
"range": {
|
|
8034
|
+
"min": 1,
|
|
8035
|
+
"max": 65536
|
|
8036
|
+
}
|
|
8037
|
+
},
|
|
8038
|
+
{
|
|
8039
|
+
"path": "generationConfig.temperature",
|
|
8040
|
+
"label": "Temperature",
|
|
8041
|
+
"description": "Controls randomness. Lower values make outputs more focused; higher values make them more varied.",
|
|
8042
|
+
"group": "sampling",
|
|
8043
|
+
"type": "number",
|
|
8044
|
+
"default": 1,
|
|
8045
|
+
"range": {
|
|
8046
|
+
"min": 0,
|
|
8047
|
+
"max": 2,
|
|
8048
|
+
"step": 0.1
|
|
8049
|
+
}
|
|
8050
|
+
},
|
|
8051
|
+
{
|
|
8052
|
+
"path": "generationConfig.topP",
|
|
8053
|
+
"label": "Top P",
|
|
8054
|
+
"description": "Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability.",
|
|
8055
|
+
"group": "sampling",
|
|
8056
|
+
"type": "number",
|
|
8057
|
+
"default": 0.95,
|
|
8058
|
+
"range": {
|
|
8059
|
+
"min": 0,
|
|
8060
|
+
"max": 1,
|
|
8061
|
+
"step": 0.01
|
|
8062
|
+
}
|
|
8063
|
+
},
|
|
8064
|
+
{
|
|
8065
|
+
"path": "generationConfig.topK",
|
|
8066
|
+
"label": "Top K",
|
|
8067
|
+
"description": "Limits token sampling to the top K most likely next tokens.",
|
|
8068
|
+
"group": "sampling",
|
|
8069
|
+
"type": "integer",
|
|
8070
|
+
"default": 64,
|
|
8071
|
+
"range": {
|
|
8072
|
+
"min": 0
|
|
8073
|
+
}
|
|
8074
|
+
},
|
|
8075
|
+
{
|
|
8076
|
+
"path": "generationConfig.seed",
|
|
8077
|
+
"label": "Seed",
|
|
8078
|
+
"description": "Optional seed used for decoding when reproducible sampling is desired.",
|
|
8079
|
+
"group": "sampling",
|
|
8080
|
+
"type": "integer"
|
|
8081
|
+
},
|
|
8082
|
+
{
|
|
8083
|
+
"path": "generationConfig.thinkingConfig.thinkingLevel",
|
|
8084
|
+
"label": "Thinking level",
|
|
8085
|
+
"description": "Controls Gemini 3.1 Flash-Lite reasoning effort.",
|
|
8086
|
+
"group": "reasoning",
|
|
8087
|
+
"type": "enum",
|
|
8088
|
+
"default": "minimal",
|
|
8089
|
+
"values": [
|
|
8090
|
+
"minimal",
|
|
8091
|
+
"low",
|
|
8092
|
+
"medium",
|
|
8093
|
+
"high"
|
|
8094
|
+
]
|
|
8095
|
+
},
|
|
8096
|
+
{
|
|
8097
|
+
"path": "generationConfig.thinkingConfig.includeThoughts",
|
|
8098
|
+
"label": "Include thoughts",
|
|
8099
|
+
"description": "Controls whether Gemini returns available thought summaries in the response parts.",
|
|
8100
|
+
"group": "reasoning",
|
|
8101
|
+
"type": "boolean",
|
|
8102
|
+
"default": false
|
|
8103
|
+
},
|
|
8104
|
+
{
|
|
8105
|
+
"path": "generationConfig.responseMimeType",
|
|
8106
|
+
"label": "Response MIME type",
|
|
8107
|
+
"description": "MIME type for generated text candidates.",
|
|
8108
|
+
"group": "output_format",
|
|
8109
|
+
"type": "enum",
|
|
8110
|
+
"default": "text/plain",
|
|
8111
|
+
"values": [
|
|
8112
|
+
"text/plain",
|
|
8113
|
+
"application/json"
|
|
8114
|
+
]
|
|
8115
|
+
}
|
|
8116
|
+
]
|
|
8117
|
+
},
|
|
7947
8118
|
{
|
|
7948
8119
|
"provider": "google",
|
|
7949
8120
|
"authType": "api_key",
|
|
@@ -14,6 +14,7 @@ ModelId = Literal[
|
|
|
14
14
|
"alibaba/qwen3.6-flash",
|
|
15
15
|
"alibaba/qwen3.7-max",
|
|
16
16
|
"alibaba/qwen3.7-plus",
|
|
17
|
+
"alibaba/qwen3.8-2.4t-a95b",
|
|
17
18
|
"alibaba/qwen3.8-max",
|
|
18
19
|
"alibaba/qwq-plus",
|
|
19
20
|
"anthropic/claude-3-5-haiku-20241022",
|
|
@@ -82,6 +83,7 @@ ModelId = Literal[
|
|
|
82
83
|
"google/gemini-3.1-flash-lite-subscription",
|
|
83
84
|
"google/gemini-3.1-pro-preview-subscription",
|
|
84
85
|
"google/gemini-3.5-flash",
|
|
86
|
+
"google/gemini-3.7-flash",
|
|
85
87
|
"google/gemini-flash-latest",
|
|
86
88
|
"google/gemma-3-12b-it",
|
|
87
89
|
"google/gemma-3-1b-it",
|
|
@@ -271,6 +273,7 @@ MODEL_IDS: tuple[ModelId, ...] = (
|
|
|
271
273
|
"alibaba/qwen3.6-flash",
|
|
272
274
|
"alibaba/qwen3.7-max",
|
|
273
275
|
"alibaba/qwen3.7-plus",
|
|
276
|
+
"alibaba/qwen3.8-2.4t-a95b",
|
|
274
277
|
"alibaba/qwen3.8-max",
|
|
275
278
|
"alibaba/qwq-plus",
|
|
276
279
|
"anthropic/claude-3-5-haiku-20241022",
|
|
@@ -339,6 +342,7 @@ MODEL_IDS: tuple[ModelId, ...] = (
|
|
|
339
342
|
"google/gemini-3.1-flash-lite-subscription",
|
|
340
343
|
"google/gemini-3.1-pro-preview-subscription",
|
|
341
344
|
"google/gemini-3.5-flash",
|
|
345
|
+
"google/gemini-3.7-flash",
|
|
342
346
|
"google/gemini-flash-latest",
|
|
343
347
|
"google/gemma-3-12b-it",
|
|
344
348
|
"google/gemma-3-1b-it",
|
|
@@ -35,6 +35,7 @@ PARAM_TYPES: dict[ModelId, Any] = {
|
|
|
35
35
|
"alibaba/qwen3.6-flash": alibaba.Qwen3_6_FlashParams,
|
|
36
36
|
"alibaba/qwen3.7-max": alibaba.Qwen3_7_MaxParams,
|
|
37
37
|
"alibaba/qwen3.7-plus": alibaba.Qwen3_7_PlusParams,
|
|
38
|
+
"alibaba/qwen3.8-2.4t-a95b": alibaba.Qwen3_8_2_4t_A95bParams,
|
|
38
39
|
"alibaba/qwen3.8-max": alibaba.Qwen3_8_MaxParams,
|
|
39
40
|
"alibaba/qwq-plus": alibaba.Qwq_PlusParams,
|
|
40
41
|
"anthropic/claude-3-5-haiku-20241022": anthropic.Claude_3_5_Haiku_20241022Params,
|
|
@@ -103,6 +104,7 @@ PARAM_TYPES: dict[ModelId, Any] = {
|
|
|
103
104
|
"google/gemini-3.1-flash-lite-subscription": google.Gemini_3_1_Flash_Lite_SubscriptionParams,
|
|
104
105
|
"google/gemini-3.1-pro-preview-subscription": google.Gemini_3_1_Pro_Preview_SubscriptionParams,
|
|
105
106
|
"google/gemini-3.5-flash": google.Gemini_3_5_FlashParams,
|
|
107
|
+
"google/gemini-3.7-flash": google.Gemini_3_7_FlashParams,
|
|
106
108
|
"google/gemini-flash-latest": google.Gemini_Flash_LatestParams,
|
|
107
109
|
"google/gemma-3-12b-it": google.Gemma_3_12b_ItParams,
|
|
108
110
|
"google/gemma-3-1b-it": google.Gemma_3_1b_ItParams,
|
|
@@ -141,6 +141,20 @@ Qwen3_7_PlusParams = TypedDict(
|
|
|
141
141
|
)
|
|
142
142
|
setattr(Qwen3_7_PlusParams, "__pydantic_config__", _PARAMS_CONFIG)
|
|
143
143
|
|
|
144
|
+
Qwen3_8_2_4t_A95bParams = TypedDict(
|
|
145
|
+
"Qwen3_8_2_4t_A95bParams",
|
|
146
|
+
{
|
|
147
|
+
"max_completion_tokens": Annotated[int, Field(ge=1)],
|
|
148
|
+
"temperature": Annotated[float, Field(ge=0, le=2)],
|
|
149
|
+
"top_p": Annotated[float, Field(ge=0, le=1)],
|
|
150
|
+
"extra_body.top_k": Annotated[int, Field(ge=0)],
|
|
151
|
+
"extra_body.enable_thinking": bool,
|
|
152
|
+
"extra_body.thinking_budget": Annotated[int, Field(ge=1)],
|
|
153
|
+
},
|
|
154
|
+
total=False,
|
|
155
|
+
)
|
|
156
|
+
setattr(Qwen3_8_2_4t_A95bParams, "__pydantic_config__", _PARAMS_CONFIG)
|
|
157
|
+
|
|
144
158
|
Qwen3_8_MaxParams = TypedDict(
|
|
145
159
|
"Qwen3_8_MaxParams",
|
|
146
160
|
{
|
|
@@ -178,6 +192,7 @@ __all__ = [
|
|
|
178
192
|
"Qwen3_6_FlashParams",
|
|
179
193
|
"Qwen3_7_MaxParams",
|
|
180
194
|
"Qwen3_7_PlusParams",
|
|
195
|
+
"Qwen3_8_2_4t_A95bParams",
|
|
181
196
|
"Qwen3_8_MaxParams",
|
|
182
197
|
"Qwq_PlusParams",
|
|
183
198
|
]
|
|
@@ -202,6 +202,22 @@ Gemini_3_5_FlashParams = TypedDict(
|
|
|
202
202
|
)
|
|
203
203
|
setattr(Gemini_3_5_FlashParams, "__pydantic_config__", _PARAMS_CONFIG)
|
|
204
204
|
|
|
205
|
+
Gemini_3_7_FlashParams = TypedDict(
|
|
206
|
+
"Gemini_3_7_FlashParams",
|
|
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_7_FlashParams, "__pydantic_config__", _PARAMS_CONFIG)
|
|
220
|
+
|
|
205
221
|
Gemini_Flash_LatestParams = TypedDict(
|
|
206
222
|
"Gemini_Flash_LatestParams",
|
|
207
223
|
{
|
|
@@ -373,6 +389,7 @@ __all__ = [
|
|
|
373
389
|
"Gemini_3_1_Flash_Lite_SubscriptionParams",
|
|
374
390
|
"Gemini_3_1_Pro_Preview_SubscriptionParams",
|
|
375
391
|
"Gemini_3_5_FlashParams",
|
|
392
|
+
"Gemini_3_7_FlashParams",
|
|
376
393
|
"Gemini_Flash_LatestParams",
|
|
377
394
|
"Gemma_3_12b_ItParams",
|
|
378
395
|
"Gemma_3_1b_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
|