promptsource
promptsource copied to clipboard
Regenerate all templates in unicode
@KhalidAlt made a great suggestion to change
yaml.dump(self.format_for_dump(), open(self.yaml_path, "w"))
to
yaml.dump(self.format_for_dump(), open(self.yaml_path, "w"), allow_unicode=True)
in templates.py
so that the yaml files display as unicode (rather than the unicode code points). We should definitely do this, but we should do it when the corpus is relatively stable and we can regenerate (read and write) all the yaml as one commit.