davidberenstein1957 HF staff commited on
Commit
287ae46
·
1 Parent(s): a0cefd0

add example argilla deployment

Browse files
Files changed (1) hide show
  1. examples/argilla_deployment.py +9 -0
examples/argilla_deployment.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ # pip install synthetic-dataset-generator
2
+ import os
3
+
4
+ from synthetic_dataset_generator.app import demo
5
+
6
+ os.environ["MAGPIE_PRE_QUERY_TEMPLATE"] = "llama3"
7
+ os.environ["MODEL"] = "my_custom_model_trained_on_llama3"
8
+
9
+ demo.launch()