From 3d8361eadc84c8abdc7bce3dfbc66e73693e295f Mon Sep 17 00:00:00 2001 From: Guillaume Gay Date: Thu, 21 May 2026 13:27:40 +0200 Subject: [PATCH] feat: add Mistral API parameters --- models/mistral/codestral-latest.yaml | 78 +++++++++++++++++++++ models/mistral/devstral-2512.yaml | 78 +++++++++++++++++++++ models/mistral/devstral-latest.yaml | 78 +++++++++++++++++++++ models/mistral/magistral-medium-latest.yaml | 78 +++++++++++++++++++++ models/mistral/magistral-small-latest.yaml | 78 +++++++++++++++++++++ models/mistral/ministral-14b-latest.yaml | 78 +++++++++++++++++++++ models/mistral/ministral-3b-latest.yaml | 78 +++++++++++++++++++++ models/mistral/ministral-8b-latest.yaml | 78 +++++++++++++++++++++ models/mistral/mistral-large-latest.yaml | 78 +++++++++++++++++++++ models/mistral/mistral-medium-3.5.yaml | 78 +++++++++++++++++++++ models/mistral/mistral-medium-latest.yaml | 78 +++++++++++++++++++++ models/mistral/mistral-small-latest.yaml | 78 +++++++++++++++++++++ models/mistral/open-mistral-nemo.yaml | 78 +++++++++++++++++++++ 13 files changed, 1014 insertions(+) create mode 100644 models/mistral/codestral-latest.yaml create mode 100644 models/mistral/devstral-2512.yaml create mode 100644 models/mistral/devstral-latest.yaml create mode 100644 models/mistral/magistral-medium-latest.yaml create mode 100644 models/mistral/magistral-small-latest.yaml create mode 100644 models/mistral/ministral-14b-latest.yaml create mode 100644 models/mistral/ministral-3b-latest.yaml create mode 100644 models/mistral/ministral-8b-latest.yaml create mode 100644 models/mistral/mistral-large-latest.yaml create mode 100644 models/mistral/mistral-medium-3.5.yaml create mode 100644 models/mistral/mistral-medium-latest.yaml create mode 100644 models/mistral/mistral-small-latest.yaml create mode 100644 models/mistral/open-mistral-nemo.yaml diff --git a/models/mistral/codestral-latest.yaml b/models/mistral/codestral-latest.yaml new file mode 100644 index 0000000..1042307 --- /dev/null +++ b/models/mistral/codestral-latest.yaml @@ -0,0 +1,78 @@ +# yaml-language-server: $schema=https://modelparams.dev/api/v1/schema.json +provider: mistral +authType: api_key +model: codestral-latest +params: + - path: max_tokens + type: integer + label: Max tokens + description: Maximum number of tokens to generate in the completion. + range: + min: 1 + group: generation_length + - path: stop + type: string + label: Stop sequence + description: Stops generation when this string is detected. + group: generation_length + - path: temperature + type: number + label: Temperature + description: Controls randomness. Lower values make outputs more focused; higher values make them more varied. + range: + min: 0 + max: 1.5 + step: 0.1 + group: sampling + - path: top_p + type: number + label: Top P + description: Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. + default: 1 + range: + min: 0 + max: 1 + step: 0.01 + group: sampling + - path: random_seed + type: integer + label: Random seed + description: Seed used for deterministic sampling when reproducible outputs are desired. + range: + min: 0 + group: sampling + - path: presence_penalty + type: number + label: Presence penalty + description: Penalizes repeated words or phrases to encourage a wider variety of generated content. + default: 0 + range: + min: -2 + max: 2 + step: 0.1 + group: sampling + - path: frequency_penalty + type: number + label: Frequency penalty + description: Penalizes words based on how often they already appear in the generated text. + default: 0 + range: + min: -2 + max: 2 + step: 0.1 + group: sampling + - path: response_format.type + type: enum + label: Response format + description: Controls whether the model returns normal text or JSON mode output. + default: text + values: + - text + - json_object + group: output_format + - path: safe_prompt + type: boolean + label: Safe prompt + description: Controls whether Mistral injects its safety prompt before the conversation. + default: false + group: provider_metadata diff --git a/models/mistral/devstral-2512.yaml b/models/mistral/devstral-2512.yaml new file mode 100644 index 0000000..8a5b1f3 --- /dev/null +++ b/models/mistral/devstral-2512.yaml @@ -0,0 +1,78 @@ +# yaml-language-server: $schema=https://modelparams.dev/api/v1/schema.json +provider: mistral +authType: api_key +model: devstral-2512 +params: + - path: max_tokens + type: integer + label: Max tokens + description: Maximum number of tokens to generate in the completion. + range: + min: 1 + group: generation_length + - path: stop + type: string + label: Stop sequence + description: Stops generation when this string is detected. + group: generation_length + - path: temperature + type: number + label: Temperature + description: Controls randomness. Lower values make outputs more focused; higher values make them more varied. + range: + min: 0 + max: 1.5 + step: 0.1 + group: sampling + - path: top_p + type: number + label: Top P + description: Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. + default: 1 + range: + min: 0 + max: 1 + step: 0.01 + group: sampling + - path: random_seed + type: integer + label: Random seed + description: Seed used for deterministic sampling when reproducible outputs are desired. + range: + min: 0 + group: sampling + - path: presence_penalty + type: number + label: Presence penalty + description: Penalizes repeated words or phrases to encourage a wider variety of generated content. + default: 0 + range: + min: -2 + max: 2 + step: 0.1 + group: sampling + - path: frequency_penalty + type: number + label: Frequency penalty + description: Penalizes words based on how often they already appear in the generated text. + default: 0 + range: + min: -2 + max: 2 + step: 0.1 + group: sampling + - path: response_format.type + type: enum + label: Response format + description: Controls whether the model returns normal text or JSON mode output. + default: text + values: + - text + - json_object + group: output_format + - path: safe_prompt + type: boolean + label: Safe prompt + description: Controls whether Mistral injects its safety prompt before the conversation. + default: false + group: provider_metadata diff --git a/models/mistral/devstral-latest.yaml b/models/mistral/devstral-latest.yaml new file mode 100644 index 0000000..a02216b --- /dev/null +++ b/models/mistral/devstral-latest.yaml @@ -0,0 +1,78 @@ +# yaml-language-server: $schema=https://modelparams.dev/api/v1/schema.json +provider: mistral +authType: api_key +model: devstral-latest +params: + - path: max_tokens + type: integer + label: Max tokens + description: Maximum number of tokens to generate in the completion. + range: + min: 1 + group: generation_length + - path: stop + type: string + label: Stop sequence + description: Stops generation when this string is detected. + group: generation_length + - path: temperature + type: number + label: Temperature + description: Controls randomness. Lower values make outputs more focused; higher values make them more varied. + range: + min: 0 + max: 1.5 + step: 0.1 + group: sampling + - path: top_p + type: number + label: Top P + description: Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. + default: 1 + range: + min: 0 + max: 1 + step: 0.01 + group: sampling + - path: random_seed + type: integer + label: Random seed + description: Seed used for deterministic sampling when reproducible outputs are desired. + range: + min: 0 + group: sampling + - path: presence_penalty + type: number + label: Presence penalty + description: Penalizes repeated words or phrases to encourage a wider variety of generated content. + default: 0 + range: + min: -2 + max: 2 + step: 0.1 + group: sampling + - path: frequency_penalty + type: number + label: Frequency penalty + description: Penalizes words based on how often they already appear in the generated text. + default: 0 + range: + min: -2 + max: 2 + step: 0.1 + group: sampling + - path: response_format.type + type: enum + label: Response format + description: Controls whether the model returns normal text or JSON mode output. + default: text + values: + - text + - json_object + group: output_format + - path: safe_prompt + type: boolean + label: Safe prompt + description: Controls whether Mistral injects its safety prompt before the conversation. + default: false + group: provider_metadata diff --git a/models/mistral/magistral-medium-latest.yaml b/models/mistral/magistral-medium-latest.yaml new file mode 100644 index 0000000..cdc2816 --- /dev/null +++ b/models/mistral/magistral-medium-latest.yaml @@ -0,0 +1,78 @@ +# yaml-language-server: $schema=https://modelparams.dev/api/v1/schema.json +provider: mistral +authType: api_key +model: magistral-medium-latest +params: + - path: max_tokens + type: integer + label: Max tokens + description: Maximum number of tokens to generate in the completion. + range: + min: 1 + group: generation_length + - path: stop + type: string + label: Stop sequence + description: Stops generation when this string is detected. + group: generation_length + - path: temperature + type: number + label: Temperature + description: Controls randomness. Lower values make outputs more focused; higher values make them more varied. + range: + min: 0 + max: 1.5 + step: 0.1 + group: sampling + - path: top_p + type: number + label: Top P + description: Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. + default: 1 + range: + min: 0 + max: 1 + step: 0.01 + group: sampling + - path: random_seed + type: integer + label: Random seed + description: Seed used for deterministic sampling when reproducible outputs are desired. + range: + min: 0 + group: sampling + - path: presence_penalty + type: number + label: Presence penalty + description: Penalizes repeated words or phrases to encourage a wider variety of generated content. + default: 0 + range: + min: -2 + max: 2 + step: 0.1 + group: sampling + - path: frequency_penalty + type: number + label: Frequency penalty + description: Penalizes words based on how often they already appear in the generated text. + default: 0 + range: + min: -2 + max: 2 + step: 0.1 + group: sampling + - path: response_format.type + type: enum + label: Response format + description: Controls whether the model returns normal text or JSON mode output. + default: text + values: + - text + - json_object + group: output_format + - path: safe_prompt + type: boolean + label: Safe prompt + description: Controls whether Mistral injects its safety prompt before the conversation. + default: false + group: provider_metadata diff --git a/models/mistral/magistral-small-latest.yaml b/models/mistral/magistral-small-latest.yaml new file mode 100644 index 0000000..c3c76c9 --- /dev/null +++ b/models/mistral/magistral-small-latest.yaml @@ -0,0 +1,78 @@ +# yaml-language-server: $schema=https://modelparams.dev/api/v1/schema.json +provider: mistral +authType: api_key +model: magistral-small-latest +params: + - path: max_tokens + type: integer + label: Max tokens + description: Maximum number of tokens to generate in the completion. + range: + min: 1 + group: generation_length + - path: stop + type: string + label: Stop sequence + description: Stops generation when this string is detected. + group: generation_length + - path: temperature + type: number + label: Temperature + description: Controls randomness. Lower values make outputs more focused; higher values make them more varied. + range: + min: 0 + max: 1.5 + step: 0.1 + group: sampling + - path: top_p + type: number + label: Top P + description: Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. + default: 1 + range: + min: 0 + max: 1 + step: 0.01 + group: sampling + - path: random_seed + type: integer + label: Random seed + description: Seed used for deterministic sampling when reproducible outputs are desired. + range: + min: 0 + group: sampling + - path: presence_penalty + type: number + label: Presence penalty + description: Penalizes repeated words or phrases to encourage a wider variety of generated content. + default: 0 + range: + min: -2 + max: 2 + step: 0.1 + group: sampling + - path: frequency_penalty + type: number + label: Frequency penalty + description: Penalizes words based on how often they already appear in the generated text. + default: 0 + range: + min: -2 + max: 2 + step: 0.1 + group: sampling + - path: response_format.type + type: enum + label: Response format + description: Controls whether the model returns normal text or JSON mode output. + default: text + values: + - text + - json_object + group: output_format + - path: safe_prompt + type: boolean + label: Safe prompt + description: Controls whether Mistral injects its safety prompt before the conversation. + default: false + group: provider_metadata diff --git a/models/mistral/ministral-14b-latest.yaml b/models/mistral/ministral-14b-latest.yaml new file mode 100644 index 0000000..fd201bb --- /dev/null +++ b/models/mistral/ministral-14b-latest.yaml @@ -0,0 +1,78 @@ +# yaml-language-server: $schema=https://modelparams.dev/api/v1/schema.json +provider: mistral +authType: api_key +model: ministral-14b-latest +params: + - path: max_tokens + type: integer + label: Max tokens + description: Maximum number of tokens to generate in the completion. + range: + min: 1 + group: generation_length + - path: stop + type: string + label: Stop sequence + description: Stops generation when this string is detected. + group: generation_length + - path: temperature + type: number + label: Temperature + description: Controls randomness. Lower values make outputs more focused; higher values make them more varied. + range: + min: 0 + max: 1.5 + step: 0.1 + group: sampling + - path: top_p + type: number + label: Top P + description: Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. + default: 1 + range: + min: 0 + max: 1 + step: 0.01 + group: sampling + - path: random_seed + type: integer + label: Random seed + description: Seed used for deterministic sampling when reproducible outputs are desired. + range: + min: 0 + group: sampling + - path: presence_penalty + type: number + label: Presence penalty + description: Penalizes repeated words or phrases to encourage a wider variety of generated content. + default: 0 + range: + min: -2 + max: 2 + step: 0.1 + group: sampling + - path: frequency_penalty + type: number + label: Frequency penalty + description: Penalizes words based on how often they already appear in the generated text. + default: 0 + range: + min: -2 + max: 2 + step: 0.1 + group: sampling + - path: response_format.type + type: enum + label: Response format + description: Controls whether the model returns normal text or JSON mode output. + default: text + values: + - text + - json_object + group: output_format + - path: safe_prompt + type: boolean + label: Safe prompt + description: Controls whether Mistral injects its safety prompt before the conversation. + default: false + group: provider_metadata diff --git a/models/mistral/ministral-3b-latest.yaml b/models/mistral/ministral-3b-latest.yaml new file mode 100644 index 0000000..24d07ce --- /dev/null +++ b/models/mistral/ministral-3b-latest.yaml @@ -0,0 +1,78 @@ +# yaml-language-server: $schema=https://modelparams.dev/api/v1/schema.json +provider: mistral +authType: api_key +model: ministral-3b-latest +params: + - path: max_tokens + type: integer + label: Max tokens + description: Maximum number of tokens to generate in the completion. + range: + min: 1 + group: generation_length + - path: stop + type: string + label: Stop sequence + description: Stops generation when this string is detected. + group: generation_length + - path: temperature + type: number + label: Temperature + description: Controls randomness. Lower values make outputs more focused; higher values make them more varied. + range: + min: 0 + max: 1.5 + step: 0.1 + group: sampling + - path: top_p + type: number + label: Top P + description: Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. + default: 1 + range: + min: 0 + max: 1 + step: 0.01 + group: sampling + - path: random_seed + type: integer + label: Random seed + description: Seed used for deterministic sampling when reproducible outputs are desired. + range: + min: 0 + group: sampling + - path: presence_penalty + type: number + label: Presence penalty + description: Penalizes repeated words or phrases to encourage a wider variety of generated content. + default: 0 + range: + min: -2 + max: 2 + step: 0.1 + group: sampling + - path: frequency_penalty + type: number + label: Frequency penalty + description: Penalizes words based on how often they already appear in the generated text. + default: 0 + range: + min: -2 + max: 2 + step: 0.1 + group: sampling + - path: response_format.type + type: enum + label: Response format + description: Controls whether the model returns normal text or JSON mode output. + default: text + values: + - text + - json_object + group: output_format + - path: safe_prompt + type: boolean + label: Safe prompt + description: Controls whether Mistral injects its safety prompt before the conversation. + default: false + group: provider_metadata diff --git a/models/mistral/ministral-8b-latest.yaml b/models/mistral/ministral-8b-latest.yaml new file mode 100644 index 0000000..1180f35 --- /dev/null +++ b/models/mistral/ministral-8b-latest.yaml @@ -0,0 +1,78 @@ +# yaml-language-server: $schema=https://modelparams.dev/api/v1/schema.json +provider: mistral +authType: api_key +model: ministral-8b-latest +params: + - path: max_tokens + type: integer + label: Max tokens + description: Maximum number of tokens to generate in the completion. + range: + min: 1 + group: generation_length + - path: stop + type: string + label: Stop sequence + description: Stops generation when this string is detected. + group: generation_length + - path: temperature + type: number + label: Temperature + description: Controls randomness. Lower values make outputs more focused; higher values make them more varied. + range: + min: 0 + max: 1.5 + step: 0.1 + group: sampling + - path: top_p + type: number + label: Top P + description: Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. + default: 1 + range: + min: 0 + max: 1 + step: 0.01 + group: sampling + - path: random_seed + type: integer + label: Random seed + description: Seed used for deterministic sampling when reproducible outputs are desired. + range: + min: 0 + group: sampling + - path: presence_penalty + type: number + label: Presence penalty + description: Penalizes repeated words or phrases to encourage a wider variety of generated content. + default: 0 + range: + min: -2 + max: 2 + step: 0.1 + group: sampling + - path: frequency_penalty + type: number + label: Frequency penalty + description: Penalizes words based on how often they already appear in the generated text. + default: 0 + range: + min: -2 + max: 2 + step: 0.1 + group: sampling + - path: response_format.type + type: enum + label: Response format + description: Controls whether the model returns normal text or JSON mode output. + default: text + values: + - text + - json_object + group: output_format + - path: safe_prompt + type: boolean + label: Safe prompt + description: Controls whether Mistral injects its safety prompt before the conversation. + default: false + group: provider_metadata diff --git a/models/mistral/mistral-large-latest.yaml b/models/mistral/mistral-large-latest.yaml new file mode 100644 index 0000000..3d09cae --- /dev/null +++ b/models/mistral/mistral-large-latest.yaml @@ -0,0 +1,78 @@ +# yaml-language-server: $schema=https://modelparams.dev/api/v1/schema.json +provider: mistral +authType: api_key +model: mistral-large-latest +params: + - path: max_tokens + type: integer + label: Max tokens + description: Maximum number of tokens to generate in the completion. + range: + min: 1 + group: generation_length + - path: stop + type: string + label: Stop sequence + description: Stops generation when this string is detected. + group: generation_length + - path: temperature + type: number + label: Temperature + description: Controls randomness. Lower values make outputs more focused; higher values make them more varied. + range: + min: 0 + max: 1.5 + step: 0.1 + group: sampling + - path: top_p + type: number + label: Top P + description: Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. + default: 1 + range: + min: 0 + max: 1 + step: 0.01 + group: sampling + - path: random_seed + type: integer + label: Random seed + description: Seed used for deterministic sampling when reproducible outputs are desired. + range: + min: 0 + group: sampling + - path: presence_penalty + type: number + label: Presence penalty + description: Penalizes repeated words or phrases to encourage a wider variety of generated content. + default: 0 + range: + min: -2 + max: 2 + step: 0.1 + group: sampling + - path: frequency_penalty + type: number + label: Frequency penalty + description: Penalizes words based on how often they already appear in the generated text. + default: 0 + range: + min: -2 + max: 2 + step: 0.1 + group: sampling + - path: response_format.type + type: enum + label: Response format + description: Controls whether the model returns normal text or JSON mode output. + default: text + values: + - text + - json_object + group: output_format + - path: safe_prompt + type: boolean + label: Safe prompt + description: Controls whether Mistral injects its safety prompt before the conversation. + default: false + group: provider_metadata diff --git a/models/mistral/mistral-medium-3.5.yaml b/models/mistral/mistral-medium-3.5.yaml new file mode 100644 index 0000000..a3d8fa7 --- /dev/null +++ b/models/mistral/mistral-medium-3.5.yaml @@ -0,0 +1,78 @@ +# yaml-language-server: $schema=https://modelparams.dev/api/v1/schema.json +provider: mistral +authType: api_key +model: mistral-medium-3.5 +params: + - path: max_tokens + type: integer + label: Max tokens + description: Maximum number of tokens to generate in the completion. + range: + min: 1 + group: generation_length + - path: stop + type: string + label: Stop sequence + description: Stops generation when this string is detected. + group: generation_length + - path: temperature + type: number + label: Temperature + description: Controls randomness. Lower values make outputs more focused; higher values make them more varied. + range: + min: 0 + max: 1.5 + step: 0.1 + group: sampling + - path: top_p + type: number + label: Top P + description: Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. + default: 1 + range: + min: 0 + max: 1 + step: 0.01 + group: sampling + - path: random_seed + type: integer + label: Random seed + description: Seed used for deterministic sampling when reproducible outputs are desired. + range: + min: 0 + group: sampling + - path: presence_penalty + type: number + label: Presence penalty + description: Penalizes repeated words or phrases to encourage a wider variety of generated content. + default: 0 + range: + min: -2 + max: 2 + step: 0.1 + group: sampling + - path: frequency_penalty + type: number + label: Frequency penalty + description: Penalizes words based on how often they already appear in the generated text. + default: 0 + range: + min: -2 + max: 2 + step: 0.1 + group: sampling + - path: response_format.type + type: enum + label: Response format + description: Controls whether the model returns normal text or JSON mode output. + default: text + values: + - text + - json_object + group: output_format + - path: safe_prompt + type: boolean + label: Safe prompt + description: Controls whether Mistral injects its safety prompt before the conversation. + default: false + group: provider_metadata diff --git a/models/mistral/mistral-medium-latest.yaml b/models/mistral/mistral-medium-latest.yaml new file mode 100644 index 0000000..fe6abb5 --- /dev/null +++ b/models/mistral/mistral-medium-latest.yaml @@ -0,0 +1,78 @@ +# yaml-language-server: $schema=https://modelparams.dev/api/v1/schema.json +provider: mistral +authType: api_key +model: mistral-medium-latest +params: + - path: max_tokens + type: integer + label: Max tokens + description: Maximum number of tokens to generate in the completion. + range: + min: 1 + group: generation_length + - path: stop + type: string + label: Stop sequence + description: Stops generation when this string is detected. + group: generation_length + - path: temperature + type: number + label: Temperature + description: Controls randomness. Lower values make outputs more focused; higher values make them more varied. + range: + min: 0 + max: 1.5 + step: 0.1 + group: sampling + - path: top_p + type: number + label: Top P + description: Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. + default: 1 + range: + min: 0 + max: 1 + step: 0.01 + group: sampling + - path: random_seed + type: integer + label: Random seed + description: Seed used for deterministic sampling when reproducible outputs are desired. + range: + min: 0 + group: sampling + - path: presence_penalty + type: number + label: Presence penalty + description: Penalizes repeated words or phrases to encourage a wider variety of generated content. + default: 0 + range: + min: -2 + max: 2 + step: 0.1 + group: sampling + - path: frequency_penalty + type: number + label: Frequency penalty + description: Penalizes words based on how often they already appear in the generated text. + default: 0 + range: + min: -2 + max: 2 + step: 0.1 + group: sampling + - path: response_format.type + type: enum + label: Response format + description: Controls whether the model returns normal text or JSON mode output. + default: text + values: + - text + - json_object + group: output_format + - path: safe_prompt + type: boolean + label: Safe prompt + description: Controls whether Mistral injects its safety prompt before the conversation. + default: false + group: provider_metadata diff --git a/models/mistral/mistral-small-latest.yaml b/models/mistral/mistral-small-latest.yaml new file mode 100644 index 0000000..f017d61 --- /dev/null +++ b/models/mistral/mistral-small-latest.yaml @@ -0,0 +1,78 @@ +# yaml-language-server: $schema=https://modelparams.dev/api/v1/schema.json +provider: mistral +authType: api_key +model: mistral-small-latest +params: + - path: max_tokens + type: integer + label: Max tokens + description: Maximum number of tokens to generate in the completion. + range: + min: 1 + group: generation_length + - path: stop + type: string + label: Stop sequence + description: Stops generation when this string is detected. + group: generation_length + - path: temperature + type: number + label: Temperature + description: Controls randomness. Lower values make outputs more focused; higher values make them more varied. + range: + min: 0 + max: 1.5 + step: 0.1 + group: sampling + - path: top_p + type: number + label: Top P + description: Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. + default: 1 + range: + min: 0 + max: 1 + step: 0.01 + group: sampling + - path: random_seed + type: integer + label: Random seed + description: Seed used for deterministic sampling when reproducible outputs are desired. + range: + min: 0 + group: sampling + - path: presence_penalty + type: number + label: Presence penalty + description: Penalizes repeated words or phrases to encourage a wider variety of generated content. + default: 0 + range: + min: -2 + max: 2 + step: 0.1 + group: sampling + - path: frequency_penalty + type: number + label: Frequency penalty + description: Penalizes words based on how often they already appear in the generated text. + default: 0 + range: + min: -2 + max: 2 + step: 0.1 + group: sampling + - path: response_format.type + type: enum + label: Response format + description: Controls whether the model returns normal text or JSON mode output. + default: text + values: + - text + - json_object + group: output_format + - path: safe_prompt + type: boolean + label: Safe prompt + description: Controls whether Mistral injects its safety prompt before the conversation. + default: false + group: provider_metadata diff --git a/models/mistral/open-mistral-nemo.yaml b/models/mistral/open-mistral-nemo.yaml new file mode 100644 index 0000000..b49816c --- /dev/null +++ b/models/mistral/open-mistral-nemo.yaml @@ -0,0 +1,78 @@ +# yaml-language-server: $schema=https://modelparams.dev/api/v1/schema.json +provider: mistral +authType: api_key +model: open-mistral-nemo +params: + - path: max_tokens + type: integer + label: Max tokens + description: Maximum number of tokens to generate in the completion. + range: + min: 1 + group: generation_length + - path: stop + type: string + label: Stop sequence + description: Stops generation when this string is detected. + group: generation_length + - path: temperature + type: number + label: Temperature + description: Controls randomness. Lower values make outputs more focused; higher values make them more varied. + range: + min: 0 + max: 1.5 + step: 0.1 + group: sampling + - path: top_p + type: number + label: Top P + description: Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. + default: 1 + range: + min: 0 + max: 1 + step: 0.01 + group: sampling + - path: random_seed + type: integer + label: Random seed + description: Seed used for deterministic sampling when reproducible outputs are desired. + range: + min: 0 + group: sampling + - path: presence_penalty + type: number + label: Presence penalty + description: Penalizes repeated words or phrases to encourage a wider variety of generated content. + default: 0 + range: + min: -2 + max: 2 + step: 0.1 + group: sampling + - path: frequency_penalty + type: number + label: Frequency penalty + description: Penalizes words based on how often they already appear in the generated text. + default: 0 + range: + min: -2 + max: 2 + step: 0.1 + group: sampling + - path: response_format.type + type: enum + label: Response format + description: Controls whether the model returns normal text or JSON mode output. + default: text + values: + - text + - json_object + group: output_format + - path: safe_prompt + type: boolean + label: Safe prompt + description: Controls whether Mistral injects its safety prompt before the conversation. + default: false + group: provider_metadata