6 1 year ago

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

ollama run taejoonlee/v3

Models

View all →

1 model

v3:latest

3.4GB · 128K context window · Text · 1 year ago

Readme

chat_template = “”“Below are some instructions that describe some tasks. Start your response with a JSON object, where {{is_recipe_request}} is true if the instruction is requesting a recipe (false otherwise), and {{recipe_name}} is the extracted recipe name or null if none. Follow this with a plain text answer detailing the response.

Instruction:

{INPUT}

Response:

{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’. ‘is_recipe_request’ should be true if the instruction requests a recipe, false otherwise. ‘recipe_name’ should be the name of the recipe requested or null if none. Follow with a plain text answer detailing the response.” )