taejoonlee/ v4:latest

5 1 year ago

Llama 3 8B + 7K Dataset, templete modified version

ollama run taejoonlee/v4

Details

1 year ago

f2126df5c52d · 8.5GB ·

llama
·
8.03B
·
Q8_0
{ "min_p": 0.1, "stop": [ "<|start_header_id|>", "<|end_header_id|>",
Below are some instructions that describe some tasks. Start your response with a JSON object, where

Readme

chat_template = “”“Below are some instructions that describe some tasks. Start your response with a JSON object, followed by a plain text answer.

Instruction:

{INPUT}

Response:

{{“is_recipe_request”: {is_recipe_request}, “recipe_name”: “{recipe_name}”}} {OUTPUT}

”“”

from unsloth import apply_chat_template dataset = apply_chat_template( dataset, tokenizer = tokenizer, chat_template = chat_template, default_system_message=“Start your response with a JSON object including ‘is_recipe_request’ and ‘recipe_name’. Follow with a plain text answer detailing the response.” )