You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opennlp.apache.org by sm...@apache.org on 2019/03/03 19:47:44 UTC

[opennlp-sandbox] branch tf-nec-sundry created (now 2411194)

This is an automated email from the ASF dual-hosted git repository.

smarthi pushed a change to branch tf-nec-sundry
in repository https://gitbox.apache.org/repos/asf/opennlp-sandbox.git.


      at 2411194  Added code to randomly drop a character while training

This branch includes the following new commits:

     new 2411194  Added code to randomly drop a character while training

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[opennlp-sandbox] 01/01: Added code to randomly drop a character while training

Posted by sm...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

smarthi pushed a commit to branch tf-nec-sundry
in repository https://gitbox.apache.org/repos/asf/opennlp-sandbox.git

commit 2411194db3b972e69b0ae189b2b5eeb2ebc5a2d9
Author: Suneel Marthi <sm...@apache.org>
AuthorDate: Sun Mar 3 20:46:00 2019 +0100

    Added code to randomly drop a character while training
---
 tf-ner-poc/src/main/python/namecat/namecat.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tf-ner-poc/src/main/python/namecat/namecat.py b/tf-ner-poc/src/main/python/namecat/namecat.py
index 5ff0dfb..18b5d5f 100644
--- a/tf-ner-poc/src/main/python/namecat/namecat.py
+++ b/tf-ner-poc/src/main/python/namecat/namecat.py
@@ -163,7 +163,7 @@ def main():
         sess.run(init)
 
         batch_size = 20
-        for epoch in range(10):
+        for epoch in range(20):
             print("Epoch " + str(epoch))
             acc_train = []