Modifying a project template for a different use case
To reuse the project template for a different use case, the first thing we’ll do is clone the project, specifying a different dest folder. Let’s do that:
cd .. python3 -m weasel clone tutorials/textcat_goemotions textcat_github_issues
This will create a textcat_github_issues folder. The new use case uses annotated data from Prodigy and we should predict whether a GitHub issue title is about documentation or not. The original project is available here: https://github.com/explosion/projects/tree/v3/tutorials/textcat_docs_issues. The goal of this section is to learn how to reuse a project template, so we will modify the textcat_goemotions project to this domain.
First, we should update title, description, and vars with the information for this new GitHub issues project. The assets of the GitHub issues are in the .jsonl format, so we will need to modify the command to convert the data to .spacy format. We have...