url
stringlengths
62
66
repository_url
stringclasses
1 value
labels_url
stringlengths
76
80
comments_url
stringlengths
71
75
events_url
stringlengths
69
73
html_url
stringlengths
50
56
id
int64
377M
2.15B
node_id
stringlengths
18
32
number
int64
1
29.2k
title
stringlengths
1
487
user
dict
labels
list
state
stringclasses
2 values
locked
bool
2 classes
assignee
dict
assignees
list
comments
list
created_at
int64
1.54k
1.71k
updated_at
int64
1.54k
1.71k
closed_at
int64
1.54k
1.71k
author_association
stringclasses
4 values
active_lock_reason
stringclasses
2 values
body
stringlengths
0
234k
reactions
dict
timeline_url
stringlengths
71
75
state_reason
stringclasses
3 values
draft
bool
2 classes
pull_request
dict
https://api.github.com/repos/huggingface/transformers/issues/21890
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21890/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21890/comments
https://api.github.com/repos/huggingface/transformers/issues/21890/events
https://github.com/huggingface/transformers/issues/21890
1,606,034,796
I_kwDOCUB6oc5fuiVs
21,890
[Time-Series] Autoformer - Transformer For Time-Series Forecasting
{ "login": "elisim", "id": 17675462, "node_id": "MDQ6VXNlcjE3Njc1NDYy", "avatar_url": "https://avatars.githubusercontent.com/u/17675462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/elisim", "html_url": "https://github.com/elisim", "followers_url": "https://api.github.com/users/elisim/fo...
[ { "id": 1843244711, "node_id": "MDU6TGFiZWwxODQzMjQ0NzEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model", "name": "New model", "color": "fbca04", "default": false, "description": "" } ]
closed
false
null
[]
[]
1,677
1,686
1,686
CONTRIBUTOR
null
# Model Description Following #20903 and #21099, Autoformer is the next Transformer in the series, published in NIPS 21. * Paper: [Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting ](https://arxiv.org/abs/2106.13008) * Model implementation: https://github.com/thuml/Auto...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21890/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21890/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21889
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21889/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21889/comments
https://api.github.com/repos/huggingface/transformers/issues/21889/events
https://github.com/huggingface/transformers/pull/21889
1,605,722,082
PR_kwDOCUB6oc5LElAc
21,889
Add `inputs_embeds` functionality when generating with BioGPT
{ "login": "sidkiblawi", "id": 9060789, "node_id": "MDQ6VXNlcjkwNjA3ODk=", "avatar_url": "https://avatars.githubusercontent.com/u/9060789?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sidkiblawi", "html_url": "https://github.com/sidkiblawi", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "review request: @gante ", "Thanks for your contribution!" ]
1,677
1,677
1,677
CONTRIBUTOR
null
# What does this PR do? This PR extends https://github.com/huggingface/transformers/pull/21405 by @gante to BioGPT, making it accept inputs_embeds when generating. ``` import torch from transformers import BioGptTokenizer, BioGptForCausalLM model = BioGptForCausalLM.from_pretrained("microsoft/biogpt") ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21889/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21889/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21889", "html_url": "https://github.com/huggingface/transformers/pull/21889", "diff_url": "https://github.com/huggingface/transformers/pull/21889.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21889.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21888
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21888/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21888/comments
https://api.github.com/repos/huggingface/transformers/issues/21888/events
https://github.com/huggingface/transformers/issues/21888
1,605,668,576
I_kwDOCUB6oc5ftI7g
21,888
`shuffle` argument when initializing Sampler-related classes in `trainer.py`
{ "login": "gugarosa", "id": 4120639, "node_id": "MDQ6VXNlcjQxMjA2Mzk=", "avatar_url": "https://avatars.githubusercontent.com/u/4120639?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gugarosa", "html_url": "https://github.com/gugarosa", "followers_url": "https://api.github.com/users/gugar...
[]
closed
false
null
[]
[ "`shuffle=True` is the default for this DistributedSampler (see [doc](https://pytorch.org/docs/stable/data.html#torch.utils.data.distributed.DistributedSampler)). There is no need to pass it.", "You are right, my bad. I overlooked the documentation." ]
1,677
1,677
1,677
CONTRIBUTOR
null
### Feature request Add support for an additional keyword argument (`shuffle`) in `DistributedSampler` (https://github.com/huggingface/transformers/blob/main/src/transformers/trainer.py#L839). ### Motivation It samples data in a deterministic way across multiple processes. However, when using a contiguous arra...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21888/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21888/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21887
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21887/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21887/comments
https://api.github.com/repos/huggingface/transformers/issues/21887/events
https://github.com/huggingface/transformers/pull/21887
1,605,566,654
PR_kwDOCUB6oc5LEDAf
21,887
Mark pipeline tests to skip them easily
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,677
1,677
1,677
COLLABORATOR
null
# What does this PR do? This PR re-introduces the `is_pipeline_test` marker to easily flag pipeline tests. The problem is that since #21516 pipeline tests aren't isolated in the pipelines folder anymore (it looks like it but there is an inheritance of the pipeline tester in all model test classes). Thus the `is_pipe...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21887/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21887/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21887", "html_url": "https://github.com/huggingface/transformers/pull/21887", "diff_url": "https://github.com/huggingface/transformers/pull/21887.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21887.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21886
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21886/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21886/comments
https://api.github.com/repos/huggingface/transformers/issues/21886/events
https://github.com/huggingface/transformers/pull/21886
1,605,563,745
PR_kwDOCUB6oc5LECYg
21,886
Fix pipe comm test
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,677
1,677
1,677
COLLABORATOR
null
# What does this PR do? PR #21600 added task `zero-shot-audio-classification`: ```python "zero-shot-audio-classification": { "impl": ZeroShotAudioClassificationPipeline, "tf": (TFAutoModel,) if is_tf_available() else (), "pt": (AutoModel,) if is_torch_available() else (), "d...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21886/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21886/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21886", "html_url": "https://github.com/huggingface/transformers/pull/21886", "diff_url": "https://github.com/huggingface/transformers/pull/21886.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21886.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21885
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21885/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21885/comments
https://api.github.com/repos/huggingface/transformers/issues/21885/events
https://github.com/huggingface/transformers/issues/21885
1,605,489,098
I_kwDOCUB6oc5fsdHK
21,885
Text-classification example does not work as is on 4.27.0.dev
{ "login": "jojivk73", "id": 14943401, "node_id": "MDQ6VXNlcjE0OTQzNDAx", "avatar_url": "https://avatars.githubusercontent.com/u/14943401?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jojivk73", "html_url": "https://github.com/jojivk73", "followers_url": "https://api.github.com/users/joj...
[]
closed
false
null
[]
[ "cc @Rocketknight1 ", "My bad :(. It was trying to use for GPT-J instead of distilbert-base-cased", "Ah yes - CLM models generally need some modifications to transfer to text classification tasks, including adding a padding token. Their performance is also usually worse. Using a MLM (masked language model, li...
1,677
1,677
1,677
NONE
null
### System Info Transformer : 4.27.0.dev Example in : examples/tensorflow/text-classification/run_glue.py fails when running example given in README. """ python run_glue.py \ --model_name_or_path distilbert-base-cased \ --task_name mnli \ --do_train \ --do_eval \ --do_predict \ --output_dir outdir \ ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21885/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21885/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21884
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21884/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21884/comments
https://api.github.com/repos/huggingface/transformers/issues/21884/events
https://github.com/huggingface/transformers/issues/21884
1,605,480,960
I_kwDOCUB6oc5fsbIA
21,884
Add finetuning task support for GPT-J to 4.27.0.dev
{ "login": "jojivk73", "id": 14943401, "node_id": "MDQ6VXNlcjE0OTQzNDAx", "avatar_url": "https://avatars.githubusercontent.com/u/14943401?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jojivk73", "html_url": "https://github.com/jojivk73", "followers_url": "https://api.github.com/users/joj...
[]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a...
1,677
1,681
1,681
NONE
null
### Feature request I have tried running fine-tuning tasks including QA, Summarization and text classification with GPT-J. As of now only QA could be made working with a minor hack to use distillbert tokenizer. Not sure if this is best. Other tasks do not work for GPT-J. Any help appreciated. Thanks ### Motivation ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21884/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21884/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21883
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21883/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21883/comments
https://api.github.com/repos/huggingface/transformers/issues/21883/events
https://github.com/huggingface/transformers/pull/21883
1,605,412,666
PR_kwDOCUB6oc5LDh6e
21,883
Fix `WhisperModelTest`
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,677
1,677
1,677
COLLABORATOR
null
# What does this PR do? ### Fix `test_model_parallelism` for `Whisper` A merged PR `Add WhisperTokenizerFast` (#21222) (02/21) started failing `test_model_parallelism` . That PR didn't change relevant test/modeling file, but just changed the model tester's vocab size from `99` to `200`. When I traced it, I f...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21883/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21883/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21883", "html_url": "https://github.com/huggingface/transformers/pull/21883", "diff_url": "https://github.com/huggingface/transformers/pull/21883.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21883.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21882
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21882/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21882/comments
https://api.github.com/repos/huggingface/transformers/issues/21882/events
https://github.com/huggingface/transformers/pull/21882
1,605,373,543
PR_kwDOCUB6oc5LDZiA
21,882
Fix Gradient checkpointing bug BigBird
{ "login": "saswatmeher", "id": 35535056, "node_id": "MDQ6VXNlcjM1NTM1MDU2", "avatar_url": "https://avatars.githubusercontent.com/u/35535056?v=4", "gravatar_id": "", "url": "https://api.github.com/users/saswatmeher", "html_url": "https://github.com/saswatmeher", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Hey @saswatmeher -- looking at the diff and our CI, I'd say something went wrong with `make fixup`. My recommendation would be to update the installation on your end (`pip install -e .[dev] --upgrade`), for instance `ruff` got a recent update.\r\n\r\nAnd then run `make fixup` again :D", "_The documentation is no...
1,677
1,677
1,677
CONTRIBUTOR
null
# What does this PR do? This PR fixes a bug that a user can encounter while using generate and models that use gradient_checkpointing. Fixes issue https://github.com/huggingface/transformers/issues/21737 for BigBird. <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21882/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21882/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21882", "html_url": "https://github.com/huggingface/transformers/pull/21882", "diff_url": "https://github.com/huggingface/transformers/pull/21882.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21882.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21881
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21881/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21881/comments
https://api.github.com/repos/huggingface/transformers/issues/21881/events
https://github.com/huggingface/transformers/pull/21881
1,605,278,318
PR_kwDOCUB6oc5LDE02
21,881
Add check for different embedding types in examples
{ "login": "Rocketknight1", "id": 12866554, "node_id": "MDQ6VXNlcjEyODY2NTU0", "avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Rocketknight1", "html_url": "https://github.com/Rocketknight1", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,677
1,677
1,677
MEMBER
null
This PR fixes an issue that occurred because we did two things at the same time: We started transitioning our models to use `keras.Embedding` layers, but also added code to the examples to only resize embeddings when necessary by checking `model.get_input_embeddings().weight.shape`. However, because of the transition, ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21881/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21881/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21881", "html_url": "https://github.com/huggingface/transformers/pull/21881", "diff_url": "https://github.com/huggingface/transformers/pull/21881.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21881.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21880
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21880/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21880/comments
https://api.github.com/repos/huggingface/transformers/issues/21880/events
https://github.com/huggingface/transformers/pull/21880
1,605,273,763
PR_kwDOCUB6oc5LDD2l
21,880
[Refactor] Relative imports wherever we can
{ "login": "ArthurZucker", "id": 48595927, "node_id": "MDQ6VXNlcjQ4NTk1OTI3", "avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ArthurZucker", "html_url": "https://github.com/ArthurZucker", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,677
1,677
1,677
COLLABORATOR
null
# What does this PR do? Cleans up our code. Mostly use relative imports with submodules instead of global imports.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21880/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21880/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21880", "html_url": "https://github.com/huggingface/transformers/pull/21880", "diff_url": "https://github.com/huggingface/transformers/pull/21880.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21880.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21879
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21879/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21879/comments
https://api.github.com/repos/huggingface/transformers/issues/21879/events
https://github.com/huggingface/transformers/pull/21879
1,605,272,872
PR_kwDOCUB6oc5LDDqn
21,879
Make loading of pretrained gpt2 faster by avoiding initialization of Conv1D's weights
{ "login": "twaka", "id": 8081197, "node_id": "MDQ6VXNlcjgwODExOTc=", "avatar_url": "https://avatars.githubusercontent.com/u/8081197?v=4", "gravatar_id": "", "url": "https://api.github.com/users/twaka", "html_url": "https://github.com/twaka", "followers_url": "https://api.github.com/users/twaka/follower...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,677
1,677
1,677
CONTRIBUTOR
null
# What does this PR do? Currently, pytorch_util's Conv1D always computes `normal_` to initialize weights regardless of `init_empty_weights`. It makes model loading time of gpt2 longer. This PR fixes this by reordering the initialization of Conv1D to apply `normal_` after assigning weight as `nn.Parameter` to avoid u...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21879/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21879/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21879", "html_url": "https://github.com/huggingface/transformers/pull/21879", "diff_url": "https://github.com/huggingface/transformers/pull/21879.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21879.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21878
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21878/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21878/comments
https://api.github.com/repos/huggingface/transformers/issues/21878/events
https://github.com/huggingface/transformers/issues/21878
1,605,163,796
I_kwDOCUB6oc5frNsU
21,878
Make whisper-event checkpoints compliant to support `return_timestamp`
{ "login": "Vaibhavs10", "id": 18682411, "node_id": "MDQ6VXNlcjE4NjgyNDEx", "avatar_url": "https://avatars.githubusercontent.com/u/18682411?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Vaibhavs10", "html_url": "https://github.com/Vaibhavs10", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Well if you are using `return_timestamps = True` you are asking for it 😅\r\nThis functionality was introduced after. Let's tell our users that they have to set it in the Generation config (when we pop). Otherwise the `generate` function should be able to set a default value if multilingual or not", "Hey hey! - ...
1,677
1,678
1,678
MEMBER
null
### System Info - `transformers` version: 4.27.0.dev0 - Platform: Linux-5.10.147+-x86_64-with-glibc2.29 - Python version: 3.8.10 - Huggingface_hub version: 0.12.1 - PyTorch version (GPU?): 1.13.1+cu116 (False) - Tensorflow version (GPU?): 2.11.0 (False) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Ja...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21878/reactions", "total_count": 3, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 1, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21878/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21877
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21877/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21877/comments
https://api.github.com/repos/huggingface/transformers/issues/21877/events
https://github.com/huggingface/transformers/issues/21877
1,605,144,631
I_kwDOCUB6oc5frJA3
21,877
__init__() got an unexpected keyword argument 'int8_threshold'
{ "login": "DHOFM", "id": 27775323, "node_id": "MDQ6VXNlcjI3Nzc1MzIz", "avatar_url": "https://avatars.githubusercontent.com/u/27775323?v=4", "gravatar_id": "", "url": "https://api.github.com/users/DHOFM", "html_url": "https://github.com/DHOFM", "followers_url": "https://api.github.com/users/DHOFM/follow...
[]
closed
false
null
[]
[ "You need to use the `quantization_config` to set any argument relative to 8bit loading, cc @younesbelkada ", "Thanks, I tried and get : dispatch_model() got an unexpected keyword argument 'offload_index'... I thought offloading to cpu is default false?\r\n\r\ni use\r\n`quantization_config = BitsAndBytesConfig(ll...
1,677
1,686
1,677
NONE
null
### System Info - `transformers` version: 4.27.0.dev0 - Platform: Linux-4.15.0-177-generic-x86_64-with-glibc2.29 - Python version: 3.8.10 - Huggingface_hub version: 0.12.1 - PyTorch version (GPU?): 1.12.1+cu116 (True) - Tensorflow version (GPU?): 2.10.0 (True) - Flax version (CPU?/GPU?/TPU?): not installed (NA...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21877/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21877/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21876
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21876/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21876/comments
https://api.github.com/repos/huggingface/transformers/issues/21876/events
https://github.com/huggingface/transformers/pull/21876
1,605,140,653
PR_kwDOCUB6oc5LCnTJ
21,876
[WIP] Flax EfficientNet
{ "login": "Shubhamai", "id": 51819922, "node_id": "MDQ6VXNlcjUxODE5OTIy", "avatar_url": "https://avatars.githubusercontent.com/u/51819922?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Shubhamai", "html_url": "https://github.com/Shubhamai", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_21876). All of your documentation changes will be reflected on that endpoint.", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please...
1,677
1,684
1,684
CONTRIBUTOR
null
# What does this PR do? Following the PR https://github.com/huggingface/transformers/pull/21563 by [alaradirik](https://github.com/alaradirik) to add the corresponding flax model. ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [x] D...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21876/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21876/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21876", "html_url": "https://github.com/huggingface/transformers/pull/21876", "diff_url": "https://github.com/huggingface/transformers/pull/21876.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21876.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21875
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21875/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21875/comments
https://api.github.com/repos/huggingface/transformers/issues/21875/events
https://github.com/huggingface/transformers/issues/21875
1,604,999,890
I_kwDOCUB6oc5fqlrS
21,875
Add SpikeGPT model
{ "login": "gsarti", "id": 16674069, "node_id": "MDQ6VXNlcjE2Njc0MDY5", "avatar_url": "https://avatars.githubusercontent.com/u/16674069?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gsarti", "html_url": "https://github.com/gsarti", "followers_url": "https://api.github.com/users/gsarti/fo...
[ { "id": 1843244711, "node_id": "MDU6TGFiZWwxODQzMjQ0NzEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model", "name": "New model", "color": "fbca04", "default": false, "description": "" } ]
open
false
null
[]
[ "Thanks for your interest to our work! The checkpoint weights of 120M spike GPT has available [now](https://huggingface.co/ridger/SpikeGPT-BookCorpus/blob/main/BookCorpus-SpikeGPT.pth), but just for debug and playing with the model.", "I've read the paper, this model looks really cool 👍 " ]
1,677
1,678
null
CONTRIBUTOR
null
### Model description **Abstract:** >As the size of large language models continue to scale, so does the computational resources required to run it. Spiking neural networks (SNNs) have emerged as an energy-efficient approach to deep learning that leverage sparse and event-driven activations to reduce the computationa...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21875/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21875/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/21874
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21874/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21874/comments
https://api.github.com/repos/huggingface/transformers/issues/21874/events
https://github.com/huggingface/transformers/pull/21874
1,604,960,569
PR_kwDOCUB6oc5LB_4O
21,874
fix checkpoint
{ "login": "ArthurZucker", "id": 48595927, "node_id": "MDQ6VXNlcjQ4NTk1OTI3", "avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ArthurZucker", "html_url": "https://github.com/ArthurZucker", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,677
1,677
1,677
COLLABORATOR
null
# What does this PR do? Uses the correct checkpoints for doctests
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21874/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21874/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21874", "html_url": "https://github.com/huggingface/transformers/pull/21874", "diff_url": "https://github.com/huggingface/transformers/pull/21874.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21874.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21873
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21873/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21873/comments
https://api.github.com/repos/huggingface/transformers/issues/21873/events
https://github.com/huggingface/transformers/pull/21873
1,604,921,753
PR_kwDOCUB6oc5LB3VY
21,873
Add TFVisionTextDualEncoder
{ "login": "Rocketknight1", "id": 12866554, "node_id": "MDQ6VXNlcjEyODY2NTU0", "avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Rocketknight1", "html_url": "https://github.com/Rocketknight1", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Good spot, I've added your suggestions and I'll add the modeling file to the documentation check list!", "The failing test is unrelated (OPT generation), merging!" ]
1,677
1,677
1,677
MEMBER
null
This PR uses the new weight crossloading functions to add the missing `TFVisionTextDualEncoder` class.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21873/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21873/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21873", "html_url": "https://github.com/huggingface/transformers/pull/21873", "diff_url": "https://github.com/huggingface/transformers/pull/21873.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21873.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21872
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21872/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21872/comments
https://api.github.com/repos/huggingface/transformers/issues/21872/events
https://github.com/huggingface/transformers/pull/21872
1,604,894,350
PR_kwDOCUB6oc5LBxhn
21,872
Removed BLIP mention from the troubleshooting guide
{ "login": "MKhalusova", "id": 1065417, "node_id": "MDQ6VXNlcjEwNjU0MTc=", "avatar_url": "https://avatars.githubusercontent.com/u/1065417?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MKhalusova", "html_url": "https://github.com/MKhalusova", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,677
1,677
1,677
CONTRIBUTOR
null
Now that BLIP has an AutoModel mapping, (see https://github.com/huggingface/transformers/pull/21817), this PR removes mention of BLIP's edge case from the troubleshooting guide.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21872/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21872/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21872", "html_url": "https://github.com/huggingface/transformers/pull/21872", "diff_url": "https://github.com/huggingface/transformers/pull/21872.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21872.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21871
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21871/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21871/comments
https://api.github.com/repos/huggingface/transformers/issues/21871/events
https://github.com/huggingface/transformers/pull/21871
1,604,815,671
PR_kwDOCUB6oc5LBgJ2
21,871
Italian translation of community.mdx
{ "login": "lorenzobalzani", "id": 45718582, "node_id": "MDQ6VXNlcjQ1NzE4NTgy", "avatar_url": "https://avatars.githubusercontent.com/u/45718582?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lorenzobalzani", "html_url": "https://github.com/lorenzobalzani", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Thanks @lorenzobalzani , I'll review it in the next few days" ]
1,677
1,677
1,677
CONTRIBUTOR
null
# What does this PR do? Italian translation of community.mdx See issue: https://github.com/huggingface/transformers/issues/17459 <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it'...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21871/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21871/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21871", "html_url": "https://github.com/huggingface/transformers/pull/21871", "diff_url": "https://github.com/huggingface/transformers/pull/21871.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21871.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21870
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21870/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21870/comments
https://api.github.com/repos/huggingface/transformers/issues/21870/events
https://github.com/huggingface/transformers/pull/21870
1,604,698,828
PR_kwDOCUB6oc5LBGgx
21,870
Prophetnet batch dimension inversion fix
{ "login": "kiansierra", "id": 47116198, "node_id": "MDQ6VXNlcjQ3MTE2MTk4", "avatar_url": "https://avatars.githubusercontent.com/u/47116198?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kiansierra", "html_url": "https://github.com/kiansierra", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "cc @younesbelkada and @ArthurZucker ", "Hi @ArthurZucker, thanks for the feedback.\r\nI've implemented the suggestions you mentioned, adding full text notation of expected tensor dimensions and separating tenosr operations in two m...
1,677
1,677
1,677
CONTRIBUTOR
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21870/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21870/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21870", "html_url": "https://github.com/huggingface/transformers/pull/21870", "diff_url": "https://github.com/huggingface/transformers/pull/21870.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21870.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21869
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21869/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21869/comments
https://api.github.com/repos/huggingface/transformers/issues/21869/events
https://github.com/huggingface/transformers/pull/21869
1,604,651,039
PR_kwDOCUB6oc5LA8Iv
21,869
[GPT-J] add deprecation warning
{ "login": "ArthurZucker", "id": 48595927, "node_id": "MDQ6VXNlcjQ4NTk1OTI3", "avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ArthurZucker", "html_url": "https://github.com/ArthurZucker", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,677
1,677
1,677
COLLABORATOR
null
# What does this PR do? Deprecating `position_ids` in GPTJ Fixes #21114
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21869/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21869/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21869", "html_url": "https://github.com/huggingface/transformers/pull/21869", "diff_url": "https://github.com/huggingface/transformers/pull/21869.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21869.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21868
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21868/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21868/comments
https://api.github.com/repos/huggingface/transformers/issues/21868/events
https://github.com/huggingface/transformers/pull/21868
1,604,595,534
PR_kwDOCUB6oc5LAwDB
21,868
[`Blip`] Fix blip doctest
{ "login": "younesbelkada", "id": 49240599, "node_id": "MDQ6VXNlcjQ5MjQwNTk5", "avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4", "gravatar_id": "", "url": "https://api.github.com/users/younesbelkada", "html_url": "https://github.com/younesbelkada", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,677
1,677
1,677
CONTRIBUTOR
null
# What does this PR do? This PR fixes the Blip doctest that was failing with the changes proposed in https://github.com/huggingface/transformers/pull/21811 Link to failing job: https://github.com/huggingface/transformers/actions/runs/4299412591/jobs/7494589393 ## Why this fix is relevant? In #21811 the lo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21868/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21868/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21868", "html_url": "https://github.com/huggingface/transformers/pull/21868", "diff_url": "https://github.com/huggingface/transformers/pull/21868.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21868.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21867
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21867/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21867/comments
https://api.github.com/repos/huggingface/transformers/issues/21867/events
https://github.com/huggingface/transformers/pull/21867
1,604,544,970
PR_kwDOCUB6oc5LAlFF
21,867
Flax Regnet
{ "login": "Shubhamai", "id": 51819922, "node_id": "MDQ6VXNlcjUxODE5OTIy", "avatar_url": "https://avatars.githubusercontent.com/u/51819922?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Shubhamai", "html_url": "https://github.com/Shubhamai", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@sanchit-gandhi This is now ready for your review, thanks a lot for your time.", "@sanchit-gandhi All the requested changes have been made and looks ready for next iteration of review, thanks a lot for your time." ]
1,677
1,680
1,680
CONTRIBUTOR
null
# What does this PR do? Flax Implementation of [facebook/regnet-y-040](https://huggingface.co/facebook/regnet-y-040) ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [x] Did you read the [contributor guideline](https://github.com/hug...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21867/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21867/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21867", "html_url": "https://github.com/huggingface/transformers/pull/21867", "diff_url": "https://github.com/huggingface/transformers/pull/21867.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21867.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21866
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21866/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21866/comments
https://api.github.com/repos/huggingface/transformers/issues/21866/events
https://github.com/huggingface/transformers/pull/21866
1,604,475,531
PR_kwDOCUB6oc5LAWT-
21,866
Fix gradient checkpointing bug Bart
{ "login": "saswatmeher", "id": 35535056, "node_id": "MDQ6VXNlcjM1NTM1MDU2", "avatar_url": "https://avatars.githubusercontent.com/u/35535056?v=4", "gravatar_id": "", "url": "https://api.github.com/users/saswatmeher", "html_url": "https://github.com/saswatmeher", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Thanks a lot for your great work! \r\nCan you please run `make fix-copies` ? After that we should be good to merge" ]
1,677
1,677
1,677
CONTRIBUTOR
null
# What does this PR do? This PR fixes a bug that a user can encounter while using generate and models that use gradient_checkpointing. Fixes issue #21737 for Bart. ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [x] Did you read the ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21866/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21866/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21866", "html_url": "https://github.com/huggingface/transformers/pull/21866", "diff_url": "https://github.com/huggingface/transformers/pull/21866.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21866.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21865
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21865/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21865/comments
https://api.github.com/repos/huggingface/transformers/issues/21865/events
https://github.com/huggingface/transformers/issues/21865
1,604,205,888
I_kwDOCUB6oc5fnj1A
21,865
Running summarization with default model fails. 4.27.0.dev0
{ "login": "jojivk73", "id": 14943401, "node_id": "MDQ6VXNlcjE0OTQzNDAx", "avatar_url": "https://avatars.githubusercontent.com/u/14943401?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jojivk73", "html_url": "https://github.com/jojivk73", "followers_url": "https://api.github.com/users/joj...
[]
closed
false
null
[]
[ "cc @Rocketknight1 ", "Hi @jojivk73, thanks for the bug report! We've reproduced the issue - the cause is that the `transformers` library is currently transitioning to using standardized native Keras layers for as many purposes as possible, and deprecating the previous setup where we often had ad-hoc model-specif...
1,677
1,677
1,677
NONE
null
### System Info When runining examples/tensorflow/summarization/run_summarization.py as given in README, python run_summarization.py \ --model_name_or_path facebook/bart-base \ --dataset_name cnn_dailymail \ --dataset_config "3.0.0" \ --output_dir /tmp/tst-summarization \ --per_device_train_batch_size 8 \ -...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21865/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21865/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21864
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21864/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21864/comments
https://api.github.com/repos/huggingface/transformers/issues/21864/events
https://github.com/huggingface/transformers/issues/21864
1,604,131,492
I_kwDOCUB6oc5fnRqk
21,864
This line prevent us from using "std" scaling any more.
{ "login": "zhentao-xu", "id": 126112554, "node_id": "U_kgDOB4RTKg", "avatar_url": "https://avatars.githubusercontent.com/u/126112554?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zhentao-xu", "html_url": "https://github.com/zhentao-xu", "followers_url": "https://api.github.com/users/zhe...
[]
closed
false
null
[]
[ "Hi,\r\n\r\nStd scaling wasn't supported until #21020 was merged (only mean scaling is currently supported on the latest PyPi install). So if you install Transformers from source, you can use std scaling.\r\n\r\nCc @kashif ", "This issue has been automatically marked as stale because it has not had recent activit...
1,677
1,683
1,683
NONE
null
https://github.com/huggingface/transformers/blob/b29e2dcaff114762e65eaea739ba1076fc5d1c84/src/transformers/models/time_series_transformer/modeling_time_series_transformer.py#L1549
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21864/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21864/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21863
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21863/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21863/comments
https://api.github.com/repos/huggingface/transformers/issues/21863/events
https://github.com/huggingface/transformers/issues/21863
1,604,109,370
I_kwDOCUB6oc5fnMQ6
21,863
Initialization of pytorch_util's Conv1D takes long time regardless of init_empty_weights when loading pretrained gpt2
{ "login": "twaka", "id": 8081197, "node_id": "MDQ6VXNlcjgwODExOTc=", "avatar_url": "https://avatars.githubusercontent.com/u/8081197?v=4", "gravatar_id": "", "url": "https://api.github.com/users/twaka", "html_url": "https://github.com/twaka", "followers_url": "https://api.github.com/users/twaka/follower...
[]
closed
false
null
[]
[ "It would be easier to move the initialization after initializing the parameter (so doing `self.weight = nn.Parameter(torch.empty(nx, nf))` and then apply the init normal. Would you like to make a PR with this change?\r\n\r\nEven better, the initialization should be completely left to the `_init_weights` method of ...
1,677
1,677
1,677
CONTRIBUTOR
null
### System Info - `transformers` version: 4.26.1 - `accelerate` version: 0.16.0 - Platform: macOS-13.1-arm64-arm-64bit - Python version: 3.10.10 - Huggingface_hub version: 0.12.1 - PyTorch version (GPU?): 1.13.1 (False) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not install...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21863/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21863/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21862
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21862/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21862/comments
https://api.github.com/repos/huggingface/transformers/issues/21862/events
https://github.com/huggingface/transformers/issues/21862
1,604,108,093
I_kwDOCUB6oc5fnL89
21,862
Very slow process when `torch_dtype` is passed.
{ "login": "realSAH", "id": 98207838, "node_id": "U_kgDOBdqIXg", "avatar_url": "https://avatars.githubusercontent.com/u/98207838?v=4", "gravatar_id": "", "url": "https://api.github.com/users/realSAH", "html_url": "https://github.com/realSAH", "followers_url": "https://api.github.com/users/realSAH/follow...
[]
closed
false
null
[]
[ "There is nothing we can do without a clear reproducer.", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://gith...
1,677
1,680
1,680
NONE
null
When I use `from_pretrained`, the model loads up from my azure cache at almost 1gbps, but when I specify the `torch_dtype` the process is slowed to a crawling 1 tenth of original speed. When looking at resources it appears that its a single core type of process that is doing the disservice of being bottleneck. Can...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21862/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21862/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21861
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21861/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21861/comments
https://api.github.com/repos/huggingface/transformers/issues/21861/events
https://github.com/huggingface/transformers/pull/21861
1,604,072,550
PR_kwDOCUB6oc5K--wZ
21,861
Make ZeroShotImageClassificationPipeline faster
{ "login": "yessenzhar", "id": 8552242, "node_id": "MDQ6VXNlcjg1NTIyNDI=", "avatar_url": "https://avatars.githubusercontent.com/u/8552242?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yessenzhar", "html_url": "https://github.com/yessenzhar", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Have you found `batch_size` argument which should take care of that ?\r\n\r\nIt's even better since with `batch_size` you can adjust the size of the batch independantly of the number of candidate labels, which makes it easier to adap...
1,677
1,677
1,677
CONTRIBUTOR
null
# What does this PR do? The pipeline makes separate calls to model for each candidate label. This commit combines all labels into one call. Original code takes more that 60 seconds to process one image and 1000 candidate labels. Updated code takes less than 2 seconds. <!-- Congratulations! You've made it this f...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21861/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21861/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21861", "html_url": "https://github.com/huggingface/transformers/pull/21861", "diff_url": "https://github.com/huggingface/transformers/pull/21861.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21861.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21860
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21860/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21860/comments
https://api.github.com/repos/huggingface/transformers/issues/21860/events
https://github.com/huggingface/transformers/pull/21860
1,603,994,673
PR_kwDOCUB6oc5K-uWX
21,860
Change the way tensor is reshaped in BartAttention (from .view to .reshape)
{ "login": "raghavanone", "id": 115454562, "node_id": "U_kgDOBuGyYg", "avatar_url": "https://avatars.githubusercontent.com/u/115454562?v=4", "gravatar_id": "", "url": "https://api.github.com/users/raghavanone", "html_url": "https://github.com/raghavanone", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "@younesbelkada For some reason fix-copies is not fixing the prophetnet copy, Not sure how to fix this.", "_The documentation is not available anymore as the PR was closed or merged._", "Hi @raghavanone !\r\nHum very weird, can you try to merge this branch with the `main` branch of `transformers` and see if thi...
1,677
1,677
1,677
CONTRIBUTOR
null
# What does this PR do? Fixes #21813
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21860/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21860/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21860", "html_url": "https://github.com/huggingface/transformers/pull/21860", "diff_url": "https://github.com/huggingface/transformers/pull/21860.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21860.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21859
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21859/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21859/comments
https://api.github.com/repos/huggingface/transformers/issues/21859/events
https://github.com/huggingface/transformers/pull/21859
1,603,896,475
PR_kwDOCUB6oc5K-ZL1
21,859
[doc] deepspeed tests
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,677
1,677
1,677
CONTRIBUTOR
null
added instructions on how to run deepspeed tests for deepspeed PR contributors.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21859/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21859/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21859", "html_url": "https://github.com/huggingface/transformers/pull/21859", "diff_url": "https://github.com/huggingface/transformers/pull/21859.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21859.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21858
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21858/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21858/comments
https://api.github.com/repos/huggingface/transformers/issues/21858/events
https://github.com/huggingface/transformers/issues/21858
1,603,876,368
I_kwDOCUB6oc5fmTYQ
21,858
cannot import name 'COMMON_SAFE_ASCII_CHARACTERS'
{ "login": "dickreuter", "id": 1256318, "node_id": "MDQ6VXNlcjEyNTYzMTg=", "avatar_url": "https://avatars.githubusercontent.com/u/1256318?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dickreuter", "html_url": "https://github.com/dickreuter", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "Please run `transformers-cli env` and paste the results here, as requested in the issue template. In particular, do you have the tokenizers module installed and which version?", "### System Info\r\nmacbook air m2 with anaconda, python 3.9\r\n\r\nI got a similar bug :bug:\r\n`ImportError: cannot import name 'COMM...
1,677
1,700
1,683
NONE
null
### System Info macbook pro m2 with anaconda, python 3.9 I'm running transformers on an m1 mac and am getting the following error when I import `from transformers import OwlViTProcessor, OwlViTForObjectDetection` File ~/opt/anaconda3/envs/nd1/lib/python3.9/site-packages/transformers/__init__.py:26 23 fro...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21858/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21858/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21857
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21857/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21857/comments
https://api.github.com/repos/huggingface/transformers/issues/21857/events
https://github.com/huggingface/transformers/pull/21857
1,603,774,645
PR_kwDOCUB6oc5K9-u7
21,857
Flax beam search fix
{ "login": "andyehrenberg", "id": 32784181, "node_id": "MDQ6VXNlcjMyNzg0MTgx", "avatar_url": "https://avatars.githubusercontent.com/u/32784181?v=4", "gravatar_id": "", "url": "https://api.github.com/users/andyehrenberg", "html_url": "https://github.com/andyehrenberg", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "cc @gante", "_The documentation is not available anymore as the PR was closed or merged._" ]
1,677
1,677
1,677
CONTRIBUTOR
null
# What does this PR do? Makes it so you can pass `decoder_attention_mask` into `model.generate` for flax models when doing beam search. This is helpful for models like Whisper where there may be variable length decoder prefixes across a batch, so you'd have to define a `decoder_attention_mask`. @sanchit-gandhi @...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21857/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21857/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21857", "html_url": "https://github.com/huggingface/transformers/pull/21857", "diff_url": "https://github.com/huggingface/transformers/pull/21857.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21857.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21856
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21856/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21856/comments
https://api.github.com/repos/huggingface/transformers/issues/21856/events
https://github.com/huggingface/transformers/pull/21856
1,603,699,962
PR_kwDOCUB6oc5K9u0V
21,856
Add an utility file to get information from test files
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "> It's all looking great! Can you add a couple of unit tests in `tests/repo_utils` for this file? It may help you catch some bugs and make sure any future PRs don't break anything.\r\n\r\nHi! I added a test file under `tests/repo_uti...
1,677
1,677
1,677
COLLABORATOR
null
# What does this PR do? **Add an utility file to get information from test files.** There are more places where we need to access the information contained in test files: - tiny model creation script: need model tester in order to create (tiny) configuration - pipeline testing: - need some information so w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21856/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21856/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21856", "html_url": "https://github.com/huggingface/transformers/pull/21856", "diff_url": "https://github.com/huggingface/transformers/pull/21856.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21856.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21855
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21855/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21855/comments
https://api.github.com/repos/huggingface/transformers/issues/21855/events
https://github.com/huggingface/transformers/pull/21855
1,603,639,071
PR_kwDOCUB6oc5K9hoj
21,855
Move common properties to BackboneMixin
{ "login": "amyeroberts", "id": 22614925, "node_id": "MDQ6VXNlcjIyNjE0OTI1", "avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4", "gravatar_id": "", "url": "https://api.github.com/users/amyeroberts", "html_url": "https://github.com/amyeroberts", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,677
1,680
1,680
COLLABORATOR
null
# What does this PR do? First of a series of PRs to enable loading timm checkpoints using the `AutoBackbone` API. This PR moves common logic e.g. `channels` property to the `BackboneMixin` class. This is for two main reasons: * Reduce duplicated code * Enable using similar logic across the transformer and timm ba...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21855/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21855/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21855", "html_url": "https://github.com/huggingface/transformers/pull/21855", "diff_url": "https://github.com/huggingface/transformers/pull/21855.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21855.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21854
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21854/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21854/comments
https://api.github.com/repos/huggingface/transformers/issues/21854/events
https://github.com/huggingface/transformers/issues/21854
1,603,596,695
I_kwDOCUB6oc5flPGX
21,854
Running squad with GPT-J-6B fails due to issue in tokenizer.
{ "login": "jojivk73", "id": 14943401, "node_id": "MDQ6VXNlcjE0OTQzNDAx", "avatar_url": "https://avatars.githubusercontent.com/u/14943401?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jojivk73", "html_url": "https://github.com/jojivk73", "followers_url": "https://api.github.com/users/joj...
[]
closed
false
null
[]
[ "This example does not support GPT-J out of the box since GPT-J has no CLS token (compared to BERT or XLNet). You will need to adapt the preprocessing as a result.", "@sgugger Can you please elaborate.\r\nI tired using distillbert tokenizer and it is running. \r\nI am not sure if that is good.", "This issue has...
1,677
1,680
1,680
NONE
null
### System Info Hi, I am tryiing to use the run_qa.py script under examples/tensorflow/question-answering Model EleutherAI/gpt-j-6B. dataset squad. it fails as below. ![image](https://user-images.githubusercontent.com/14943401/221944528-15e0f573-1950-4d9b-9cd8-b8ec71c91e97.png) ### Who can...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21854/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21854/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21853
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21853/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21853/comments
https://api.github.com/repos/huggingface/transformers/issues/21853/events
https://github.com/huggingface/transformers/pull/21853
1,603,502,761
PR_kwDOCUB6oc5K9DZv
21,853
[GPT2] Propose fix for #21080
{ "login": "ArthurZucker", "id": 48595927, "node_id": "MDQ6VXNlcjQ4NTk1OTI3", "avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ArthurZucker", "html_url": "https://github.com/ArthurZucker", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "I'd like to summon the generation expert @gante to ask what he thinks of the PR", "The summon has been heard 📣 \r\n\r\n### TL;DR\r\n\r\nI approve the change 👍 But we need to have a second look at the position embeddings, I suspec...
1,677
1,678
1,678
COLLABORATOR
null
# What does this PR do? Propose fix for #21080. Modify the default generation of the positional ids for the `gpt-2` as well as the `decidion_transformer` model. In the issue @LysandreJik proposed to update the doc, but when I checked it seemed like this would only affect 2 models, and is backward compatible: - po...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21853/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21853/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21853", "html_url": "https://github.com/huggingface/transformers/pull/21853", "diff_url": "https://github.com/huggingface/transformers/pull/21853.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21853.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21852
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21852/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21852/comments
https://api.github.com/repos/huggingface/transformers/issues/21852/events
https://github.com/huggingface/transformers/pull/21852
1,603,488,558
PR_kwDOCUB6oc5K9ARg
21,852
TrOCR comment change
{ "login": "AvishekMondalQC", "id": 120577659, "node_id": "U_kgDOBy_eew", "avatar_url": "https://avatars.githubusercontent.com/u/120577659?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AvishekMondalQC", "html_url": "https://github.com/AvishekMondalQC", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Hi,\r\n\r\nThanks for your PR! We actually test that code snippet as TrOCR is [included in the doc tests](https://github.com/huggingface/transformers/blob/b29e2dcaff114762e65eaea739ba1076fc5d1c84/utils/documentation_tests.txt#L190). ...
1,677
1,678
1,678
NONE
null
Thanks for the TrOCR modules @NielsRogge ! I noticed something very small in one of the comments - if you copy pasted the lines from the comment block, they wouldn't work, because the default image size in `ViTConfig` is 224, while the `processor` is expecting the image to be resized to 384x384.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21852/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21852/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21852", "html_url": "https://github.com/huggingface/transformers/pull/21852", "diff_url": "https://github.com/huggingface/transformers/pull/21852.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21852.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21851
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21851/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21851/comments
https://api.github.com/repos/huggingface/transformers/issues/21851/events
https://github.com/huggingface/transformers/pull/21851
1,603,474,348
PR_kwDOCUB6oc5K89Pd
21,851
[WIP] Flax pipeline support :pickup_truck:
{ "login": "Shubhamai", "id": 51819922, "node_id": "MDQ6VXNlcjUxODE5OTIy", "avatar_url": "https://avatars.githubusercontent.com/u/51819922?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Shubhamai", "html_url": "https://github.com/Shubhamai", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_21851). All of your documentation changes will be reflected on that endpoint.", "@Narsil , @sanchit-gandhi It looks good for an initial review. @sanchit-gandhi I am not also super confident if I have gotten the `jit` part r...
1,677
1,680
1,680
CONTRIBUTOR
null
# What does this PR do? Adds flax support in pipelines + corresponding flax changes of https://github.com/huggingface/transformers/pull/21516 by [ydshieh](https://github.com/ydshieh) > Right before I was preparing to open pull request, with pretty much everything ready for review (including tests, ~ all tasks wor...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21851/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21851/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21851", "html_url": "https://github.com/huggingface/transformers/pull/21851", "diff_url": "https://github.com/huggingface/transformers/pull/21851.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21851.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21850
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21850/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21850/comments
https://api.github.com/repos/huggingface/transformers/issues/21850/events
https://github.com/huggingface/transformers/issues/21850
1,603,461,149
I_kwDOCUB6oc5fkuAd
21,850
ValueError: Please make sure you have `sentencepiece` installed in order to use this tokenizer.
{ "login": "tatakof", "id": 18502770, "node_id": "MDQ6VXNlcjE4NTAyNzcw", "avatar_url": "https://avatars.githubusercontent.com/u/18502770?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tatakof", "html_url": "https://github.com/tatakof", "followers_url": "https://api.github.com/users/tatako...
[]
closed
false
null
[]
[ "Following the steps you indicate to reproduce does not give me any error in Colab. Is it possible you installed sentencepiece after installing transformers and did not restart your environment?", "You are right, thanks @sgugger \r\n(reloading google colab didn't fix my issue but creating a new colab did the tric...
1,677
1,677
1,677
NONE
null
### System Info - `transformers` version: 4.26.1 - Platform: Linux-5.10.147+-x86_64-with-glibc2.29 - Python version: 3.8.10 - Huggingface_hub version: 0.12.1 - PyTorch version (GPU?): 1.13.1+cu116 (True) - Tensorflow version (GPU?): 2.11.0 (True) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21850/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21850/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21849
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21849/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21849/comments
https://api.github.com/repos/huggingface/transformers/issues/21849/events
https://github.com/huggingface/transformers/pull/21849
1,603,394,908
PR_kwDOCUB6oc5K8r_3
21,849
[ConvBert] Fix #21523
{ "login": "ArthurZucker", "id": 48595927, "node_id": "MDQ6VXNlcjQ4NTk1OTI3", "avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ArthurZucker", "html_url": "https://github.com/ArthurZucker", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,677
1,677
1,677
COLLABORATOR
null
# What does this PR do? Fixes #21523, the invalid reshaping of the context layer and adds a test to make sure we support different head ratios. Made sur that the slow test all pass.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21849/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21849/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21849", "html_url": "https://github.com/huggingface/transformers/pull/21849", "diff_url": "https://github.com/huggingface/transformers/pull/21849.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21849.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21848
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21848/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21848/comments
https://api.github.com/repos/huggingface/transformers/issues/21848/events
https://github.com/huggingface/transformers/issues/21848
1,603,087,839
I_kwDOCUB6oc5fjS3f
21,848
Token classification for a non-textual data
{ "login": "vitalyshalumov", "id": 33824221, "node_id": "MDQ6VXNlcjMzODI0MjIx", "avatar_url": "https://avatars.githubusercontent.com/u/33824221?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vitalyshalumov", "html_url": "https://github.com/vitalyshalumov", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "You should probably ask this open question on the [forums](https://discuss.huggingface.co/).", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the ...
1,677
1,680
1,680
NONE
null
### System Info - `transformers` version: 4.24.0 - Platform: Linux-5.13.0-37-generic-x86_64-with-glibc2.29 - Python version: 3.8.10 - Huggingface_hub version: 0.10.1 - PyTorch version (GPU?): 1.10.2+cu113 (True) ### Who can help? _No response_ ### Information - [ ] The official example scripts - [ ] My own mod...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21848/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21848/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21847
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21847/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21847/comments
https://api.github.com/repos/huggingface/transformers/issues/21847/events
https://github.com/huggingface/transformers/pull/21847
1,602,956,188
PR_kwDOCUB6oc5K7MVL
21,847
fsdp bf16 enable autocast
{ "login": "pacman100", "id": 13534540, "node_id": "MDQ6VXNlcjEzNTM0NTQw", "avatar_url": "https://avatars.githubusercontent.com/u/13534540?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pacman100", "html_url": "https://github.com/pacman100", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Hello @sgugger, officially, there is not much info on `mixed_precision` support of FSDP. In the official docs here https://pytorch.org/docs/stable/fsdp.html, it doesn't mention anything regarding `bf16` and `fp16` nuances. \r\n\r\nIn...
1,677
1,677
1,677
CONTRIBUTOR
null
# What does this PR do? 1. Fixes #21560 wrt FSDP integration.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21847/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21847/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21847", "html_url": "https://github.com/huggingface/transformers/pull/21847", "diff_url": "https://github.com/huggingface/transformers/pull/21847.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21847.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21846
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21846/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21846/comments
https://api.github.com/repos/huggingface/transformers/issues/21846/events
https://github.com/huggingface/transformers/pull/21846
1,602,947,867
PR_kwDOCUB6oc5K7KcC
21,846
[time series] Add Time series inputs tests
{ "login": "kashif", "id": 8100, "node_id": "MDQ6VXNlcjgxMDA=", "avatar_url": "https://avatars.githubusercontent.com/u/8100?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kashif", "html_url": "https://github.com/kashif", "followers_url": "https://api.github.com/users/kashif/followers", ...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,677
1,677
1,677
CONTRIBUTOR
null
# What does this PR do? This PR adds tests to make sure that the appropriate inputs are being created for the time series transformer for the training and generation use-cases. cc @NielsRogge
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21846/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21846/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21846", "html_url": "https://github.com/huggingface/transformers/pull/21846", "diff_url": "https://github.com/huggingface/transformers/pull/21846.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21846.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21845
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21845/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21845/comments
https://api.github.com/repos/huggingface/transformers/issues/21845/events
https://github.com/huggingface/transformers/pull/21845
1,602,906,273
PR_kwDOCUB6oc5K7A8w
21,845
Copy models back to CPU before merging them after evaluation.
{ "login": "zolastro", "id": 21045047, "node_id": "MDQ6VXNlcjIxMDQ1MDQ3", "avatar_url": "https://avatars.githubusercontent.com/u/21045047?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zolastro", "html_url": "https://github.com/zolastro", "followers_url": "https://api.github.com/users/zol...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Thanks for your PR. This is done by the function `nested_numpify` on the line just below.", "I see... I still have a problem when evaluating my model (out-of-memory). I will open an issue about it.\r\n\r\nI'm closing this pull requ...
1,677
1,677
1,677
NONE
null
# What does this PR do? During evaluation, move the predictions from the `eval_accumulation_steps` to CPU before merging them to avoid an out-of-memory error.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21845/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21845/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21845", "html_url": "https://github.com/huggingface/transformers/pull/21845", "diff_url": "https://github.com/huggingface/transformers/pull/21845.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21845.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21844
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21844/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21844/comments
https://api.github.com/repos/huggingface/transformers/issues/21844/events
https://github.com/huggingface/transformers/pull/21844
1,602,848,627
PR_kwDOCUB6oc5K60d4
21,844
Fix gradient checkpointing bug BioGpt
{ "login": "saswatmeher", "id": 35535056, "node_id": "MDQ6VXNlcjM1NTM1MDU2", "avatar_url": "https://avatars.githubusercontent.com/u/35535056?v=4", "gravatar_id": "", "url": "https://api.github.com/users/saswatmeher", "html_url": "https://github.com/saswatmeher", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,677
1,677
1,677
CONTRIBUTOR
null
# What does this PR do? This PR fixes a bug that a user can encounter while using generate and models that use gradient_checkpointing. Fixes issue #21737 for BioGpt. cc @younesbelkada, @gante
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21844/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21844/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21844", "html_url": "https://github.com/huggingface/transformers/pull/21844", "diff_url": "https://github.com/huggingface/transformers/pull/21844.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21844.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21843
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21843/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21843/comments
https://api.github.com/repos/huggingface/transformers/issues/21843/events
https://github.com/huggingface/transformers/pull/21843
1,602,681,618
PR_kwDOCUB6oc5K6QBK
21,843
[`T5`] Fix torchquant issue
{ "login": "younesbelkada", "id": 49240599, "node_id": "MDQ6VXNlcjQ5MjQwNTk5", "avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4", "gravatar_id": "", "url": "https://api.github.com/users/younesbelkada", "html_url": "https://github.com/younesbelkada", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Can confirm t5 & int8 slow tests are passing, merging!" ]
1,677
1,677
1,677
CONTRIBUTOR
null
# What does this PR do? Fixes #21839 This PR fixes a bug that was introduced with https://github.com/huggingface/transformers/pull/21281 - before this PR, the snippet below was working: ```python import torch from transformers import T5ForConditionalGeneration, T5Tokenizer model_name = "google/flan-t5-small"...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21843/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21843/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21843", "html_url": "https://github.com/huggingface/transformers/pull/21843", "diff_url": "https://github.com/huggingface/transformers/pull/21843.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21843.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21842
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21842/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21842/comments
https://api.github.com/repos/huggingface/transformers/issues/21842/events
https://github.com/huggingface/transformers/pull/21842
1,602,664,365
PR_kwDOCUB6oc5K6MVQ
21,842
Fix gradient checkpointing bug marian
{ "login": "KMFODA", "id": 35491698, "node_id": "MDQ6VXNlcjM1NDkxNjk4", "avatar_url": "https://avatars.githubusercontent.com/u/35491698?v=4", "gravatar_id": "", "url": "https://api.github.com/users/KMFODA", "html_url": "https://github.com/KMFODA", "followers_url": "https://api.github.com/users/KMFODA/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,677
1,677
1,677
CONTRIBUTOR
null
This PR fixes a bug that a user can encounter while using generate and models that use gradient_checkpointing. Fixes Issue https://github.com/huggingface/transformers/issues/21737 cc @younesbelkada or @gante
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21842/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21842/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21842", "html_url": "https://github.com/huggingface/transformers/pull/21842", "diff_url": "https://github.com/huggingface/transformers/pull/21842.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21842.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21841
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21841/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21841/comments
https://api.github.com/repos/huggingface/transformers/issues/21841/events
https://github.com/huggingface/transformers/pull/21841
1,602,660,765
PR_kwDOCUB6oc5K6Lj_
21,841
Fix gradient checkpointing bug M2M 100
{ "login": "KMFODA", "id": 35491698, "node_id": "MDQ6VXNlcjM1NDkxNjk4", "avatar_url": "https://avatars.githubusercontent.com/u/35491698?v=4", "gravatar_id": "", "url": "https://api.github.com/users/KMFODA", "html_url": "https://github.com/KMFODA", "followers_url": "https://api.github.com/users/KMFODA/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,677
1,677
1,677
CONTRIBUTOR
null
This PR fixes a bug that a user can encounter while using generate and models that use gradient_checkpointing. Fixes Issue https://github.com/huggingface/transformers/issues/21737 cc @younesbelkada or @gante
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21841/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21841/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21841", "html_url": "https://github.com/huggingface/transformers/pull/21841", "diff_url": "https://github.com/huggingface/transformers/pull/21841.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21841.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21840
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21840/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21840/comments
https://api.github.com/repos/huggingface/transformers/issues/21840/events
https://github.com/huggingface/transformers/pull/21840
1,602,655,258
PR_kwDOCUB6oc5K6KX8
21,840
Fix gradient checkpointing bug LED
{ "login": "KMFODA", "id": 35491698, "node_id": "MDQ6VXNlcjM1NDkxNjk4", "avatar_url": "https://avatars.githubusercontent.com/u/35491698?v=4", "gravatar_id": "", "url": "https://api.github.com/users/KMFODA", "html_url": "https://github.com/KMFODA", "followers_url": "https://api.github.com/users/KMFODA/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,677
1,677
1,677
CONTRIBUTOR
null
This PR fixes a bug that a user can encounter while using generate and models that use gradient_checkpointing. Fixes Issue https://github.com/huggingface/transformers/issues/21737 cc @younesbelkada or @gante
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21840/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21840/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21840", "html_url": "https://github.com/huggingface/transformers/pull/21840", "diff_url": "https://github.com/huggingface/transformers/pull/21840.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21840.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21839
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21839/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21839/comments
https://api.github.com/repos/huggingface/transformers/issues/21839/events
https://github.com/huggingface/transformers/issues/21839
1,602,652,897
I_kwDOCUB6oc5fhorh
21,839
quantize_dynamic on T5 model results in `AttributeError: 'function' object has no attribute 'dtype'`
{ "login": "gerhean", "id": 16630400, "node_id": "MDQ6VXNlcjE2NjMwNDAw", "avatar_url": "https://avatars.githubusercontent.com/u/16630400?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gerhean", "html_url": "https://github.com/gerhean", "followers_url": "https://api.github.com/users/gerhea...
[]
closed
false
null
[]
[ "Hello @gerhean \r\nThanks for the issue! \r\nhttps://github.com/huggingface/transformers/pull/21843 should fix your problem, you can already use the fix by checking out on the branch", "Hi @gerhean \r\nNow it's on the `main` branch, if you should be able to use it without any issue!" ]
1,677
1,677
1,677
NONE
null
### System Info - `transformers` version: 4.26.1 - Platform: Linux-5.10.147+-x86_64-with-glibc2.29 - Python version: 3.8.10 - Huggingface_hub version: 0.12.1 - PyTorch version (GPU?): 1.13.1+cu116 (False) - Tensorflow version (GPU?): 2.11.0 (False) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax versi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21839/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21839/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21838
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21838/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21838/comments
https://api.github.com/repos/huggingface/transformers/issues/21838/events
https://github.com/huggingface/transformers/issues/21838
1,602,459,016
I_kwDOCUB6oc5fg5WI
21,838
Unable to convert BioGpt slow tokenizer to fast: token out of vocabulary
{ "login": "seantaud", "id": 77921574, "node_id": "MDQ6VXNlcjc3OTIxNTc0", "avatar_url": "https://avatars.githubusercontent.com/u/77921574?v=4", "gravatar_id": "", "url": "https://api.github.com/users/seantaud", "html_url": "https://github.com/seantaud", "followers_url": "https://api.github.com/users/sea...
[]
closed
false
null
[]
[ "Hey! It would be a bit difficult to say that this is a bug as we do not have an implementation of the `BioGPTConverter` which would be cool btw. In order to properly create a fast tokenizer you need to have the `pre_normalizer` the `decoder` etc. Take a look at `convert_slow_tokenizers` for more details! Feel free...
1,677
1,683
1,683
NONE
null
### System Info I was trying to use BioGpt model in my QA task for fine-tuning. I would like to construct a fast tokenizer class based on the BioGptTokenizer, so that I could use the offsets_mapping to know from which words the tokens do origin. But unfortunately, when creating a BiogptTokenizerFast from the PreTraine...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21838/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21838/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21837
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21837/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21837/comments
https://api.github.com/repos/huggingface/transformers/issues/21837/events
https://github.com/huggingface/transformers/issues/21837
1,602,406,039
I_kwDOCUB6oc5fgsaX
21,837
transformers == 4.26.0 has a bug
{ "login": "tongzhao315", "id": 45264967, "node_id": "MDQ6VXNlcjQ1MjY0OTY3", "avatar_url": "https://avatars.githubusercontent.com/u/45264967?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tongzhao315", "html_url": "https://github.com/tongzhao315", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "If you want to use this model, you should build from source. It was merged to main on the 25th of January, the release does not include it. Next release will make it available. \r\nClosing as I can import on main. " ]
1,677
1,677
1,677
NONE
null
### System Info Traceback (most recent call last): from transformers import BridgeTowerProcessor, BridgeTowerForImageAndTextRetrieval ImportError: cannot import name 'BridgeTowerProcessor' from 'transformers' (lib/python3.7/site-(packages/transformers/__init__.py),could you fix this bug。i use transformers == 4....
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21837/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21837/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21836
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21836/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21836/comments
https://api.github.com/repos/huggingface/transformers/issues/21836/events
https://github.com/huggingface/transformers/issues/21836
1,602,296,207
I_kwDOCUB6oc5fgRmP
21,836
HF's Flan-T5 implementation doesn't support Chinese or code despite being trained on it
{ "login": "michaelroyzen", "id": 45830328, "node_id": "MDQ6VXNlcjQ1ODMwMzI4", "avatar_url": "https://avatars.githubusercontent.com/u/45830328?v=4", "gravatar_id": "", "url": "https://api.github.com/users/michaelroyzen", "html_url": "https://github.com/michaelroyzen", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "Hey! Thanks for posting. The original tokenizer does not support chinese (it only supports 4 language I think) either. \r\nHere is a minimal reproducing script using the vocabulary path provided in the `t5_1_1_base.gin` that is used for all of the Flan T5 (according to github). \r\n```python \r\n>>> import seqio\r...
1,677
1,679
1,677
NONE
null
### System Info transformers == 4.26.1 pytorch == 1.13.1 ### Who can help? @ArthurZucker @younesbelkada ### Information - [x] The official example scripts - [ ] My own modified scripts ### Tasks - [x] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [ ] My o...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21836/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21836/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21835
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21835/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21835/comments
https://api.github.com/repos/huggingface/transformers/issues/21835/events
https://github.com/huggingface/transformers/issues/21835
1,602,240,060
I_kwDOCUB6oc5fgD48
21,835
Troubleshooting AttributeError: 'Seq2SeqTimeSeriesPredictionOutput' object has no attribute 'sequences'
{ "login": "hassanshallal", "id": 19214052, "node_id": "MDQ6VXNlcjE5MjE0MDUy", "avatar_url": "https://avatars.githubusercontent.com/u/19214052?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hassanshallal", "html_url": "https://github.com/hassanshallal", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "Hey. I don't think you are using the correct version of transformers. I can't reproduce this and our documentation tests ensure that this works. Also see here for the `sequence` [output](https://github.com/ArthurZucker/transformers/blob/main/src/transformers/models/time_series_transformer/modeling_time_series_tran...
1,677
1,677
1,677
NONE
null
Hi, I am reporting this issue as recommended Context: I am trying to setup/test transformers library, I managed to get the installation and followed the steps in this specific time series transformer tutorial: https://huggingface.co/docs/transformers/model_doc/time_series_transformer I received an error when I tr...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21835/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21835/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21834
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21834/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21834/comments
https://api.github.com/repos/huggingface/transformers/issues/21834/events
https://github.com/huggingface/transformers/pull/21834
1,602,219,627
PR_kwDOCUB6oc5K4t_p
21,834
Fix tf random token masking probability in data collator
{ "login": "anruijian", "id": 115125339, "node_id": "U_kgDOBtysWw", "avatar_url": "https://avatars.githubusercontent.com/u/115125339?v=4", "gravatar_id": "", "url": "https://api.github.com/users/anruijian", "html_url": "https://github.com/anruijian", "followers_url": "https://api.github.com/users/anruij...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@ArthurZucker Do I need to merge it now?" ]
1,677
1,677
1,677
CONTRIBUTOR
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21834/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21834/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21834", "html_url": "https://github.com/huggingface/transformers/pull/21834", "diff_url": "https://github.com/huggingface/transformers/pull/21834.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21834.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21833
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21833/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21833/comments
https://api.github.com/repos/huggingface/transformers/issues/21833/events
https://github.com/huggingface/transformers/pull/21833
1,602,086,684
PR_kwDOCUB6oc5K4R8p
21,833
Fixed gradient_checkpointing/use_cache bug in blenderbot
{ "login": "Batese2001", "id": 69521504, "node_id": "MDQ6VXNlcjY5NTIxNTA0", "avatar_url": "https://avatars.githubusercontent.com/u/69521504?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Batese2001", "html_url": "https://github.com/Batese2001", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@younesbelkada Thanks for your help! It should be all good" ]
1,677
1,677
1,677
CONTRIBUTOR
null
# What does this PR do? Fixes #21737 for blenderbot ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#start-contributing-...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21833/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21833/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21833", "html_url": "https://github.com/huggingface/transformers/pull/21833", "diff_url": "https://github.com/huggingface/transformers/pull/21833.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21833.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21832
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21832/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21832/comments
https://api.github.com/repos/huggingface/transformers/issues/21832/events
https://github.com/huggingface/transformers/issues/21832
1,602,053,267
I_kwDOCUB6oc5ffWST
21,832
Illegal memory access when using Trainer API on GPU with PyTorch 2.0's Inductor backend
{ "login": "Lokiiiiii", "id": 36520926, "node_id": "MDQ6VXNlcjM2NTIwOTI2", "avatar_url": "https://avatars.githubusercontent.com/u/36520926?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Lokiiiiii", "html_url": "https://github.com/Lokiiiiii", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Pretty much the same as #21826 , inductor backend is not yet supported.", "@ArthurZucker Can you elaborate on this ?\r\n\r\nDo you mean the Trainer class is using a piece of code that is unsupported by inductor backend ?\r\nIs this something that you will wait on PyTorch to fix or are you amenable to workaround...
1,677
1,680
1,680
NONE
null
### System Info ### System Information - `transformers` version: 4.26.1 - Platform: Linux-5.15.0-1028-aws-x86_64-with-glibc2.10 - Python version: 3.8.16 - Huggingface_hub version: 0.12.1 - PyTorch version (GPU?): 2.0.0a0+git8693604 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GP...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21832/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21832/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21831
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21831/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21831/comments
https://api.github.com/repos/huggingface/transformers/issues/21831/events
https://github.com/huggingface/transformers/issues/21831
1,602,013,225
I_kwDOCUB6oc5ffMgp
21,831
HF pipeline throws error
{ "login": "sindhuvahinis", "id": 56774226, "node_id": "MDQ6VXNlcjU2Nzc0MjI2", "avatar_url": "https://avatars.githubusercontent.com/u/56774226?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sindhuvahinis", "html_url": "https://github.com/sindhuvahinis", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "Hey! Would you mind providing a minimal reproducing script? ", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https:...
1,677
1,680
1,680
NONE
null
### System Info HF Pipeline actually trying to generate the outputs on CPU despite including the device_map=auto as configuration for GPT_NeoX 20B model. Workaround is to use model.generate method by manually converting the input_ids to GPU. ``` [INFO ] PyProcess - prediction = self.hf_pipeline(data, **para...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21831/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21831/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21830
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21830/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21830/comments
https://api.github.com/repos/huggingface/transformers/issues/21830/events
https://github.com/huggingface/transformers/pull/21830
1,601,897,685
PR_kwDOCUB6oc5K3pPF
21,830
Temporarily fix ONNX model exporting error
{ "login": "SatyaJandhyalaAtMS", "id": 55203776, "node_id": "MDQ6VXNlcjU1MjAzNzc2", "avatar_url": "https://avatars.githubusercontent.com/u/55203776?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SatyaJandhyalaAtMS", "html_url": "https://github.com/SatyaJandhyalaAtMS", "followers_url": "ht...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "cc @amyeroberts ", "Thanks for opening this PR @SatyaJandhyalaAtMS ! \r\n\r\nCould you share a link to the issue this resolves? I'm getting a 404 error for the link in the commit / PR title: https://github.com/microsoft/onnx-conver...
1,677
1,678
1,678
CONTRIBUTOR
null
…issues/143 # What does this PR do? Fix the following error while trying to export ONNX model **TypeError: '<=' not supported between instances of 'tuple' and 'Tensor'** <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release note...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21830/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21830/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21830", "html_url": "https://github.com/huggingface/transformers/pull/21830", "diff_url": "https://github.com/huggingface/transformers/pull/21830.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21830.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21829
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21829/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21829/comments
https://api.github.com/repos/huggingface/transformers/issues/21829/events
https://github.com/huggingface/transformers/pull/21829
1,601,823,526
PR_kwDOCUB6oc5K3Zbh
21,829
Add: task guide for zero shot object detection
{ "login": "MKhalusova", "id": 1065417, "node_id": "MDQ6VXNlcjEwNjU0MTc=", "avatar_url": "https://avatars.githubusercontent.com/u/1065417?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MKhalusova", "html_url": "https://github.com/MKhalusova", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "Images are in this PR https://huggingface.co/datasets/huggingface/documentation-images/discussions/49", "_The documentation is not available anymore as the PR was closed or merged._", "> Nice work, thanks for adding this! I especially like the brief intro to the OWL-ViT model. Maybe we can embed one of the OWL...
1,677
1,677
1,677
CONTRIBUTOR
null
This PR adds a task guide for zero-shot object detection. Unlike other task guides, there is no fine-tuning and complex preprocessing of custom data. However, the task illustrates different ways of inferencing with OWL-ViT, such as using the pipeline, manual inference with text queries, manual inference for a batch of ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21829/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 1, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21829/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21829", "html_url": "https://github.com/huggingface/transformers/pull/21829", "diff_url": "https://github.com/huggingface/transformers/pull/21829.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21829.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21828
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21828/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21828/comments
https://api.github.com/repos/huggingface/transformers/issues/21828/events
https://github.com/huggingface/transformers/pull/21828
1,601,736,525
PR_kwDOCUB6oc5K3HXF
21,828
Fix quality with `ruff==0.0.253`
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_21828). All of your documentation changes will be reflected on that endpoint." ]
1,677
1,677
1,677
COLLABORATOR
null
# What does this PR do? Fix quality with `ruff==0.0.253`. Merged to avoid CI failing due to the new version of `ruff==0.0.253`. - The change with this new version is valid so I decide to go with it instead of pining older version. - The change also works with previous `ruff` versions (`0.0.252` and `0.0.24...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21828/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21828/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21828", "html_url": "https://github.com/huggingface/transformers/pull/21828", "diff_url": "https://github.com/huggingface/transformers/pull/21828.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21828.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21827
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21827/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21827/comments
https://api.github.com/repos/huggingface/transformers/issues/21827/events
https://github.com/huggingface/transformers/pull/21827
1,601,736,420
PR_kwDOCUB6oc5K3HVr
21,827
Add: task guide for zero shot object detection
{ "login": "MKhalusova", "id": 1065417, "node_id": "MDQ6VXNlcjEwNjU0MTc=", "avatar_url": "https://avatars.githubusercontent.com/u/1065417?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MKhalusova", "html_url": "https://github.com/MKhalusova", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,677
1,677
1,677
CONTRIBUTOR
null
This PR adds a task guide for zero-shot object detection. Unlike other task guides, there is no fine-tuning and complex preprocessing of custom data. However, the task illustrates different ways of inferencing with OWL-ViT, such as using the pipeline, manual inference with text queries, manual inference for a batch of ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21827/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21827/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21827", "html_url": "https://github.com/huggingface/transformers/pull/21827", "diff_url": "https://github.com/huggingface/transformers/pull/21827.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21827.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21826
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21826/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21826/comments
https://api.github.com/repos/huggingface/transformers/issues/21826/events
https://github.com/huggingface/transformers/issues/21826
1,601,725,305
I_kwDOCUB6oc5feGN5
21,826
Faketensor issue when using torch inductor as backend with Trainer API
{ "login": "YuchengT", "id": 109311506, "node_id": "U_kgDOBoP2Eg", "avatar_url": "https://avatars.githubusercontent.com/u/109311506?v=4", "gravatar_id": "", "url": "https://api.github.com/users/YuchengT", "html_url": "https://github.com/YuchengT", "followers_url": "https://api.github.com/users/YuchengT/...
[]
closed
false
null
[]
[ "Diving into this issue, the forward pass of a ViT model (or also ResNet) segfaults on my side (I don't have your error message, but you are using multiple GPUs with DataParallel if I read the traceback correctly, which is probably not supported). I'll reach out to the PyTorch team.", "Ok, the segmentation fault ...
1,677
1,681
1,681
NONE
null
### System Info - `transformers` version: 4.27.0.dev0 - Platform: Linux-5.15.0-1030-aws-x86_64-with-glibc2.10 - Python version: 3.8.0 - Huggingface_hub version: 0.12.1 - PyTorch version (GPU?): 2.0.0a0+git45d775c (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installe...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21826/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21826/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21825
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21825/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21825/comments
https://api.github.com/repos/huggingface/transformers/issues/21825/events
https://github.com/huggingface/transformers/pull/21825
1,601,659,931
PR_kwDOCUB6oc5K22jY
21,825
Rename `MobileViTModelTest` to `TFMobileViTModelTest`
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "No worry :-) " ]
1,677
1,677
1,677
COLLABORATOR
null
# What does this PR do? @sayakpaul Let's give TF a bit more love ❤️ 🙏. (joking aside, having consistent and proper prefixes makes things easier)
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21825/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21825/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21825", "html_url": "https://github.com/huggingface/transformers/pull/21825", "diff_url": "https://github.com/huggingface/transformers/pull/21825.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21825.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21824
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21824/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21824/comments
https://api.github.com/repos/huggingface/transformers/issues/21824/events
https://github.com/huggingface/transformers/pull/21824
1,601,478,857
PR_kwDOCUB6oc5K2PjC
21,824
TTS fine-tuning for SpeechT5
{ "login": "hollance", "id": 346853, "node_id": "MDQ6VXNlcjM0Njg1Mw==", "avatar_url": "https://avatars.githubusercontent.com/u/346853?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hollance", "html_url": "https://github.com/hollance", "followers_url": "https://api.github.com/users/hollanc...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Requesting review from @ArthurZucker for the custom STFT / log-Mel feature extraction components (`feature_extraction_speecht5.py` is the file of interest)", "Gently pinging @ArthurZucker :)", "Will review in 1h! Sorry for the de...
1,677
1,681
1,681
CONTRIBUTOR
null
# What does this PR do? Adds fine-tuning support for SpeechT5, in particular the TTS model. The loss function is a combination of L1 loss for the mel-spectrograms, BCE for the stop token prediction, and (optionally) guided attention loss to persuade the cross-attentions to be diagonal. The STFT feature extract...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21824/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/huggingface/transformers/issues/21824/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21824", "html_url": "https://github.com/huggingface/transformers/pull/21824", "diff_url": "https://github.com/huggingface/transformers/pull/21824.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21824.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21823
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21823/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21823/comments
https://api.github.com/repos/huggingface/transformers/issues/21823/events
https://github.com/huggingface/transformers/pull/21823
1,601,461,206
PR_kwDOCUB6oc5K2LsF
21,823
Make Slack CI reporting stronger
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,677
1,677
1,677
COLLABORATOR
null
# What does this PR do? Make Slack CI reporting stronger. The most important change in this PR is to **use a token when we need to grab some GitHub workflow/jobs information** using api call, like ```python https://api.github.com/repos/huggingface/transformers/actions/runs ``` to get all job links. **This ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21823/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21823/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21823", "html_url": "https://github.com/huggingface/transformers/pull/21823", "diff_url": "https://github.com/huggingface/transformers/pull/21823.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21823.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21822
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21822/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21822/comments
https://api.github.com/repos/huggingface/transformers/issues/21822/events
https://github.com/huggingface/transformers/issues/21822
1,601,307,323
I_kwDOCUB6oc5fcgK7
21,822
Extend Callback API for remote execution of ClearML Experiments
{ "login": "thepycoder", "id": 11781950, "node_id": "MDQ6VXNlcjExNzgxOTUw", "avatar_url": "https://avatars.githubusercontent.com/u/11781950?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thepycoder", "html_url": "https://github.com/thepycoder", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hi there. The `Trainer` is not allowed to modify its own `TrainingArguments`, a design choice we made so that reproducibility and resuming from a checkpoint work properly. This is why the callbacks are also not allowed to change the training arguments. It's probably best for this use case if you simply subclass th...
1,677
1,680
1,680
CONTRIBUTOR
null
### Feature request Hi! Not that long ago, we added support for the ClearML experiment manager as a training callback, and the general feedback has been good so far! However, ClearML is more than an experiment manager alone. In order to allow users to quickly experiment, ClearML can clone an existing experiment ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21822/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21822/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21821
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21821/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21821/comments
https://api.github.com/repos/huggingface/transformers/issues/21821/events
https://github.com/huggingface/transformers/issues/21821
1,600,982,282
I_kwDOCUB6oc5fbQ0K
21,821
Two tfevent files are being generated for each run of trainer
{ "login": "XanderWA", "id": 125456442, "node_id": "U_kgDOB3pQOg", "avatar_url": "https://avatars.githubusercontent.com/u/125456442?v=4", "gravatar_id": "", "url": "https://api.github.com/users/XanderWA", "html_url": "https://github.com/XanderWA", "followers_url": "https://api.github.com/users/XanderWA/...
[]
closed
false
null
[]
[ "I have no idea. Let us know if you find the reason/how to fix it!", "also face this issue by adding the tensorboard callback in the examples/language_modeling/run_mlm.py", "Face the same issue:\r\n- transformers: 4.26.1\r\n- tensorboard: 2.12.0", "Also faces this issue\r\nAs a workaround, I use this command ...
1,677
1,681
1,681
NONE
null
### System Info Each run of the trainer two tfevent files are being generated, it looks like this: /runs --Feb27_09-46-42_... ----events.out.tfevents....0 ----/1677491207.0429652 ------events.out.tfevents....1 When reading these files with TensorBoard I don't get any output from the .1 file, how can I get ri...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21821/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21821/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21820
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21820/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21820/comments
https://api.github.com/repos/huggingface/transformers/issues/21820/events
https://github.com/huggingface/transformers/issues/21820
1,600,974,936
I_kwDOCUB6oc5fbPBY
21,820
rag-end2end-retriever Training Time Results
{ "login": "jamesoneill12", "id": 11809091, "node_id": "MDQ6VXNlcjExODA5MDkx", "avatar_url": "https://avatars.githubusercontent.com/u/11809091?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jamesoneill12", "html_url": "https://github.com/jamesoneill12", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a...
1,677
1,680
1,680
NONE
null
### Feature request Hi, I would suggest including the training runtime for the new version of [RAG](https://github.com/huggingface/transformers/tree/main/examples/research_projects/rag-end2end-retriever) that is end-to-end. The hyperparameters for the results at the end of the README.md (under the "Comparison of e...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21820/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21820/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21819
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21819/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21819/comments
https://api.github.com/repos/huggingface/transformers/issues/21819/events
https://github.com/huggingface/transformers/pull/21819
1,600,951,577
PR_kwDOCUB6oc5K0dpZ
21,819
Add Seaformer model
{ "login": "inderpreetsingh01", "id": 54892545, "node_id": "MDQ6VXNlcjU0ODkyNTQ1", "avatar_url": "https://avatars.githubusercontent.com/u/54892545?v=4", "gravatar_id": "", "url": "https://api.github.com/users/inderpreetsingh01", "html_url": "https://github.com/inderpreetsingh01", "followers_url": "https...
[]
closed
false
null
[]
[ "Hi @inderpreetsingh01, thank you! You can ping me once the PR is ready is to be reviewed. \r\n\r\nYou can follow the [official guidelines](https://huggingface.co/docs/transformers/add_new_model) to learn how to prepare the configuration, image processor and modeling files to replicate the original work such that f...
1,677
1,684
1,684
NONE
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21819/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21819/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21819", "html_url": "https://github.com/huggingface/transformers/pull/21819", "diff_url": "https://github.com/huggingface/transformers/pull/21819.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21819.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21818
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21818/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21818/comments
https://api.github.com/repos/huggingface/transformers/issues/21818/events
https://github.com/huggingface/transformers/pull/21818
1,600,936,658
PR_kwDOCUB6oc5K0aYe
21,818
Fix gradient checkpointing bug in git
{ "login": "KMFODA", "id": 35491698, "node_id": "MDQ6VXNlcjM1NDkxNjk4", "avatar_url": "https://avatars.githubusercontent.com/u/35491698?v=4", "gravatar_id": "", "url": "https://api.github.com/users/KMFODA", "html_url": "https://github.com/KMFODA", "followers_url": "https://api.github.com/users/KMFODA/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,677
1,677
1,677
CONTRIBUTOR
null
This PR fixes a bug that a user can encounter while using generate and models that use gradient_checkpointing. Fixes Issue https://github.com/huggingface/transformers/issues/21737 cc @younesbelkada or @gante
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21818/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21818/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21818", "html_url": "https://github.com/huggingface/transformers/pull/21818", "diff_url": "https://github.com/huggingface/transformers/pull/21818.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21818.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21817
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21817/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21817/comments
https://api.github.com/repos/huggingface/transformers/issues/21817/events
https://github.com/huggingface/transformers/pull/21817
1,600,917,823
PR_kwDOCUB6oc5K0WZn
21,817
[`Blip2`] Add `Blip2Model`
{ "login": "younesbelkada", "id": 49240599, "node_id": "MDQ6VXNlcjQ5MjQwNTk5", "avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4", "gravatar_id": "", "url": "https://api.github.com/users/younesbelkada", "html_url": "https://github.com/younesbelkada", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Thanks! Once it's merged, I'll create a small PR to update the troubleshooting section. " ]
1,677
1,677
1,677
CONTRIBUTOR
null
# What does this PR do? This PR adds a new class `Blip2Model`, so that the model can be mapped in `AutoModel` mapping and also used by users that wants to conveniently extract text, image, & the so-called q-former features from the model. This PR also addresses this comment: https://github.com/huggingface/transf...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21817/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 2, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21817/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21817", "html_url": "https://github.com/huggingface/transformers/pull/21817", "diff_url": "https://github.com/huggingface/transformers/pull/21817.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21817.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21816
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21816/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21816/comments
https://api.github.com/repos/huggingface/transformers/issues/21816/events
https://github.com/huggingface/transformers/pull/21816
1,600,862,273
PR_kwDOCUB6oc5K0KVN
21,816
Fix gradient checkpointing imagegpt
{ "login": "KMFODA", "id": 35491698, "node_id": "MDQ6VXNlcjM1NDkxNjk4", "avatar_url": "https://avatars.githubusercontent.com/u/35491698?v=4", "gravatar_id": "", "url": "https://api.github.com/users/KMFODA", "html_url": "https://github.com/KMFODA", "followers_url": "https://api.github.com/users/KMFODA/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,677
1,677
1,677
CONTRIBUTOR
null
This PR fixes a bug that a user can encounter while using generate and models that use gradient_checkpointing. Fixes Issue https://github.com/huggingface/transformers/issues/21737 cc @younesbelkada or @gante
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21816/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21816/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21816", "html_url": "https://github.com/huggingface/transformers/pull/21816", "diff_url": "https://github.com/huggingface/transformers/pull/21816.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21816.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21815
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21815/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21815/comments
https://api.github.com/repos/huggingface/transformers/issues/21815/events
https://github.com/huggingface/transformers/pull/21815
1,600,815,097
PR_kwDOCUB6oc5K0AM1
21,815
Fix gradient checkpointing bug in gptneox
{ "login": "KMFODA", "id": 35491698, "node_id": "MDQ6VXNlcjM1NDkxNjk4", "avatar_url": "https://avatars.githubusercontent.com/u/35491698?v=4", "gravatar_id": "", "url": "https://api.github.com/users/KMFODA", "html_url": "https://github.com/KMFODA", "followers_url": "https://api.github.com/users/KMFODA/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Apologies, hand't pushed the latest commit. All done now!", "Awesome, thank you for the contribution <3 " ]
1,677
1,677
1,677
CONTRIBUTOR
null
# What does this PR do? This PR fixes a bug that a user can encounter while using generate and models that use gradient_checkpointing. Fixes Issue https://github.com/huggingface/transformers/issues/21737 cc @younesbelkada or @gante
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21815/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21815/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21815", "html_url": "https://github.com/huggingface/transformers/pull/21815", "diff_url": "https://github.com/huggingface/transformers/pull/21815.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21815.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21814
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21814/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21814/comments
https://api.github.com/repos/huggingface/transformers/issues/21814/events
https://github.com/huggingface/transformers/pull/21814
1,600,814,454
PR_kwDOCUB6oc5K0AD6
21,814
[DETR and friends] Remove is_timm_available
{ "login": "NielsRogge", "id": 48327001, "node_id": "MDQ6VXNlcjQ4MzI3MDAx", "avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4", "gravatar_id": "", "url": "https://api.github.com/users/NielsRogge", "html_url": "https://github.com/NielsRogge", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "There is a pretty big conflict in the test modeling DETR file, can you fix it Niels?" ]
1,677
1,678
1,678
CONTRIBUTOR
null
# What does this PR do? This PR: - removes the `is_timm_available` dependency check for DETR and friends, uses `is_torch_available` instead and uses `requires_backends["timm"]` in case `config.use_timm_backbone=True`. - adapts DETR's conversion script to make DETR work with our `AutoBackbone` class, rather than th...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21814/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21814/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21814", "html_url": "https://github.com/huggingface/transformers/pull/21814", "diff_url": "https://github.com/huggingface/transformers/pull/21814.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21814.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21813
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21813/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21813/comments
https://api.github.com/repos/huggingface/transformers/issues/21813/events
https://github.com/huggingface/transformers/issues/21813
1,600,784,247
I_kwDOCUB6oc5fagd3
21,813
Error when using BART for Prefix Tuning. Replace `view` with `reshape` in `BartAttention`?
{ "login": "jbmcd", "id": 53952163, "node_id": "MDQ6VXNlcjUzOTUyMTYz", "avatar_url": "https://avatars.githubusercontent.com/u/53952163?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jbmcd", "html_url": "https://github.com/jbmcd", "followers_url": "https://api.github.com/users/jbmcd/follow...
[]
closed
false
null
[]
[ "Hello! Thanks a lot for reporting. Will open a PR to fix this 😉 \r\n", "@ArthurZucker It seems in GPTJ there also have the same problem when using prefix-tuning trained model to generate text\r\n```\r\n File \"/root/miniconda3/envs/gpt_fine_tune/lib/python3.9/site-packages/transformers/generation/utils.py\", l...
1,677
1,678
1,677
NONE
null
### System Info - `transformers` version: 4.26.1 - Platform: Linux-5.10.147+-x86_64-with-glibc2.29 - Python version: 3.8.10 - Huggingface_hub version: 0.12.1 - PyTorch version (GPU?): 1.13.1+cu116 (False) - Tensorflow version (GPU?): 2.11.0 (False) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax versi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21813/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21813/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21812
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21812/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21812/comments
https://api.github.com/repos/huggingface/transformers/issues/21812/events
https://github.com/huggingface/transformers/pull/21812
1,600,581,636
PR_kwDOCUB6oc5KzNpV
21,812
update FSDP and add XLA-FSDP documentation
{ "login": "pacman100", "id": 13534540, "node_id": "MDQ6VXNlcjEzNTM0NTQw", "avatar_url": "https://avatars.githubusercontent.com/u/13534540?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pacman100", "html_url": "https://github.com/pacman100", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "Thanks @pacman100 and @sgugger ! This is exciting!" ]
1,677
1,677
1,677
CONTRIBUTOR
null
# What does this PR do? 1. update FSDP and add XLA-FSDP documentation
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21812/reactions", "total_count": 4, "+1": 4, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21812/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21812", "html_url": "https://github.com/huggingface/transformers/pull/21812", "diff_url": "https://github.com/huggingface/transformers/pull/21812.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21812.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21811
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21811/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21811/comments
https://api.github.com/repos/huggingface/transformers/issues/21811/events
https://github.com/huggingface/transformers/pull/21811
1,600,520,603
PR_kwDOCUB6oc5KzAXd
21,811
Fix the issue of blip model returning loss even when the label is not provided.
{ "login": "raghavanone", "id": 115454562, "node_id": "U_kgDOBuGyYg", "avatar_url": "https://avatars.githubusercontent.com/u/115454562?v=4", "gravatar_id": "", "url": "https://api.github.com/users/raghavanone", "html_url": "https://github.com/raghavanone", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "cc @younesbelkada and @amyeroberts ", "> \r\n\r\n@younesbelkada \r\nOne of the test (test_inference_image_captioning_fp16) is failing, not sure if it is related to my changes . \r\n", "Hi @raghavanone \r\nHum I just went through ...
1,677
1,677
1,677
CONTRIBUTOR
null
# What does this PR do? Fixes #21510 @NielsRogge
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21811/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21811/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21811", "html_url": "https://github.com/huggingface/transformers/pull/21811", "diff_url": "https://github.com/huggingface/transformers/pull/21811.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21811.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21810
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21810/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21810/comments
https://api.github.com/repos/huggingface/transformers/issues/21810/events
https://github.com/huggingface/transformers/issues/21810
1,600,409,760
I_kwDOCUB6oc5fZFCg
21,810
fsmt Tokenizer.save_vocabulary Bug
{ "login": "lihaoxin2020", "id": 77715908, "node_id": "MDQ6VXNlcjc3NzE1OTA4", "avatar_url": "https://avatars.githubusercontent.com/u/77715908?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lihaoxin2020", "html_url": "https://github.com/lihaoxin2020", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Hey, apparently, it is a known issue that the vocabulary has some holes. The problem with your training is probably not related as you mention that it `suddendly` drops and corrupts. Meaning up until some point everything works well no? 😉 ", "This issue has been automatically marked as stale because it has not ...
1,677
1,683
1,683
NONE
null
### System Info - `transformers` version: 4.26.1 - Platform: Linux-4.18.0-348.23.1.el8_5.x86_64-x86_64-with-glibc2.17 - Python version: 3.8.16 - Huggingface_hub version: 0.12.1 - PyTorch version (GPU?): 1.12.1+cu116 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not ins...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21810/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21810/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21809
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21809/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21809/comments
https://api.github.com/repos/huggingface/transformers/issues/21809/events
https://github.com/huggingface/transformers/issues/21809
1,600,138,435
I_kwDOCUB6oc5fYCzD
21,809
How to set language in Whisper pipeline for audio transcription?
{ "login": "melihogutcen", "id": 43522440, "node_id": "MDQ6VXNlcjQzNTIyNDQw", "avatar_url": "https://avatars.githubusercontent.com/u/43522440?v=4", "gravatar_id": "", "url": "https://api.github.com/users/melihogutcen", "html_url": "https://github.com/melihogutcen", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "@ArthurZucker ", "You can add `generate_kwargs = {\"language\":\"<|tr|>\",\"task\": \"transcribe\"},` to your pipeline initialization and it should work. ", "Updated the notebook with the following new line : \r\n> `pipe(speech_file, generate_kwargs = {\"task\":\"transcribe\", \"language\":\"<|fr|>\"} )`", "...
1,677
1,701
1,677
NONE
null
### Problem Hello, I followed this notebook for Whisper pipelines. https://colab.research.google.com/drive/1rS1L4YSJqKUH_3YxIQHBI982zso23wor?usp=sharing#scrollTo=Ca4YYdtATxzo Here, I want to use speech transcription with openai/whisper-large-v2 model using the pipeline. By using WhisperProcessor, we can set t...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21809/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21809/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21808
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21808/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21808/comments
https://api.github.com/repos/huggingface/transformers/issues/21808/events
https://github.com/huggingface/transformers/issues/21808
1,600,116,600
I_kwDOCUB6oc5fX9d4
21,808
Using Bloom with int8 generate unreadable outputs
{ "login": "SAI990323", "id": 40531945, "node_id": "MDQ6VXNlcjQwNTMxOTQ1", "avatar_url": "https://avatars.githubusercontent.com/u/40531945?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SAI990323", "html_url": "https://github.com/SAI990323", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "cc @younesbelkada ", "the V100 series were not supported by `bitsandbytes` but now they should be compatible since the `0.37.0` relase. What is your `bitsandbytes` version? Can you try to update `bitsandbytes` ? `pip install --upgrade bitsandbytes`", "> the V100 series were not supported by `bitsandbytes` but ...
1,677
1,683
1,683
NONE
null
### System Info - `transformers` version: 4.26.1 - Platform: Linux-4.19.91-009.ali4000.alios7.x86_64-x86_64-with-glibc2.27 - Python version: 3.9.16 - Huggingface_hub version: 0.12.1 - PyTorch version (GPU?): 1.12.0+cu113 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): no...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21808/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21808/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21807
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21807/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21807/comments
https://api.github.com/repos/huggingface/transformers/issues/21807/events
https://github.com/huggingface/transformers/issues/21807
1,600,061,281
I_kwDOCUB6oc5fXv9h
21,807
Conversion of OWL-ViT model fails
{ "login": "alexey-chaykin", "id": 15346047, "node_id": "MDQ6VXNlcjE1MzQ2MDQ3", "avatar_url": "https://avatars.githubusercontent.com/u/15346047?v=4", "gravatar_id": "", "url": "https://api.github.com/users/alexey-chaykin", "html_url": "https://github.com/alexey-chaykin", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "P.S. if that could help, when I'm changing ['optimizer']['target'] to ['params'], the script is failing with:\r\n```\r\nTraceback (most recent call last):\r\n File \"~/transformers/src/transformers/models/owlvit/convert_owlvit_original_flax_to_hf.py\", line 411, in <module>\r\n pt_backbone_params, clip_pt, att...
1,677
1,694
1,677
NONE
null
### System Info I've trained OWL-ViT model on my data using [training code from original repo](https://github.com/google-research/scenic/tree/main/scenic/projects/owl_vit#fine-tuning) and trying to use it in HuggingFace pytorch OWL-ViT implementation. As far as I understand, I need to convert it using [convert_owlv...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21807/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21807/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21806
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21806/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21806/comments
https://api.github.com/repos/huggingface/transformers/issues/21806/events
https://github.com/huggingface/transformers/issues/21806
1,599,937,440
I_kwDOCUB6oc5fXRug
21,806
Tokenizer call function gives an error when using the "target_text "argument without using "text" argument.
{ "login": "shamanez", "id": 16892570, "node_id": "MDQ6VXNlcjE2ODkyNTcw", "avatar_url": "https://avatars.githubusercontent.com/u/16892570?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shamanez", "html_url": "https://github.com/shamanez", "followers_url": "https://api.github.com/users/sha...
[]
closed
false
null
[]
[ "You version of Transformers is too low, you need to upgrade it as `target_text` is a somewhat recent feature.", "Should I install tranformers from source ? Because I also tried PIP and\ndidn’t work.\n\nOn Mon, 27 Feb 2023 at 9:02 PM, Sylvain Gugger ***@***.***>\nwrote:\n\n> You version of Transformers is too low...
1,677
1,677
1,677
CONTRIBUTOR
null
### System Info Name: transformers Version: 4.21.2 Summary: State-of-the-art Machine Learning for JAX, PyTorch and TensorFlow Home-page: https://github.com/huggingface/transformers Author: The Hugging Face team (past and future) with the help of all our contributors (https://github.com/huggingface/transformers/gra...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21806/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21806/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21805
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21805/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21805/comments
https://api.github.com/repos/huggingface/transformers/issues/21805/events
https://github.com/huggingface/transformers/issues/21805
1,599,914,964
I_kwDOCUB6oc5fXMPU
21,805
libssl.so.10: cannot open shared object file: No such file or directory
{ "login": "falconair", "id": 365542, "node_id": "MDQ6VXNlcjM2NTU0Mg==", "avatar_url": "https://avatars.githubusercontent.com/u/365542?v=4", "gravatar_id": "", "url": "https://api.github.com/users/falconair", "html_url": "https://github.com/falconair", "followers_url": "https://api.github.com/users/falc...
[]
closed
false
null
[]
[ "This is not a library used by Transformers per se but Python. There is something wrong with your Python install via Conda, Python installed like this does not find the libssl.so.10 library.", "I meet the exact same issue here while `pip` install cannot solve the problem.", "tl;dr; `conda update tokenizers` sol...
1,677
1,689
1,689
NONE
null
### System Info I am setting up a brand new machine with Ubuntu 22.04, pytorch 1.13.1/pytorch-cuda 11.7 and transformers 4.24.0 ### Who can help? _No response_ ### Information - [X] The official example scripts - [ ] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folde...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21805/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21805/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21804
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21804/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21804/comments
https://api.github.com/repos/huggingface/transformers/issues/21804/events
https://github.com/huggingface/transformers/pull/21804
1,599,869,533
PR_kwDOCUB6oc5Kw7bE
21,804
introduce `logger.warning_once` and use it for grad checkpointing code
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,677
1,677
1,677
CONTRIBUTOR
null
This PR: 1. introduces a new `warning_once` logger method - to prevent repeating the same warning more than once 2. use it for gradient_checkpointing functionality - where one would get thousands of these warnings at the moment should they have `use_cache==True` - the other solution is to assert (I did this for ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21804/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21804/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21804", "html_url": "https://github.com/huggingface/transformers/pull/21804", "diff_url": "https://github.com/huggingface/transformers/pull/21804.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21804.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21803
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21803/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21803/comments
https://api.github.com/repos/huggingface/transformers/issues/21803/events
https://github.com/huggingface/transformers/issues/21803
1,599,813,196
I_kwDOCUB6oc5fWzZM
21,803
Masking ratio incorrect for DataCollatorForLanguageModeling
{ "login": "anruijian", "id": 115125339, "node_id": "U_kgDOBtysWw", "avatar_url": "https://avatars.githubusercontent.com/u/115125339?v=4", "gravatar_id": "", "url": "https://api.github.com/users/anruijian", "html_url": "https://github.com/anruijian", "followers_url": "https://api.github.com/users/anruij...
[]
closed
false
null
[]
[ "Note that the Transformers library is primarily a library of models, not data collators. This particular data collator should never have been added to the library proper but only in the example that uses it (it's also quite buggy and only works for BERT models). We welcome a PR with bug fixes (for the TF one appar...
1,677
1,677
1,677
CONTRIBUTOR
null
### System Info - `transformers` version: 4.26.0 - Platform: Linux-4.19.0-23-cloud-amd64-x86_64-with-debian-10.13 - Python version: 3.7.12 - Huggingface_hub version: 0.12.0 - PyTorch version (GPU?): 1.13.1+cu116 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not install...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21803/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21803/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21802
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21802/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21802/comments
https://api.github.com/repos/huggingface/transformers/issues/21802/events
https://github.com/huggingface/transformers/pull/21802
1,599,784,183
PR_kwDOCUB6oc5KwqhR
21,802
Add BLIP and BLIP-2 to image-to-text pipeline
{ "login": "NielsRogge", "id": 48327001, "node_id": "MDQ6VXNlcjQ4MzI3MDAx", "avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4", "gravatar_id": "", "url": "https://api.github.com/users/NielsRogge", "html_url": "https://github.com/NielsRogge", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@ydshieh Are these tested automatically now ? Or should we add something to make sure they are tested too ?", "Hey @Narsil !\r\n\r\nMy PR #21516 is not merged yet, and on `main` it is still using `metaclass`, so the pipeline tests ...
1,677
1,677
1,677
CONTRIBUTOR
null
# What does this PR do? This PR adds BLIP and BLIP-2 to the image-to-text pipeline. Usage is as follows: ``` from transformers import pipeline from transformers import AutoProcessor, BlipForConditionalGeneration, Blip2ForConditionalGeneration # BLIPv1 # processor = AutoProcessor.from_pretrained("Salesfor...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21802/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21802/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21802", "html_url": "https://github.com/huggingface/transformers/pull/21802", "diff_url": "https://github.com/huggingface/transformers/pull/21802.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21802.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21801
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21801/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21801/comments
https://api.github.com/repos/huggingface/transformers/issues/21801/events
https://github.com/huggingface/transformers/issues/21801
1,599,750,737
I_kwDOCUB6oc5fWkJR
21,801
Adding additional terms to the Transformers glossary
{ "login": "MichaelRipa", "id": 51883134, "node_id": "MDQ6VXNlcjUxODgzMTM0", "avatar_url": "https://avatars.githubusercontent.com/u/51883134?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MichaelRipa", "html_url": "https://github.com/MichaelRipa", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "cc @MKhalusova and @stevhliu ", "Thanks for the great suggestions, and for adding links to other docs for some of the definitions. Feel free to open a PR for these new definitions/changes! 😄 \r\n\r\n> encoder, decoder and encoder/decoder\r\n\r\nI think for encoder and decoder, we could combine those with the ex...
1,677
1,678
1,678
CONTRIBUTOR
null
### Feature request Adding definitions to the [Transformers glossary](https://huggingface.co/docs/transformers/glossary) for each of the following terms: - **encoder, decoder and encoder/decoder:** You already have definitions for autoencoding and autoregressive models but it's not immediately clear from the glossa...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21801/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 1, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21801/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21800
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21800/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21800/comments
https://api.github.com/repos/huggingface/transformers/issues/21800/events
https://github.com/huggingface/transformers/pull/21800
1,599,661,921
PR_kwDOCUB6oc5KwSoK
21,800
[deepspeed] check whether model is NLP one instead of counting on input type
{ "login": "izapolsk", "id": 21039333, "node_id": "MDQ6VXNlcjIxMDM5MzMz", "avatar_url": "https://avatars.githubusercontent.com/u/21039333?v=4", "gravatar_id": "", "url": "https://api.github.com/users/izapolsk", "html_url": "https://github.com/izapolsk", "followers_url": "https://api.github.com/users/iza...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@izapolsk, I think the fix is much simpler. Just check if it's any type of `int` - I didn't think anybody would use a different int type than int64 when I coded this, so as new use cases come in, we can just adapt for it. \r\n\r\n```...
1,677
1,677
1,677
CONTRIBUTOR
null
# What does this PR do? This PR intends to fix an issue when training of NLP model fails if input dtype isn't int64. My dataset had dtype = int32. Everything was ok until I decided to add deepspeed. It turned out that trainer relies on dtype and does input data convertion into hf_deepspeed_config.dtype if it isn't ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21800/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21800/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21800", "html_url": "https://github.com/huggingface/transformers/pull/21800", "diff_url": "https://github.com/huggingface/transformers/pull/21800.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21800.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21799
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21799/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21799/comments
https://api.github.com/repos/huggingface/transformers/issues/21799/events
https://github.com/huggingface/transformers/pull/21799
1,599,560,969
PR_kwDOCUB6oc5Kv98z
21,799
Fix en documentation typos
{ "login": "tpaviot", "id": 660130, "node_id": "MDQ6VXNlcjY2MDEzMA==", "avatar_url": "https://avatars.githubusercontent.com/u/660130?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tpaviot", "html_url": "https://github.com/tpaviot", "followers_url": "https://api.github.com/users/tpaviot/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,677
1,677
1,677
CONTRIBUTOR
null
# What does this PR do? Fix a wrong URL as well as typos ## Before submitting - [X] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [ ] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#start-contribu...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21799/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21799/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21799", "html_url": "https://github.com/huggingface/transformers/pull/21799", "diff_url": "https://github.com/huggingface/transformers/pull/21799.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21799.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21798
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21798/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21798/comments
https://api.github.com/repos/huggingface/transformers/issues/21798/events
https://github.com/huggingface/transformers/pull/21798
1,599,528,564
PR_kwDOCUB6oc5Kv3f8
21,798
Fix resume_from_checkpoint for deepspeed
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "ok, looks like we figured out the original so closing this one." ]
1,677
1,677
1,677
CONTRIBUTOR
null
something is borked with CircleCI when a contributor has a CircleCI account that isn't set up to some requirements - we don't know what - so I re-created the PR from the original https://github.com/huggingface/transformers/pull/21735 ------------------ This PR overcomes a possible issue with the using deepspeed r...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21798/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21798/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21798", "html_url": "https://github.com/huggingface/transformers/pull/21798", "diff_url": "https://github.com/huggingface/transformers/pull/21798.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21798.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21797
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21797/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21797/comments
https://api.github.com/repos/huggingface/transformers/issues/21797/events
https://github.com/huggingface/transformers/issues/21797
1,599,415,554
I_kwDOCUB6oc5fVSUC
21,797
How to prune a transformer?
{ "login": "jyotiyadav94", "id": 72126242, "node_id": "MDQ6VXNlcjcyMTI2MjQy", "avatar_url": "https://avatars.githubusercontent.com/u/72126242?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jyotiyadav94", "html_url": "https://github.com/jyotiyadav94", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Please do not tag so many people, especially for an issue which is linked to the optimum repo (where you found this tutorial) and not the Transformers one.", "okay Thank you so much for the suggestions I will remove from the task. ", "This issue has been automatically marked as stale because it has not had rec...
1,677
1,680
1,680
NONE
null
### System Info Hi, I am trying to reduce memory and speed up my own fine-tuned transformer. I came across the [tutorial ](https://huggingface.co/docs/optimum/intel/optimization_inc) for pruning on the huggingface site. I am referring to the following snippet. The trainer.train() is missing, so I added it. It ran wi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21797/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21797/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21796
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21796/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21796/comments
https://api.github.com/repos/huggingface/transformers/issues/21796/events
https://github.com/huggingface/transformers/issues/21796
1,599,327,160
I_kwDOCUB6oc5fU8u4
21,796
LLaMA
{ "login": "michaelroyzen", "id": 45830328, "node_id": "MDQ6VXNlcjQ1ODMwMzI4", "avatar_url": "https://avatars.githubusercontent.com/u/45830328?v=4", "gravatar_id": "", "url": "https://api.github.com/users/michaelroyzen", "html_url": "https://github.com/michaelroyzen", "followers_url": "https://api.githu...
[ { "id": 1843244711, "node_id": "MDU6TGFiZWwxODQzMjQ0NzEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model", "name": "New model", "color": "fbca04", "default": false, "description": "" } ]
closed
false
null
[]
[ "Hello, @michaelroyzen , I want to work on this issue, can you please clarify this:-\r\n1. The objective of this issue is to add the Llama model to the 🤗 models section right ?\r\nThe inference code for the Llama models is open sourced and weights and tokenizers are available as you mentioned. \r\nI can try to wor...
1,677
1,679
1,679
NONE
null
### Model description New model series from Facebook (7B, 33B, 66B) that is broadly competitive with Flan-PALM-540B. https://research.facebook.com/publications/llama-open-and-efficient-foundation-language-models/ ### Open source status - [X] The model implementation is available - [X] The model weights are availa...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21796/reactions", "total_count": 48, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 21, "rocket": 27, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21796/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/21795
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21795/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21795/comments
https://api.github.com/repos/huggingface/transformers/issues/21795/events
https://github.com/huggingface/transformers/pull/21795
1,599,156,913
PR_kwDOCUB6oc5Kunbl
21,795
Fix page counting in Slack CI report script.
{ "login": "ydshieh", "id": 2521628, "node_id": "MDQ6VXNlcjI1MjE2Mjg=", "avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ydshieh", "html_url": "https://github.com/ydshieh", "followers_url": "https://api.github.com/users/ydshieh/...
[]
closed
false
null
[]
[ "The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_21795). All of your documentation changes will be reflected on that endpoint.", "My self doubt sprit and intuition led me to look the issue again, and it turned out the issue was coming from the GitHub API call rate limit w...
1,677
1,677
1,677
COLLABORATOR
null
# What does this PR do? We started having an issue getting slack report for our CI. The error shown at the end indicates there is an issue to get all the job links for a workflow run. I take a look and find a change is necessary. I am not sure why it was that way, especially for `i+2` part. But I remembered it ha...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21795/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21795/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21795", "html_url": "https://github.com/huggingface/transformers/pull/21795", "diff_url": "https://github.com/huggingface/transformers/pull/21795.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21795.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21794
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21794/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21794/comments
https://api.github.com/repos/huggingface/transformers/issues/21794/events
https://github.com/huggingface/transformers/pull/21794
1,599,107,732
PR_kwDOCUB6oc5KudE7
21,794
[GPTJ] Fix gradient checkpointing bug
{ "login": "krypticmouse", "id": 43719685, "node_id": "MDQ6VXNlcjQzNzE5Njg1", "avatar_url": "https://avatars.githubusercontent.com/u/43719685?v=4", "gravatar_id": "", "url": "https://api.github.com/users/krypticmouse", "html_url": "https://github.com/krypticmouse", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "@sgugger @amyeroberts As mentioned I did the following:-\r\n\r\n> Thanks for your PR! You need to remove the other one below (line 660).\r\n\r\nHowever won't that cause an issue with function declaration and it's corresponding else b...
1,677
1,677
1,677
CONTRIBUTOR
null
This PR fixes a bug that a user can encounter while using generate and models that use gradient_checkpointing. Fixes Issue #21737 cc @sgugger @amyeroberts
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21794/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21794/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21794", "html_url": "https://github.com/huggingface/transformers/pull/21794", "diff_url": "https://github.com/huggingface/transformers/pull/21794.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21794.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21793
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21793/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21793/comments
https://api.github.com/repos/huggingface/transformers/issues/21793/events
https://github.com/huggingface/transformers/pull/21793
1,599,100,331
PR_kwDOCUB6oc5Kubhq
21,793
check for None forced tokens
{ "login": "andyehrenberg", "id": 32784181, "node_id": "MDQ6VXNlcjMyNzg0MTgx", "avatar_url": "https://avatars.githubusercontent.com/u/32784181?v=4", "gravatar_id": "", "url": "https://api.github.com/users/andyehrenberg", "html_url": "https://github.com/andyehrenberg", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._" ]
1,677
1,677
1,677
CONTRIBUTOR
null
# What does this PR do? Fixes #21791 @sanchit-gandhi
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21793/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21793/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21793", "html_url": "https://github.com/huggingface/transformers/pull/21793", "diff_url": "https://github.com/huggingface/transformers/pull/21793.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21793.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21792
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21792/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21792/comments
https://api.github.com/repos/huggingface/transformers/issues/21792/events
https://github.com/huggingface/transformers/pull/21792
1,598,951,836
PR_kwDOCUB6oc5Kt7uQ
21,792
Improve TF weight loading, especially PT crossloading
{ "login": "Rocketknight1", "id": 12866554, "node_id": "MDQ6VXNlcjEyODY2NTU0", "avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Rocketknight1", "html_url": "https://github.com/Rocketknight1", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "This is ready for review now! It's not that big, but it changes a lot of things:\r\n\r\n- Loading a PT model in TF with `from_pt=True` now supports `load_weight_prefix`\r\n- Loading a sharded TF checkpoint now supports `load_weight_p...
1,677
1,677
1,677
MEMBER
null
Draft PR for now, this will probably break a bunch of stuff until I get it all working! - [X] Support `from_pt` and `load_weight_prefix` at the same time - [x] Replace hacky loading code in models that was written to get around this issue - [x] ~Test and possibly replace code paths that name submodules based on `c...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21792/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21792/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/21792", "html_url": "https://github.com/huggingface/transformers/pull/21792", "diff_url": "https://github.com/huggingface/transformers/pull/21792.diff", "patch_url": "https://github.com/huggingface/transformers/pull/21792.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/21791
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/21791/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/21791/comments
https://api.github.com/repos/huggingface/transformers/issues/21791/events
https://github.com/huggingface/transformers/issues/21791
1,598,928,197
I_kwDOCUB6oc5fTbVF
21,791
Flax Whisper predicts erroneous exclamation mark
{ "login": "sanchit-gandhi", "id": 93869735, "node_id": "U_kgDOBZhWpw", "avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sanchit-gandhi", "html_url": "https://github.com/sanchit-gandhi", "followers_url": "https://api.github.com...
[]
closed
false
null
[]
[ "I think the expected behavior should be returning:\r\n\r\n`['<|startoftranscript|><|en|><|transcribe|><|notimestamps|> Mischekvilder is the apostle of the middle classes, and we are glad to welcome his gospel.<|endoftext|>']`\r\n\r\nThe generation config has [[1, None], ...] for forced decoder ids, so the language...
1,677
1,678
1,677
CONTRIBUTOR
null
### System Info - `transformers` version: 4.27.0.dev0 - Platform: Linux-4.19.0-21-cloud-amd64-x86_64-with-debian-10.13 - Python version: 3.7.12 - Huggingface_hub version: 0.12.1 - PyTorch version (GPU?): 1.12.1+cpu (False) - Tensorflow version (GPU?): 2.11.0 (True) - Flax version (CPU?/GPU?/TPU?): 0.6.4 (gpu) ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/21791/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/21791/timeline
completed
null
null