Commit Graph

275 Commits

Author SHA1 Message Date
Grégory Châtel d429c15f25 Removing old code from copy-paste. 2018-12-06 19:19:21 +01:00
Grégory Châtel 4fa7892d64 Wrong line number link to modeling file. 2018-12-06 19:18:29 +01:00
Grégory Châtel 6a26e19ea3 Updating README.md with SWAG example informations. 2018-12-06 19:15:08 +01:00
Grégory Châtel 63c45056aa Finishing the code for the Swag task. 2018-12-06 18:53:05 +01:00
Grégory Châtel fc5a38ac92 Adding the BertForMultipleChoiceClass. 2018-12-06 18:42:23 +01:00
Grégory Châtel c45d8ac554 Storing the feature of each choice as a dict for readability. 2018-12-06 16:01:28 +01:00
Grégory Châtel 0812aee2c3 Fixing problems in convert_examples_to_features. 2018-12-06 15:53:07 +01:00
Grégory Châtel f2b873e995 convert_examples_to_features code and small improvements. 2018-12-06 15:40:47 +01:00
Grégory Châtel 83fdbd6043 Adding read_swag_examples to load the dataset. 2018-12-06 14:02:46 +01:00
Grégory Châtel 7183cded4e SwagExample class. 2018-12-06 13:39:44 +01:00
Thomas Wolf 3ba5470eb8
Merge pull request #87 from rodgzilla/readme-file-links
Readme file links
2018-12-05 10:41:05 -05:00
Grégory Châtel 0a7c8bdcac Fixing badly formatted links. 2018-12-04 13:43:56 +01:00
Grégory Châtel 3113e967db Adding links to examples files. 2018-12-04 13:40:38 +01:00
Thomas Wolf 04826b0f2c
Merge pull request #77 from davidefiocco/patch-1
Correct assignement for logits in classifier example
2018-12-02 13:01:04 +01:00
Davide Fiocco e60e8a6068
Correct assignement for logits in classifier example
I tried to address https://github.com/huggingface/pytorch-pretrained-BERT/issues/76
should be correct, but there's likely a more efficient way.
2018-12-02 12:38:26 +01:00
Thomas Wolf 063be09b71
Merge pull request #75 from davidefiocco/patch-2
Point typo fix
2018-12-01 01:15:43 +01:00
Thomas Wolf 4450f5ef6b
Merge pull request #74 from davidefiocco/patch-1
Update finetuning example in README adding --do_lower_case
2018-12-01 01:15:31 +01:00
Davide Fiocco dc13e276ee
Point typo fix 2018-12-01 01:02:16 +01:00
Davide Fiocco 8a8aa59d8c
Update finetuning example adding --do_lower_case
Should be consistent with the fact that an uncased model is used
2018-12-01 01:00:05 +01:00
Thomas Wolf 836b40be82
Merge pull request #72 from NirantK/patch-1
Fix internal hyperlink typo
2018-11-30 23:33:53 +01:00
Thomas Wolf 66d50ca6ae
Merge pull request #73 from huggingface/third-release
Third release
2018-11-30 23:10:30 +01:00
thomwolf f9f3bdd60b update readme 2018-11-30 23:05:18 +01:00
thomwolf 52ff0590ff tup => tpu 2018-11-30 23:01:10 +01:00
thomwolf 511bce58bd update new token classification model 2018-11-30 22:56:02 +01:00
thomwolf 258eb50086 bump up version 2018-11-30 22:55:33 +01:00
thomwolf d787c6be8c improve docstrings and fix new token classification model 2018-11-30 22:55:26 +01:00
thomwolf ed302a73f4 add new token classification model 2018-11-30 22:55:03 +01:00
thomwolf 89d47230d7 clean up classification model output 2018-11-30 22:54:53 +01:00
thomwolf 7f7c41b0c1 tests for all model classes with and without labels 2018-11-30 22:54:33 +01:00
Nirant be57c8eeef
Fix internal hyperlink typo 2018-12-01 02:43:25 +05:30
Thomas Wolf 8c7267f1cf
Merge pull request #70 from deepset-ai/fix_lm_loss
fix typo in input for masked lm loss function
2018-11-30 18:23:46 +01:00
Malte Pietsch 7b3bb8c00f fix typo in input for masked lm loss function 2018-11-30 16:52:50 +01:00
thomwolf 257a35134a fix pickle dump in run_squad example 2018-11-30 14:23:09 +01:00
thomwolf c588453a0f fix run_squad 2018-11-30 14:22:40 +01:00
thomwolf d6f06c03f4 fixed loading pre-trained tokenizer from directory 2018-11-30 14:09:06 +01:00
thomwolf 532a81d3d6 fixed doc_strings 2018-11-30 13:57:01 +01:00
thomwolf 296f006132 added BertForTokenClassification model 2018-11-30 13:56:53 +01:00
thomwolf 298107fed7 Added new bert models 2018-11-30 13:56:02 +01:00
thomwolf 0541442558 add do_lower_case in examples 2018-11-30 13:47:33 +01:00
Thomas Wolf 3951c2c189
Merge pull request #60 from davidefiocco/patch-1
Updated quick-start example with `BertForMaskedLM`
2018-11-28 14:59:08 +01:00
Davide Fiocco ec2c339b53
Updated quick-start example with `BertForMaskedLM`
As `convert_ids_to_tokens` returns a list, the code in the README currently throws an `AssertionError`, so I propose I quick fix.
2018-11-28 14:53:46 +01:00
Thomas Wolf 21f0196412
Merge pull request #58 from lliimsft/master
Bug fix in examples;correct t_total for distributed training;run pred…
2018-11-28 12:39:45 +01:00
Li Li 0aaedcc02f Bug fix in examples;correct t_total for distributed training;run prediction for full dataset 2018-11-27 01:08:37 -08:00
thomwolf 32167cdf4b remove convert_to_unicode and printable_text from examples 2018-11-26 23:33:22 +01:00
thomwolf ce37b8e481 bump version in setup.py 2018-11-26 10:45:48 +01:00
thomwolf 05053d163c update cache_dir in readme and examples 2018-11-26 10:45:13 +01:00
thomwolf 63ae5d2134 added cache_dir option in from_pretrained 2018-11-26 10:21:56 +01:00
thomwolf 029bdc0d50 fixing readme examples 2018-11-26 09:56:41 +01:00
thomwolf ebaacba38b fixing typo in docstring 2018-11-26 09:55:15 +01:00
thomwolf 870d71636e fixing target size in crossentropy losses 2018-11-26 09:51:34 +01:00