Commit
•
4b68679
1
Parent(s):
f3fb412
fix: remove string getter from token
Browse files
src/distilabel_dataset_generator/sft.py
CHANGED
@@ -123,7 +123,6 @@ MODEL = "meta-llama/Meta-Llama-3.1-70B-Instruct"
|
|
123 |
def _run_pipeline(
|
124 |
result_queue, _num_turns, _num_rows, _system_prompt, _token: str = None
|
125 |
):
|
126 |
-
os.environ["HF_TOKEN"] = _token.token
|
127 |
with Pipeline(name="sft") as pipeline:
|
128 |
magpie_step = MagpieGenerator(
|
129 |
llm=InferenceEndpointsLLM(
|
|
|
123 |
def _run_pipeline(
|
124 |
result_queue, _num_turns, _num_rows, _system_prompt, _token: str = None
|
125 |
):
|
|
|
126 |
with Pipeline(name="sft") as pipeline:
|
127 |
magpie_step = MagpieGenerator(
|
128 |
llm=InferenceEndpointsLLM(
|