from transformers import AutoTokenizer tok = AutoTokenizer.from_pretrained("ybelkada/Mixtral-8x7B-Instruct-v0.1-AWQ") # Prompt to generate messages = [ { "role": "user", "content": "How can i make a good american cheese cake? Explain it step-by-step and include time estimates." }, ] # Generation arguments payload = { "do_sample": True, "top_p": 0.6, "temperature": 0.9, "top_k": 50, "max_new_tokens": 1024, "repetition_penalty": 1.03, "return_full_text": False, "stop": [""] }