Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
(Request ID: Root=1-6a67343c-45195c7516a7da296dc752df;2ed491ef-8891-4222-9b27-8c76e604a251) 429 Too Many Requests: you have reached your 'api' rate limit. Retry after 208 seconds (0/500 requests remaining in current 300s window). Url: https://huggingface.co/api/datasets/doramarkevich/alpace-test/refs. We had to rate limit your IP (52.1.96.215). To continue using our service, create a HF account or login to your existing account, and make sure you pass a HF_TOKEN if you're using the API.
Error code:   UnexpectedError

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

instruction
string
input
string
output
string
Explain how to fix the LLaMA-Factory error 'ValueError: Template does not exist.'
The training run fails with ValueError: Template does not exist.
Set the template field in train_config.json to a valid chat template name supported by LLaMA-Factory. For Qwen models, use a matching template such as qwen for Qwen, qwen2 for Qwen2, or qwen2_vl for Qwen2-VL. Then rerun training with the corrected configuration.
What should be added to train_config.json when LLaMA-Factory reports that a template does not exist?
The config currently has model_name_or_path but no template.
Add the template key to train_config.json and choose a template that matches the base model. For example, use qwen for Qwen, qwen2 for Qwen2, and qwen2_vl for Qwen2-VL. The error usually appears because the template field is missing or set to an unsupported value.
Recommend the correct template for a Qwen model in LLaMA-Factory.
I am fine-tuning a Qwen checkpoint and need the template setting.
Use template: qwen in train_config.json for a Qwen checkpoint. If the model is Qwen2, use qwen2. If the model is Qwen2-VL, use qwen2_vl. This prevents the ValueError: Template does not exist. error.
Recommend the correct template for a Qwen2 model in LLaMA-Factory.
The base model is Qwen2 and training stops before data loading.
Set template to qwen2 in train_config.json. LLaMA-Factory needs an explicit template value, and Qwen2 should not be left without one. Using the matching template avoids the ValueError: Template does not exist. message.
Recommend the correct template for a Qwen2-VL model in LLaMA-Factory.
The model is Qwen2-VL and the trainer cannot find a template.
Set template to qwen2_vl in train_config.json. Vision-language checkpoints require the matching template name, and this is the expected setting for Qwen2-VL in LLaMA-Factory.
Why does LLaMA-Factory raise ValueError: Template does not exist?
The training configuration looks otherwise correct.
This error usually means the template field is missing, misspelled, or set to a name that LLaMA-Factory does not recognize for the selected model. Add a valid template in train_config.json, such as qwen, qwen2, or qwen2_vl depending on the model family.
Give a minimal fix for a missing template in train_config.json.
The config file has no template entry.
Add a template entry to train_config.json. Example: use qwen for Qwen, qwen2 for Qwen2, or qwen2_vl for Qwen2-VL. The trainer requires this field to resolve the chat formatting template.
How do I choose the template value for a Qwen-family model?
I need a quick rule for selecting the template.
Match the template to the model family: qwen for Qwen, qwen2 for Qwen2, and qwen2_vl for Qwen2-VL. Put that value in train_config.json before starting LLaMA-Factory training.
What configuration change resolves the LLaMA-Factory template error for Qwen2-VL?
The run fails with Template does not exist and the model is Qwen2-VL.
Set template to qwen2_vl in train_config.json. Qwen2-VL needs the vision-language template name, and the error is resolved once the configuration points to a valid template.
Explain the relationship between model family and template in LLaMA-Factory.
I want to avoid template lookup errors during training.
LLaMA-Factory uses the template field to format prompts and conversations. The template must match the model family, so Qwen uses qwen, Qwen2 uses qwen2, and Qwen2-VL uses qwen2_vl. If the field is absent or invalid, the trainer raises ValueError: Template does not exist.
Provide a troubleshooting step for the error 'Template does not exist.'
The error appears immediately after launching training.
Open train_config.json and verify that template is present and spelled correctly. Then confirm the value matches the model family: qwen, qwen2, or qwen2_vl. Restart training after saving the corrected config.
What should I set in train_config.json for a Qwen checkpoint to avoid template errors?
The checkpoint is from the Qwen family.
Set template to qwen in train_config.json. This is the expected template name for Qwen checkpoints in LLaMA-Factory and prevents the ValueError: Template does not exist. error.
What should I set in train_config.json for a Qwen2 checkpoint to avoid template errors?
The checkpoint is from the Qwen2 family.
Set template to qwen2 in train_config.json. LLaMA-Factory needs the explicit template value, and qwen2 is the correct match for Qwen2 checkpoints.
What should I set in train_config.json for a Qwen2-VL checkpoint to avoid template errors?
The checkpoint is a multimodal Qwen2-VL model.
Set template to qwen2_vl in train_config.json. That template matches the Qwen2-VL family and avoids the Template does not exist error during setup.
Summarize the fix for LLaMA-Factory template lookup failures in one sentence.
The trainer cannot find a template for the selected model.
Add the correct template to train_config.json and choose qwen for Qwen, qwen2 for Qwen2, or qwen2_vl for Qwen2-VL so LLaMA-Factory can resolve the prompt format.
How can I prevent the 'Template does not exist.' error before starting training?
I am preparing a new LLaMA-Factory run.
Before launching training, verify that train_config.json includes a valid template value. Use qwen for Qwen, qwen2 for Qwen2, or qwen2_vl for Qwen2-VL, because missing or unsupported template names trigger the error.
Identify the missing field that causes the LLaMA-Factory template error.
The config has dataset and model settings but training still fails.
The missing field is template. LLaMA-Factory requires template in train_config.json to know how to format the conversation, and the value must match the model family.
Give a configuration example rule for Qwen, Qwen2, and Qwen2-VL templates.
I need a simple mapping to remember.
Use this mapping in train_config.json: Qwen -> qwen, Qwen2 -> qwen2, Qwen2-VL -> qwen2_vl. This is the key step to avoid ValueError: Template does not exist.
What is the first thing to check when LLaMA-Factory says a template does not exist?
The error appears during configuration validation.
Check train_config.json for the template field first. If it is missing, add it; if it is present, make sure the value is qwen, qwen2, or qwen2_vl depending on the model family.
Explain how to resolve the template error for a Qwen2 model and mention the exact config file.
The model is Qwen2 and the error references template lookup.
Edit train_config.json and set template to qwen2. LLaMA-Factory requires the template field to be explicitly defined, and the correct Qwen2 template prevents ValueError: Template does not exist.

No dataset card yet

Downloads last month
29