davidberenstein1957 HF staff commited on
Commit
6bb104e
Β·
1 Parent(s): 636588b

update message magpie

Browse files
src/synthetic_dataset_generator/apps/chat.py CHANGED
@@ -409,7 +409,14 @@ with gr.Blocks() as app:
409
  with gr.Column() as main_ui:
410
  if not SFT_AVAILABLE:
411
  gr.Markdown(
412
- value=f"## Supervised Fine-Tuning is not available for the {MODEL} model. Use Hugging Face Llama3 or Qwen2 models."
 
 
 
 
 
 
 
413
  )
414
  else:
415
  gr.Markdown(value="## 1. Describe the dataset you want")
 
409
  with gr.Column() as main_ui:
410
  if not SFT_AVAILABLE:
411
  gr.Markdown(
412
+ value="\n".join(
413
+ [
414
+ "## Supervised Fine-Tuning not available",
415
+ "",
416
+ f"This tool relies on the [Magpie](https://arxiv.org/abs/2406.08464) prequery template, which is not implemented for the {MODEL} model.",
417
+ "Use Llama3 or Qwen2 models or [implement another magpie prequery template](https://github.com/argilla-io/distilabel/pull/778/files).",
418
+ ]
419
+ )
420
  )
421
  else:
422
  gr.Markdown(value="## 1. Describe the dataset you want")