Human-written demonstration (OpenAssistant volunteers)· OpenAssistant (human-written)
OpenAssistant Conversations (oasst2)
What is the right regex to make sure an answer is exclusively Japanese Kana?
In OpenAssistant data, “assistant” turns were written by human volunteers as demonstrations. They are not model outputs.
- User
What is the right regex to make sure an answer is exclusively Japanese Kana?
- Assistant
Here is a JavaScript regex that makes sure a response is zero or more exclusively hiragana and katakana characters:
^([ァ-ヺ]|[ぁ-ゖ])*$Note that this regex does not cover all symbols in the hirigana and Katakana unicode blocks, as some of those symbols are not kana.
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)