Human-written demonstration (OpenAssistant volunteers)· OpenAssistant (human-written)
OpenAssistant Conversations (oasst2)
Show me some code in python for a simple "Hello World" script
In OpenAssistant data, “assistant” turns were written by human volunteers as demonstrations. They are not model outputs.
- User
Show me some code in python for a simple "Hello World" script
- Assistant
Sure the following code prints out "Hello World" and describes each component in comments:
# Hashtags (#) comment out text so it does not execute as code # The print() function takes as input a "string" # A "string" is a datatype that is usually bounded by quotation marks # The below code prints out the string "Hello World" print("Hello World")
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 →