Prompting AfriqueLlama-8B
McGill-NLP/AfriqueLlama-8B seems to hallucinate quite a bit. It chooses conversational outputs and goes beyond what I ask it to. I have the hyperparameters below.
generated_ids = model.generate(
**inputs,
max_new_tokens=max_new_tokens,
do_sample=False,
num_beams=1,
pad_token_id=tokenizer.pad_token_id)
Does anyone have advice to have the model strictly follow instructions, without fine-tuning (other than including few-shot examples)?