transformers/docs/source
Yoach Lacombe 29f1aee3b6
Add SeamlessM4T v2 (#27779)
* add working convertion script

* first non-working version of modeling code

* update modeling code (working)

* make style

* make fix-copies

* add config docstrings

* add config to ignore docstrings formatage due to unconventional markdown

* fix copies

* fix generation num_return_sequences

* enrich docs

* add and fix tests beside integration tests

* update integration tests

* update repo id

* add tie weights and make style

* correct naming in .md

* fix imports and so on

* correct docstrings

* fix fp16 speech forward

* fix speechencoder attention

* make style

* fix copied from

* rename SeamlessM4Tv2-v2 to SeamlessM4Tv2

* Apply suggestions on configuration

Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>

* remove useless public models

* fix private models + better naming for T2U models

* clean speech encoder relative position embeddings

* refactor chunk attention

* add docstrings to chunk attention method

* improve naming and docstrings

* rename some attention variables + add temperature sampling in T2U model

* rename DOCSTRINGS variable names

* make style + remove 2 useless config parameters

* enrich model card

* remove any attention_head reference + fix temperature in T2U

* new fmt and make style

* Apply suggestions from code review

Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>

* rename spkr_id->speaker_id and change docstrings of get_char_input_ids

* simplify v2attention

* make style

* Update seamless_m4t_v2.md

* update code and tests with last update

* update repo ids

* fill article name, abstract andauthors

* update not_doctested and slow_doc tests

---------

Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>
2023-11-30 20:24:43 +01:00
..
de docs: replace torch.distributed.run by torchrun (#27528) 2023-11-27 16:26:33 +00:00
en Add SeamlessM4T v2 (#27779) 2023-11-30 20:24:43 +01:00
es docs: replace torch.distributed.run by torchrun (#27528) 2023-11-27 16:26:33 +00:00
fr Fix typos (#25936) 2023-09-04 11:15:12 +01:00
hi Hindi translation of pipeline_tutorial.md (#26837) 2023-10-25 11:21:49 -07:00
it docs: replace torch.distributed.run by torchrun (#27528) 2023-11-27 16:26:33 +00:00
ja Docs: Fix broken cross-references, i.e. ~transformer. -> ~transformers. (#27740) 2023-11-28 08:40:44 -08:00
ko docs: replace torch.distributed.run by torchrun (#27528) 2023-11-27 16:26:33 +00:00
ms TVP model (#25856) 2023-11-21 16:41:55 +00:00
pt docs: replace torch.distributed.run by torchrun (#27528) 2023-11-27 16:26:33 +00:00
te Added Telugu [te] translations (#26828) 2023-10-20 15:27:55 -07:00
tr Translate index.md to Turkish (#27093) 2023-11-08 08:35:20 -05:00
zh translation main-class files to chinese (#27588) 2023-11-27 12:36:37 -08:00
_config.py [Styling] stylify using ruff (#27144) 2023-11-16 17:43:19 +01:00