synthetic-data-generator / examples /enforce_mapgie_template copy.py
ftnext
Add inline script metadata for users to launch example apps easily
515cb6c
raw
history blame
291 Bytes
# /// script
# requires-python = ">=3.11,<3.12"
# dependencies = [
# "synthetic-dataset-generator",
# ]
# ///
import os
from synthetic_dataset_generator import launch
os.environ["MAGPIE_PRE_QUERY_TEMPLATE"] = "my_custom_template"
os.environ["MODEL"] = "google/gemma-2-9b-it"
launch()