Commit
·
1febb5b
1
Parent(s):
f06260e
Uncomment HF_TOKEN in example deployment script to enable data pushing to Hugging Face
Browse files
examples/hf-serverless-deployment.py
CHANGED
@@ -8,7 +8,7 @@ import os
|
|
8 |
|
9 |
from synthetic_dataset_generator import launch
|
10 |
|
11 |
-
|
12 |
os.environ["MODEL"] = "meta-llama/Llama-3.1-8B-Instruct" # use instruct model
|
13 |
os.environ["MAGPIE_PRE_QUERY_TEMPLATE"] = "llama3" # use the template for the model
|
14 |
|
|
|
8 |
|
9 |
from synthetic_dataset_generator import launch
|
10 |
|
11 |
+
os.environ["HF_TOKEN"] = "hf_..." # push the data to huggingface
|
12 |
os.environ["MODEL"] = "meta-llama/Llama-3.1-8B-Instruct" # use instruct model
|
13 |
os.environ["MAGPIE_PRE_QUERY_TEMPLATE"] = "llama3" # use the template for the model
|
14 |
|