-
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 Jamba and Llama3.2 model support (#8878)
- Loading branch information
1 parent
4ec977e
commit e4ed916
Showing
8 changed files
with
172 additions
and
0 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
26 changes: 26 additions & 0 deletions
26
api/core/model_runtime/model_providers/bedrock/llm/ai21.jamba-1-5-large-v1.0.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,26 @@ | ||
model: ai21.jamba-1-5-large-v1:0 | ||
label: | ||
en_US: Jamba 1.5 Large | ||
model_type: llm | ||
model_properties: | ||
mode: completion | ||
context_size: 256000 | ||
parameter_rules: | ||
- name: temperature | ||
use_template: temperature | ||
default: 1 | ||
min: 0.0 | ||
max: 2.0 | ||
- name: top_p | ||
use_template: top_p | ||
- name: max_gen_len | ||
use_template: max_tokens | ||
required: true | ||
default: 4096 | ||
min: 1 | ||
max: 4096 | ||
pricing: | ||
input: '0.002' | ||
output: '0.008' | ||
unit: '0.001' | ||
currency: USD |
26 changes: 26 additions & 0 deletions
26
api/core/model_runtime/model_providers/bedrock/llm/ai21.jamba-1-5-mini-v1.0.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,26 @@ | ||
model: ai21.jamba-1-5-mini-v1:0 | ||
label: | ||
en_US: Jamba 1.5 Mini | ||
model_type: llm | ||
model_properties: | ||
mode: completion | ||
context_size: 256000 | ||
parameter_rules: | ||
- name: temperature | ||
use_template: temperature | ||
default: 1 | ||
min: 0.0 | ||
max: 2.0 | ||
- name: top_p | ||
use_template: top_p | ||
- name: max_gen_len | ||
use_template: max_tokens | ||
required: true | ||
default: 4096 | ||
min: 1 | ||
max: 4096 | ||
pricing: | ||
input: '0.0002' | ||
output: '0.0004' | ||
unit: '0.001' | ||
currency: USD |
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
29 changes: 29 additions & 0 deletions
29
api/core/model_runtime/model_providers/bedrock/llm/us.meta.llama3-2-11b-instruct-v1.0.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,29 @@ | ||
model: us.meta.llama3-2-11b-instruct-v1:0 | ||
label: | ||
en_US: US Meta Llama 3.2 11B Instruct | ||
model_type: llm | ||
features: | ||
- vision | ||
- tool-call | ||
model_properties: | ||
mode: completion | ||
context_size: 128000 | ||
parameter_rules: | ||
- name: temperature | ||
use_template: temperature | ||
default: 0.5 | ||
min: 0.0 | ||
max: 1 | ||
- name: top_p | ||
use_template: top_p | ||
- name: max_gen_len | ||
use_template: max_tokens | ||
required: true | ||
default: 512 | ||
min: 1 | ||
max: 2048 | ||
pricing: | ||
input: '0.00035' | ||
output: '0.00035' | ||
unit: '0.001' | ||
currency: USD |
26 changes: 26 additions & 0 deletions
26
api/core/model_runtime/model_providers/bedrock/llm/us.meta.llama3-2-1b-instruct-v1.0.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,26 @@ | ||
model: us.meta.llama3-2-1b-instruct-v1:0 | ||
label: | ||
en_US: US Meta Llama 3.2 1B Instruct | ||
model_type: llm | ||
model_properties: | ||
mode: completion | ||
context_size: 128000 | ||
parameter_rules: | ||
- name: temperature | ||
use_template: temperature | ||
default: 0.5 | ||
min: 0.0 | ||
max: 1 | ||
- name: top_p | ||
use_template: top_p | ||
- name: max_gen_len | ||
use_template: max_tokens | ||
required: true | ||
default: 512 | ||
min: 1 | ||
max: 2048 | ||
pricing: | ||
input: '0.0001' | ||
output: '0.0001' | ||
unit: '0.001' | ||
currency: USD |
26 changes: 26 additions & 0 deletions
26
api/core/model_runtime/model_providers/bedrock/llm/us.meta.llama3-2-3b-instruct-v1.0.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,26 @@ | ||
model: us.meta.llama3-2-3b-instruct-v1:0 | ||
label: | ||
en_US: US Meta Llama 3.2 3B Instruct | ||
model_type: llm | ||
model_properties: | ||
mode: completion | ||
context_size: 128000 | ||
parameter_rules: | ||
- name: temperature | ||
use_template: temperature | ||
default: 0.5 | ||
min: 0.0 | ||
max: 1 | ||
- name: top_p | ||
use_template: top_p | ||
- name: max_gen_len | ||
use_template: max_tokens | ||
required: true | ||
default: 512 | ||
min: 1 | ||
max: 2048 | ||
pricing: | ||
input: '0.00015' | ||
output: '0.00015' | ||
unit: '0.001' | ||
currency: USD |
31 changes: 31 additions & 0 deletions
31
api/core/model_runtime/model_providers/bedrock/llm/us.meta.llama3-2-90b-instruct-v1.0.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,31 @@ | ||
model: us.meta.llama3-2-90b-instruct-v1:0 | ||
label: | ||
en_US: US Meta Llama 3.2 90B Instruct | ||
model_type: llm | ||
features: | ||
- tool-call | ||
model_properties: | ||
mode: completion | ||
context_size: 128000 | ||
parameter_rules: | ||
- name: temperature | ||
use_template: temperature | ||
default: 0.5 | ||
min: 0.0 | ||
max: 1 | ||
- name: top_p | ||
use_template: top_p | ||
default: 0.9 | ||
min: 0 | ||
max: 1 | ||
- name: max_gen_len | ||
use_template: max_tokens | ||
required: true | ||
default: 512 | ||
min: 1 | ||
max: 2048 | ||
pricing: | ||
input: '0.002' | ||
output: '0.002' | ||
unit: '0.001' | ||
currency: USD |