distilabel: version: 1.3.2 pipeline: name: synthetic-data-with-llama3.1 description: null steps: - step: name: load_data_from_hub_0 resources: replicas: 1 cpus: null gpus: null memory: null resources: null input_mappings: {} output_mappings: {} batch_size: 50 repo_id: Khushdholi/Cosmopedia_medium split: train config: null streaming: false num_examples: null storage_options: null runtime_parameters_info: - name: resources runtime_parameters_info: - name: replicas optional: true description: The number of replicas for the step. - name: cpus optional: true description: The number of CPUs assigned to each step replica. - name: gpus optional: true description: The number of GPUs assigned to each step replica. - name: memory optional: true description: The memory in bytes required for each step replica. - name: resources optional: true description: A dictionary containing names of custom resources and the number of those resources required for each step replica. - name: batch_size optional: true description: The number of rows that will contain the batches generated by the step. - name: repo_id optional: false description: The Hugging Face Hub repository ID of the dataset to load. - name: split optional: true description: The split of the dataset to load. Defaults to 'train'. - name: config optional: true description: The configuration of the dataset to load. This is optional and only needed if the dataset has multiple configurations. - name: streaming optional: true description: Whether to load the dataset in streaming mode or not. Defaults to False. - name: num_examples optional: true description: The number of examples to load from the dataset. By default will load all examples. type_info: module: distilabel.steps.generators.huggingface name: LoadDataFromHub name: load_data_from_hub_0 - step: name: text_generation_0 resources: replicas: 1 cpus: null gpus: null memory: null resources: null input_mappings: {} output_mappings: {} input_batch_size: 50 llm: use_magpie_template: false magpie_pre_query_template: null generation_kwargs: max_new_tokens: 1024 temperature: 0.7 model_id: null endpoint_name: null endpoint_namespace: null base_url: http://172.18.30.8:80 tokenizer_id: null model_display_name: llama8B structured_output: null type_info: module: distilabel.llms.huggingface.inference_endpoints name: InferenceEndpointsLLM group_generations: false add_raw_output: true num_generations: 1 use_system_prompt: true runtime_parameters_info: - name: resources runtime_parameters_info: - name: replicas optional: true description: The number of replicas for the step. - name: cpus optional: true description: The number of CPUs assigned to each step replica. - name: gpus optional: true description: The number of GPUs assigned to each step replica. - name: memory optional: true description: The memory in bytes required for each step replica. - name: resources optional: true description: A dictionary containing names of custom resources and the number of those resources required for each step replica. - name: input_batch_size optional: true description: The number of rows that will contain the batches processed by the step. - name: llm runtime_parameters_info: - name: generation_kwargs description: The kwargs to be propagated to either `generate` or `agenerate` methods within each `LLM`. keys: - name: max_new_tokens optional: true - name: frequency_penalty optional: true - name: logit_bias optional: true - name: presence_penalty optional: true - name: seed optional: true - name: stop_sequences optional: true - name: temperature optional: true - name: tool_choice optional: true - name: tool_prompt optional: true - name: tools optional: true - name: top_p optional: true - name: do_sample optional: true - name: repetition_penalty optional: true - name: return_full_text optional: true - name: top_k optional: true - name: typical_p optional: true - name: watermark optional: true - name: endpoint_name optional: true description: The name of the Inference Endpoint to use for the LLM. - name: endpoint_namespace optional: true description: The namespace of the Inference Endpoint to use for the LLM. - name: base_url optional: true description: The base URL to use for the Inference Endpoints API requests. - name: api_key optional: true description: The API key to authenticate the requests to the Inference Endpoints API. - name: structured_output optional: true description: The structured output format to use across all the generations. - name: add_raw_output optional: true description: Whether to include the raw output of the LLM in the key `raw_output_` of the `distilabel_metadata` dictionary output column - name: num_generations optional: true description: The number of generations to be produced per input. type_info: module: distilabel.steps.tasks.text_generation name: TextGeneration name: text_generation_0 - step: name: text_generation_1 resources: replicas: 1 cpus: null gpus: null memory: null resources: null input_mappings: {} output_mappings: {} input_batch_size: 50 llm: use_magpie_template: false magpie_pre_query_template: null generation_kwargs: max_new_tokens: 1024 temperature: 0.7 model_id: null endpoint_name: null endpoint_namespace: null base_url: http://172.18.30.2:80 tokenizer_id: null model_display_name: llama405B structured_output: null type_info: module: distilabel.llms.huggingface.inference_endpoints name: InferenceEndpointsLLM group_generations: false add_raw_output: true num_generations: 1 use_system_prompt: true runtime_parameters_info: - name: resources runtime_parameters_info: - name: replicas optional: true description: The number of replicas for the step. - name: cpus optional: true description: The number of CPUs assigned to each step replica. - name: gpus optional: true description: The number of GPUs assigned to each step replica. - name: memory optional: true description: The memory in bytes required for each step replica. - name: resources optional: true description: A dictionary containing names of custom resources and the number of those resources required for each step replica. - name: input_batch_size optional: true description: The number of rows that will contain the batches processed by the step. - name: llm runtime_parameters_info: - name: generation_kwargs description: The kwargs to be propagated to either `generate` or `agenerate` methods within each `LLM`. keys: - name: max_new_tokens optional: true - name: frequency_penalty optional: true - name: logit_bias optional: true - name: presence_penalty optional: true - name: seed optional: true - name: stop_sequences optional: true - name: temperature optional: true - name: tool_choice optional: true - name: tool_prompt optional: true - name: tools optional: true - name: top_p optional: true - name: do_sample optional: true - name: repetition_penalty optional: true - name: return_full_text optional: true - name: top_k optional: true - name: typical_p optional: true - name: watermark optional: true - name: endpoint_name optional: true description: The name of the Inference Endpoint to use for the LLM. - name: endpoint_namespace optional: true description: The namespace of the Inference Endpoint to use for the LLM. - name: base_url optional: true description: The base URL to use for the Inference Endpoints API requests. - name: api_key optional: true description: The API key to authenticate the requests to the Inference Endpoints API. - name: structured_output optional: true description: The structured output format to use across all the generations. - name: add_raw_output optional: true description: Whether to include the raw output of the LLM in the key `raw_output_` of the `distilabel_metadata` dictionary output column - name: num_generations optional: true description: The number of generations to be produced per input. type_info: module: distilabel.steps.tasks.text_generation name: TextGeneration name: text_generation_1 - step: name: group_columns_0 resources: replicas: 1 cpus: null gpus: null memory: null resources: null input_mappings: {} output_mappings: {} input_batch_size: 50 columns: '0': generation '1': model_name output_columns: '0': generations '1': model_names runtime_parameters_info: - name: resources runtime_parameters_info: - name: replicas optional: true description: The number of replicas for the step. - name: cpus optional: true description: The number of CPUs assigned to each step replica. - name: gpus optional: true description: The number of GPUs assigned to each step replica. - name: memory optional: true description: The memory in bytes required for each step replica. - name: resources optional: true description: A dictionary containing names of custom resources and the number of those resources required for each step replica. - name: input_batch_size optional: true description: The number of rows that will contain the batches processed by the step. type_info: module: distilabel.steps.columns.group name: GroupColumns name: group_columns_0 - step: name: ultra_feedback_0 resources: replicas: 1 cpus: null gpus: null memory: null resources: null input_mappings: {} output_mappings: {} input_batch_size: 50 llm: use_magpie_template: false magpie_pre_query_template: null generation_kwargs: max_new_tokens: 1024 temperature: 0.7 model_id: null endpoint_name: null endpoint_namespace: null base_url: http://172.18.30.2:80 tokenizer_id: null model_display_name: llama405B structured_output: null type_info: module: distilabel.llms.huggingface.inference_endpoints name: InferenceEndpointsLLM group_generations: false add_raw_output: true num_generations: 1 aspect: overall-rating runtime_parameters_info: - name: resources runtime_parameters_info: - name: replicas optional: true description: The number of replicas for the step. - name: cpus optional: true description: The number of CPUs assigned to each step replica. - name: gpus optional: true description: The number of GPUs assigned to each step replica. - name: memory optional: true description: The memory in bytes required for each step replica. - name: resources optional: true description: A dictionary containing names of custom resources and the number of those resources required for each step replica. - name: input_batch_size optional: true description: The number of rows that will contain the batches processed by the step. - name: llm runtime_parameters_info: - name: generation_kwargs description: The kwargs to be propagated to either `generate` or `agenerate` methods within each `LLM`. keys: - name: max_new_tokens optional: true - name: frequency_penalty optional: true - name: logit_bias optional: true - name: presence_penalty optional: true - name: seed optional: true - name: stop_sequences optional: true - name: temperature optional: true - name: tool_choice optional: true - name: tool_prompt optional: true - name: tools optional: true - name: top_p optional: true - name: do_sample optional: true - name: repetition_penalty optional: true - name: return_full_text optional: true - name: top_k optional: true - name: typical_p optional: true - name: watermark optional: true - name: endpoint_name optional: true description: The name of the Inference Endpoint to use for the LLM. - name: endpoint_namespace optional: true description: The namespace of the Inference Endpoint to use for the LLM. - name: base_url optional: true description: The base URL to use for the Inference Endpoints API requests. - name: api_key optional: true description: The API key to authenticate the requests to the Inference Endpoints API. - name: structured_output optional: true description: The structured output format to use across all the generations. - name: add_raw_output optional: true description: Whether to include the raw output of the LLM in the key `raw_output_` of the `distilabel_metadata` dictionary output column - name: num_generations optional: true description: The number of generations to be produced per input. type_info: module: distilabel.steps.tasks.ultrafeedback name: UltraFeedback name: ultra_feedback_0 connections: - from: load_data_from_hub_0 to: - text_generation_0 - text_generation_1 - from: text_generation_0 to: - group_columns_0 - from: text_generation_1 to: - group_columns_0 - from: group_columns_0 to: - ultra_feedback_0 - from: ultra_feedback_0 to: [] routing_batch_functions: [] type_info: module: distilabel.pipeline.local name: Pipeline requirements: []