promptsource icon indicating copy to clipboard operation
promptsource copied to clipboard

Regenerate all templates in unicode

Open stephenbach opened this issue 2 years ago • 0 comments

@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.

stephenbach avatar Oct 28 '22 18:10 stephenbach