bigscience-workshop / bigscience-workshop/promptsource

Regenerate all templates in unicode

Open
#836 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.