Commit Graph

12 Commits

Author SHA1 Message Date
mehrad f3545ad9d3 add max-margin loss 2019-02-19 13:48:52 -08:00
Giovanni Campagna fdfdd154c4 Remove hacks needed to use a different tokenizer for Almond
Almond data is always pretokenized (because we must preprocess
numbers/quoted strings/etc.).

Previously, we used a bad HACK of hardcoding almond in the generic
Field subclass. Now, we instead thread through the tokenizer/detokenizer
arguments from the right places.

In the future, we will probably want task classes, to clean up
the mess of hacks and hardcoded task-specific tweaks everywhere.
2019-01-23 10:48:49 -08:00
Giovanni Campagna 9ec8d7cf2d Merge remote-tracking branch 'upstream/master' 2019-01-23 10:44:20 -08:00
Bryan Marcus McCann 6260c9f527 adding elmo naively as a replacement 2018-12-10 19:41:27 +00:00
mehrad ca5818dcf1 Getting the best from both sides
The branches are getting messy! This branch is a clean updated version of the codebase which is actually compatible with 1) new version of pytorch 2) Almond project
2018-11-07 15:06:41 -08:00
Bryan Marcus McCann 2838e23be1 update field for torch 0.4 2018-10-25 16:02:48 -07:00
Bryan Marcus McCann 76304734b6 attempt at migrating w/o Variables 2018-10-25 16:02:48 -07:00
Bryan Marcus McCann 847a9dd094 bug fix for string interning 2018-08-29 02:44:24 +00:00
Bryan Marcus McCann c00de93356 re-interning for alternatives to revtok 2018-08-21 03:24:21 +00:00
Bryan Marcus McCann 2065ccf4b5 rm interning; integrated into revtok 2018-08-21 03:18:35 +00:00
Bryan Marcus McCann 1f83b7a739 interning strings to fix memory consumption 2018-08-21 02:47:14 +00:00
Bryan Marcus McCann 8997039aec Initial commit 2018-06-20 12:36:21 +00:00