- 30 Mar, 2020 1 commit
-
-
Julien Plu authored
* Update the NER TF script to remove the softmax and make the pad token label id to -1 * Reformat the quality and style Co-authored-by:Julien Plu <julien.plu@adevinta.com>
-
- 27 Mar, 2020 1 commit
-
-
Funtowicz Morgan authored
* Use tokenizer.num_added_tokens to count number of added special_tokens instead of hardcoded numbers. Signed-off-by:
Morgan Funtowicz <morgan@huggingface.co> * run_ner.py - Do not add a label to the labels_ids if word_tokens is empty. This can happen when using bert-base-multilingual-cased with an input containing an unique space. In this case, the tokenizer will output just an empty word_tokens thus leading to an non-consistent behavior over the labels_ids tokens adding one more tokens than tokens vector. Signed-off-by:
Morgan Funtowicz <morgan@huggingface.co>
-
- 24 Mar, 2020 1 commit
-
-
Julien Chaumond authored
-
- 20 Mar, 2020 1 commit
-
-
Elijah Rippeth authored
For more details, see https://pytorch.org/docs/stable/optim.html#how-to-adjust-learning-rate
-
- 19 Mar, 2020 1 commit
-
-
Julien Chaumond authored
-
- 17 Mar, 2020 2 commits
-
-
J.P Lee authored
* Update examples/ner/run_ner.py to use AutoModel * Fix missing code and apply `make style` command
-
Nathan Raw authored
*
✨ Alter base pl transformer to use automodels *🐛 Add batch size env variable to function call *💄 Apply black code style from Makefile *🚚 Move lightning base out of ner directory *✨ Add lightning glue example *💄 self * move _feature_file to base class *✨ Move eval logging to custom callback *💄 Apply black code style *🐛 Add parent to pythonpath, remove copy command *🐛 Add missing max_length kwarg
-
- 10 Mar, 2020 1 commit
-
-
Shubham Agarwal authored
* 1. seqeval required by ner pl example. install from examples/requirements. 2. unrecognized arguments: save_steps * pl checkpoint callback filenotfound error: make directory and pass * #3159 pl checkpoint path difference * 1. Updated Readme for pl 2. pl script now also correct displays logs 3. pass gpu ids compared to number of gpus * Updated results in readme * 1. updated readme 2. removing deprecated pl methods 3. finalizing scripts * comment length check * using deprecated validation_end for stable results * style related changes
-
- 02 Mar, 2020 1 commit
-
-
Victor SANH authored
* fix n_gpu count when no_cuda flag is activated * someone was left behind
-
- 27 Feb, 2020 1 commit
-
-
srush authored
* changes to allow for tpu training * black * tpu * tpu
-
- 26 Feb, 2020 2 commits
-
-
Martin Malmsten authored
-
Martin Malmsten authored
-
- 23 Feb, 2020 3 commits
-
-
Martin Malmsten authored
-
Martin Malmsten authored
-
Martin Malmsten authored
* Added support for Albert in NER pipeline * Added command-line options to examples/ner/run_ner.py to better control tokenization * Added class AlbertForTokenClassification * Changed output for NerPipeline to use .convert_ids_to_tokens(...) instead of .decode(...) to better reflect tokens
-
- 21 Feb, 2020 1 commit
-
-
Martin Malmsten authored
-
- 20 Feb, 2020 2 commits
-
-
srush authored
-
srush authored
* initial pytorch lightning commit * tested multigpu * Fix learning rate schedule * black formatting * fix flake8 * isort * isort * . Co-authored-by:Check your git settings! <chris@chris-laptop>
-