Delete love2dapi_queries
Browse filesFiles changed (7)
- love2dapi_queries/default/dataset_dict.jsonDeleted-1
- love2dapi_queries/default/train/data-00000-of-00001.arrowDeleted-3
- love2dapi_queries/default/train/dataset_info.jsonDeleted-92
- love2dapi_queries/default/train/state.jsonDeleted-13
- love2dapi_queries/distiset_configs/README.mdDeleted-73
- love2dapi_queries/distiset_configs/pipeline.logDeleted-38
- love2dapi_queries/distiset_configs/pipeline.yamlDeleted-334
1{"splits": ["train"]}123version https://git-lfs.github.com/spec/v1oid sha256:e4c08dab25239e8891fca9e95e7ee00c3000a6bcd4128687362fff6bb6b8a88dsize 1123041234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192{
"builder_name": "parquet",
"citation": "",
"config_name": "expand_columns_0",
"dataset_name": "parquet",
"dataset_size": 110540,
"description": "",
"download_checksums": {
"C:/Users/Andi/.cache/distilabel/pipelines/embedding-queries/0beaa44a146caf40e3953a9ed6e6263c267f3c58/data/expand_columns_0/00001.parquet": {
"num_bytes": 8119,
"checksum": null
},
"C:/Users/Andi/.cache/distilabel/pipelines/embedding-queries/0beaa44a146caf40e3953a9ed6e6263c267f3c58/data/expand_columns_0/00002.parquet": {
"num_bytes": 13104,
"checksum": null
},
"C:/Users/Andi/.cache/distilabel/pipelines/embedding-queries/0beaa44a146caf40e3953a9ed6e6263c267f3c58/data/expand_columns_0/00003.parquet": {
"num_bytes": 15720,
"checksum": null
},
"C:/Users/Andi/.cache/distilabel/pipelines/embedding-queries/0beaa44a146caf40e3953a9ed6e6263c267f3c58/data/expand_columns_0/00004.parquet": {
"num_bytes": 12822,
"checksum": null
},
"C:/Users/Andi/.cache/distilabel/pipelines/embedding-queries/0beaa44a146caf40e3953a9ed6e6263c267f3c58/data/expand_columns_0/00005.parquet": {
"num_bytes": 13055,
"checksum": null
},
"C:/Users/Andi/.cache/distilabel/pipelines/embedding-queries/0beaa44a146caf40e3953a9ed6e6263c267f3c58/data/expand_columns_0/00006.parquet": {
"num_bytes": 4575,
"checksum": null
}
},
"download_size": 67395,
"features": {
"filename": {
"dtype": "string",
"_type": "Value"
},
"anchor": {
"dtype": "string",
"_type": "Value"
},
"repo_name": {
"dtype": "string",
"_type": "Value"
},
"positive": {
"dtype": "null",
"_type": "Value"
},
"negative": {
"dtype": "null",
"_type": "Value"
},
"distilabel_metadata": {
"raw_output_multiply_queries": {
"dtype": "null",
"_type": "Value"
}
},
"model_name_query": {
"dtype": "string",
"_type": "Value"
},
"queries": {
"dtype": "null",
"_type": "Value"
},
"model_name_query_multiplied": {
"dtype": "string",
"_type": "Value"
}
},
"homepage": "",
"license": "",
"size_in_bytes": 177935,
"splits": {
"train": {
"name": "train",
"num_bytes": 110540,
"num_examples": 211,
"dataset_name": "parquet"
}
},
"version": {
"version_str": "0.0.0",
"major": 0,
"minor": 0,
"patch": 0
}
}12345678910111213{
"_data_files": [
{
"filename": "data-00000-of-00001.arrow"
}
],
"_fingerprint": "629e334d460621ce",
"_format_columns": null,
"_format_kwargs": {},
"_format_type": null,
"_output_all_columns": false,
"_split": "train"
}12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273---size_categories: n<1Ktags:- synthetic- distilabel- rlaif---
<p align="left"> <a href="https://github.com/argilla-io/distilabel"> <img src="https://raw.githubusercontent.com/argilla-io/distilabel/main/docs/assets/distilabel-badge-light.png" alt="Built with Distilabel" width="200" height="32"/> </a></p>
# Dataset Card for love2dapi_queries
This dataset has been created with [distilabel](https://distilabel.argilla.io/).
## Dataset Summary
This dataset contains a `pipeline.yaml` which can be used to reproduce the pipeline that generated it in distilabel using the `distilabel` CLI:
```consoledistilabel pipeline run --config "https://huggingface.co/datasets/love2dapi_queries/raw/main/pipeline.yaml"```
or explore the configuration:
```consoledistilabel pipeline info --config "https://huggingface.co/datasets/love2dapi_queries/raw/main/pipeline.yaml"```
## Dataset structure
The examples have the following structure per configuration:
<details><summary> Configuration: default </summary><hr>
```json{ "anchor": "description: Argilla is a collaboration platform for AI engineers and domain experts that require high-quality outputs, full data ownership, and overall efficiency.\nhide: navigation\n\nWelcome to Argilla\n\nArgilla is a collaboration platform for AI engineers and domain experts that require high-quality outputs, full data ownership, and overall efficiency.", "distilabel_metadata": { "raw_output_multiply_queries": null }, "filename": "argilla-python/docs/index.md", "model_name_query": "meta-llama/Meta-Llama-3-70B-Instruct", "model_name_query_multiplied": "meta-llama/Meta-Llama-3-70B-Instruct", "negative": null, "positive": null, "queries": null, "repo_name": "argilla-io/argilla-python"}```
This subset can be loaded as:
```pythonfrom datasets import load_dataset
ds = load_dataset("love2dapi_queries", "default")```
Or simply as it follows, since there's only one configuration and is named `default`:
```pythonfrom datasets import load_dataset
ds = load_dataset("love2dapi_queries")```
</details>1234567891011121314151617181920212223242526272829303132333435363738[2024-07-19 16:51:10] WARNING Since the `base_url=https://api-inference.huggingface.co/models/meta-llama/Meta-Llama-3-70B-Instruct` is available and either one of `model_id` or `endpoint_name` is also provided, the `base_url` will either be ignored or overwritten with the one generated from either of those args, for serverless or dedicated inference endpoints, respectively.
[2024-07-19 16:51:10] WARNING Since the `base_url=https://api-inference.huggingface.co/models/meta-llama/Meta-Llama-3-70B-Instruct` is available and either one of `model_id` or `endpoint_name` is also provided, the `base_url` will either be ignored or overwritten with the one generated from either of those args, for serverless or dedicated inference endpoints, respectively.
[2024-07-19 16:53:15] WARNING Since the `base_url=https://api-inference.huggingface.co/models/meta-llama/Meta-Llama-3-70B-Instruct` is available and either one of `model_id` or `endpoint_name` is also provided, the `base_url` will either be ignored or overwritten with the one generated from either of those args, for serverless or dedicated inference endpoints, respectively.
[2024-07-19 16:53:15] WARNING Since the `base_url=https://api-inference.huggingface.co/models/meta-llama/Meta-Llama-3-70B-Instruct` is available and either one of `model_id` or `endpoint_name` is also provided, the `base_url` will either be ignored or overwritten with the one generated from either of those args, for serverless or dedicated inference endpoints, respectively.
[2024-07-19 17:03:37] WARNING Since the `base_url=https://api-inference.huggingface.co/models/meta-llama/Meta-Llama-3-70B-Instruct` is available and either one of `model_id` or `endpoint_name` is also provided, the `base_url` will either be ignored or overwritten with the one generated from either of those args, for serverless or dedicated inference endpoints, respectively.
[2024-07-19 17:03:37] WARNING Since the `base_url=https://api-inference.huggingface.co/models/meta-llama/Meta-Llama-3-70B-Instruct` is available and either one of `model_id` or `endpoint_name` is also provided, the `base_url` will either be ignored or overwritten with the one generated from either of those args, for serverless or dedicated inference endpoints, respectively.
[2024-07-19 17:03:52] WARNING Task 'multiply_queries' failed to format output: 'NoneType' object has no attribute 'split'. Saving raw response.
[2024-07-19 17:03:52] WARNING Subprocess traceback:
Traceback (most recent call last):
File "C:\Users\Andi\Python projects\RAGTesting\.venv\Lib\site-packages\distilabel\pipeline\local.py", line 512, in _non_generator_process_loop
result = next(self.step.process_applying_mappings(*batch.data))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Andi\Python projects\RAGTesting\.venv\Lib\site-packages\distilabel\steps\base.py", line 512, in process_applying_mappings
for output_rows in generator:
File "C:\Users\Andi\Python projects\RAGTesting\.venv\Lib\site-packages\distilabel\steps\combine.py", line 119, in process
yield combine_dicts(
^^^^^^^^^^^^^^
File "C:\Users\Andi\Python projects\RAGTesting\.venv\Lib\site-packages\distilabel\pipeline\utils.py", line 39, in combine_dicts
raise ValueError(
ValueError: The length of output_merge_keys must be the same as the length of merge_keys
[2024-07-19 17:03:52] WARNING Subprocess traceback:
Traceback (most recent call last):
File "C:\Users\Andi\Python projects\RAGTesting\.venv\Lib\site-packages\distilabel\pipeline\local.py", line 512, in _non_generator_process_loop
result = next(self.step.process_applying_mappings(*batch.data))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Andi\Python projects\RAGTesting\.venv\Lib\site-packages\distilabel\steps\base.py", line 512, in process_applying_mappings
for output_rows in generator:
File "C:\Users\Andi\Python projects\RAGTesting\.venv\Lib\site-packages\distilabel\steps\expand.py", line 111, in process
yield [row for input in inputs for row in self._expand_columns(input)]
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Andi\Python projects\RAGTesting\.venv\Lib\site-packages\distilabel\steps\expand.py", line 126, in _expand_columns
for item, expanded in zip_longest(*[data, expanded_rows], fillvalue=input):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not iterable
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334distilabel:
version: 1.2.2
pipeline:
connections:
- from: load_data
to:
- generate_sentence_pair
- from: generate_sentence_pair
to:
- multiply_queries
- from: multiply_queries
to:
- merge_columns
- from: merge_columns
to:
- expand_columns_0
- from: expand_columns_0
to: []
description: Generate queries to train a sentence embedding model.
name: embedding-queries
routing_batch_functions: []
steps:
- name: load_data
step:
batch_size: 10
config: null
input_mappings: {}
name: load_data
num_examples: null
output_mappings:
chunks: anchor
repo_id: Nocare3/love2dapi_chunks
runtime_parameters_info:
- description: The number of rows that will contain the batches generated by
the step.
name: batch_size
optional: true
- description: The Hugging Face Hub repository ID of the dataset to load.
name: repo_id
optional: false
- description: The split of the dataset to load. Defaults to 'train'.
name: split
optional: true
- description: The configuration of the dataset to load. This is optional and
only needed if the dataset has multiple configurations.
name: config
optional: true
- description: Whether to load the dataset in streaming mode or not. Defaults
to False.
name: streaming
optional: true
- description: The number of examples to load from the dataset. By default will
load all examples.
name: num_examples
optional: true
split: train
storage_options: null
streaming: false
type_info:
module: distilabel.steps.generators.huggingface
name: LoadDataFromHub
- name: generate_sentence_pair
step:
action: query
add_raw_output: true
context: The generated sentence has to be related with Love2d, a lua-code game
engine used mostly by indie developers.
group_generations: false
input_batch_size: 10
input_mappings: {}
llm:
base_url: null
endpoint_name: null
endpoint_namespace: null
generation_kwargs:
max_new_tokens: 512
temperature: 0.7
model_display_name: null
model_id: meta-llama/Meta-Llama-3-70B-Instruct
structured_output: null
tokenizer_id: meta-llama/Meta-Llama-3-70B-Instruct
type_info:
module: distilabel.llms.huggingface.inference_endpoints
name: InferenceEndpointsLLM
use_openai_client: false
name: generate_sentence_pair
num_generations: 1
output_mappings:
model_name: model_name_query
runtime_parameters_info:
- description: The number of rows that will contain the batches processed by
the step.
name: input_batch_size
optional: true
- name: llm
runtime_parameters_info:
- description: The kwargs to be propagated to either `generate` or `agenerate`
methods within each `LLM`.
keys:
- description: the maximum number of new tokens that the model will generate. Defaults
to `128`.
name: max_new_tokens
optional: true
- description: the repetition penalty to use for the generation. Defaults to
`0.0`. Only applies if `use_openai_client=True`.
name: frequency_penalty
optional: true
- description: the presence penalty to use for the generation. Defaults
to `0.0`. Only applies if `use_openai_client=True`.
name: presence_penalty
optional: true
- description: the repetition penalty to use for the generation. Defaults to
`None`. Only applies if `use_openai_client=False`.
name: repetition_penalty
optional: true
- description: the temperature to use for the generation. Defaults to `1.0`.
name: temperature
optional: true
- description: whether to use sampling for the generation. Defaults to `False`. Only
applies if `use_openai_client=False`.
name: do_sample
optional: true
- description: the top-k value to use for the generation. Defaults to `0.8`,
since neither `0.0` nor `1.0` are valid values in TGI.
name: top_k
optional: true
- description: the top-p value to use for the generation. Defaults to `1.0`.
name: top_p
optional: true
- description: the typical-p value to use for the generation. Defaults to
`0.5`.
name: typical_p
optional: true
- description: either a single string or a list of strings containing the
sequences to stop the generation at. Defaults to `None`, but will be
set to the `tokenizer.eos_token` if available.
name: stop_sequences
optional: true
- description: whether to return the full text of the completion or just
the generated text. Defaults to `False`, meaning that only the generated
text will be returned.
name: return_full_text
optional: true
- description: the seed to use for the generation. Defaults to `None`.
name: seed
optional: true
- description: whether to add the watermark to the generated text. Defaults
to `None`.
name: watermark
optional: true
name: generation_kwargs
- description: The name of the Inference Endpoint to use for the LLM.
name: endpoint_name
optional: true
- description: The namespace of the Inference Endpoint to use for the LLM.
name: endpoint_namespace
optional: true
- description: The base URL to use for the Inference Endpoints API requests.
name: base_url
optional: true
- description: The API key to authenticate the requests to the Inference Endpoints
API.
name: api_key
optional: true
- description: The structured output format to use across all the generations.
name: structured_output
optional: true
- description: Whether to include the raw output of the LLM in the key `raw_output_<TASK_NAME>`
of the `distilabel_metadata` dictionary output column
name: add_raw_output
optional: true
- description: The number of generations to be produced per input.
name: num_generations
optional: true
triplet: true
type_info:
module: distilabel.steps.tasks.sentence_transformers
name: GenerateSentencePair
- name: multiply_queries
step:
add_raw_output: true
group_generations: false
input_batch_size: 10
input_mappings:
query: positive
llm:
base_url: null
endpoint_name: null
endpoint_namespace: null
generation_kwargs:
max_new_tokens: 512
temperature: 0.7
model_display_name: null
model_id: meta-llama/Meta-Llama-3-70B-Instruct
structured_output: null
tokenizer_id: meta-llama/Meta-Llama-3-70B-Instruct
type_info:
module: distilabel.llms.huggingface.inference_endpoints
name: InferenceEndpointsLLM
use_openai_client: false
name: multiply_queries
num_generations: 1
num_queries: 3
output_mappings:
model_name: model_name_query_multiplied
runtime_parameters_info:
- description: The number of rows that will contain the batches processed by
the step.
name: input_batch_size
optional: true
- name: llm
runtime_parameters_info:
- description: The kwargs to be propagated to either `generate` or `agenerate`
methods within each `LLM`.
keys:
- description: the maximum number of new tokens that the model will generate. Defaults
to `128`.
name: max_new_tokens
optional: true
- description: the repetition penalty to use for the generation. Defaults to
`0.0`. Only applies if `use_openai_client=True`.
name: frequency_penalty
optional: true
- description: the presence penalty to use for the generation. Defaults
to `0.0`. Only applies if `use_openai_client=True`.
name: presence_penalty
optional: true
- description: the repetition penalty to use for the generation. Defaults to
`None`. Only applies if `use_openai_client=False`.
name: repetition_penalty
optional: true
- description: the temperature to use for the generation. Defaults to `1.0`.
name: temperature
optional: true
- description: whether to use sampling for the generation. Defaults to `False`. Only
applies if `use_openai_client=False`.
name: do_sample
optional: true
- description: the top-k value to use for the generation. Defaults to `0.8`,
since neither `0.0` nor `1.0` are valid values in TGI.
name: top_k
optional: true
- description: the top-p value to use for the generation. Defaults to `1.0`.
name: top_p
optional: true
- description: the typical-p value to use for the generation. Defaults to
`0.5`.
name: typical_p
optional: true
- description: either a single string or a list of strings containing the
sequences to stop the generation at. Defaults to `None`, but will be
set to the `tokenizer.eos_token` if available.
name: stop_sequences
optional: true
- description: whether to return the full text of the completion or just
the generated text. Defaults to `False`, meaning that only the generated
text will be returned.
name: return_full_text
optional: true
- description: the seed to use for the generation. Defaults to `None`.
name: seed
optional: true
- description: whether to add the watermark to the generated text. Defaults
to `None`.
name: watermark
optional: true
name: generation_kwargs
- description: The name of the Inference Endpoint to use for the LLM.
name: endpoint_name
optional: true
- description: The namespace of the Inference Endpoint to use for the LLM.
name: endpoint_namespace
optional: true
- description: The base URL to use for the Inference Endpoints API requests.
name: base_url
optional: true
- description: The API key to authenticate the requests to the Inference Endpoints
API.
name: api_key
optional: true
- description: The structured output format to use across all the generations.
name: structured_output
optional: true
- description: Whether to include the raw output of the LLM in the key `raw_output_<TASK_NAME>`
of the `distilabel_metadata` dictionary output column
name: add_raw_output
optional: true
- description: The number of generations to be produced per input.
name: num_generations
optional: true
system_prompt: You are an AI assistant helping to generate diverse examples.
Ensure the generated queries are all in separated lines and preceded by a
dash. Do not generate anything else or introduce the task.
type_info:
module: __main__
name: MultipleQueries
- name: merge_columns
step:
columns:
'0': positive
'1': queries
input_batch_size: 50
input_mappings: {}
name: merge_columns
output_columns:
'0': positive
output_mappings: {}
runtime_parameters_info:
- description: The number of rows that will contain the batches processed by
the step.
name: input_batch_size
optional: true
type_info:
module: distilabel.steps.combine
name: CombineColumns
- name: expand_columns_0
step:
columns:
positive: positive
input_batch_size: 50
input_mappings: {}
name: expand_columns_0
output_mappings: {}
runtime_parameters_info:
- description: The number of rows that will contain the batches processed by
the step.
name: input_batch_size
optional: true
type_info:
module: distilabel.steps.expand
name: ExpandColumns
type_info:
module: distilabel.pipeline.local
name: Pipelinelove2dapi_queries/default/dataset_dict.jsonDeleted-1
love2dapi_queries/default/train/data-00000-of-00001.arrowDeleted-3
love2dapi_queries/default/train/dataset_info.jsonDeleted-92
love2dapi_queries/default/train/state.jsonDeleted-13
love2dapi_queries/distiset_configs/README.mdDeleted-73
love2dapi_queries/distiset_configs/pipeline.logDeleted-38
love2dapi_queries/distiset_configs/pipeline.yamlDeleted-334