Skip to content
This repository was archived by the owner on Sep 25, 2025. It is now read-only.

Conversation

@fernandoasevedo
Copy link

A suggestion to remove a loop in all_documents at create_training_instances base on the following items:

  • remove len(all_documents) inside of for
  • Create a list current_document to collect non empty documents
  • Remove all_documents = [x for x in all_documents if x] because of item above

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants