Upload fusion.py with huggingface_hub
Browse files43 unmodified lines4445464748495017 unmodified lines6869707172737443 unmodified lines"""FixedFusion operator that combines multiple streams into one based on a fixed number of examples per task.Args:orgins: List of SourceOperator objects.examples_per_task: Number of examples per task. If None, all examples are returned.splits: List of splits to include. If None, all splits are included."""17 unmodified lines"""Fusion operator that combines multiple streams based.Args:orgins: List of SourceOperator objects.weights: List of weights for each origin.max_total_examples: Total number of examples to return. If None, all examples are returned."""43 unmodified lines4445464748495017 unmodified lines6869707172737443 unmodified lines"""FixedFusion operator that combines multiple streams into one based on a fixed number of examples per task.Args:origins: List of SourceOperator objects.examples_per_task: Number of examples per task. If None, all examples are returned.splits: List of splits to include. If None, all splits are included."""17 unmodified lines"""Fusion operator that combines multiple streams based.Args:origins: List of SourceOperator objects.weights: List of weights for each origin.max_total_examples: Total number of examples to return. If None, all examples are returned."""
fusion.py+2-2