Commit Graph

52 Commits

Author SHA1 Message Date
Sina 547749e4f9 Add support for Loss Truncation
Loss Truncation is introduced in https://arxiv.org/abs/2004.14589.
It can potentially improve the quality of our natural language generation
tasks like paraphrasing and `almond_dialogue_nlg`.
2020-12-24 22:30:35 -08:00
Sina b1473d769c Change pytorch version to 1.7.1
This version of Pytorch fixed a bug that caused severe memory issues
when `transformers` was used with Pytorch's mixed precision
2020-12-20 00:08:03 -08:00
Sina 89b680e4c7 Change transformers version to 4.1.1
This version has the implementation for
diverse beam search (https://arxiv.org/abs/1610.02424).
2020-12-19 22:59:21 -08:00
Giovanni Campagna 5fd224f16d v0.6.0a1 2020-12-19 19:26:57 -08:00
Giovanni Campagna 259387848e Restore sentencepiece dependency
We actually need it for XLM-R
2020-12-18 09:23:04 -08:00
Giovanni Campagna 82360e283b Merge branch 'master' into wip/thingtalk2 2020-12-15 23:19:06 -08:00
Giovanni Campagna 0969c6ea74 v0.5.0 2020-12-15 23:05:58 -08:00
Giovanni Campagna db8e9fb1ee Merge remote-tracking branch 'origin/master' into wip/thingtalk2 2020-12-14 21:46:51 -08:00
mehrad 01397f7ed5 Bump transformers version to v4.0.0 2020-12-10 11:50:53 -08:00
Giovanni Campagna cd6cf37a9e Remove revtok 2020-12-05 17:37:39 -08:00
mehrad c0f2a1aeac setup.py: unpin sentencepiece version 2020-12-04 16:24:45 -08:00
mehrad 8b644cca02 bump transformers version to 3.5.1 2020-12-03 12:50:34 -08:00
s-jse 37f80df956
Update minimum pytorch version to 1.6 (#44)
We have experienced some issues with the transformers library
when pytorch <1.6 is installed.
2020-11-03 14:24:39 -08:00
Giovanni Campagna 95690abbab v0.4.0 2020-09-14 17:27:54 -07:00
mehrad 1f6846f35a setup.py: Remove plotting libraries 2020-09-10 17:55:42 -07:00
Giovanni Campagna e775457bc0 v0.4.0b1 2020-08-31 21:09:47 -07:00
mehrad 5139c71655 Update python-dateutil version 2020-08-10 15:51:41 -07:00
Giovanni Campagna 74915155fa v0.4.0a1 2020-08-10 10:47:42 -07:00
mehrad 91a7ea0e2e Pipfile: set numpy version 2020-07-16 13:41:25 -07:00
mehrad 140a5e0acd Pipfile: add matplotlib and seaborn 2020-07-16 13:41:25 -07:00
mehrad 40dfeadd2b upgrade transformers to 2.11 2020-07-16 13:38:48 -07:00
Giovanni Campagna 99968a73ac v0.3.0 2020-06-08 20:50:28 -07:00
Sina 2e0a8f5b76 Fix transformers version in setup.py 2020-05-12 00:33:21 -07:00
Giovanni Campagna 68f46d7568 v0.2.0 2020-04-03 10:28:04 -07:00
Giovanni Campagna ffaf123b5c v0.2.0b2 2020-04-02 18:49:14 -07:00
Giovanni Campagna 5ca27fb5f7 v0.2.0b1 2020-03-27 13:08:42 -07:00
Giovanni Campagna 6810668b94 Post release version bump 2020-03-24 19:24:35 -07:00
Giovanni Campagna 02d9003539 v0.2.0a2 2020-03-24 18:55:59 -07:00
Giovanni Campagna 5a72ac7ff6 Post-release version bump 2020-03-21 19:31:38 -07:00
Giovanni Campagna 65338cb05d v0.2.0a1 2020-03-21 19:08:19 -07:00
mehrad c1487ce1db minor changes 2020-02-20 11:36:00 -08:00
Giovanni Campagna b39fe2ea6a v0.1.1 2020-01-29 10:23:44 -08:00
Giovanni Campagna c89e069f55 Make radam optional
We cannot depend on radam in the pypi package
2020-01-29 10:15:25 -08:00
Giovanni Campagna 232c20610b v0.1.0 2020-01-29 10:01:06 -08:00
Giovanni Campagna cfb4d0555d Rebrand as genienlp 2020-01-28 18:06:51 -08:00
Giovanni Campagna ed10e1b916 Rename the python package to genienlp 2020-01-28 18:06:50 -08:00
Giovanni Campagna 361e52cb15 Fix radam dep 2020-01-19 19:47:57 -08:00
Giovanni Campagna 91aff28abc Add support for radam optimizer 2020-01-19 19:40:01 -08:00
Giovanni Campagna 47479a3b65 Remove ujson library
Just use the standard library, the extra dependency is not worth it
2020-01-16 21:01:31 -08:00
Giovanni Campagna 3da2e8f805 Remove dateutil library
So much just get the current time in ISO format...
2020-01-16 20:59:17 -08:00
Giovanni Campagna aa6d0f0c3f Update dependencies
Add version specs to everything, and add transformers
2020-01-16 20:54:24 -08:00
Giovanni Campagna ef2b47e5be wip: make tests pass 2020-01-13 18:15:30 -08:00
Giovanni Campagna 27b8dca79f Remove a whole lot of unused Almond code
Remove the "thingpedia_as_context" option, and the different ThingTalk
grammars. They were unused, and also unlikely to be helpful, after
several experiments.
2019-12-10 18:03:01 -08:00
Giovanni Campagna 6911a5092d Revert "update FastText embedding"
This reverts commit 1339767da3.
2019-11-06 08:22:36 -08:00
Giovanni Campagna 2507270c4b Revert "fix"
This reverts commit 3addf7da94.
2019-11-06 08:22:36 -08:00
mehrad 3addf7da94 fix 2019-11-06 01:18:08 -08:00
mehrad 1339767da3 update FastText embedding 2019-11-06 01:09:55 -08:00
Giovanni Campagna 48b88317b7 Refuse to run with pytorch 1.2.0
Because pytorch 1.2.0 changed the behavior of Bools vs Uint8 and
that broke us...
2019-08-08 16:07:48 -07:00
Giovanni Campagna 6837cc7e7b Add missing dependency
Probably before it was coming from somewhere else, like allennlp
2019-04-17 12:10:45 -07:00
Giovanni Campagna 73ffec5365 Populate "install_requires" package metadata
This is necessary to automatically install dependencies when
the user installs the library with pip.
2019-04-17 11:40:40 -07:00