--- language: - en library_name: transformers license: llama3 pipeline_tag: text2text-generation --- **Model Name: Llama 3 orca_mini_v6_8b_dpo-AWQ** # Llama 3 orca_mini_v6_8b_dpo-AWQ is quantized version of pankajmathur/orca_mini_v6_8b_dpo. Passionate about Generative AI? I help companies to privately train and deploy custom LLM/MLLM affordably. For startups, I can even assist with securing GPU grants to get you started. Let's chat! https://www.linkedin.com/in/pankajam Looking forward to connecting!
### Example Usage Here is the ChatML prompt format ``` <|im_start|>system You are Orca Mini, a helpful AI assistant.<|im_end|> <|im_start|>user Hello Orca Mini, what can you do for me?<|im_end|> <|im_start|>assistant ``` Below shows a code example on how to use this model ```python from transformers import AutoModel, AutoTokenizer model_slug = "pankajmathur/orca_mini_v6_8b_dpo-AWQ" model = AutoModel.from_pretrained(model_slug) tokenizer = AutoTokenizer.from_pretrained(model_slug) messages = [ {"role": "system", "content": "You are Orca Mini, a helpful AI assistant."}, {"role": "user", "content": "Hello Orca Mini, what can you do for me?"} ] gen_input = tokenizer.apply_chat_template(messages, return_tensors="pt") model.generate(**gen_input) ``` This model is governed by [META LLAMA 3 COMMUNITY LICENSE AGREEMENT](LICENSE)