Context size: 4096, but according to the model's card it was trained with max_seq_length: 2048, so make sure your input is ≤2048 tokens (is that ~1500 words?).
Template: The model was trained using the ChatML prompt templates WITHOUT ANY SYSTEM PROMPTS !!!, i.e. there's no <|im_start|>system, it's just