Human-written demonstration (OpenAssistant volunteers)· OpenAssistant (human-written)
OpenAssistant Conversations (oasst2)
What is wrong with my code??????
In OpenAssistant data, “assistant” turns were written by human volunteers as demonstrations. They are not model outputs.
- User
What is wrong with my code??????
- Assistant
Could you please provide me with the code, and if possible, also the error message, to better help me figure out what's wrong with your code.
- User
document.addEventListener("DOMContentLoaded", function(event) { // get #in and #out textareas var inText = document.getElementById('in'); var outText = document.getElementById('out'); // when #in textarea is changed, update #out textarea inText.addEventListener('input', function() { outText = btoa(inText); }); // when #out textarea is changed, update #in textarea outText.addEventListener('input', function() { inText = atob(outText); }); }); - Assistant
The issue might be that you're trying to convert the entire element instead of its inner text. Try replacing
outText = btoa(inText);withoutText.value = btoa(inText.value);, and likewise for the other event listener.
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)