1. 27 Dec, 2021 6 commits
    • Sylvain Gugger's avatar
      Convert last rst file (#14952) · b2f50025
      Sylvain Gugger authored
      b2f50025
    • Sylvain Gugger's avatar
      Doc styler v2 (#14950) · 87e6e4fe
      Sylvain Gugger authored
      * New doc styler
      
      * Fix issue with args at the start
      
      * Code sample fixes
      
      * Style code examples in MDX
      
      * Fix more patterns
      
      * Typo
      
      * Typo
      
      * More patterns
      
      * Do without black for now
      
      * Get more info in error
      
      * Docstring style
      
      * Re-enable check
      
      * Quality
      
      * Fix add_end_docstring decorator
      
      * Fix docstring
      87e6e4fe
    • Mihai Balint's avatar
      Fix duplicate call to save_checkpoint when using deepspeed (#14946) · c1138273
      Mihai Balint authored
      * Fix duplicate call to save_checkpoint when using deepspeed / stage3_gather_fp16_weights_on_model_save
      
      * Revert "Fix duplicate call to save_checkpoint when using deepspeed / stage3_gather_fp16_weights_on_model_save"
      
      This reverts commit 6a3dec0397723a8417351dc38fdebf14ab17756c.
      
      * Delete correct duplicate invocation of deepspeed save_checkpoint
      c1138273
    • Ayal Klein's avatar
    • Daniel Stancl's avatar
      Add `ElectraForCausalLM` -> Enable Electra encoder-decoder model (#14729) · 501307b5
      Daniel Stancl authored
      * Add ElectraForCausalLM and cover some basic tests & need to fix a few tests
      
      * Fix bugs
      
      * make style
      
      * make fix-copies
      
      * Update doc
      
      * Change docstring to markdown format
      
      * Remove redundant update_keys_to_ignore
      501307b5
    • Nicolas Patry's avatar
      ChunkPipeline (batch_size enabled on `zero-cls` and `qa` pipelines. (#14225) · b058490c
      Nicolas Patry authored
      
      
      * Pipeline chunks.
      
      * Batching for Chunking pipelines ?
      
      * Batching for `question-answering` and `zero-shot-cls`.
      
      * Fixing for FNet.
      
      * Making ASR a chunk pipeline.
      
      * Chunking ASR API.
      
      * doc style.
      
      * Fixing ASR test.
      
      * Fixing QA eror (p_mask, padding is 1, not 0).
      
      * Enable both vad and simple chunking.
      
      * Max length for vad.
      
      * remove inference mode, crashing on s2t.
      
      * Revert ChunkPipeline for ASRpipeline.
      
      Too many knobs for simple integration within the pipeline, better stick
      to external convenience functions instead, more control to be had,
      simpler pipeline and also easier to replace with other things later.
      
      * Drop necessity for PT for these.
      
      * Enabling generators.
      
      * Add mic + cleanup.
      
      * Typo.
      
      * Typo2.
      
      * Remove ASR work, it does not belong in this PR anymore.
      
      * Update src/transformers/pipelines/pt_utils.py
      Co-authored-by: default avatarLysandre Debut <lysandre@huggingface.co>
      
      * Update src/transformers/pipelines/zero_shot_classification.py
      Co-authored-by: default avatarLysandre Debut <lysandre@huggingface.co>
      
      * Adding many comments.
      
      * Doc quality.
      
      * `hidden_states` handling.
      
      * Adding doc.
      
      * Bad rebase.
      
      * Autofixing docs.
      
      * Fixing CRITICAL bug in the new Zerocls pipeline.
      Co-authored-by: default avatarLysandre Debut <lysandre@huggingface.co>
      b058490c
  2. 24 Dec, 2021 1 commit
  3. 23 Dec, 2021 16 commits
  4. 22 Dec, 2021 14 commits
  5. 21 Dec, 2021 3 commits