bigscience-workshop / bigscience-workshop/promptsource
Regenerate all templates in unicode
Open
- Dominant language
- Python
- Stars
- 3k
- Forks
- 375
- PR merge metrics
- No merged PRs in 30d
Description
@KhalidAlt made a great suggestion to change
```py
yaml.dump(self.format_for_dump(), open(self.yaml_path, "w"))
```
to
```py
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.
Contributor guide
Assessment
This issue has not been assessed yet.