5 1 year ago

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

ollama run taejoonlee/v4

Models

View all →

1 model

v4:latest

8.5GB · 8K context window · Text · 1 year ago

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.” )