A city parks clerk pastes a trail-closure notice into a local Hugging Face script, and the model rejects the raw Unicode string. What must the script produce before a forward pass?
Select an answer to reveal the explanation.
Short Explanation
The clerk pasted a trail notice and the model shrugged at the raw Unicode. A Hugging Face checkpoint wants integer token IDs and an attention mask from the matching tokenizer, not a slogan, a pixel kernel, or a multimodal crop. Tensors first, then the forward pass.
Full Explanation
A local Hugging Face model consumes integer token IDs and an attention mask, so the clerk's script must run the matching tokenizer before any forward pass. Stretching the civic wording does not turn a Unicode string into tensors. A CUDA or NCCL kernel is Professional GPU plumbing, not the associate data-type path. A trail notice is ordinary text, so a multimodal crop is the wrong certification track.