Dataset Viewer
Auto-converted to Parquet Duplicate
instruction
stringlengths
6
96
input
stringlengths
174
316
output
stringlengths
62
2.3k
What is the purpose of field_mapping in JSONL readers?
JSONL readers accept Alpaca, ShareGPT, DPO, GRPO, and pretrain layouts. field_mapping remaps source columns onto schema fields. format='pretrain' keeps a text column as language-modeling output instead of renaming it to instruction.
Field_mapping in JSONL readers is used to remap source columns onto schema fields, which helps in aligning the data with the intended schema.
How does ToxicityGate determine which scores are eligible for a LLM judge?
ToxicityGate runs Detoxify first. Scores below the pass threshold keep the row. Scores above the reject threshold drop it. The band in between can go to an optional LLM judge.
Scores that fall between the 'pass' and 'reject' thresholds can proceed to an optional LLM judge. This decision is made based on additional criteria or recommendations provided by the system.
": "Wh
max_samples truncates the passed list after gates. Per-reader max_samples on a dataset dict caps that source before concat. Use the dict form when several Hub sets are mixed.
t does 'max_samples' in 'truncation' refer to?", "answer": "In the context of data processing and machine learning, 'max_samples' is used as a parameter that determines how many samples each element of a larger dataset will receive during the truncation process. This parameter ensures that the truncated dataset maint...
What are the steps taken during the curator process to ensure the accuracy of generated answers?
CuratorKIT builds trainer-ready datasets for LLM post-training. Every generated answer is checked against the exact source chunk it came from. Rejected samples are written to rejected.jsonl with a structured reason, never dropped silently. A run also writes manifest.json, dataset_card.md, and SHA-256 checksums.txt.
During the curator process, several key steps are taken to ensure the accuracy of generated answers: 1. **Data Generation**: Curators generate training data that includes all necessary information for the model to learn effectively. 2. **Dataset Validation**: The generated data is validated against the original sourc...
What are the main components of Quality Gates?
Quality gates run after generation. HallucinationGate scores grounding against the source passage. RewardGate scores helpfulness, honesty, and instruction following. DiversityGate drops near-duplicates using sentence embeddings. Adaptive recovery diagnoses each rejection and repairs the recoverable ones.
The main components of Quality Gates include: 1. **HallucinationGate**: This component evaluates whether the generated content contains hallucinations or contradictions with the source passage. If it does, it scores the gate as grounded. 2. **RewardGate**: This component measures the usefulness, honesty, and adherenc...
What are the steps involved in running a Curator run?
A Curator run is config then execute. CuratorConfig names the dataset, field mapping, generation task, and export formats. curator.run() walks readers, hygiene, generation, gates, and exporters in that order. Changing BACKEND does not require rewriting the curator cell.
Running a Curator run involves several key steps: 1. **Define the Dataset**: The first step is to specify the dataset you want to curate or generate. This typically includes details such as the type of data (e.g., images, videos, text), the format (e.g., JPEG, MP4, CSV), and any specific metadata. 2. **Configure the ...
How does format='pretrain' work in JSONL readers?
JSONL readers accept Alpaca, ShareGPT, DPO, GRPO, and pretrain layouts. field_mapping remaps source columns onto schema fields. format='pretrain' keeps a text column as language-modeling output instead of renaming it to instruction.
In the context of JSONL (Just Another List) readers, the `format='pretrain'` setting is used to specify that the layout should be generated using pre-trained models rather than directly mapping source columns to schema fields. This approach allows for more flexibility and control over how data is structured and formatt...
What is the main idea of the passage?
QA generation asks a grounded question per chunk and writes an answer that must be supported by that chunk. num_questions controls how many pairs each passage yields. difficulty is easy, medium, or hard and only changes the prompt, not the schema.
The main idea of the passage is to explore the various aspects and implications of artificial intelligence (AI) in different fields such as healthcare, education, and transportation, highlighting both its benefits and potential drawbacks.
What does the author suggest people should focus on during their formative years?
QA generation asks a grounded question per chunk and writes an answer that must be supported by that chunk. num_questions controls how many pairs each passage yields. difficulty is easy, medium, or hard and only changes the prompt, not the schema.
The author suggests that individuals should prioritize developing strong foundational skills in various areas such as creativity, critical thinking, problem-solving, communication, and emotional intelligence during their formative years. These skills are crucial for academic success, personal growth, and future career ...
What is the purpose of preference generation?
Preference generation writes a chosen completion and a rejected completion for the same prompt. single_call asks the model for both in one response. two_pass samples independently then labels the better one. Export is DPO JSONL.
The purpose of preference generation is to provide users with multiple options or choices when generating content based on specific prompts. This feature allows users to choose from various potential completions, which can be useful for creating diverse and engaging content that caters to different preferences or needs...
What does the GRPO generation process involve?
GRPO generation samples several completions per prompt and optional judge scores. Temperature spread varies rollouts around llm_temperature so the group is not identical. Export includes grpo and ppo JSONL.
The GRPO (Generative Recurrent Pooling) generation process involves several key steps: 1. **Prompt Generation**: The first step is to generate a set of prompts for the model. These prompts should be crafted to guide the model in generating different types of outputs. 2. **Completion Generation**: Once the prompts hav...
How does Evol-Instruct work?
Evol-Instruct rewrites a seed instruction into a harder variant. num_evolutions is how many rewrite steps run. generate_answers asks the model to solve the evolved prompt so the row is SFT-ready.
Evol-Instruct works by first rewriting a seed instruction into a harder variant (num_evolutions) and then generating answers for these rewritten instructions. The goal is to make the generated responses more challenging and thus potentially better suited for evaluating the effectiveness of the evolved system.
What does the 'cot_mode' variable represent?
Chain-of-thought generation either wraps an existing answer with reasoning or produces a new reasoned answer from the chunk. cot_mode is generate or wrap. The reasoning string is stored on the sample before export.
The 'cot_mode' variable represents a mode of operation for a specific algorithm or process. It could be used to indicate whether the algorithm should use continuous or discontinuous mode. This variable can influence various aspects of the algorithm's behavior, such as its ability to handle large datasets efficiently, i...
What does the 'reward_threshold' variable in RewardGate measure?
RewardGate scores helpfulness, honesty, and instruction following. reward_threshold drops low-scoring rows. Scores can be stored on the label for later filtering. The judge uses the same API base as generation unless overridden.
The 'reward_threshold' variable in RewardGate measures the threshold below which certain rows will not be scored or considered useful based on their helpfulness, honesty, and adherence to instructions. This variable helps in identifying and prioritizing rows that may need more attention or validation before being inclu...
How does the 'scores' attribute of a row in RewardGate differ from the original data?
RewardGate scores helpfulness, honesty, and instruction following. reward_threshold drops low-scoring rows. Scores can be stored on the label for later filtering. The judge uses the same API base as generation unless overridden.
The 'scores' attribute of a row in RewardGate differs from the original data in several ways: 1. **Normalization**: RewardGate's score system is designed to normalize the values within each row based on specific criteria. This normalization ensures that all rows have similar weights, which helps in fair comparison. 2...
How does 'probe_temperatures' determine which retries are considered successful?
DiagnosticProbe re-generates a rejected row at several temperatures. probe_temperatures is the list of values. probe_score_split decides which retries count as recovered. Recovered rows return to passed with provenance.
The 'probe_temperatures' parameter in diagnostic probes determines which retries are considered successful based on specific criteria: 1. **Rejection Rate**: The first value in 'probe_temperatures' represents the rejection rate. This means that if the number of rejected rows exceeds a certain threshold (often set to 0...
What does 'enable_reward_refiner' do?
RewardRefiner rewrites a low-reward answer and re-runs RewardGate. enable_reward_refiner attaches after the reward step. Recovered rows are merged into passed only after the pipeline returns so exporters see them.
The line "enable_reward_refiner attaches after the reward step" indicates that this directive is used to attach an action or feature (in this case, enabling the `reward_refiner`) after the reward processing step has been completed. This allows for additional functionality or actions to be performed during the reward ge...
What is ToxicityGate's process for determining if a score should be kept or dropped?
ToxicityGate runs Detoxify first. Scores below the pass threshold keep the row. Scores above the reject threshold drop it. The band in between can go to an optional LLM judge.
ToxicityGate's process for determining whether a score should be kept or dropped involves several steps: 1. **Score Thresholds**: ToxicityGate uses predefined scores to categorize rows based on their performance. Below a certain pass threshold (usually 0), the row remains in the system. Above this threshold, the row i...
Why does the TextCleaning module perform cleaning on the input data?
Text cleaning strips HTML, normalizes Unicode, fixes mojibake, collapses whitespace, and drops control characters. clean_fields defaults to instruction, input, and output. Cleaning runs before generation so the LLM never sees the raw junk.
The TextCleaning module performs cleaning on the input data because it aims to remove or normalize any HTML tags, normalize Unicode characters, fix any issues related to "mojibake," collapse any whitespace into single spaces, and eliminate any control characters that might interfere with the natural flow of the generat...
How can checkpointing batches be managed in the context of generating checkpoints?
Checkpoints dump generation batches under output_dir/.checkpoints. Re-running the same config resumes instead of repeating completed LLM calls. Disable with enable_checkpoint=False for short Colab smoke tests.
Checkpointing is an essential technique used to save the state of a model during training and load it when needed for inference or evaluation. In the context of generating checkpoints, managing them effectively involves several key considerations: 1. **Batch Size**: The size of each batch should be appropriate for you...
What does PDF ingest do?
PDF ingest splits a document into chunks before QA. heading strategy cuts on titles. sentence and fixed strategies use token windows with overlap. OCR is off by default and only needed for scanned pages.
PDF ingest is the process of splitting a large document into smaller, manageable chunks before performing Quality Assurance (QA) tasks. This method helps in managing larger documents more efficiently and ensures that the QA process remains focused and manageable. The key components involved in PDF ingest include: 1. ...
What is the purpose of stratifying in Hub datasets?
Ingest can take several Hub datasets, each with its own preprocessing_fn and max_samples. StratifiedSampler then matches target_distribution on source_dataset so one corpus does not drown the mix.
Stratifying in Hub datasets serves to ensure that each corpus (or dataset) in the dataset set has an equal representation across all other corpora or datasets within the same set. This ensures that no single corpus dominates the overall dataset distribution, which can lead to biased results if not properly accounted fo...
How many distinct passages can be used for a Colab run?
A presentable Colab run needs enough seed rows that gates can both keep and drop examples. Three near-identical chunks collapse into an all-pass or all-reject screenshot. Thirty to forty distinct passages avoid that.
Thirty to forty distinct passages can be used for a Colab run.
CuratorKIT

curatorkit-testrun-Probe

Built using CuratorKIT — provenance-grounded curation and synthesis for LLM post-training.

Method qa
Backend litellm
Model openai/Qwen/Qwen2.5-0.5B-Instruct
Formats alpaca
Artifact dataset
Published 2026-08-30 06:03 UTC

Usage

from datasets import load_dataset

ds = load_dataset("ram-lexsi/curatorkit-testrun-Probe", "alpaca")
Downloads last month
55