-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Move batching and field logic from inputter to dsets. * Remove _feature_tokenize from inputter. * Remove src_lengths from audio. * Make lengths a torch.int instead of self.dtype in AudioSeqField. * Don't output src_lengths in AudioDataset.make_examples since they're no longer necessary * Add temp fix for checking if data is text in make_features. * First pass at a multi-level field design. * Remove some unused code. * Remove batch.src_is_text attr. * Clean up by adding __iter__ to MultiField. * Fix extract embeddings. * Clean build_vocab (including bad indentation level), incorporate #1199, rename TextMultiField attrs. * Remove make_features. * Update semantics in direct calls to batch.src, batch.tgt. * Test for old-style text fields while checking for old-style vocab.
- Loading branch information
Showing
13 changed files
with
182 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.