Upload fusion.py with huggingface_hub
Browse files
fusion.py
CHANGED
@@ -44,7 +44,7 @@ class FixedFusion(BaseFusion):
|
|
44 |
"""FixedFusion operator that combines multiple streams into one based on a fixed number of examples per task.
|
45 |
|
46 |
Args:
|
47 |
-
|
48 |
examples_per_task: Number of examples per task. If None, all examples are returned.
|
49 |
splits: List of splits to include. If None, all splits are included.
|
50 |
"""
|
@@ -68,7 +68,7 @@ class WeightedFusion(BaseFusion):
|
|
68 |
"""Fusion operator that combines multiple streams based.
|
69 |
|
70 |
Args:
|
71 |
-
|
72 |
weights: List of weights for each origin.
|
73 |
max_total_examples: Total number of examples to return. If None, all examples are returned.
|
74 |
"""
|
|
|
44 |
"""FixedFusion operator that combines multiple streams into one based on a fixed number of examples per task.
|
45 |
|
46 |
Args:
|
47 |
+
origins: List of SourceOperator objects.
|
48 |
examples_per_task: Number of examples per task. If None, all examples are returned.
|
49 |
splits: List of splits to include. If None, all splits are included.
|
50 |
"""
|
|
|
68 |
"""Fusion operator that combines multiple streams based.
|
69 |
|
70 |
Args:
|
71 |
+
origins: List of SourceOperator objects.
|
72 |
weights: List of weights for each origin.
|
73 |
max_total_examples: Total number of examples to return. If None, all examples are returned.
|
74 |
"""
|