Automatically updated from 모델 배포(536:gemma-3-4b-it-public) by 그룹사용자(groupuser)
This commit is contained in:
parent
1f6ff5eb1b
commit
5c062f36a2
79
config.pbtxt
79
config.pbtxt
@ -10,8 +10,80 @@ input [
|
|||||||
{
|
{
|
||||||
name: "text_input"
|
name: "text_input"
|
||||||
data_type: TYPE_STRING
|
data_type: TYPE_STRING
|
||||||
|
dims: [ -1 ]
|
||||||
|
|
||||||
|
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "max_length"
|
||||||
|
data_type: TYPE_INT32
|
||||||
|
dims: [ 1 ]
|
||||||
|
|
||||||
|
optional: true
|
||||||
|
|
||||||
|
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "max_new_tokens"
|
||||||
|
data_type: TYPE_INT32
|
||||||
|
dims: [ 1 ]
|
||||||
|
|
||||||
|
optional: true
|
||||||
|
|
||||||
|
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "do_sample"
|
||||||
|
data_type: TYPE_BOOL
|
||||||
|
dims: [ 1 ]
|
||||||
|
|
||||||
|
optional: true
|
||||||
|
|
||||||
|
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "top_k"
|
||||||
|
data_type: TYPE_INT32
|
||||||
|
dims: [ 1 ]
|
||||||
|
|
||||||
|
optional: true
|
||||||
|
|
||||||
|
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "top_p"
|
||||||
|
data_type: TYPE_FP32
|
||||||
|
dims: [ 1 ]
|
||||||
|
|
||||||
|
optional: true
|
||||||
|
|
||||||
|
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "temperature"
|
||||||
|
data_type: TYPE_FP32
|
||||||
dims: [ 1.2 ]
|
dims: [ 1.2 ]
|
||||||
|
|
||||||
|
optional: true
|
||||||
|
|
||||||
|
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "repetition_penalty"
|
||||||
|
data_type: TYPE_FP32
|
||||||
|
dims: [ 1 ]
|
||||||
|
|
||||||
|
optional: true
|
||||||
|
|
||||||
|
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "stream"
|
||||||
|
data_type: TYPE_BOOL
|
||||||
|
dims: [ 1 ]
|
||||||
|
|
||||||
|
optional: true
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -22,6 +94,13 @@ input [
|
|||||||
# output of variable length named 'text_output'
|
# output of variable length named 'text_output'
|
||||||
output [
|
output [
|
||||||
|
|
||||||
|
{
|
||||||
|
name: "text_output"
|
||||||
|
data_type: TYPE_STRING
|
||||||
|
dims: [ -1 ]
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
]
|
]
|
||||||
|
|
||||||
parameters: [
|
parameters: [
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user