text-generation-webui/user_data/training/datasets/example_sharegpt.json
oobabooga 5b18be8582 Training: unify instruction training through apply_chat_template()
Instead of two separate paths (format files vs Chat Template), all
instruction training now uses apply_chat_template() with assistant-only
label masking. Users pick a Jinja2 template from the dropdown or use the
model's built-in chat template — both work identically.
2026-03-05 14:39:37 -03:00

11 lines
1.2 KiB
JSON

[
{"conversations": [{"from": "human", "value": "What is the capital of France?"}, {"from": "gpt", "value": "The capital of France is Paris."}]},
{"conversations": [{"from": "human", "value": "What is 2+2?"}, {"from": "gpt", "value": "2+2 equals 4."}]},
{"conversations": [{"from": "system", "value": "You are a helpful assistant."}, {"from": "human", "value": "Name a color."}, {"from": "gpt", "value": "Blue is a color."}, {"from": "human", "value": "Another one?"}, {"from": "gpt", "value": "Red is also a color."}]},
{"conversations": [{"from": "human", "value": "What is the sun?"}, {"from": "gpt", "value": "The sun is a star at the center of our solar system."}]},
{"conversations": [{"from": "human", "value": "Say hello."}, {"from": "gpt", "value": "Hello! How can I help you today?"}]},
{"conversations": [{"from": "human", "value": "What is water?"}, {"from": "gpt", "value": "Water is a chemical compound with the formula H2O."}]},
{"conversations": [{"from": "human", "value": "Name a fruit."}, {"from": "gpt", "value": "An apple is a fruit."}]},
{"conversations": [{"from": "human", "value": "What is gravity?"}, {"from": "gpt", "value": "Gravity is a fundamental force that attracts objects with mass toward each other."}]}
]