Spaces:
Build error
Build error
Commit
·
287ae46
1
Parent(s):
a0cefd0
add example argilla deployment
Browse files
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()
|