gpt-4.1-2025-04-14· OpenAI
LMArena Human Preference 140K
i want sending 3 parallel in 1 second
- User
i want sending 3 parallel in 1 second
- Assistant
Great! You can use
xargsto run up to 3 commands in parallel, and add asleep 1between batches. Here’s a simple way to do it:Suppose your
modelnames.txtlooks like this:codemodel1 model2 model3 model4 model5 model6Use this shell script:
sh#!/bin/bash # Read model names in batches of 3 split -l 3 modelnames.txt batch_ for batch in batch_* do # Run up to 3 in parallel cat "$batch" | xargs -I {} -P 3 python model.py --model={} sleep 1 done # Clean up rm batch_*How it works:
- Splits your list into batches of 3.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.