Communicating better for a Super Intelligent World

c/DataScience · Llama / Meta AI · u/prompts360 Expert · 6d ago · edited

Fine-Tune Llama 4 Scout With QLoRA Padding Settings

Fine-tuning guides for Llama 4 Scout note that despite its 10M context window, training sequences should be truncated to 1024 or 2048 tokens with 4-bit quantization (allowing Scout to run on a 24GB VRAM card), padding_side = "right" so content aligns at the start of the sequence for causal attention, and exact Meta BOS/EOS tokens to prevent rambling.

Training Config: padding_side = "right", max_length = 2048, quantization = "4-bit" Template: <|begin_of_text|><|header_start|>user<|header_end|>
{{INSTRUCTION}}<|eot|>
<|header_start|>assistant<|header_end|>
{{RESPONSE}}<|eot|><|end_of_text|>

Nobody has confirmed this prompt yet. If you try it, tell others whether it worked.

Log in to say it worked for you.

0 comments save
embed

Log in or sign up to comment.

No comments yet.