Human-written demonstration (OpenAssistant volunteers)· OpenAssistant (human-written)
OpenAssistant Conversations (oasst2)
what is monkey-patching in Python?
In OpenAssistant data, “assistant” turns were written by human volunteers as demonstrations. They are not model outputs.
- User
what is monkey-patching in Python?
- Assistant
In python, monkey-patching is the dynamic modification of a class or module. Here is an example of monkey-patching python's native
timemodule:python# import an external module >>> import time # monkey-patch module internal function >>> time.time= lambda: 5.0 # invoke patched function >>> time.time() 5.0In the above example, the user dynamically changes the behavior of the
timefunction, making return a constant value of 5 rather than the correct Unix time.
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)