Shang Zhang
a59e7c1ed4
Add QDQBert model and quantization examples of SQUAD task (#14066)
* clean up branch for add-qdqbert-model
* README update for QAT example; update docstrings in modeling_qdqbert.py
* Update qdqbert.rst
* Update README.md
* Update README.md
* calibration data using traning set; QAT example runs in fp32
* re-use BERTtokenizer for qdqbert
* Update docs/source/model_doc/qdqbert.rst
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
* Update docs/source/model_doc/qdqbert.rst
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
* Update docs/source/model_doc/qdqbert.rst
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
* remove qdqbert tokenizer
* Update qdqbert.rst
* update evaluate-hf-trt-qa.py
* update configuration_qdqbert.py
* update modeling_qdqbert.py: add copied statement; replace assert with ValueError
* update copied from statement
* add is_quantization_available; run make fix-copies
* unittest add require_quantization
* add backend dependency to qdqbert model
* update README; update evaluate script; make style
* lint
* docs qdqbert update
* circleci build_doc add pytorch-quantization for qdqbert
* update README
* update example readme with instructions to upgrade TensorRT to 8.2
* Update src/transformers/models/qdqbert/configuration_qdqbert.py
Co-authored-by: Lysandre Debut <lysandre@huggingface.co>
* Update src/transformers/models/qdqbert/configuration_qdqbert.py
Co-authored-by: Lysandre Debut <lysandre@huggingface.co>
* Update src/transformers/models/qdqbert/configuration_qdqbert.py
Co-authored-by: Lysandre Debut <lysandre@huggingface.co>
* Update src/transformers/models/qdqbert/configuration_qdqbert.py
Co-authored-by: Lysandre Debut <lysandre@huggingface.co>
* change quantization to pytorch_quantization for backend requirement
* feed_forward_chunking not supported in QDQBert
* make style
* update model docstrings and comments in testing scripts
* rename example to quantization-qdqbert; rename example scripts from qat to quant
* Update src/transformers/models/qdqbert/modeling_qdqbert.py
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>
* rm experimental functions in quant_trainer
* qa cleanup
* make fix-copies for docs index.rst
* fix doctree; use post_init() for qdqbert
* fix early device assignment for qdqbert
* fix CI:Model templates runner
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
Co-authored-by: Lysandre Debut <lysandre@huggingface.co>
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>
2021-11-19 13:33:39 -05:00
..
2021-08-30 17:29:27 +02:00
2021-11-09 07:54:37 -05:00
2021-11-17 19:02:33 +01:00
2021-04-21 11:11:20 -04:00
2021-10-18 10:16:46 -04:00
2021-11-02 18:29:14 +01:00
2021-04-21 09:47:27 -04:00
2021-08-04 16:31:23 +02:00
2021-04-21 09:47:27 -04:00
2021-10-18 10:16:46 -04:00
2021-05-07 09:27:43 +02:00
2021-06-14 20:01:03 +01:00
2021-09-22 19:00:47 -04:00
2021-10-29 09:19:01 -04:00
2021-04-21 09:47:27 -04:00
2021-09-01 15:05:40 +02:00
2021-04-21 09:47:27 -04:00
2021-07-13 08:40:27 -04:00
2021-07-20 09:28:50 -04:00
2021-04-21 09:47:27 -04:00
2021-04-21 09:47:27 -04:00
2021-04-21 09:47:27 -04:00
2021-08-31 06:32:47 -04:00
2021-08-12 05:01:26 -04:00
2021-04-21 09:47:27 -04:00
2021-06-17 10:37:54 -04:00
2021-01-27 21:25:11 +03:00
2021-09-20 15:10:33 -04:00
2021-11-06 09:41:02 -04:00
2021-05-04 20:56:09 +02:00
2021-10-13 00:10:34 +02:00
2021-04-21 09:47:27 -04:00
2021-09-20 13:24:30 +02:00
2021-04-21 09:47:27 -04:00
2021-04-21 09:47:27 -04:00
2021-10-04 07:37:09 -04:00
2021-07-06 18:55:18 +05:30
2021-04-21 09:47:27 -04:00
2021-10-04 12:30:50 +02:00
2021-10-08 10:27:32 -04:00
2021-08-27 20:52:51 +03:00
2021-04-21 09:47:27 -04:00
2021-11-18 16:24:34 +01:00
2021-04-21 09:47:27 -04:00
2021-08-30 12:35:42 +02:00
2021-11-03 08:59:44 +01:00
2021-09-22 07:51:38 -04:00
2021-04-21 09:47:27 -04:00
2021-05-03 09:07:29 -04:00
2021-04-21 09:47:27 -04:00
2021-08-09 22:47:05 +05:30
2021-11-02 18:58:42 -04:00
2021-09-02 11:32:18 +02:00
2021-04-21 09:47:27 -04:00
2021-04-21 09:47:27 -04:00
2021-04-21 09:47:27 -04:00
2020-12-10 09:29:38 -05:00
2021-09-20 07:53:31 -04:00
2021-09-14 17:15:19 +02:00
2021-10-18 10:16:46 -04:00
2020-12-07 18:36:34 -05:00
2021-11-19 13:33:39 -05:00
2021-04-21 09:47:27 -04:00
2021-04-21 09:47:27 -04:00
2021-07-24 11:31:42 -04:00
2021-04-21 11:11:20 -04:00
2021-10-13 00:10:34 +02:00
2021-07-06 03:31:57 -04:00
2021-11-17 15:29:58 +01:00
2021-10-18 17:43:35 +02:00
2021-10-18 17:43:35 +02:00
2021-11-15 16:34:11 +01:00
2021-10-14 15:46:22 +02:00
2021-09-01 13:33:31 +02:00
2021-08-17 08:29:01 -04:00
2021-04-21 09:47:27 -04:00
2021-09-01 15:05:40 +02:00
2021-09-01 15:05:40 +02:00
2021-04-21 09:47:27 -04:00
2021-04-21 09:47:27 -04:00
2021-10-13 10:28:56 +02:00
2021-10-26 18:59:58 +02:00
2021-10-26 18:59:58 +02:00
2021-11-09 15:14:28 +05:30
2021-08-13 11:44:04 +05:30
2021-11-09 07:54:37 -05:00
2021-08-27 20:52:51 +03:00
2021-04-21 09:47:27 -04:00
2020-12-07 18:36:34 -05:00
2021-04-21 09:47:27 -04:00
2021-04-21 11:11:20 -04:00
2021-03-11 17:44:18 +03:00