Human-written demonstration (OpenAssistant volunteers)· OpenAssistant (human-written)
OpenAssistant Conversations (oasst2)
python: iterate through two directories with the same structure. If there is a file…
In OpenAssistant data, “assistant” turns were written by human volunteers as demonstrations. They are not model outputs.
- User
python: iterate through two directories with the same structure. If there is a file whose name contains '*.csv', run the bash command
cmd1 file_path_in_dir1 file_path_in_dir2. - Assistant
Here is the python code to do that
import os # enter the directory path dir1 = "/path/to/dir1" dir2 = "/path/to/dir2" # iterate through both directories for file1, file2 in zip(sorted(os.listdir(dir1)), sorted(os.listdir(dir2))): if file1.endswith('.csv') and file2.endswith('.csv'): cmd = ['cmd1', os.path.join(dir1, file1), os.path.join(dir2, file2)] os.system(' '.join(cmd))
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Identical first prompt
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)