-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat:nvidia add nemotron4-340b and microsoft/phi-3 (#6973)
- Loading branch information
Showing
5 changed files
with
115 additions
and
2 deletions.
There are no files selected for viewing
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
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/nemotron-4-340b-instruct.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: nvidia/nemotron-4-340b-instruct | ||
label: | ||
zh_Hans: nvidia/nemotron-4-340b-instruct | ||
en_US: nvidia/nemotron-4-340b-instruct | ||
model_type: llm | ||
features: | ||
- agent-thought | ||
model_properties: | ||
mode: chat | ||
context_size: 131072 | ||
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: 4096 | ||
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/phi-3-medium-128k-instruct.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: microsoft/phi-3-medium-128k-instruct | ||
label: | ||
zh_Hans: microsoft/phi-3-medium-128k-instruct | ||
en_US: microsoft/phi-3-medium-128k-instruct | ||
model_type: llm | ||
features: | ||
- agent-thought | ||
model_properties: | ||
mode: chat | ||
context_size: 131072 | ||
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: 4096 | ||
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/phi-3-mini-128k-instruct.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: microsoft/phi-3-mini-128k-instruct | ||
label: | ||
zh_Hans: microsoft/phi-3-mini-128k-instruct | ||
en_US: microsoft/phi-3-mini-128k-instruct | ||
model_type: llm | ||
features: | ||
- agent-thought | ||
model_properties: | ||
mode: chat | ||
context_size: 131072 | ||
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: 4096 | ||
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 |