Skip to content
Discussion options

You must be logged in to vote

So investigating this took a while because you have several customizations that aren't relevant and there are some issues with your code.

  1. The filename given for the json with the labels is wrong.
  2. The custom loader has an infinite loop. Remove the while True (if there is a reason for it it's not clear).
  3. Your HashEmbed is customized in an odd way. In particular the "ID" field is currently unused, and while it's not the core of your problem it won't help you.
  4. The way your tok2vec is specified in the textcat block is not correct. If you use a listener, look at the quickstart output for examples of how to specify that. You can also look at the textcat goemotions project for a non-listener exa…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@DarrelYee-SiA
Comment options

@polm
Comment options

Answer selected by DarrelYee-SiA
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / textcat Feature: Text Classifier
2 participants