alpaca-13b· Stanford
Arena Human Preference 55K
You will be given a string of words separated by commas or spaces. Your task is to split…
- User
You will be given a string of words separated by commas or spaces. Your task is to split the string into words and return an array of the words. For example: words_string("Hi, my name is John") == ["Hi", "my", "name", "is", "John"] words_string("One, two, three, four, five, six") == ["One", "two", "three", "four", "five", "six"]
- Assistant
def words_string(string): words = string.split(', ') return words
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.