-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ADD] extra tests, note that short sequences perform worse, which wil…
…l inform the next batch of training, may want to create a corpus of 1-n grams in addition to the 5-40 word sequences previously trained. PyTorch text dependency (torchtext==0.4.0) is causing problems from setup.py once installed because torchtext 0.3.* is the latest on PyPI and we currently install it manually via git+https://blah ....so we pull in torchtext source code as a toplevel package alongside opennmt in the meantime, as the next best thing ... a lot of workarounds in general to get this library working smoothly with minimum fuss
- Loading branch information
1 parent
909b75d
commit 23a6dda
Showing
4 changed files
with
49 additions
and
17 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
bs4 | ||
configargparse | ||
git+https://github.com/pytorch/text | ||
torch==1.0.1 | ||
torch==1.0.1 | ||
numpy | ||
requests | ||
tqdm |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
|
||
setup( | ||
name="iranlowo", | ||
version='0.0.5.4', | ||
version='0.0.6', | ||
setup_requires="setupmeta", | ||
license="MIT", | ||
author="Ruoho Ruotsi [email protected]", | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
from . import onmt | ||
from . import onmt | ||
from . import torchtext |
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