Human-written demonstration (OpenAssistant volunteers)· OpenAssistant (human-written)
OpenAssistant Conversations (oasst2)
Write me POSIX-shellscript to convert Celsius to Kelvin.
In OpenAssistant data, “assistant” turns were written by human volunteers as demonstrations. They are not model outputs.
- User
Write me POSIX-shellscript to convert Celsius to Kelvin.
- Assistant
Yes sure, here is a simple shell script to convert Celsius to Kelvin!
#!/bin/sh # Read temperature in Celsius $celsius = 0 # Convert to Kelvin kelvin=$(echo "$celsius - 273.15" | bc)The code-snippet uses the simple conversion formula to create a new variable named "kelvin" which stores the kelvin value of the celcius value provided. You would have to provide the Celsius value to the code yourself, e.g. using the "read" function.
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)