-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add-some-new-models-hosted-on-nvidia (#4303)
- Loading branch information
1 parent
f798680
commit a80fe20
Showing
6 changed files
with
154 additions
and
1 deletion.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
api/core/model_runtime/model_providers/nvidia/llm/_position.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
- google/gemma-7b | ||
- google/codegemma-7b | ||
- google/recurrentgemma-2b | ||
- meta/llama2-70b | ||
- meta/llama3-8b-instruct | ||
- meta/llama3-70b-instruct | ||
- mistralai/mistral-large | ||
- mistralai/mixtral-8x7b-instruct-v0.1 | ||
- mistralai/mixtral-8x22b-instruct-v0.1 | ||
- fuyu-8b | ||
- snowflake/arctic |
36 changes: 36 additions & 0 deletions
36
api/core/model_runtime/model_providers/nvidia/llm/arctic.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
model: snowflake/arctic | ||
label: | ||
zh_Hans: snowflake/arctic | ||
en_US: snowflake/arctic | ||
model_type: llm | ||
features: | ||
- agent-thought | ||
model_properties: | ||
mode: chat | ||
context_size: 4000 | ||
parameter_rules: | ||
- name: temperature | ||
use_template: temperature | ||
min: 0 | ||
max: 1 | ||
default: 0.5 | ||
- name: top_p | ||
use_template: top_p | ||
min: 0 | ||
max: 1 | ||
default: 1 | ||
- name: max_tokens | ||
use_template: max_tokens | ||
min: 1 | ||
max: 1024 | ||
default: 1024 | ||
- name: frequency_penalty | ||
use_template: frequency_penalty | ||
min: -2 | ||
max: 2 | ||
default: 0 | ||
- name: presence_penalty | ||
use_template: presence_penalty | ||
min: -2 | ||
max: 2 | ||
default: 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
api/core/model_runtime/model_providers/nvidia/llm/mistral-large.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
model: mistralai/mistral-large | ||
label: | ||
zh_Hans: mistralai/mistral-large | ||
en_US: mistralai/mistral-large | ||
model_type: llm | ||
features: | ||
- agent-thought | ||
model_properties: | ||
mode: chat | ||
context_size: 32000 | ||
parameter_rules: | ||
- name: temperature | ||
use_template: temperature | ||
min: 0 | ||
max: 1 | ||
default: 0.5 | ||
- name: top_p | ||
use_template: top_p | ||
min: 0 | ||
max: 1 | ||
default: 1 | ||
- name: max_tokens | ||
use_template: max_tokens | ||
min: 1 | ||
max: 1024 | ||
default: 1024 | ||
- name: frequency_penalty | ||
use_template: frequency_penalty | ||
min: -2 | ||
max: 2 | ||
default: 0 | ||
- name: presence_penalty | ||
use_template: presence_penalty | ||
min: -2 | ||
max: 2 | ||
default: 0 |
36 changes: 36 additions & 0 deletions
36
api/core/model_runtime/model_providers/nvidia/llm/mixtral-8x22b-instruct-v0.1.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
model: mistralai/mixtral-8x22b-instruct-v0.1 | ||
label: | ||
zh_Hans: mistralai/mixtral-8x22b-instruct-v0.1 | ||
en_US: mistralai/mixtral-8x22b-instruct-v0.1 | ||
model_type: llm | ||
features: | ||
- agent-thought | ||
model_properties: | ||
mode: chat | ||
context_size: 64000 | ||
parameter_rules: | ||
- name: temperature | ||
use_template: temperature | ||
min: 0 | ||
max: 1 | ||
default: 0.5 | ||
- name: top_p | ||
use_template: top_p | ||
min: 0 | ||
max: 1 | ||
default: 1 | ||
- name: max_tokens | ||
use_template: max_tokens | ||
min: 1 | ||
max: 1024 | ||
default: 1024 | ||
- name: frequency_penalty | ||
use_template: frequency_penalty | ||
min: -2 | ||
max: 2 | ||
default: 0 | ||
- name: presence_penalty | ||
use_template: presence_penalty | ||
min: -2 | ||
max: 2 | ||
default: 0 |
37 changes: 37 additions & 0 deletions
37
api/core/model_runtime/model_providers/nvidia/llm/recurrentgemma-2b.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
model: google/recurrentgemma-2b | ||
label: | ||
zh_Hans: google/recurrentgemma-2b | ||
en_US: google/recurrentgemma-2b | ||
model_type: llm | ||
features: | ||
- agent-thought | ||
model_properties: | ||
mode: chat | ||
context_size: 2048 | ||
parameter_rules: | ||
- name: temperature | ||
use_template: temperature | ||
min: 0 | ||
max: 1 | ||
default: 0.2 | ||
- name: top_p | ||
use_template: top_p | ||
min: 0 | ||
max: 1 | ||
default: 0.7 | ||
- name: max_tokens | ||
use_template: max_tokens | ||
min: 1 | ||
max: 1024 | ||
default: 1024 | ||
- name: random_seed | ||
type: int | ||
help: | ||
en_US: The seed to use for random sampling. If set, different calls will generate deterministic results. | ||
zh_Hans: 当开启随机数种子以后,你可以通过指定一个固定的种子来使得回答结果更加稳定 | ||
label: | ||
en_US: Seed | ||
zh_Hans: 种子 | ||
default: 0 | ||
min: 0 | ||
max: 2147483647 |