Skip to content
TheChatArchiveThe Chat Archive
alpaca-13b· StanfordHugging Face Arena Human Preference 55K

Write some code to reverse a string

From a Chatbot Arena battleThe same person sent this prompt to two anonymous models at once. Compare it with Claudeclaude-1’s answer.
  1. User

    Write some code to reverse a string

  2. Assistant

    Here's some code to reverse a string: def reverse_string(s): return s[::-1]

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.

Identical first prompt