gemma-2b/config.pbtxt
2024-09-09 04:24:56 +00:00

44 lines
786 B
Plaintext
Executable File

# Triton backend to use
name: "gemma-2b"
backend: "python"
# Hugging face model path. Parameters must follow this
# key/value structure
parameters: {
key: "huggingface_model",
value: {string_value: "/models/gemma-2b/gemma-2b"}
}
# The maximum number of tokens to generate in response
# to our input
parameters: {
key: "max_output_length",
value: {string_value: "15"}
}
# Triton should expect as input a single string of set
# length named 'text_input'
input [
{
name: "text_input"
data_type: TYPE_STRING
dims: [ 1 ]
}
]
# Triton should expect to respond with a single string
# output of variable length named 'text_output'
output [
{
name: "text_output"
data_type: TYPE_STRING
dims: [ -1 ]
}
]
instance_group [
{
kind: KIND_AUTO
}
]