Ori Ram
439a43b6b4
Add splinter (#12955)
* splinter template
* initialize splinter classes
* Splinter Tokenizer
* splinter.rst
* tokenization fixes
* Documentation & some minor variable name changes
* bug fix (added back question_token_id to config) + variable names
* Minor bug fixes + variable name changes
* Fix Splinter references after merge with new transformers
* changes after running make style & quality
* Fix documentation unindent
* Fix doc indentation in tokenization_splinter
* Fix also SplinterTokenizerFast
* Add Splinter to index.rst and README
* Fixdouble whitespace from index.rst
* Fixed index.rst with 'make fix-copies'
* Update docs/source/model_doc/splinter.rst
Co-authored-by: Suraj Patil <surajp815@gmail.com>
* Update docs/source/model_doc/splinter.rst
Co-authored-by: Suraj Patil <surajp815@gmail.com>
* Update docs/source/model_doc/splinter.rst
Co-authored-by: Suraj Patil <surajp815@gmail.com>
* Update docs/source/model_doc/splinter.rst
Co-authored-by: Suraj Patil <surajp815@gmail.com>
* Update src/transformers/models/splinter/__init__.py
Co-authored-by: Suraj Patil <surajp815@gmail.com>
* Added "copied from BERT" comments
* Removing unnexessary code from modeling_splinter
* Update README.md
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
* Update src/transformers/models/splinter/configuration_splinter.py
Co-authored-by: Suraj Patil <surajp815@gmail.com>
* Remove references to TF modeling from splinter
* Update src/transformers/models/splinter/modeling_splinter.py
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
* Remove unnecessary check
* Update src/transformers/models/splinter/modeling_splinter.py
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
* Add differences between Splinter and Bert tokenizers
* Update src/transformers/models/splinter/modeling_splinter.py
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
* Update src/transformers/models/splinter/tokenization_splinter_fast.py
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
* Remove unnecessary check
* Doc formatting
* Update src/transformers/models/splinter/tokenization_splinter.py
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
* Update src/transformers/models/splinter/tokenization_splinter.py
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
* bug fix: remove load_tf_weights attribute
* Some minor quality changes
* Update docs/source/model_doc/splinter.rst
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>
* Update src/transformers/models/splinter/configuration_splinter.py
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>
* Change FullyConnectedLayer to SplinterFullyConnectedLayer
* Variable naming
* Reove gather_positions function
* Remove ClassificationHead as it's outdated
* Update src/transformers/models/splinter/modeling_splinter.py
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>
* Remove hardcoded 102 token id
* Minor style change
* Added "tau" organization to all model identifiers & URLS
* Added tau to the tests as well
* Copy-from comments
* Removed all unnecessary classes (e.g. SplinterForMaskedLM)
* Running make fix-copies
* Bug fix: Further removed unnecessary classes
* Add Splinter to AutoTokenization
* Add an integration test for Splinter
* Removed initialize_new_qass from config - It will be done through different checkpoints
* Removed `initialize_new_qass` from documentation as well
* Added new checkpoint names (`tau/splinter-base-qass` and same for large) in the code
* Minor change to test
* SplinterTokenizer now doesn't abstract from BertTokenizer
* SplinterTokenizerFast also dosn't abstract from Bert
* style and quality
* bug fix: import ing torch in tests only if it's available
* Auto mappings
* Changed copyrights in Splinter's files
* Update src/transformers/models/splinter/configuration_splinter.py
Co-authored-by: Lysandre Debut <lysandre@huggingface.co>
Co-authored-by: yuvalkirstain <kirstain.yuval@gmail.com>
Co-authored-by: Suraj Patil <surajp815@gmail.com>
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>
Co-authored-by: Lysandre <lysandre.debut@reseau.eseo.fr>
Co-authored-by: Lysandre Debut <lysandre@huggingface.co>
2021-08-17 08:29:01 -04:00
..
2021-08-09 16:14:17 +02:00
2021-07-09 17:39:09 -07:00
2021-08-12 05:49:02 -04:00
2021-08-04 16:31:23 +02:00
2021-08-17 08:29:01 -04:00
2021-06-14 13:34:32 -07:00
2021-06-16 15:14:53 -04:00
2021-01-05 06:18:48 -05:00
2021-08-10 09:36:44 +02:00
2021-07-30 20:56:14 +08:00
2020-06-17 14:01:10 -04:00
2021-04-21 11:11:20 -04:00
2021-03-26 08:07:59 -04:00
2021-07-21 09:36:02 -07:00
2020-05-27 11:36:55 -04:00
2021-04-05 10:51:16 -04:00
2020-02-25 13:48:24 -05:00
2021-06-15 06:37:37 -04:00
2021-08-17 08:29:01 -04:00
2021-06-23 09:45:30 -04:00
2021-06-14 13:34:32 -07:00
2021-06-15 06:37:37 -04:00
2021-06-15 06:37:37 -04:00
2021-04-21 11:11:20 -04:00
2020-04-06 14:32:39 -04:00
2021-07-21 15:11:02 -07:00
2021-07-15 09:39:34 -07:00
2021-08-05 02:56:13 -04:00
2020-12-23 10:15:49 -05:00
2021-06-15 06:37:37 -04:00
2021-03-30 11:15:55 -04:00
2021-08-12 03:42:25 -04:00
2021-07-12 18:02:51 +02:00
2021-08-09 09:51:49 -04:00
2021-08-12 03:42:25 -04:00
2021-07-15 16:18:56 -07:00
2021-06-15 06:37:37 -04:00
2021-07-12 12:03:13 -04:00
2021-04-14 08:39:23 -07:00