transformers/docs/source/model_doc
Suraj Patil d26b37e744
Speech2TextTransformer (#10175)
* s2t

* fix config

* conversion script

* fix import

* add tokenizer

* fix tok init

* fix tokenizer

* first version working

* fix embeds

* fix lm head

* remove extra heads

* fix convert script

* handle encoder attn mask

* style

* better enc attn mask

* override _prepare_attention_mask_for_generation

* handle attn_maks in encoder and decoder

* input_ids => input_features

* enable use_cache

* remove old code

* expand embeddings if needed

* remove logits bias

* masked_lm_loss => loss

* hack tokenizer to support feature processing

* fix model_input_names

* style

* fix error message

* doc

* remove inputs_embeds

* remove input_embeds

* remove unnecessary docstring

* quality

* SpeechToText => Speech2Text

* style

* remove shared_embeds

* subsample => conv

* remove Speech2TextTransformerDecoderWrapper

* update output_lengths formula

* fix table

* remove max_position_embeddings

* update conversion scripts

* add possibility to do upper case for now

* add FeatureExtractor and Processor

* add tests for extractor

* require_torch_audio => require_torchaudio

* add processor test

* update import

* remove classification head

* attention mask is now 1D

* update docstrings

* attention mask should be of type long

* handle attention mask from generate

* alwyas return attention_mask

* fix test

* style

* doc

* Speech2TextTransformer => Speech2Text

* Speech2TextTransformerConfig => Speech2TextConfig

* remove dummy_inputs

* nit

* style

* multilinguial tok

* fix tokenizer

* add tgt_lang setter

* save lang_codes

* fix tokenizer

* add forced_bos_token_id to tokenizer

* apply review suggestions

* add torchaudio to extra deps

* add speech deps to CI

* fix dep

* add libsndfile to ci

* libsndfile1

* add speech to extras all

* libsndfile1 -> libsndfile1

* libsndfile

* libsndfile1-dev

* apt update

* add sudo to install

* update deps table

* install libsndfile1-dev on CI

* tuple to list

* init conv layer

* add model tests

* quality

* add integration tests

* skip_special_tokens

* add speech_to_text_transformer in toctree

* fix tokenizer

* fix fp16 tests

* add tokenizer tests

* fix copyright

* input_values => input_features

* doc

* add model in readme

* doc

* change checkpoint names

* fix copyright

* fix code example

* add max_model_input_sizes in tokenizer

* fix integration tests

* add do_lower_case to tokenizer

* remove clamp trick

* fix "Add modeling imports here"

* fix copyrights

* fix tests

* SpeechToTextTransformer => SpeechToText

* fix naming

* fix table formatting

* fix typo

* style

* fix typos

* remove speech dep from extras[testing]

* fix copies

* rename doc file,

* put imports under is_torch_available

* run feat extract tests when torch is available

* dummy objects for processor and extractor

* fix imports in tests

* fix import in modeling test

* fxi imports

* fix torch import

* fix imports again

* fix positional embeddings

* fix typo in import

* adapt new extractor refactor

* style

* fix torchscript test

* doc

* doc

* Apply suggestions from code review

Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>

* fix docs, copied from, style

* fix docstring

* handle imports

* remove speech from all extra deps

* remove s2t from seq2seq lm mapping

* better names

* skip training tests

* add install instructions

* List => Tuple

* doc

* fix conversion script

* fix urls

* add instruction for libsndfile

* fix fp16 test

Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
2021-03-10 21:42:04 +05:30
..
albert.rst Enforce all objects in the main init are documented (#9014) 2020-12-10 11:57:12 -05:00
auto.rst AutoModelForTableQuestionAnswering (#9154) 2020-12-16 12:14:33 -05:00
bart.rst BartForCausalLM analogs to ProphetNetForCausalLM (#9128) 2021-02-04 11:56:12 +03:00
barthez.rst Fix documentation links always pointing to master. (#9217) 2021-01-05 06:18:48 -05:00
bert.rst Enforce all objects in the main init are documented (#9014) 2020-12-10 11:57:12 -05:00
bertgeneration.rst Copyright (#8970) 2020-12-07 18:36:34 -05:00
bertweet.rst Improve documentation coverage for Bertweet (#9379) 2021-01-04 13:12:59 -05:00
blenderbot_small.rst BartForCausalLM analogs to ProphetNetForCausalLM (#9128) 2021-02-04 11:56:12 +03:00
blenderbot.rst BartForCausalLM analogs to ProphetNetForCausalLM (#9128) 2021-02-04 11:56:12 +03:00
bort.rst ADD BORT (#9813) 2021-01-27 21:25:11 +03:00
camembert.rst Enforce all objects in the main init are documented (#9014) 2020-12-10 11:57:12 -05:00
convbert.rst Fix doc for TFConverBertModel 2021-02-04 10:14:46 -05:00
ctrl.rst Added TF CTRL Sequence Classification (#9151) 2020-12-17 18:10:57 -05:00
deberta_v2.rst Integrate DeBERTa v2(the 1.5B model surpassed human performance on Su… (#10018) 2021-02-19 18:34:44 -05:00
deberta.rst Integrate DeBERTa v2(the 1.5B model surpassed human performance on Su… (#10018) 2021-02-19 18:34:44 -05:00
dialogpt.rst ADD BORT (#9813) 2021-01-27 21:25:11 +03:00
distilbert.rst Copyright (#8970) 2020-12-07 18:36:34 -05:00
dpr.rst Copyright (#8970) 2020-12-07 18:36:34 -05:00
electra.rst Copyright (#8970) 2020-12-07 18:36:34 -05:00
encoderdecoder.rst Copyright (#8970) 2020-12-07 18:36:34 -05:00
flaubert.rst Copyright (#8970) 2020-12-07 18:36:34 -05:00
fsmt.rst Deprecate prepare_seq2seq_batch (#10287) 2021-02-22 12:36:16 -05:00
funnel.rst Copyright (#8970) 2020-12-07 18:36:34 -05:00
gpt.rst Added TF OpenAi GPT1 Sequence Classification (#9105) 2020-12-15 11:27:08 -05:00
gpt2.rst Copyright (#8970) 2020-12-07 18:36:34 -05:00
herbert.rst Improve documentation coverage for Herbert (#9428) 2021-01-06 09:13:43 -05:00
ibert.rst Update ibert.rst (#10445) 2021-02-28 19:03:49 +03:00
layoutlm.rst Improve LayoutLM (#9476) 2021-01-12 09:26:32 -05:00
led.rst Upgrade styler to better handle lists (#9423) 2021-01-06 07:46:17 -05:00
longformer.rst Add message to documentation that longformer doesn't support token_type_ids (#9152) 2020-12-16 11:06:14 -05:00
lxmert.rst Copyright (#8970) 2020-12-07 18:36:34 -05:00
m2m_100.rst Add m2m100 (#10236) 2021-03-06 22:14:16 +05:30
marian.rst Deprecate prepare_seq2seq_batch (#10287) 2021-02-22 12:36:16 -05:00
mbart.rst Deprecate prepare_seq2seq_batch (#10287) 2021-02-22 12:36:16 -05:00
mobilebert.rst Copyright (#8970) 2020-12-07 18:36:34 -05:00
mpnet.rst MPNet copyright files (#9015) 2020-12-10 09:29:38 -05:00
mt5.rst Enforce all objects in the main init are documented (#9014) 2020-12-10 11:57:12 -05:00
pegasus.rst Deprecate prepare_seq2seq_batch (#10287) 2021-02-22 12:36:16 -05:00
phobert.rst Improve documentation coverage for Phobert (#9427) 2021-01-06 10:04:32 -05:00
prophetnet.rst Copyright (#8970) 2020-12-07 18:36:34 -05:00
rag.rst Add TFRag (#9002) 2021-03-09 00:49:51 +03:00
reformer.rst Enforce all objects in the main init are documented (#9014) 2020-12-10 11:57:12 -05:00
retribert.rst Copyright (#8970) 2020-12-07 18:36:34 -05:00
roberta.rst Copyright (#8970) 2020-12-07 18:36:34 -05:00
speech_to_text.rst Speech2TextTransformer (#10175) 2021-03-10 21:42:04 +05:30
squeezebert.rst Copyright (#8970) 2020-12-07 18:36:34 -05:00
t5.rst Deprecate prepare_seq2seq_batch (#10287) 2021-02-22 12:36:16 -05:00
tapas.rst Fix URLs to TAPAS notebooks (#9435) 2021-01-06 07:20:41 -05:00
transformerxl.rst Fix script that check objects are documented (#9259) 2020-12-22 11:12:58 -05:00
wav2vec2.rst Add Fine-Tuning for Wav2Vec2 (#10145) 2021-03-01 12:13:17 +03:00
xlm.rst Copyright (#8970) 2020-12-07 18:36:34 -05:00
xlmprophetnet.rst Copyright (#8970) 2020-12-07 18:36:34 -05:00
xlmroberta.rst Enforce all objects in the main init are documented (#9014) 2020-12-10 11:57:12 -05:00
xlnet.rst Enforce all objects in the main init are documented (#9014) 2020-12-10 11:57:12 -05:00