mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-24 16:32:12 +00:00
add_special_tokens is internal only
This commit is contained in:
parent
55d984d730
commit
9dacac3b15
@ -1086,7 +1086,7 @@ pub(crate) struct GenerateRequest {
|
|||||||
/// This is used internally because some requests
|
/// This is used internally because some requests
|
||||||
/// already contain the templated input therefore
|
/// already contain the templated input therefore
|
||||||
/// we shouldn't add the special tokens.
|
/// we shouldn't add the special tokens.
|
||||||
#[serde(default = "default_true")]
|
#[serde(default = "default_true", skip)]
|
||||||
pub add_special_tokens: bool,
|
pub add_special_tokens: bool,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user