mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-11 04:14:52 +00:00
Cargo fmt.
This commit is contained in:
parent
fdef00c27e
commit
a3cc5a94c6
@ -533,9 +533,9 @@ fn send_responses(
|
|||||||
.zip(tokens_.logprobs.into_iter())
|
.zip(tokens_.logprobs.into_iter())
|
||||||
.zip(tokens_.texts.into_iter())
|
.zip(tokens_.texts.into_iter())
|
||||||
.zip(tokens_.is_special.into_iter())
|
.zip(tokens_.is_special.into_iter())
|
||||||
.enumerate().peekable();
|
.enumerate()
|
||||||
while let Some( (i, (((id, logprob), text), special))) = iterator.next()
|
.peekable();
|
||||||
{
|
while let Some((i, (((id, logprob), text), special))) = iterator.next() {
|
||||||
let token = Token {
|
let token = Token {
|
||||||
id,
|
id,
|
||||||
text,
|
text,
|
||||||
|
Loading…
Reference in New Issue
Block a user