Dataset Viewer
Auto-converted to Parquet Duplicate
messages
listlengths
16
16
[ { "content": "As a computer science graduate, you are fascinated by both the elegance of old-school coding and the efficiency of modern frameworks. You decide to develop a simple program that converts old-school code into a more efficient version using a modern framework. During this process, you encounter a pe...
[ { "content": "A corporate executive in a traditional 3D printing company is evaluating the efficiency of their current production process versus a potential new method involving more modern 3D printing technologies. The company currently uses a time-tested method that produces items at a rate governed by the fu...
[ { "content": "please help me clean up this python code, it's an output from an ocr scan.\nfrOm typinq imqort List\n\nd3t_how_many_tlm3$[strirg: str, substring:_s7n) => int:\ncount = s+@rt = 0\nvvhi|e +rue:\n$tan+ - string.find(svbs7nlng,_z+art) + 1\nif star+ > 0:\ncoun7 += 1\ne|se:\nnetunn <ount\n\ndet count_su...
[ { "content": "Name a bird that can fly higher than an eagle.", "role": "user" }, { "content": "Name a bird that can fly higher than an eagle.\n\nAssistant: While it might seem tricky, a bird that can fly higher than an eagle is the Rüppell's griffon vulture. This particular bird is known for its exc...
[ { "content": "A navy officer stationed in Trinidad and Tobago is tasked with strategizing the optimal patrol route for a naval fleet to monitor a designated sector of the Caribbean Sea. The sector is defined as an elliptical area with a semi-major axis of 200 nautical miles and a semi-minor axis of 150 nautical...
[ { "content": "write overly simple funny Scooby Doo synopses for these episodes:\n\n1. Armor in the Dark Starts the Spark\n2. Knight Fright in Moonlight\n3. Mystery’s Gleam in the Moonbeam\n4. Clanking Danger in Moonlit Chamber\n5. Scooby’s Encounter with a Moonlit Lancer\n6. Full Moon Doom with the Walking Tomb...
[ { "content": "Please answer the following question by reasoning step-by-step. Given the sentence \"Three men discuss business over beers at a bar.\" can we conclude that \"They are at an aa meeting.\"?\nOptions:\n- yes\n- it is not possible to tell\n- no. Step-by-step reasoning:", "role": "user" }, { ...
[ { "content": "Rabbi Levi is studying the numerical patterns and structures within the Torah, specifically focusing on the Book of Genesis. He is intrigued by the traditional Jewish practice of assigning numerical values to Hebrew letters (gematria) and wants to explore the hidden complexities within the text.\n...
[ { "content": "你好!", "role": "user" }, { "content": "Hello! How can I assist you today?", "role": "assistant" }, { "content": "Could you please elaborate on how traditional folklore is being represented and adapted in current television and film productions?", "role": "user" }, { ...
[ { "content": "1. Calculate the following sum:\n$$\n\\frac{1}{2}+\\frac{2}{4}+\\frac{3}{8}+\\frac{4}{16}+\\cdots+\\frac{10}{2^{10}} .\n$$\n(A) $\\frac{503}{256}$;\n(B) $\\frac{505}{256}$;\n(C) $\\frac{507}{256}$;\n(D) $\\frac{509}{256}$;\n(E) None of the above.", "role": "user" }, { "content": "To ca...
[ { "content": "Analyze the use of imagery in my partner's latest poem and provide three examples of how it enhances the poem's theme. Do not use the words \"vivid\" or \"colorful\".", "role": "user" }, { "content": "In your partner's latest poem, the imagery effectively amplifies the poem's theme by ...
[ { "content": "Instructions: In this task, you're given a passage that represents a legal contract or clause between multiple parties, followed by a question that needs to be answered. Based on the paragraph, you must write unambiguous answers to the questions and your answer must refer a specific phrase from th...
End of preview. Expand in Data Studio

allenai/open_instruct: Generation Dataset

See https://github.com/allenai/open-instruct/blob/main/docs/algorithms/rejection_sampling.md for more detail

Configs

args:
{'add_timestamp': True,
 'dataset_end_idx': 147000,
 'dataset_mixer_list': ['VGraf/no_safety_tulu_pref', '170000'],
 'dataset_shuffle_seed': 42,
 'dataset_splits': ['train', 'train'],
 'dataset_start_idx': 146000,
 'hf_entity': 'VGraf',
 'hf_repo_id': 'generation_multi',
 'include_persona': True,
 'max_qs': 8,
 'mode': 'generation',
 'model2_name_or_path': 'gpt-3.5-turbo-0125',
 'model_name_or_path': 'gpt-3.5-turbo-0125',
 'mt_token_cutoff': 8000,
 'num_turns': 8,
 'push_to_hub': True,
 'revision': 'main',
 'revision2': 'main',
 'save_filename': '/weka/oe-adapt-default/victoriag/synth_data/self-talk/clarify_persona_1000samples_8turns_1completions_gpt3.5_gpt3.5_tulupref.jsonl',
 'skill': 'chat',
 'user_type': 'clarify'}

dataset_config:
{'batched': False,
 'binary_messages_key': 'messages',
 'chat_template': 'simple_chat',
 'convert_preference_to_binary_dataset': False,
 'label': 'binary_labels',
 'load_from_cache_file': False,
 'max_prompt_token_lenth': None,
 'max_token_length': None,
 'ncols': 2,
 'num_proc': 1,
 'preference_chosen_key': 'chosen',
 'preference_rejected_key': 'rejected',
 'sanity_check': True,
 'sanity_check_max_samples': 100,
 'sft_messages_key': 'messages',
 'train_only_on_prompt': False}

gen_args:
{'num_completions': 1,
 'response_length': 2048,
 'temperature': 1.0,
 'tensor_parallel_size': 1,
 'top_p': 0.9}

Reproduce this dataset

  1. Download the ['generation_multi.py', 'clarify_persona_1000samples_8turns_1completions_gpt3.5_gpt3.5_tulupref.jsonl'] from the https://huggingface.co/datasets/VGraf/generation_multi_1746830887.
  2. Run python open_instruct/rejection_sampling/generation_multi.py --dataset_mixer_list VGraf/no_safety_tulu_pref 170000 --dataset_splits train train --model_name_or_path gpt-3.5-turbo-0125 --model2_name_or_path gpt-3.5-turbo-0125 --dataset_shuffle_seed 42 --dataset_start_idx 146000 --dataset_end_idx 147000 --num_turns 8 --num_completions 1 --include_persona --user_type clarify --save_filename /weka/oe-adapt-default/victoriag/synth_data/self-talk/clarify_persona_1000samples_8turns_1completions_gpt3.5_gpt3.5_tulupref.jsonl --sanity_check --push_to_hub --temperature 1.0
Downloads last month
4