plaguss HF staff commited on
Commit
cc6aaeb
1 Parent(s): ca14a7c

Include pipeline script.

Browse files
Files changed (1) hide show
  1. pipe_nothing.py +13 -10
pipe_nothing.py CHANGED
@@ -26,17 +26,20 @@ def InfiniteStep(*inputs: StepInput) -> StepOutput:
26
  yield [{"instruction": ["nothing"]}]
27
 
28
 
29
- if __name__ == "__main__":
30
- with Pipeline(name="pipe-nothing") as pipeline:
31
- load_dataset = LoadDataFromDicts(
32
- data=[
33
- {"instruction": "Tell me a joke."},
34
- ] * 2,
35
- batch_size=2
36
- )
 
 
37
 
38
- dummy = DummyStep(name="DUMMY_STEP")
39
- load_dataset >> dummy
40
 
41
  distiset = pipeline.run(use_cache=False)
42
  distiset.push_to_hub("plaguss/pipe_nothing_test", include_script=True)
 
 
26
  yield [{"instruction": ["nothing"]}]
27
 
28
 
29
+ with Pipeline(name="pipe-nothing") as pipeline:
30
+ load_dataset = LoadDataFromDicts(
31
+ data=[
32
+ {"instruction": "Tell me a joke."},
33
+ ] * 2,
34
+ batch_size=2
35
+ )
36
+
37
+ dummy = DummyStep(name="DUMMY_STEP")
38
+ load_dataset >> dummy
39
 
40
+
41
+ if __name__ == "__main__":
42
 
43
  distiset = pipeline.run(use_cache=False)
44
  distiset.push_to_hub("plaguss/pipe_nothing_test", include_script=True)
45
+ # distiset.push_to_hub("distilabel-internal-testing/pipe_nothing_test", include_script=True)