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

give me the code for an adder in Haskell, C, and Python.

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

    give me the code for an adder in Haskell, C, and Python.

  2. Assistant

    Haskell: add = (+) C: int add(int x, int y) { return x + y; } Python: def add(a, b): return a + b

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

Identical first prompt