transformers
transformers copied to clipboard
π€ Transformers: State-of-the-art Machine Learning for Pytorch, TensorFlow, and JAX.
β¦del call. Allows to have optimizable inputs in the vector space of WordPiece. # What does this PR do? Fixes # (issue) ## Before submitting - [ ] This PR...
### System Info transformers==4.2.1 ### Who can help? @patrickvonplaten ### Information - [ ] The official example scripts - [X] My own modified scripts ### Tasks - [] An officially...
Hi! Let's bring the documentation to all the Italian-speaking community :) Who would want to translate? Please follow the π€ [TRANSLATING guide](https://github.com/huggingface/transformers/blob/main/docs/TRANSLATING.md). Here is a list of the files ready...
# What does this PR do? Related to #16292 ## Before submitting - [X] This PR fixes a typo or improves the docs (you can dismiss the other checks if...
# What does this PR do? A follow up pr after #17968 If the attention layer `self.has_relative_attention_bias == False`, then the position bias shape will be wrong, the head number...
# What does this PR do? The overwrite_cache parameter in this file is declared twice. Remove one of the two. https://github.com/huggingface/transformers/blob/main/examples/pytorch/contrastive-image-text/run_clip.py Fixes # (issue) ## Before submitting - [X] This...
# What does this PR do? Fixes https://github.com/huggingface/transformers/issues/18724 - [x] Create a working environment for successful inference with the original source code - [x] Create a debugging script for the...
### System Info - `transformers` version: 4.22.0 - Platform: Linux-3.10.0-1160.25.1.el7.x86_64-x86_64-with-glibc2.17 - Python version: 3.9.12 - Huggingface_hub version: 0.9.1 - PyTorch version (GPU?): 1.12.1 (True) - Tensorflow version (GPU?): not installed...
# What does this PR do? Throws a `ValueError` when `typical_p` argument is provided to text-generation, but its value or `do_sample=False` prevent typical decoding from happening as intended. Adds a...
### This issue is part of our **Doc Test Sprint**. If you're interested in helping out come [join us on Discord](https://discord.gg/J8bW9u5abB) and talk with other contributors! Docstring examples are often...