transformers/docs/source/en/model_doc
Ekagra Ranjan f85acb4d73
Fix decode_input_ids to bare T5Model and improve doc (#18791)
* use tokenizer to output tensor

* add preprocessing for decoder_input_ids for bare T5Model

* add preprocessing to tf and flax

* linting

* linting

* Update src/transformers/models/t5/modeling_flax_t5.py

Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>

* Update src/transformers/models/t5/modeling_tf_t5.py

Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>

* Update src/transformers/models/t5/modeling_t5.py

Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>

Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>
2022-09-06 14:12:26 +02:00
..
albert.mdx
auto.mdx Add TFAutoModelForSemanticSegmentation to the main __init__.py (#18600) 2022-08-12 15:10:00 +02:00
bart.mdx
barthez.mdx
bartpho.mdx
beit.mdx
bert-generation.mdx Result of new doc style with fixes (#17015) 2022-04-29 17:42:15 -04:00
bert-japanese.mdx
bert.mdx Add a TF in-graph tokenizer for BERT (#17701) 2022-06-27 12:06:21 +01:00
bertweet.mdx
big_bird.mdx [FlaxBert] Add ForCausalLM (#16995) 2022-05-03 11:26:19 +02:00
bigbird_pegasus.mdx
blenderbot-small.mdx
blenderbot.mdx
bloom.mdx Update BLOOM parameter counts (#18531) 2022-08-12 19:36:18 +02:00
bort.mdx
byt5.mdx [Doctests] Fix all T5 doc tests (#16646) 2022-04-13 11:36:54 +02:00
camembert.mdx
canine.mdx
clip.mdx
codegen.mdx Add CodeGen model (#17443) 2022-06-24 17:10:38 +02:00
convbert.mdx
convnext.mdx
cpm.mdx Allow all imports from transformers (#17050) 2022-05-02 12:47:39 -04:00
ctrl.mdx
cvt.mdx Add CvT (#17299) 2022-05-18 17:47:18 +02:00
data2vec.mdx Add TFData2VecVision for semantic segmentation (#17271) 2022-06-08 14:03:18 +01:00
deberta-v2.mdx Add DebertaV2ForMultipleChoice (#17135) 2022-05-10 16:21:44 -04:00
deberta.mdx
decision_transformer.mdx
deit.mdx Add TF DeiT implementation (#17806) 2022-07-13 18:04:08 +01:00
detr.mdx Fix Automatic Download of Pretrained Weights in DETR (#17712) 2022-06-21 16:45:35 +02:00
dialogpt.mdx
distilbert.mdx
dit.mdx
donut.mdx Fix URLs (#18604) 2022-08-12 18:52:49 +02:00
dpr.mdx
dpt.mdx
electra.mdx [FlaxBert] Add ForCausalLM (#16995) 2022-05-03 11:26:19 +02:00
encoder-decoder.mdx [EncoderDecoder] Improve docs (#18271) 2022-07-27 10:08:59 +02:00
flaubert.mdx
flava.mdx [feat] Add FLAVA model (#16654) 2022-05-11 14:56:48 -07:00
fnet.mdx
fsmt.mdx
funnel.mdx
glpn.mdx
gpt_neo.mdx
gpt_neox.mdx [WIP] Adding GPT-NeoX-20B (#16659) 2022-05-24 09:31:10 -04:00
gpt2.mdx
gptj.mdx
groupvit.mdx Adding GroupViT Models (#17313) 2022-06-28 20:51:47 +02:00
herbert.mdx
hubert.mdx
ibert.mdx
imagegpt.mdx
layoutlm.mdx [LayoutLM] Add clarification to docs (#18716) 2022-09-02 14:48:19 +02:00
layoutlmv2.mdx Correct & Improve Doctests for LayoutLMv2 (#17168) 2022-05-23 08:02:31 -04:00
layoutlmv3.mdx [LayoutLMv3] Add TensorFlow implementation (#18678) 2022-08-30 11:48:11 +01:00
layoutxlm.mdx
led.mdx [LED] fix global_attention_mask not being passed for generation and docs clarification about grad checkpointing (#17112) 2022-05-17 23:44:37 +02:00
levit.mdx Adding LeViT Model by Facebook (#17466) 2022-06-01 17:06:20 +02:00
longformer.mdx
longt5.mdx Update longt5.mdx (#18634) 2022-08-16 10:20:46 -05:00
luke.mdx Adding fine-tuning models to LUKE (#18353) 2022-08-01 11:09:47 -04:00
lxmert.mdx
m2m_100.mdx Replace as_target context managers by direct calls (#18325) 2022-07-29 08:09:09 -04:00
marian.mdx Replace as_target context managers by direct calls (#18325) 2022-07-29 08:09:09 -04:00
maskformer.mdx update maskformer docs (#18423) 2022-08-02 18:43:58 +03:00
mbart.mdx Replace as_target context managers by direct calls (#18325) 2022-07-29 08:09:09 -04:00
mctct.mdx Replace as_target context managers by direct calls (#18325) 2022-07-29 08:09:09 -04:00
megatron_gpt2.mdx
megatron-bert.mdx
mluke.mdx
mobilebert.mdx
mobilevit.mdx TensorFlow MobileViT (#18555) 2022-09-01 10:35:15 -04:00
mpnet.mdx
mt5.mdx Flax t5 Encoder (#17784) 2022-06-30 00:49:02 +02:00
mvp.mdx Add MVP model (#17787) 2022-06-29 09:30:55 -04:00
nezha.mdx Nezha Pytorch implementation (#17776) 2022-06-23 12:36:22 -04:00
nllb.mdx Replace as_target context managers by direct calls (#18325) 2022-07-29 08:09:09 -04:00
nystromformer.mdx
openai-gpt.mdx
opt.mdx Adding OPTForSeqClassification class (#18123) 2022-07-20 10:14:21 +02:00
owlvit.mdx fix owlvit tests, update docstring examples (#18586) 2022-08-11 19:10:25 +03:00
pegasus_x.mdx PEGASUS-X (#18551) 2022-09-02 19:54:02 +02:00
pegasus.mdx
perceiver.mdx
phobert.mdx
plbart.mdx Replace as_target context managers by direct calls (#18325) 2022-07-29 08:09:09 -04:00
poolformer.mdx
prophetnet.mdx
qdqbert.mdx
rag.mdx
realm.mdx
reformer.mdx
regnet.mdx TF implementation of RegNets (#17554) 2022-06-29 13:45:14 +01:00
rembert.mdx
resnet.mdx Add TF ResNet model (#17427) 2022-07-04 10:59:15 +01:00
retribert.mdx
roberta.mdx [FlaxBert] Add ForCausalLM (#16995) 2022-05-03 11:26:19 +02:00
roformer.mdx
segformer.mdx [SegFormer] TensorFlow port (#17910) 2022-07-21 18:22:37 +01:00
sew-d.mdx
sew.mdx
speech_to_text_2.mdx Replace as_target context managers by direct calls (#18325) 2022-07-29 08:09:09 -04:00
speech_to_text.mdx Replace as_target context managers by direct calls (#18325) 2022-07-29 08:09:09 -04:00
speech-encoder-decoder.mdx Replace as_target context managers by direct calls (#18325) 2022-07-29 08:09:09 -04:00
splinter.mdx Add support for pretraining recurring span selection to Splinter (#17247) 2022-05-17 23:42:14 +02:00
squeezebert.mdx
swin.mdx Add Tensorflow Swin model (#16988) 2022-05-16 22:19:53 +01:00
swinv2.mdx Add swin transformer v2 (#17469) 2022-07-27 11:14:47 -04:00
t5.mdx Fix decode_input_ids to bare T5Model and improve doc (#18791) 2022-09-06 14:12:26 +02:00
t5v1.1.mdx [Doctests] Fix all T5 doc tests (#16646) 2022-04-13 11:36:54 +02:00
tapas.mdx
tapex.mdx Add TAPEX (#16473) 2022-04-08 10:57:51 +02:00
trajectory_transformer.mdx Add trajectory transformer (#17141) 2022-05-17 19:07:43 -04:00
transfo-xl.mdx
trocr.mdx Replace as_target context managers by direct calls (#18325) 2022-07-29 08:09:09 -04:00
ul2.mdx Add UL2 (just docs) (#17740) 2022-06-21 10:24:50 +02:00
unispeech-sat.mdx Add Wav2Vec2Conformer (#16812) 2022-05-17 00:43:16 +02:00
unispeech.mdx Add Wav2Vec2Conformer (#16812) 2022-05-17 00:43:16 +02:00
van.mdx
videomae.mdx Add VideoMAE (#17821) 2022-08-04 18:02:55 +02:00
vilt.mdx Add ViltForTokenClassification e.g. for Named-Entity-Recognition (NER) (#17924) 2022-07-26 10:11:32 +02:00
vision-encoder-decoder.mdx [EncoderDecoder] Improve docs (#18271) 2022-07-27 10:08:59 +02:00
vision-text-dual-encoder.mdx
visual_bert.mdx
vit_mae.mdx
vit.mdx
wav2vec2_phoneme.mdx
wav2vec2-conformer.mdx [Wav2Vec2Conformer] Official release (#17709) 2022-06-15 18:34:15 +02:00
wav2vec2.mdx Replace as_target context managers by direct calls (#18325) 2022-07-29 08:09:09 -04:00
wavlm.mdx Add Wav2Vec2Conformer (#16812) 2022-05-17 00:43:16 +02:00
xglm.mdx Add TF implementation of XGLMModel (#16543) 2022-08-24 10:51:05 +01:00
xlm-prophetnet.mdx
xlm-roberta-xl.mdx
xlm-roberta.mdx
xlm.mdx
xlnet.mdx
xls_r.mdx
xlsr_wav2vec2.mdx
yolos.mdx Add YOLOS (#16848) 2022-05-02 18:30:55 +02:00
yoso.mdx