Human-written demonstration (OpenAssistant volunteers)· OpenAssistant (human-written)
OpenAssistant Conversations (oasst2)
What is a functional programming language? How is it different from imperative languages?
In OpenAssistant data, “assistant” turns were written by human volunteers as demonstrations. They are not model outputs.
- User
What is a functional programming language? How is it different from imperative languages?
- Assistant
There is no exact definition for what a functional programming language is, but functional languages tend to emphasize a few key features. Among them are:
- First class functions: the ability to store and manipulate functions as if they were ordinary variables.
- Pure functions: functions which have so-called "side-effects," or consequences beyond simply returning an output.
- Declarative nature: functional languages tend to be declarative, meaning that instead of a program being a list of in-order instructions, a program is more often than not a graph of dependencies and definitions.
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)