transformers
transformers copied to clipboard
🤗 Transformers: State-of-the-art Machine Learning for Pytorch, TensorFlow, and JAX.
Updated the `deps` regex to support dependencies from github. For example I often want to run the `transformers` CI but with the `main` branch of `datasets` using ``` "datasets @...
# What does this PR do? As pointed out by @Deppmeng who is adding Conditional DETR in #18948, the postprocessing of Deformable DETR is actually different compared to regular DETR....
# What does this PR do? Added codes and documentations for conditioonal DETR model. The conditional DETR files are created by using the "add-new-model-like" feature of CookieCutter, based on DETR...
# What does this PR do? - Allow users to use the most recent `tokenizers` version. - Should be 100% backward compatible, but there were quite large changes to the...
# What does this PR do? Fixes #18776, by taking care of the particular case of absolute scope modifications ## Who can review?
# What does this PR do? Adds post_process_semantic_segmentation method to `MobileViTFeatureExtractor`. I will open an issue and separate PRs to make sure that - Segmentation models (DETR, MaskFormer, SegFormer, etc.)...
# What does this PR do? Adds the same [check that was recently added to TFBart](https://github.com/huggingface/transformers/blob/ba7f2173cc578fe6d9f1cdb900d5af609f195cf6/src/transformers/models/bart/modeling_tf_bart.py#L751), which asserts that the inputs are within the embedding input range, in all models...
Porting BEiT model from PyTorch to TensorFlow backend # What does this PR do? Fixes #18085 ## Before submitting - [ ] This PR fixes a typo or improves the...
…PyTorch 1.12.1 raise error in this condition and update the doc Signed-off-by: Wang, Yi A Fixes # (issue) torch 1.12.1 does not work with intel ccl 1.12.0 ## Before submitting...