mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-11 12:24:53 +00:00
default compat_return_full_text to true
This commit is contained in:
parent
08827bef2e
commit
c1bdca91c2
@ -270,7 +270,7 @@ async fn main() -> Result<(), RouterError> {
|
|||||||
let compat_return_full_text = match &model_info.pipeline_tag {
|
let compat_return_full_text = match &model_info.pipeline_tag {
|
||||||
None => {
|
None => {
|
||||||
tracing::warn!("no pipeline tag found for model {tokenizer_name}");
|
tracing::warn!("no pipeline tag found for model {tokenizer_name}");
|
||||||
false
|
true
|
||||||
}
|
}
|
||||||
Some(pipeline_tag) => pipeline_tag.as_str() == "text-generation",
|
Some(pipeline_tag) => pipeline_tag.as_str() == "text-generation",
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user