Repository navigation
Conversation
…nt only to the hub's own host The token is HF_TOKEN, then HUGGING_FACE_HUB_TOKEN, then the one token file the hf tools read: HF_TOKEN_PATH, else $HF_HOME/token, else ~/.cache/huggingface/token. Pull follows redirects itself, so a hop to another scheme, host or port, such as the storage a download is redirected to, goes without it; std.http.Client keeps the header on such hops. A 401 or 403 from the hub names the repo and whether a token is missing or lacks access, and is not retried.
…robs ahead of an unchanged reply echo: true puts the prompt's decoded ids in front of text and, with logprobs, each prompt token's entry (null for the first) ahead of the reply's, whose entries stay as without echo. max_tokens 0 with echo returns the prompt alone. Engines without prompt_logprobs, streams, messages bodies and non-boolean values are refused by name; prompt_logprobs keeps its own count.
Owner
Author
|
Stopped at #3526. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CI for a landing train: #3524 #3526 stacked on main in that order. Nothing merges from this PR: each PR above lands on its own once this tip is green, and this PR is then closed.