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/21790 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21790/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21790/comments | https://api.github.com/repos/huggingface/transformers/issues/21790/events | https://github.com/huggingface/transformers/pull/21790 | 1,598,875,386 | PR_kwDOCUB6oc5Ktrln | 21,790 | Fix resume_from_checkpoint for deepspeed [by mosheber] | {
"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?
From #21735 without any change, but to launch CI. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21790/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/21790/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21790",
"html_url": "https://github.com/huggingface/transformers/pull/21790",
"diff_url": "https://github.com/huggingface/transformers/pull/21790.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21790.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21789 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21789/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21789/comments | https://api.github.com/repos/huggingface/transformers/issues/21789/events | https://github.com/huggingface/transformers/pull/21789 | 1,598,787,421 | PR_kwDOCUB6oc5KtYLN | 21,789 | Fix nn.init.trunc_normal_ call on torch.float16 data | {
"login": "fxmarty",
"id": 9808326,
"node_id": "MDQ6VXNlcjk4MDgzMjY=",
"avatar_url": "https://avatars.githubusercontent.com/u/9808326?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fxmarty",
"html_url": "https://github.com/fxmarty",
"followers_url": "https://api.github.com/users/fxmarty/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@sgugger @younesbelkada Feel free to merge, it appears I have no merge rights even after approval on transformers."
] | 1,677 | 1,677 | 1,677 | COLLABORATOR | null | Following https://github.com/huggingface/transformers/pull/20803 that gave the idea, but was still buggy for some cases, for example:
```python
from transformers import ViTForMaskedImageModeling
import torch
model = ViTForMaskedImageModeling.from_pretrained('hf-internal-testing/tiny-random-vit', torch_dtype=tor... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21789/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/21789/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21789",
"html_url": "https://github.com/huggingface/transformers/pull/21789",
"diff_url": "https://github.com/huggingface/transformers/pull/21789.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21789.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21788 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21788/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21788/comments | https://api.github.com/repos/huggingface/transformers/issues/21788/events | https://github.com/huggingface/transformers/pull/21788 | 1,598,785,112 | PR_kwDOCUB6oc5KtXsW | 21,788 | [SpeechT5] Fix HiFiGAN tests | {
"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 | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,677 | 1,687 | 1,677 | CONTRIBUTOR | null | # What does this PR do?
SpeechT5HiFiGAN tests added in the PR #21702 failed in the CI daily run: https://github.com/huggingface/transformers/actions/runs/4248850253/jobs/7388500325
This PR fixes the torch devices ✅ | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21788/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/21788/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21788",
"html_url": "https://github.com/huggingface/transformers/pull/21788",
"diff_url": "https://github.com/huggingface/transformers/pull/21788.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21788.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21787 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21787/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21787/comments | https://api.github.com/repos/huggingface/transformers/issues/21787/events | https://github.com/huggingface/transformers/pull/21787 | 1,598,721,281 | PR_kwDOCUB6oc5KtJqV | 21,787 | Fix PyTorch Perceiver `PerceiverFourierPositionEncoding` with fp16 | {
"login": "fxmarty",
"id": 9808326,
"node_id": "MDQ6VXNlcjk4MDgzMjY=",
"avatar_url": "https://avatars.githubusercontent.com/u/9808326?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fxmarty",
"html_url": "https://github.com/fxmarty",
"followers_url": "https://api.github.com/users/fxmarty/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@sgugger @amyeroberts Feel free to merge, it appears I have no merge rights even after approval on transformers."
] | 1,677 | 1,677 | 1,677 | COLLABORATOR | null | Passing `torch_dtype=torch.float16` with perceiver is currently broken on main. The error comes from a parameter generated on the fly always with `torch.float32` dtype, hence raising issues later on. Reproduction:
```python
from transformers import AutoImageProcessor, PerceiverForImageClassificationConvProcessing
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21787/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/21787/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21787",
"html_url": "https://github.com/huggingface/transformers/pull/21787",
"diff_url": "https://github.com/huggingface/transformers/pull/21787.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21787.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21786 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21786/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21786/comments | https://api.github.com/repos/huggingface/transformers/issues/21786/events | https://github.com/huggingface/transformers/issues/21786 | 1,598,648,284 | I_kwDOCUB6oc5fSW_c | 21,786 | BioGPT Token Classification | {
"login": "upjabir",
"id": 40956091,
"node_id": "MDQ6VXNlcjQwOTU2MDkx",
"avatar_url": "https://avatars.githubusercontent.com/u/40956091?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/upjabir",
"html_url": "https://github.com/upjabir",
"followers_url": "https://api.github.com/users/upjabi... | [
{
"id": 1990918270,
"node_id": "MDU6TGFiZWwxOTkwOTE4Mjcw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20First%20Issue",
"name": "Good First Issue",
"color": "bbf794",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"Yes, feel free to contribute :)",
"sure, Let me work on it",
"> sure, Let me work on it\r\n\r\nAre you working on it? Else I will take it up.",
"@kurchi1205 Am working on it . The problem is that biogpt doesnt have fast tokenizer . Currenlty am in a testing phase"
] | 1,677 | 1,680 | 1,680 | CONTRIBUTOR | null | ### Feature request
It would be nice to have this available.
### Motivation
working on biomedical token classification datasets and I would like to try BioGPT with them.
### Your contribution
I could send a PR if you want. I guess it shouldn't be too hard. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21786/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/21786/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21785 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21785/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21785/comments | https://api.github.com/repos/huggingface/transformers/issues/21785/events | https://github.com/huggingface/transformers/pull/21785 | 1,598,610,618 | PR_kwDOCUB6oc5KsxQL | 21,785 | Add Pop2Piano | {
"login": "susnato",
"id": 56069179,
"node_id": "MDQ6VXNlcjU2MDY5MTc5",
"avatar_url": "https://avatars.githubusercontent.com/u/56069179?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/susnato",
"html_url": "https://github.com/susnato",
"followers_url": "https://api.github.com/users/susnat... | [] | closed | false | null | [] | [
"Hi @ArthurZucker the implementation is almost ready(also tests) but I feel that the way I implemented this model is not a descent level, thats why I want you to take a look at the `Pop2PianoModel` structure. \r\nJust to be clear with the feature extractor, the `Pop2PianoFeatureExtractor` takes raw_audio as input a... | 1,677 | 1,692 | 1,692 | 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/21785/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/21785/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21785",
"html_url": "https://github.com/huggingface/transformers/pull/21785",
"diff_url": "https://github.com/huggingface/transformers/pull/21785.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21785.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21784 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21784/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21784/comments | https://api.github.com/repos/huggingface/transformers/issues/21784/events | https://github.com/huggingface/transformers/pull/21784 | 1,598,521,539 | PR_kwDOCUB6oc5Ksdrg | 21,784 | Inheritance-based framework detection | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"cc @Rocketknight1 (FYI :P)",
"_The documentation is not available anymore as the PR was closed or merged._",
"Now with a test 👍 ",
"@Rocketknight1 good point! I have no clue if it holds for TF2.5 -- going to double check",
"@Rocketknight1 hah, the class is different but it still works! In TF2.4, we have `... | 1,677 | 1,677 | 1,677 | MEMBER | null | # What does this PR do?
Related to #21761
Problem: In some functions, we detect the framework of the model class through its name (e.g. if it starts with `TF`). This is a quirk of our library, and users might run into issues due to this hidden behavior. For instance, in the issue linked above, a user created a c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21784/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/21784/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21784",
"html_url": "https://github.com/huggingface/transformers/pull/21784",
"diff_url": "https://github.com/huggingface/transformers/pull/21784.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21784.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21783 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21783/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21783/comments | https://api.github.com/repos/huggingface/transformers/issues/21783/events | https://github.com/huggingface/transformers/issues/21783 | 1,598,473,440 | I_kwDOCUB6oc5fRsTg | 21,783 | When will transformers consider supporting LoRA? | {
"login": "ZihaoW123",
"id": 47708655,
"node_id": "MDQ6VXNlcjQ3NzA4NjU1",
"avatar_url": "https://avatars.githubusercontent.com/u/47708655?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ZihaoW123",
"html_url": "https://github.com/ZihaoW123",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hey, Huggingface released https://github.com/huggingface/peft about two weeks ago, which enables you to use LoRA with transformers :)\r\n",
"Thanks for jumping on this @AhmedIdr . Closing this!"
] | 1,677 | 1,677 | 1,677 | NONE | null | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21783/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/21783/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21782 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21782/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21782/comments | https://api.github.com/repos/huggingface/transformers/issues/21782/events | https://github.com/huggingface/transformers/pull/21782 | 1,598,440,335 | PR_kwDOCUB6oc5KsLbQ | 21,782 | Fix type in gpt2 config docstring | {
"login": "WeberJulian",
"id": 17219561,
"node_id": "MDQ6VXNlcjE3MjE5NTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/17219561?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/WeberJulian",
"html_url": "https://github.com/WeberJulian",
"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 | This PR corrects the type of the field `embd_pdrop` in the docstring of `configuration_gpt2.py`, the field should be a float not an int, like the default value `0.1` suggests.
## Who can review?
Documentation: @sgugger, @stevhliu and @MKhalusova
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21782/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/21782/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21782",
"html_url": "https://github.com/huggingface/transformers/pull/21782",
"diff_url": "https://github.com/huggingface/transformers/pull/21782.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21782.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21781 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21781/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21781/comments | https://api.github.com/repos/huggingface/transformers/issues/21781/events | https://github.com/huggingface/transformers/issues/21781 | 1,598,411,055 | I_kwDOCUB6oc5fRdEv | 21,781 | piepline not loading the model | {
"login": "deepanshudashora",
"id": 41534031,
"node_id": "MDQ6VXNlcjQxNTM0MDMx",
"avatar_url": "https://avatars.githubusercontent.com/u/41534031?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/deepanshudashora",
"html_url": "https://github.com/deepanshudashora",
"followers_url": "https://... | [] | closed | false | null | [] | [
"How? This pipeline requires a feature extractor to see the document doesn't it? ",
"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 [contributin... | 1,677 | 1,680 | 1,680 | NONE | null | ### System Info
ubuntu 22.04
### Who can help?
@Narsil
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [X] My own task or dataset (give details below)
### Reproduction
```
pi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21781/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/21781/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21780 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21780/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21780/comments | https://api.github.com/repos/huggingface/transformers/issues/21780/events | https://github.com/huggingface/transformers/pull/21780 | 1,598,301,486 | PR_kwDOCUB6oc5KrsqY | 21,780 | Replace `-m torch.distributed.run` by `torchrun` | {
"login": "regisss",
"id": 15324346,
"node_id": "MDQ6VXNlcjE1MzI0MzQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/15324346?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/regisss",
"html_url": "https://github.com/regisss",
"followers_url": "https://api.github.com/users/regiss... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_21780). All of your documentation changes will be reflected on that endpoint.",
"Just for reference, is there a reason why the previous occurence is deprecated? (not familiar with it!)",
"`torchrun` is equivalent to `pyth... | 1,677 | 1,687 | 1,680 | 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/21780/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/21780/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21780",
"html_url": "https://github.com/huggingface/transformers/pull/21780",
"diff_url": "https://github.com/huggingface/transformers/pull/21780.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21780.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21779 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21779/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21779/comments | https://api.github.com/repos/huggingface/transformers/issues/21779/events | https://github.com/huggingface/transformers/issues/21779 | 1,598,208,714 | I_kwDOCUB6oc5fQrrK | 21,779 | Add Flax Whisper for audio classification | {
"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... | [
{
"id": 2392046359,
"node_id": "MDU6TGFiZWwyMzkyMDQ2MzU5",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20Second%20Issue",
"name": "Good Second Issue",
"color": "dd935a",
"default": false,
"description": "Issues that are more difficult to do than \"Good First... | closed | false | null | [] | [
"Hi. It's my first time contributing to open source. I want to tackle this issue. How can I get started?",
"I have contributed to a few good first issues on HF, would like to take this to learn JAX if available!",
"@Potato-Cracker , @yhl48 Are you guys currently working on it? I have a working branch locally w... | 1,677 | 1,683 | 1,683 | CONTRIBUTOR | null | ### Feature request
The PR https://github.com/huggingface/transformers/pull/21754 adds the PyTorch version of WhisperForAudioClassification. It would be great to add the Flax equivalent for cross-library equivalence ♻️
### Motivation
Whisper is an encoder-decoder model for speech recognition. However, we can repurpo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21779/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/21779/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21778 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21778/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21778/comments | https://api.github.com/repos/huggingface/transformers/issues/21778/events | https://github.com/huggingface/transformers/issues/21778 | 1,598,198,203 | I_kwDOCUB6oc5fQpG7 | 21,778 | Add TensorFlow Wav2Vec2 for sequence classification | {
"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... | [
{
"id": 1834054694,
"node_id": "MDU6TGFiZWwxODM0MDU0Njk0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/TensorFlow",
"name": "TensorFlow",
"color": "FF6F00",
"default": false,
"description": "Anything TensorFlow"
},
{
"id": 2392046359,
"node_id": "MDU6... | open | false | null | [] | [
"This feature request is closely related to #21777! Once we have the TF Wav2Vec2 model for sequence classification added, we can copy across the projection layers and classification layers to Whisper in order to add `TFWhisperForAudioClassifcation`. Two birds with one stone ⚡️",
"Hi @sanchit-gandhi I would love t... | 1,677 | 1,682 | null | CONTRIBUTOR | null | ### Feature request
Wav2Vec2 is one of the most popular speech recognition models, used over 2 million times monthly. In the PyTorch modelling code, we have Wav2Vec2 for speech recognition _and_ Wav2Vec2 for audio classification. However, in TensorFlow, we only have Wav2Vec2 for speech recognition. It would be great... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21778/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/21778/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21777 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21777/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21777/comments | https://api.github.com/repos/huggingface/transformers/issues/21777/events | https://github.com/huggingface/transformers/issues/21777 | 1,598,186,717 | I_kwDOCUB6oc5fQmTd | 21,777 | Add TensorFlow Whisper model for audio classification | {
"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... | [
{
"id": 1834054694,
"node_id": "MDU6TGFiZWwxODM0MDU0Njk0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/TensorFlow",
"name": "TensorFlow",
"color": "FF6F00",
"default": false,
"description": "Anything TensorFlow"
},
{
"id": 2392046359,
"node_id": "MDU6... | open | false | null | [] | [
"Hey @sanchit-gandhi, if we're just using the encoder do you think a CTC head could also work, i.e. `WhisperForCTC`?",
"Hey @OllieBroadhurst! I don't think a an encoder-only Whisper model for speech recognition would be super practical since we'd then need an _external_ language model to correct the phonetic erro... | 1,677 | 1,678 | null | CONTRIBUTOR | null | ### Feature request
The PR https://github.com/huggingface/transformers/pull/21754 adds the PyTorch version of `WhisperForAudioClassification`. It would be great to add the TensorFlow equivalent.
### Motivation
Whisper is an encoder-decoder model for speech recognition. However, we can repurpose the model for other s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21777/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/21777/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21776 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21776/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21776/comments | https://api.github.com/repos/huggingface/transformers/issues/21776/events | https://github.com/huggingface/transformers/pull/21776 | 1,598,167,639 | PR_kwDOCUB6oc5KrPfN | 21,776 | Fix flaky test for log level | {
"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._",
"Thank you for the fix. There is a remaining one test to fix however, which appears after this PR.\r\n\r\n\r\nI am able to reproduce the issue with (deterministically)\r\n```bash\r\npython -m pytest tests/trainer tests/utils\r\n```\r\... | 1,677 | 1,677 | 1,677 | COLLABORATOR | null | # What does this PR do?
This should fix the flakiness of the log level test. If I'm not wrong, the flakiness came from the fact the log level of Transformers can be changed by other tests (for instance lots of Trainer tests change it) and thus assuming it would be warning at the beginning of the test was wrong. Inst... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21776/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/21776/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21776",
"html_url": "https://github.com/huggingface/transformers/pull/21776",
"diff_url": "https://github.com/huggingface/transformers/pull/21776.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21776.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21775 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21775/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21775/comments | https://api.github.com/repos/huggingface/transformers/issues/21775/events | https://github.com/huggingface/transformers/pull/21775 | 1,597,970,845 | PR_kwDOCUB6oc5KqjJ7 | 21,775 | [FX tracer] Make `concrete_args` from outside available | {
"login": "lygztq",
"id": 23189027,
"node_id": "MDQ6VXNlcjIzMTg5MDI3",
"avatar_url": "https://avatars.githubusercontent.com/u/23189027?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lygztq",
"html_url": "https://github.com/lygztq",
"followers_url": "https://api.github.com/users/lygztq/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@michaelbenayoun Could you merge this PR? I have no write access. Thanks"
] | 1,677 | 1,677 | 1,677 | CONTRIBUTOR | null | # What does this PR do?
Current `HFTracer` implementation will replace `concrete_args` with their default values from function signature, this behavior is different from the one in the description of flag `complete_concrete_args_with_inputs_not_in_dummy_inputs`:
> If `True`, and `dummy_inputs` is specified, every... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21775/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/21775/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21775",
"html_url": "https://github.com/huggingface/transformers/pull/21775",
"diff_url": "https://github.com/huggingface/transformers/pull/21775.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21775.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21774 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21774/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21774/comments | https://api.github.com/repos/huggingface/transformers/issues/21774/events | https://github.com/huggingface/transformers/pull/21774 | 1,597,934,179 | PR_kwDOCUB6oc5KqbIl | 21,774 | [WIP] Add Seaformer | {
"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, SeaFormer is a mobile-friendly semantic segmentation model but I see that the PR is for a language model?\r\n\r\nFor reference, the best way to add a new model is to identify a similar model in the library (I'd say SegFormer in this case), create a new branch and initialize the files with `t... | 1,677 | 1,677 | 1,677 | NONE | null | <!-- Remove if not applicable -->
# What does this PR do?
Fixes #21668
Seaformer is a two-branch architecture with Squeeze enhanced Axial Transformer.
<br> Initialized as
**tokenizer_type** = Standalone <br> **is_encoder_decoder_model** = False, since its encoder only.
## Before submitting
- [ ] This P... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21774/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/21774/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21774",
"html_url": "https://github.com/huggingface/transformers/pull/21774",
"diff_url": "https://github.com/huggingface/transformers/pull/21774.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21774.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21773 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21773/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21773/comments | https://api.github.com/repos/huggingface/transformers/issues/21773/events | https://github.com/huggingface/transformers/pull/21773 | 1,597,764,358 | PR_kwDOCUB6oc5Kp2nr | 21,773 | [ProphetNet] Fix gradient checkpointing bug | {
"login": "yhl48",
"id": 25232361,
"node_id": "MDQ6VXNlcjI1MjMyMzYx",
"avatar_url": "https://avatars.githubusercontent.com/u/25232361?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yhl48",
"html_url": "https://github.com/yhl48",
"followers_url": "https://api.github.com/users/yhl48/follow... | [] | closed | false | null | [] | [
"the code quality seems to have failed due to some other files that were not changed, but could anyone please confirm if that is the case?",
"_The documentation is not available anymore as the PR was closed or merged._",
"cc @gante ",
"Hey @yhl48 -- same comment as in [here](https://github.com/huggingface/tra... | 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/21773/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/21773/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21773",
"html_url": "https://github.com/huggingface/transformers/pull/21773",
"diff_url": "https://github.com/huggingface/transformers/pull/21773.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21773.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21772 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21772/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21772/comments | https://api.github.com/repos/huggingface/transformers/issues/21772/events | https://github.com/huggingface/transformers/pull/21772 | 1,597,727,468 | PR_kwDOCUB6oc5KpvEu | 21,772 | [GPT2] Fix gradient checkpointing bug | {
"login": "yhl48",
"id": 25232361,
"node_id": "MDQ6VXNlcjI1MjMyMzYx",
"avatar_url": "https://avatars.githubusercontent.com/u/25232361?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yhl48",
"html_url": "https://github.com/yhl48",
"followers_url": "https://api.github.com/users/yhl48/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"cc @gante ",
"Hey @yhl48 👋 to make our CI pass, you'll have to run `make fix-copies` on your `transformers` folder, and then push the code again.\r\n\r\nIn a nutshell, we have a system in place that ensures that the code in a few ... | 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/21772/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/21772/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21772",
"html_url": "https://github.com/huggingface/transformers/pull/21772",
"diff_url": "https://github.com/huggingface/transformers/pull/21772.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21772.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21771 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21771/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21771/comments | https://api.github.com/repos/huggingface/transformers/issues/21771/events | https://github.com/huggingface/transformers/pull/21771 | 1,597,654,652 | PR_kwDOCUB6oc5KpfwR | 21,771 | Chunkable token classification pipeline | {
"login": "luccailliau",
"id": 74506016,
"node_id": "MDQ6VXNlcjc0NTA2MDE2",
"avatar_url": "https://avatars.githubusercontent.com/u/74506016?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/luccailliau",
"html_url": "https://github.com/luccailliau",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"For whoever is reading this, I will quickly correct the alignment issues which concerns tokens that are removed due to special tokens mask :)",
"cc @Narsil\r\nI'll let you review and decide if it maybe would be more suitable as cod... | 1,677 | 1,679 | 1,679 | CONTRIBUTOR | null | This PR improve the TokenClassificationPipeline by extending its usage to tokenized texts longer than `model_max_length` by returning overflowing tokens as chunks rather than truncating texts. To enable the use of this extended feature, you must use a fast tokenizer with an aggregation strategy different to `"none"` an... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21771/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/21771/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21771",
"html_url": "https://github.com/huggingface/transformers/pull/21771",
"diff_url": "https://github.com/huggingface/transformers/pull/21771.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21771.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21770 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21770/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21770/comments | https://api.github.com/repos/huggingface/transformers/issues/21770/events | https://github.com/huggingface/transformers/pull/21770 | 1,597,488,754 | PR_kwDOCUB6oc5Ko8W0 | 21,770 | Support LoRA for clip text encoder in diffusers | {
"login": "haofanwang",
"id": 18741068,
"node_id": "MDQ6VXNlcjE4NzQxMDY4",
"avatar_url": "https://avatars.githubusercontent.com/u/18741068?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/haofanwang",
"html_url": "https://github.com/haofanwang",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"The support for LoRA should be done using our new [peft](https://github.com/huggingface/peft) library. We won't change Transformers models directly. cc @pacman100 @patrickvonplaten ",
"Sure, it makes sense to me. I'm glad to know. ... | 1,677 | 1,677 | 1,677 | NONE | null | # What does this PR do?
Support a feature in https://github.com/huggingface/diffusers/issues/2469. For now, as stable diffusion uses CLIPTextEncoder, it doesn't support adding LoRA layers yet. What we have done is quite similar to [UNet2DConditionModel](https://github.com/huggingface/diffusers/blob/e5810e686ea4ac499... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21770/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/21770/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21770",
"html_url": "https://github.com/huggingface/transformers/pull/21770",
"diff_url": "https://github.com/huggingface/transformers/pull/21770.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21770.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21769 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21769/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21769/comments | https://api.github.com/repos/huggingface/transformers/issues/21769/events | https://github.com/huggingface/transformers/pull/21769 | 1,597,471,577 | PR_kwDOCUB6oc5Ko4ol | 21,769 | [deepspeed tests] fix issues introduced by #21700 | {
"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._",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_21769). All of your documentation changes will be reflected on that endpoint."
] | 1,677 | 1,677 | 1,677 | CONTRIBUTOR | null | https://github.com/huggingface/transformers/pull/21700 changed the default logging level - which broke multiple deepspeed tests.
Applying a hack to restore the log-level to how it was before.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21769/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/21769/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21769",
"html_url": "https://github.com/huggingface/transformers/pull/21769",
"diff_url": "https://github.com/huggingface/transformers/pull/21769.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21769.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21768 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21768/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21768/comments | https://api.github.com/repos/huggingface/transformers/issues/21768/events | https://github.com/huggingface/transformers/pull/21768 | 1,597,394,214 | PR_kwDOCUB6oc5Kooep | 21,768 | Make schedulers picklable by making lr_lambda fns global | {
"login": "connor-henderson",
"id": 78612354,
"node_id": "MDQ6VXNlcjc4NjEyMzU0",
"avatar_url": "https://avatars.githubusercontent.com/u/78612354?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/connor-henderson",
"html_url": "https://github.com/connor-henderson",
"followers_url": "https://... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"It may be a good idea to test this feature:\r\n\r\nIn file `tests/optimization/test_optimization.py`:\r\nAdd class\r\n```python\r\nclass LambdaScheduleWrapper:\r\n \"\"\"See https://github.com/huggingface/transformers/issues/21689... | 1,677 | 1,679 | 1,677 | CONTRIBUTOR | null | # What does this PR do?
Make schedulers picklable by making lr_lambda fns global, at the cost of the extra step of arg passing and using `partial`.
Closes #21689
Implements the change mentioned in the issue across the following functions in optimizations.py:
`get_constant_schedule`
`get_constant_schedule_with_... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21768/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/21768/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21768",
"html_url": "https://github.com/huggingface/transformers/pull/21768",
"diff_url": "https://github.com/huggingface/transformers/pull/21768.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21768.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21767 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21767/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21767/comments | https://api.github.com/repos/huggingface/transformers/issues/21767/events | https://github.com/huggingface/transformers/pull/21767 | 1,597,314,566 | PR_kwDOCUB6oc5KoXR2 | 21,767 | Fix-ci-whisper | {
"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._",
"Hi @ArthurZucker \r\n\r\nI am running on a GCP VM (which is quite close to the CI runner env.), but I still get the same error.\r\nAlso this CI failure is shown up on Feb. 22nd, and at that time, I don't see any change on the Hub reo... | 1,677 | 1,677 | 1,677 | COLLABORATOR | null | # What does this PR do?
Fixes the failing test. It is related to a modificaiton of the configuration on the hub. https://github.com/huggingface/transformers/pull/21307/files#diff-cf6c12f8da48db4d91bcc6db32ecb7c1609a76e30719b5d47cccf595d326d235 already fixed this before, now just enforcing transciption tasks | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21767/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/21767/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21767",
"html_url": "https://github.com/huggingface/transformers/pull/21767",
"diff_url": "https://github.com/huggingface/transformers/pull/21767.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21767.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21766 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21766/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21766/comments | https://api.github.com/repos/huggingface/transformers/issues/21766/events | https://github.com/huggingface/transformers/pull/21766 | 1,597,307,108 | PR_kwDOCUB6oc5KoVsv | 21,766 | Add Mega: Moving Average Equipped Gated Attention | {
"login": "mnaylor5",
"id": 20518095,
"node_id": "MDQ6VXNlcjIwNTE4MDk1",
"avatar_url": "https://avatars.githubusercontent.com/u/20518095?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mnaylor5",
"html_url": "https://github.com/mnaylor5",
"followers_url": "https://api.github.com/users/mna... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Sorry for the initial test failures! It should be taken care of now. Also I wanted to point out that I did not have access to a GPU while developing this, so I was not able to test on a GPU",
"Hi @mnaylor5 \r\nThanks for your great... | 1,677 | 1,679 | 1,679 | 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/21766/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/21766/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21766",
"html_url": "https://github.com/huggingface/transformers/pull/21766",
"diff_url": "https://github.com/huggingface/transformers/pull/21766.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21766.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21765 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21765/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21765/comments | https://api.github.com/repos/huggingface/transformers/issues/21765/events | https://github.com/huggingface/transformers/pull/21765 | 1,597,175,748 | PR_kwDOCUB6oc5Kn5bP | 21,765 | [Flax] Fix erroneous kwargs being passed to generate config | {
"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 | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,677 | 1,687 | 1,677 | CONTRIBUTOR | null | # What does this PR do?
Setting the `dtype` with Flax `.from_pretrained` is throwing a `TypeError`:
```python
from transformers import FlaxAutoModelForSpeechSeq2Seq
import jax.numpy as jnp
model = FlaxAutoModelForSpeechSeq2Seq.from_pretrained("openai/whisper-tiny.en", dtype=getattr(jnp, "float32"))
```
<... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21765/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/21765/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21765",
"html_url": "https://github.com/huggingface/transformers/pull/21765",
"diff_url": "https://github.com/huggingface/transformers/pull/21765.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21765.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21764 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21764/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21764/comments | https://api.github.com/repos/huggingface/transformers/issues/21764/events | https://github.com/huggingface/transformers/pull/21764 | 1,597,161,819 | PR_kwDOCUB6oc5Kn2dw | 21,764 | [Flax Examples] Seq2Seq ASR Fine-Tuning Script | {
"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 | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@sanchit-gandhi @andyehrenberg \r\n\r\nWe have made a version of this script will support streaming and training on the TPU pods.\r\n\r\nThe current version of the script is available here:\r\n[https://github.com/NbAiLab/nb-whisper/b... | 1,677 | 1,696 | 1,696 | CONTRIBUTOR | null | # What does this PR do?
Can be used to fine-tune Flax Whisper for speech recognition.
Tested and verified as working with the following (dummy) config:
```
run_flax_speech_recognition_seq2seq.py \
--model_name_or_path openai/whisper-tiny.en \
--dataset_name hf-internal-testing/librispe... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21764/reactions",
"total_count": 3,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 3,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/21764/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21764",
"html_url": "https://github.com/huggingface/transformers/pull/21764",
"diff_url": "https://github.com/huggingface/transformers/pull/21764.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21764.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21763 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21763/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21763/comments | https://api.github.com/repos/huggingface/transformers/issues/21763/events | https://github.com/huggingface/transformers/issues/21763 | 1,597,071,852 | I_kwDOCUB6oc5fMWHs | 21,763 | Ability to specify certificate for running language training modules (e.g. run_mlm.py) | {
"login": "codesnail",
"id": 6446354,
"node_id": "MDQ6VXNlcjY0NDYzNTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/6446354?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/codesnail",
"html_url": "https://github.com/codesnail",
"followers_url": "https://api.github.com/users/co... | [] | closed | false | null | [] | [
"Examples are just examples. They can't contain 1,000 arguments to support every user's need without becoming unreadable. In this instance, you should just change the example to suit your need.",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still nee... | 1,677 | 1,680 | 1,680 | NONE | null | ### Feature request
Add a command line param in training modules, e.g., run_mlm.py to take in a custom certificate file for the requests module.
### Motivation
When running behind a VPN, the training modules e.g., run_mlm.py script gives SSL errors when trying to connect to URLs, e.g., to download a pre-trained mode... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21763/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/21763/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21762 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21762/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21762/comments | https://api.github.com/repos/huggingface/transformers/issues/21762/events | https://github.com/huggingface/transformers/pull/21762 | 1,596,845,536 | PR_kwDOCUB6oc5KmxrT | 21,762 | [time series] updated expected values for integration test. | {
"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?
Updated the integration test expected values.
cc @ydshieh | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21762/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/21762/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21762",
"html_url": "https://github.com/huggingface/transformers/pull/21762",
"diff_url": "https://github.com/huggingface/transformers/pull/21762.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21762.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21761 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21761/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21761/comments | https://api.github.com/repos/huggingface/transformers/issues/21761/events | https://github.com/huggingface/transformers/issues/21761 | 1,596,841,483 | I_kwDOCUB6oc5fLd4L | 21,761 | AttributeError: type object has no attribute 'forward' | {
"login": "MattiaSangermano",
"id": 43407984,
"node_id": "MDQ6VXNlcjQzNDA3OTg0",
"avatar_url": "https://avatars.githubusercontent.com/u/43407984?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MattiaSangermano",
"html_url": "https://github.com/MattiaSangermano",
"followers_url": "https://... | [] | closed | false | null | [] | [
"Hey! Thanks for posting. \r\nYou meed to re-define the `forward` method. The following script works as expected\r\n```python \r\nfrom transformers import BertConfig, TFBertForSequenceClassification, AutoTokenizer, BertConfig\r\nimport tensorflow as tf\r\n\r\nclass CustomTFModel(TFBertForSequenceClassification):\r\... | 1,677 | 1,677 | 1,677 | NONE | null | ### System Info
- `transformers` version: 4.21.1
- Platform: Linux-5.4.0
- Python version: 3.8.8
- Huggingface_hub version: 0.10.1
- PyTorch version (GPU?): 1.12.1+cu113 (True)
- Tensorflow version (GPU?): 2.8.0 (True)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- JaxLib ve... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21761/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/21761/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21760 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21760/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21760/comments | https://api.github.com/repos/huggingface/transformers/issues/21760/events | https://github.com/huggingface/transformers/issues/21760 | 1,596,727,814 | I_kwDOCUB6oc5fLCIG | 21,760 | ImportError: Blip2ForConditionalGeneration | {
"login": "garg-aayush",
"id": 17342823,
"node_id": "MDQ6VXNlcjE3MzQyODIz",
"avatar_url": "https://avatars.githubusercontent.com/u/17342823?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/garg-aayush",
"html_url": "https://github.com/garg-aayush",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Hi, thanks for using BLIP-2!\r\n\r\nIt's Blip2ForConditionalGeneration, not BLIP2ForConditionalGeneration ;)",
"@NielsRogge \r\n\r\nSame issue changing to `Blip2ForConditionalGeneration`\r\n```bash\r\n File \"/home/aayush/ControlNet/blip2_captions_test.py\", line 4, in <module>\r\n from transformers import A... | 1,677 | 1,698 | 1,677 | NONE | null | ### System Info
I am trying to run Image captioning using `BLIP2` using the steps mentioned in [Link](https://huggingface.co/blog/blip-2#using-blip-2-with-hugging-face-transformers). However, there seems to be import error for `BLIP2ForConditionalGeneration`
`transformers version: 4.27.0.dev0`
Issue
```bash... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21760/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/21760/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21759 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21759/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21759/comments | https://api.github.com/repos/huggingface/transformers/issues/21759/events | https://github.com/huggingface/transformers/pull/21759 | 1,596,698,099 | PR_kwDOCUB6oc5KmRKN | 21,759 | Generate - update cookie cutters to not initialize cache with training and gradient checkpointing | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,677 | 1,677 | 1,677 | MEMBER | null | # What does this PR do?
Add the changes in #21733 to the cookie-cutter files.
The other modeling files are being tracked in the following "Good First Issue": #21737 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21759/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/21759/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21759",
"html_url": "https://github.com/huggingface/transformers/pull/21759",
"diff_url": "https://github.com/huggingface/transformers/pull/21759.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21759.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21758 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21758/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21758/comments | https://api.github.com/repos/huggingface/transformers/issues/21758/events | https://github.com/huggingface/transformers/pull/21758 | 1,596,626,372 | PR_kwDOCUB6oc5KmBVQ | 21,758 | [WIP] pass kwargs to config | {
"login": "cceyda",
"id": 15624271,
"node_id": "MDQ6VXNlcjE1NjI0Mjcx",
"avatar_url": "https://avatars.githubusercontent.com/u/15624271?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cceyda",
"html_url": "https://github.com/cceyda",
"followers_url": "https://api.github.com/users/cceyda/fo... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_21758). All of your documentation changes will be reflected on that endpoint.",
"👍 Anyway, wasn't expecting changing something as fundamental as `.from_pretrained` to be reasonable or easy 😅 \r\n\r\n@sgugger \r\nWhile w... | 1,677 | 1,680 | 1,680 | CONTRIBUTOR | null | # What does this PR do?
Fixes https://github.com/huggingface/transformers/issues/21757
## Before submitting
- [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#start-contributing-pull-requests),
Pull Request section?
- [x] Was this discus... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21758/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/21758/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21758",
"html_url": "https://github.com/huggingface/transformers/pull/21758",
"diff_url": "https://github.com/huggingface/transformers/pull/21758.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21758.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21757 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21757/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21757/comments | https://api.github.com/repos/huggingface/transformers/issues/21757/events | https://github.com/huggingface/transformers/issues/21757 | 1,596,621,453 | I_kwDOCUB6oc5fKoKN | 21,757 | Custom kwargs not passed when extending PretrainedConfig class | {
"login": "cceyda",
"id": 15624271,
"node_id": "MDQ6VXNlcjE1NjI0Mjcx",
"avatar_url": "https://avatars.githubusercontent.com/u/15624271?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cceyda",
"html_url": "https://github.com/cceyda",
"followers_url": "https://api.github.com/users/cceyda/fo... | [] | closed | false | null | [] | [
"This is intended. Hadding the kwargs is done [here](https://github.com/huggingface/transformers/blob/78a93d17c0e0bca0bc4477e0ee362a95d79f9b22/src/transformers/configuration_utils.py#L712) but to filter out the value that have nothing to do in the config, we detect whether they are attribute of the config or not. S... | 1,677 | 1,680 | 1,680 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.26.1
- Platform: macOS-13.2.1-arm64-arm-64bit
- Python version: 3.9.12
- Huggingface_hub version: 0.12.0
- PyTorch version (GPU?): 1.13.0.dev20220925 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax ve... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21757/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/21757/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21756 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21756/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21756/comments | https://api.github.com/repos/huggingface/transformers/issues/21756/events | https://github.com/huggingface/transformers/pull/21756 | 1,596,620,505 | PR_kwDOCUB6oc5KmADJ | 21,756 | [Examples] Generalise run audio classification for log-mel models | {
"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 | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,677 | 1,687 | 1,677 | CONTRIBUTOR | null | # What does this PR do?
Currently, `run_audio_classification.py` hard-codes the model input name to `input_values` in the pre-processing function. This makes it compatible with Wav2Vec2-style CTC models, but not other speech models that use log-mel `input_features` (e.g. Whisper or AST).
We adopt the same strateg... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21756/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/21756/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21756",
"html_url": "https://github.com/huggingface/transformers/pull/21756",
"diff_url": "https://github.com/huggingface/transformers/pull/21756.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21756.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21755 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21755/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21755/comments | https://api.github.com/repos/huggingface/transformers/issues/21755/events | https://github.com/huggingface/transformers/issues/21755 | 1,596,605,662 | I_kwDOCUB6oc5fKkTe | 21,755 | Something confused me about Nystromformer | {
"login": "1649759610",
"id": 35913314,
"node_id": "MDQ6VXNlcjM1OTEzMzE0",
"avatar_url": "https://avatars.githubusercontent.com/u/35913314?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/1649759610",
"html_url": "https://github.com/1649759610",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"I'll ping @novice03 here as he's an expert on Nyströmformer ",
"Hello @1649759610, thank you for making this post. It looks like this is indeed an issue in the code that I might have overlooked. You are correct that `segment-means-seq-len` should be set to the length of the input. If I were to fix it, I would ju... | 1,677 | 1,682 | 1,682 | NONE | null | ### System Info
Any GPU Machine with Transformer 4.26.0
### Who can help?
@ArthurZucker @younesbelkada @sgugger @novice03
### Information
- [x] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21755/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/21755/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21754 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21754/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21754/comments | https://api.github.com/repos/huggingface/transformers/issues/21754/events | https://github.com/huggingface/transformers/pull/21754 | 1,596,587,459 | PR_kwDOCUB6oc5Kl42A | 21,754 | [Whisper] Add model for audio classification | {
"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 | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"(Failing test is unrelated)"
] | 1,677 | 1,687 | 1,678 | CONTRIBUTOR | null | # What does this PR do?
Adds `WhisperForAudioClassification`: the Whisper encoder model with a sequence classification head on top for audio classification tasks.
With the changes implemented in #21756, Whisper can be fine-tuned for any audio classification task.
Results of fine-tuning for suggest that this is... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21754/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/21754/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21754",
"html_url": "https://github.com/huggingface/transformers/pull/21754",
"diff_url": "https://github.com/huggingface/transformers/pull/21754.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21754.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21752 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21752/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21752/comments | https://api.github.com/repos/huggingface/transformers/issues/21752/events | https://github.com/huggingface/transformers/pull/21752 | 1,596,418,352 | PR_kwDOCUB6oc5KlUQC | 21,752 | Different behavior in DistilBERT when using "inputs_embeds" | {
"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._",
"cc @VictorSanh in case there was a specific reason behind this? ",
"changes look good to me, thanks Arthur!\r\n\r\nno specific reason behind it. my vague recollection is that `input_embeds` didn't exist when i first implemented it,... | 1,677 | 1,677 | 1,677 | COLLABORATOR | null | Fixes #21089
# What does this PR do?
The behavior of the DistillBert model is wrong when the input embeddings are provided, and does not align with Bert or other models.
This is due to the `Embeddings` layer that computes internally the addition of the positional embedding and word embedding. If the input embeddings ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21752/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/21752/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21752",
"html_url": "https://github.com/huggingface/transformers/pull/21752",
"diff_url": "https://github.com/huggingface/transformers/pull/21752.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21752.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21751 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21751/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21751/comments | https://api.github.com/repos/huggingface/transformers/issues/21751/events | https://github.com/huggingface/transformers/pull/21751 | 1,596,382,891 | PR_kwDOCUB6oc5KlMrt | 21,751 | add BioGptForSequenceClassification | {
"login": "sadaqabdo",
"id": 73716075,
"node_id": "MDQ6VXNlcjczNzE2MDc1",
"avatar_url": "https://avatars.githubusercontent.com/u/73716075?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sadaqabdo",
"html_url": "https://github.com/sadaqabdo",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [] | 1,677 | 1,677 | 1,677 | 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/21751/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/21751/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21751",
"html_url": "https://github.com/huggingface/transformers/pull/21751",
"diff_url": "https://github.com/huggingface/transformers/pull/21751.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21751.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21750 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21750/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21750/comments | https://api.github.com/repos/huggingface/transformers/issues/21750/events | https://github.com/huggingface/transformers/pull/21750 | 1,596,296,889 | PR_kwDOCUB6oc5Kk6FW | 21,750 | typos in french documentation | {
"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 few typos in the french documentation.
## 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#st... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21750/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/21750/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21750",
"html_url": "https://github.com/huggingface/transformers/pull/21750",
"diff_url": "https://github.com/huggingface/transformers/pull/21750.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21750.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21749 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21749/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21749/comments | https://api.github.com/repos/huggingface/transformers/issues/21749/events | https://github.com/huggingface/transformers/pull/21749 | 1,596,286,734 | PR_kwDOCUB6oc5Kk373 | 21,749 | [WIP] A potential fix for `AutoConfig` and `AutoModel` | {
"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._",
"Close as this is not an issue."
] | 1,677 | 1,679 | 1,677 | COLLABORATOR | null | # What does this PR do?
⚠️ This is just to demonstrate the issue and a (maybe super wrong) way to fix it:
- Maybe the usage of such models is very low - not worth the time
- I can't find `DecisionTransformerGPT2Model` on the Hub.
- `nllb` is not a real issue, as it contains only tokniezer, which `AutoToken... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21749/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/21749/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21749",
"html_url": "https://github.com/huggingface/transformers/pull/21749",
"diff_url": "https://github.com/huggingface/transformers/pull/21749.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21749.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21748 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21748/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21748/comments | https://api.github.com/repos/huggingface/transformers/issues/21748/events | https://github.com/huggingface/transformers/issues/21748 | 1,596,102,956 | I_kwDOCUB6oc5fIpks | 21,748 | "Emotion English DistilRoBERTa-base" - Inference API not loading model | {
"login": "mritik",
"id": 56925074,
"node_id": "MDQ6VXNlcjU2OTI1MDc0",
"avatar_url": "https://avatars.githubusercontent.com/u/56925074?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mritik",
"html_url": "https://github.com/mritik",
"followers_url": "https://api.github.com/users/mritik/fo... | [] | closed | false | null | [] | [
"cc @Narsil ",
"We've been having issues today. Thanks for reporting.\r\n\r\nThings should be slowly getting back to normal.",
"Closing as everything should be back online."
] | 1,677 | 1,677 | 1,677 | NONE | null | ### System Info
The Inference API does not load this specific model: "Emotion English DistilRoBERTa-base". It keeps returning a 503 error and timing out (both when I try to make a request locally through my webapp and on the huggingface website). Other models seem to be loading fine. This is very strange because thi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21748/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/21748/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21747 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21747/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21747/comments | https://api.github.com/repos/huggingface/transformers/issues/21747/events | https://github.com/huggingface/transformers/issues/21747 | 1,595,909,278 | I_kwDOCUB6oc5fH6Se | 21,747 | Slow decoding with many special tokens in vocabulary | {
"login": "samsontmr",
"id": 15007950,
"node_id": "MDQ6VXNlcjE1MDA3OTUw",
"avatar_url": "https://avatars.githubusercontent.com/u/15007950?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/samsontmr",
"html_url": "https://github.com/samsontmr",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Slow tokenizers are... slow. That's why we wrote the tokenizers library ;-) Why not use `T5TokenzierFast` which doesn't have the same problem?",
"`T5TokenzierFast` does not have byte-fallback + why artificially handicap the slow tokenizer if it could be more efficient (using sets instead of lists and computing t... | 1,677 | 1,680 | 1,680 | NONE | null | ### System Info
present across multiple versions
### Who can help?
@younesbelkada
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give de... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21747/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/21747/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21746 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21746/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21746/comments | https://api.github.com/repos/huggingface/transformers/issues/21746/events | https://github.com/huggingface/transformers/issues/21746 | 1,595,851,598 | I_kwDOCUB6oc5fHsNO | 21,746 | Regarding Ragend2endRetriever | {
"login": "Rajdoshi99",
"id": 44093439,
"node_id": "MDQ6VXNlcjQ0MDkzNDM5",
"avatar_url": "https://avatars.githubusercontent.com/u/44093439?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rajdoshi99",
"html_url": "https://github.com/Rajdoshi99",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [] | 1,677 | 1,678 | 1,678 | NONE | null | Unable to Change the Generator to T5ForConditionalGeneration.
Shows error.raise AttributeError("'{}' object has no attribute '{}'".format(
AttributeError: 'T5ForConditionalGeneration' object has no attribute 'rag'
--model_name_path t5-base
--model_type t5
@shamanez | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21746/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/21746/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21745 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21745/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21745/comments | https://api.github.com/repos/huggingface/transformers/issues/21745/events | https://github.com/huggingface/transformers/pull/21745 | 1,595,735,452 | PR_kwDOCUB6oc5KjBHP | 21,745 | Tokengt for Graph Classification | {
"login": "clefourrier",
"id": 22726840,
"node_id": "MDQ6VXNlcjIyNzI2ODQw",
"avatar_url": "https://avatars.githubusercontent.com/u/22726840?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/clefourrier",
"html_url": "https://github.com/clefourrier",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_21745). 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,694 | 1,686 | MEMBER | null | # What does this PR do?
replaces #21098
Adds the TokenGT model for graph classification in Transformers.
Done:
- [x] Architecture ported
- [x] Collator (the model has no tokenizer) and preprocessing
Todo:
- [ ] Test results against original implementation, to make sure they are within precision range.
- [... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21745/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/21745/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21745",
"html_url": "https://github.com/huggingface/transformers/pull/21745",
"diff_url": "https://github.com/huggingface/transformers/pull/21745.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21745.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21744 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21744/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21744/comments | https://api.github.com/repos/huggingface/transformers/issues/21744/events | https://github.com/huggingface/transformers/pull/21744 | 1,595,667,890 | PR_kwDOCUB6oc5KiyTj | 21,744 | Update doctest GH workflow file | {
"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?
Just as in other workflow files, this PR adds a step in doctest workflow file
```
- name: Show installed libraries and their versions
run: pip freeze
```
so we can quicly access this information whenever necessary, so faster debugging.
It took me some time to find the fi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21744/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/21744/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21744",
"html_url": "https://github.com/huggingface/transformers/pull/21744",
"diff_url": "https://github.com/huggingface/transformers/pull/21744.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21744.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21743 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21743/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21743/comments | https://api.github.com/repos/huggingface/transformers/issues/21743/events | https://github.com/huggingface/transformers/pull/21743 | 1,595,395,514 | PR_kwDOCUB6oc5Kh3gH | 21,743 | [`tests`] add `accelerate` marker | {
"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 @younesbelkada ! I understand the advantage of adding this. However, I would recommend to follow what we have like `is_pt_tf_cross_test` as in\r\nhttps://github.com/huggingface/transformers/blob/619d51e01f326d298687912d1f65f8d... | 1,677 | 1,677 | 1,677 | CONTRIBUTOR | null | # What does this PR do?
This PR introduces a nice utils for users and contributors (such as myself) that want to run just `accelerate` specific tests. Thanks to @fxmarty that has introduced to me this util
By using `pytest.mark` you can run `accelerate`-specific tests easily. With this PR, if let's say I want to ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21743/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/21743/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21743",
"html_url": "https://github.com/huggingface/transformers/pull/21743",
"diff_url": "https://github.com/huggingface/transformers/pull/21743.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21743.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21742 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21742/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21742/comments | https://api.github.com/repos/huggingface/transformers/issues/21742/events | https://github.com/huggingface/transformers/pull/21742 | 1,595,357,713 | PR_kwDOCUB6oc5Khvk7 | 21,742 | Fix 2 quicktour file doctest | {
"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?
Update expect output values due to some update of package or Hub repo file. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21742/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/21742/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21742",
"html_url": "https://github.com/huggingface/transformers/pull/21742",
"diff_url": "https://github.com/huggingface/transformers/pull/21742.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21742.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21741 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21741/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21741/comments | https://api.github.com/repos/huggingface/transformers/issues/21741/events | https://github.com/huggingface/transformers/pull/21741 | 1,595,260,351 | PR_kwDOCUB6oc5KhaoN | 21,741 | Add ALIGN to transformers | {
"login": "alaradirik",
"id": 8944735,
"node_id": "MDQ6VXNlcjg5NDQ3MzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/8944735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alaradirik",
"html_url": "https://github.com/alaradirik",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> Thanks for adding this model! Most comments are just formatting nits.\r\n> \r\n> Two main comments to address:\r\n> \r\n> * Can you modify the model prefix to Align, rather than ALIGN?\r\n> * All of the vision encoder architecture ... | 1,677 | 1,677 | 1,677 | CONTRIBUTOR | null | # What does this PR do?
Adds [ALIGN](https://arxiv.org/abs/2102.05918) to transformers, a multi-modal model similar to CLIP. ALIGN uses EfficientNet as its vision encoder and BERT as its text encoder. No public implementation is available for this model, the code is adapted from Kakao Brain's tensorflow implementation... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21741/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/21741/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21741",
"html_url": "https://github.com/huggingface/transformers/pull/21741",
"diff_url": "https://github.com/huggingface/transformers/pull/21741.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21741.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21740 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21740/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21740/comments | https://api.github.com/repos/huggingface/transformers/issues/21740/events | https://github.com/huggingface/transformers/pull/21740 | 1,595,116,307 | PR_kwDOCUB6oc5Kg73l | 21,740 | [examples/summarization] deal with `max_length` and `num_beams` | {
"login": "bofenghuang",
"id": 38185248,
"node_id": "MDQ6VXNlcjM4MTg1MjQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/38185248?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bofenghuang",
"html_url": "https://github.com/bofenghuang",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hi @sgugger, just removed the `max_length`!\r\n\r\nI also added another modif which separates the preprocessing of the training and the validation set in order to truncate the outputs by `max_target_length` and `val_max_target_length... | 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/21740/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/21740/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21740",
"html_url": "https://github.com/huggingface/transformers/pull/21740",
"diff_url": "https://github.com/huggingface/transformers/pull/21740.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21740.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21739 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21739/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21739/comments | https://api.github.com/repos/huggingface/transformers/issues/21739/events | https://github.com/huggingface/transformers/issues/21739 | 1,595,114,079 | I_kwDOCUB6oc5fE4Jf | 21,739 | Pegasus Tokenizer is throwing away newline tokens | {
"login": "njbrake",
"id": 33383515,
"node_id": "MDQ6VXNlcjMzMzgzNTE1",
"avatar_url": "https://avatars.githubusercontent.com/u/33383515?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/njbrake",
"html_url": "https://github.com/njbrake",
"followers_url": "https://api.github.com/users/njbrak... | [] | closed | false | null | [] | [
"Even more concise:\r\n```\r\n>>> tokenizer.encode('\\n')\r\n[1]\r\n>>> tokenizer.decode(1)\r\n'</s>'\r\n```",
"Hey! Thanks for posting this. \r\nThe reason why the new lines are automatically removed is because this is the default behavior for `Pegasus` see [here](https://github.com/google-research/pegasus/blob/... | 1,677 | 1,702 | 1,677 | CONTRIBUTOR | null | ### System Info
it's important for my model to learn where the newlines should be placed in the output, and from my understanding, this information is being removed by the Pegasus tokenizer (applicable to the latest version of the Transformers/Tokenizer library):
For example, if my target output is
```
SECTION... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21739/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/21739/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21738 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21738/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21738/comments | https://api.github.com/repos/huggingface/transformers/issues/21738/events | https://github.com/huggingface/transformers/pull/21738 | 1,595,079,205 | PR_kwDOCUB6oc5Kgz7K | 21,738 | Generate: Fix GIT batched captioning | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,677 | 1,684 | 1,677 | MEMBER | null | # What does this PR do?
Fixes #21714 (batched image captioning with GIT not working)
The problem, at a higher level, boils down to a previously incomplete `batch_size` inference when no `input_ids` nor `inputs_embeds` was being passed to `.generate()` in decoder-only models -- we were always assuming `batch_size=... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21738/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/21738/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21738",
"html_url": "https://github.com/huggingface/transformers/pull/21738",
"diff_url": "https://github.com/huggingface/transformers/pull/21738.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21738.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21737 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21737/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21737/comments | https://api.github.com/repos/huggingface/transformers/issues/21737/events | https://github.com/huggingface/transformers/issues/21737 | 1,595,044,311 | I_kwDOCUB6oc5fEnHX | 21,737 | [`Generate`] Fix `gradient_checkpointing` and `use_cache` bug for generate-compatible models | {
"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... | [
{
"id": 1990918270,
"node_id": "MDU6TGFiZWwxOTkwOTE4Mjcw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20First%20Issue",
"name": "Good First Issue",
"color": "bbf794",
"default": false,
"description": ""
}
] | closed | false | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [
{
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.co... | [
"@younesbelkada I am a little confused on where the list for generate-compatible models is located. I'd like to pick up this issue if I can find it!",
"Hello @mollerup23 \r\nThanks for your interest, we will update the list with @gante once #21733 gets merged !",
"@younesbelkada Looks like it will be essentiall... | 1,677 | 1,679 | 1,679 | CONTRIBUTOR | null | ## Feature request
When using a model that uses `gradient_checkpointing` and if a user wants to call `generate` with `use_cache`, it leads some models to bugs, such as the one described in https://github.com/huggingface/transformers/pull/21733
The fix should be to slightly refactor some models following the same ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21737/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/21737/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21736 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21736/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21736/comments | https://api.github.com/repos/huggingface/transformers/issues/21736/events | https://github.com/huggingface/transformers/issues/21736 | 1,594,966,217 | I_kwDOCUB6oc5fEUDJ | 21,736 | How to disable model parallelism and enable data parallelism when using Accelerate and `device_map='auto'`? | {
"login": "chenmingjiong",
"id": 44235429,
"node_id": "MDQ6VXNlcjQ0MjM1NDI5",
"avatar_url": "https://avatars.githubusercontent.com/u/44235429?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chenmingjiong",
"html_url": "https://github.com/chenmingjiong",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Hello @chenmingjiongjiong \r\nWhat is the VRAM of your GPU?\r\ncan you alternatively try `device_map={'':torch.cuda.current_device()}`?",
"> can you alternatively try `device_map={'':torch.cuda.current_device()}`\r\n\r\nThis solved my problem. Thanks!\r\n\r\nThen I got another error about bitsandbytes, I have su... | 1,677 | 1,692 | 1,677 | NONE | null | ### System Info
- `transformers` version: 4.27.0.dev0
- Platform: Linux-5.4.15-1.el7.elrepo.x86_64-x86_64-with-glibc2.27
- Python version: 3.10.9
- Huggingface_hub version: 0.11.1
- PyTorch version (GPU?): 1.13.1 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installe... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21736/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/21736/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21735 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21735/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21735/comments | https://api.github.com/repos/huggingface/transformers/issues/21735/events | https://github.com/huggingface/transformers/pull/21735 | 1,594,878,434 | PR_kwDOCUB6oc5KgI-y | 21,735 | Fix resume_from_checkpoint for deepspeed | {
"login": "mosheber",
"id": 22236370,
"node_id": "MDQ6VXNlcjIyMjM2Mzcw",
"avatar_url": "https://avatars.githubusercontent.com/u/22236370?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mosheber",
"html_url": "https://github.com/mosheber",
"followers_url": "https://api.github.com/users/mos... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_21735). All of your documentation changes will be reflected on that endpoint.",
"Hi @mosheber! The CI is not triggered. It seems there is an issue with your CircleCI permissions, the tests won't run.\r\nCould you first try ... | 1,677 | 1,677 | 1,677 | CONTRIBUTOR | null | @stas00 This fixes the resume_from_checkpoint for deepspeed, by ensuring that the deepspeed engine is the one to load the checkpoint.
# What does this PR do?
It disables the regular load_from_checkpoint, and allowing it to go to the deepspeed engine instead.
<!--
Congratulations! You've made it this far! You... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21735/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/21735/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21735",
"html_url": "https://github.com/huggingface/transformers/pull/21735",
"diff_url": "https://github.com/huggingface/transformers/pull/21735.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21735.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21734 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21734/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21734/comments | https://api.github.com/repos/huggingface/transformers/issues/21734/events | https://github.com/huggingface/transformers/issues/21734 | 1,594,837,538 | I_kwDOCUB6oc5fD0oi | 21,734 | Discrepancies between scores shapes between doc/generate methods | {
"login": "icannos",
"id": 1743026,
"node_id": "MDQ6VXNlcjE3NDMwMjY=",
"avatar_url": "https://avatars.githubusercontent.com/u/1743026?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/icannos",
"html_url": "https://github.com/icannos",
"followers_url": "https://api.github.com/users/icannos/... | [] | closed | false | null | [] | [
"Hey @icannos 👋 Here the problem is the documentation, which is incomplete :) \r\n\r\nHave a look at my answer in our forum, for a similar question -- https://discuss.huggingface.co/t/t5-why-do-we-have-more-tokens-expressed-via-cross-attentions-than-the-decoded-sequence/31893",
"Updating the docs is in our TODO ... | 1,677 | 1,681 | 1,677 | NONE | null | ### System Info
- `transformers` version: 4.26.1
- Platform: Linux-6.0.19-4-MANJARO-x86_64-with-glibc2.37
- Python version: 3.10.9
- Huggingface_hub version: 0.12.0
- PyTorch version (GPU?): 1.13.1+cu117 (True)
- Tensorflow version (GPU?): 2.8.0 (True)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21734/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/21734/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21733 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21733/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21733/comments | https://api.github.com/repos/huggingface/transformers/issues/21733/events | https://github.com/huggingface/transformers/pull/21733 | 1,594,717,386 | PR_kwDOCUB6oc5KfnGV | 21,733 | [`GPTNeo`] Fix gradient checkpointing bug | {
"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._",
"cc @gante ",
"Change looks reasonable to me. Could you provide links to the check you refer to where `use_cache` is set to False and also add the error output so this solution can be found easily if encountered again please? ",
"... | 1,677 | 1,678 | 1,677 | CONTRIBUTOR | null | # What does this PR do?
This PR fixes a small bug that a user can encounter while using `generate` and models that use `gradient_checkpointing` . In the context of `trl` we call `generate` on the active model that uses `gradient_checkpointing` to save memory.
Currently this snippet fails on `main`:
```pytho... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21733/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/21733/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21733",
"html_url": "https://github.com/huggingface/transformers/pull/21733",
"diff_url": "https://github.com/huggingface/transformers/pull/21733.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21733.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21732 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21732/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21732/comments | https://api.github.com/repos/huggingface/transformers/issues/21732/events | https://github.com/huggingface/transformers/issues/21732 | 1,594,235,942 | I_kwDOCUB6oc5fBhwm | 21,732 | AttributeError: 'GenerationConfig' object has no attribute 'architectures' | {
"login": "Ccode-lang",
"id": 78437178,
"node_id": "MDQ6VXNlcjc4NDM3MTc4",
"avatar_url": "https://avatars.githubusercontent.com/u/78437178?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Ccode-lang",
"html_url": "https://github.com/Ccode-lang",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Until this is fixed I'll use the decapitated method.",
"Hello @Ccode-lang \r\nThanks for the issue , I think the correct keyword argument here is `generate_config`: \r\n```python\r\nfrom transformers import pipeline, set_seed, GenerationConfig\r\n\r\nconfig = GenerationConfig(max_new_tokens=500, temperature=1.2,... | 1,677 | 1,677 | 1,677 | NONE | null | ### System Info
- `transformers` version: 4.26.1
- Platform: Windows-10-10.0.19045-SP0
- Python version: 3.10.10
- Huggingface_hub version: 0.12.1
- PyTorch version (GPU?): 1.13.1+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21732/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/21732/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21731 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21731/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21731/comments | https://api.github.com/repos/huggingface/transformers/issues/21731/events | https://github.com/huggingface/transformers/pull/21731 | 1,593,990,316 | PR_kwDOCUB6oc5KdM2O | 21,731 | Fix `GPTSanJapaneseModel` | {
"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?
```
return_dict = return_dict if return_dict is not None else self.config.return_dict
```
should be
```
return_dict = return_dict if return_dict is not None else self.config.use_return_dict
```
as in many other places.
Otherwise torchscript tests will fail. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21731/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/21731/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21731",
"html_url": "https://github.com/huggingface/transformers/pull/21731",
"diff_url": "https://github.com/huggingface/transformers/pull/21731.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21731.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21730 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21730/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21730/comments | https://api.github.com/repos/huggingface/transformers/issues/21730/events | https://github.com/huggingface/transformers/pull/21730 | 1,593,802,321 | PR_kwDOCUB6oc5Kck-e | 21,730 | [`MBart`] Fix cross attention mask check | {
"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,676 | 1,677 | 1,677 | CONTRIBUTOR | null | # What does this PR do?
Fixes https://github.com/huggingface/transformers/issues/21728
The current `MBart` code leads to an error that is hard to interpret for users due to a possible typo as pointed out in https://github.com/huggingface/transformers/issues/21728
To reproduce:
```python
import torch
from tr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21730/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/21730/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21730",
"html_url": "https://github.com/huggingface/transformers/pull/21730",
"diff_url": "https://github.com/huggingface/transformers/pull/21730.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21730.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21729 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21729/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21729/comments | https://api.github.com/repos/huggingface/transformers/issues/21729/events | https://github.com/huggingface/transformers/pull/21729 | 1,593,687,626 | PR_kwDOCUB6oc5KcMo7 | 21,729 | Added "Open in Colab" to task guides | {
"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,676 | 1,677 | 1,677 | CONTRIBUTOR | null | Some of the task guides did not have the "Open in Colab" option, which can be very useful in this type of docs. This small PR adds the option. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21729/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/21729/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21729",
"html_url": "https://github.com/huggingface/transformers/pull/21729",
"diff_url": "https://github.com/huggingface/transformers/pull/21729.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21729.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21728 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21728/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21728/comments | https://api.github.com/repos/huggingface/transformers/issues/21728/events | https://github.com/huggingface/transformers/issues/21728 | 1,593,621,127 | I_kwDOCUB6oc5e_LqH | 21,728 | Error with shape-assertion regarding head_masks in mbart_modeling file | {
"login": "josh-oo",
"id": 22002584,
"node_id": "MDQ6VXNlcjIyMDAyNTg0",
"avatar_url": "https://avatars.githubusercontent.com/u/22002584?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/josh-oo",
"html_url": "https://github.com/josh-oo",
"followers_url": "https://api.github.com/users/josh-o... | [] | closed | false | null | [] | [
"Great catch! The PR https://github.com/huggingface/transformers/pull/21730 should add the fix you proposed"
] | 1,676 | 1,677 | 1,677 | NONE | null | ### System Info
file: https://github.com/huggingface/transformers/blob/v4.26.1/src/transformers/models/mbart/modeling_mbart.py
commit-hash: fd5cdaeea6eafac32e9d967327bfa3dc0e0d962d
### Who can help?
@ArthurZucker @younesbelkada
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21728/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/21728/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21727 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21727/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21727/comments | https://api.github.com/repos/huggingface/transformers/issues/21727/events | https://github.com/huggingface/transformers/pull/21727 | 1,593,607,304 | PR_kwDOCUB6oc5Kb7qB | 21,727 | Fix to KerasMetricCallback when the model returns unstructured output | {
"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._",
"I don't even know if we're testing this callback at all, because it's not really a core piece of `transformers`. I'll merge this for now and then think about where we could add some tests in a future PR!"
] | 1,676 | 1,677 | 1,677 | MEMBER | null | The `KerasMetricCallback` was only tested on `transformers` models, which usually return dict-like `ModelOutput`. As a result, I missed a bug when the model is a more classical Keras model that just returns a naked array. Thanks to @leadbetterben for pointing out the issue.
Fixes #21674 . | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21727/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/21727/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21727",
"html_url": "https://github.com/huggingface/transformers/pull/21727",
"diff_url": "https://github.com/huggingface/transformers/pull/21727.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21727.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21726 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21726/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21726/comments | https://api.github.com/repos/huggingface/transformers/issues/21726/events | https://github.com/huggingface/transformers/pull/21726 | 1,593,451,864 | PR_kwDOCUB6oc5KbaMt | 21,726 | Fix `ErnieMEmbeddings` device issue | {
"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,676 | 1,677 | 1,677 | COLLABORATOR | null | # What does this PR do?
Fix `ErnieMEmbeddings` CI failure for
```bash
tests/models/ernie_m/test_modeling_ernie_m.py::ErnieMModelTest::test_multi_gpu_data_parallel_forward
```
See comments in the changes. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21726/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/21726/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21726",
"html_url": "https://github.com/huggingface/transformers/pull/21726",
"diff_url": "https://github.com/huggingface/transformers/pull/21726.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21726.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21725 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21725/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21725/comments | https://api.github.com/repos/huggingface/transformers/issues/21725/events | https://github.com/huggingface/transformers/pull/21725 | 1,593,334,534 | PR_kwDOCUB6oc5KbA9N | 21,725 | Make ImageProcessorMixin compatible with subfolder kwarg | {
"login": "Abhinay1997",
"id": 24771261,
"node_id": "MDQ6VXNlcjI0NzcxMjYx",
"avatar_url": "https://avatars.githubusercontent.com/u/24771261?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Abhinay1997",
"html_url": "https://github.com/Abhinay1997",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@sgugger I have added the test. Let me know your thoughts please."
] | 1,676 | 1,677 | 1,677 | CONTRIBUTOR | null | Adds subfolder support to the ImageProcessorMixin to be able to load models from a specific subfolder on the HuggingFace repo.
See the issue: https://github.com/huggingface/transformers/issues/21715 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21725/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/21725/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21725",
"html_url": "https://github.com/huggingface/transformers/pull/21725",
"diff_url": "https://github.com/huggingface/transformers/pull/21725.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21725.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21724 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21724/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21724/comments | https://api.github.com/repos/huggingface/transformers/issues/21724/events | https://github.com/huggingface/transformers/issues/21724 | 1,593,300,616 | I_kwDOCUB6oc5e99aI | 21,724 | Invalid header value when loading "bert-base-uncased" | {
"login": "Lyken17",
"id": 7783214,
"node_id": "MDQ6VXNlcjc3ODMyMTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/7783214?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Lyken17",
"html_url": "https://github.com/Lyken17",
"followers_url": "https://api.github.com/users/Lyken17/... | [] | closed | false | null | [] | [
"Solved via deleting all cached files under ```~/.cache/huggingface```"
] | 1,676 | 1,676 | 1,676 | CONTRIBUTOR | null | ### System Info
Copy-and-paste the text below in your GitHub issue and FILL OUT the two last points.
- `transformers` version: 4.26.1
- Platform: Linux-5.15.0-52-generic-x86_64-with-glibc2.31
- Python version: 3.10.9
- Huggingface_hub version: 0.12.1
- PyTorch version (GPU?): 1.13.1+cu117 (True)
- Tensorflow v... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21724/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/21724/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21723 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21723/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21723/comments | https://api.github.com/repos/huggingface/transformers/issues/21723/events | https://github.com/huggingface/transformers/pull/21723 | 1,593,282,350 | PR_kwDOCUB6oc5Ka15z | 21,723 | Change doc example for `BigBirdForQuestionAnswering` | {
"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,676 | 1,677 | 1,677 | COLLABORATOR | null | # What does this PR do?
Checkpoint `"abhinavkulkarni/bigbird-roberta-base-finetuned-squad"` is no longer public or is removed by the user. Use base model `google/bigbird-roberta-base` and not to test against expected outputs. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21723/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/21723/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21723",
"html_url": "https://github.com/huggingface/transformers/pull/21723",
"diff_url": "https://github.com/huggingface/transformers/pull/21723.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21723.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21722 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21722/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21722/comments | https://api.github.com/repos/huggingface/transformers/issues/21722/events | https://github.com/huggingface/transformers/pull/21722 | 1,593,149,869 | PR_kwDOCUB6oc5KaZ8f | 21,722 | Remove `gptsan_japanese` from doctest list to avoid GPU OOM | {
"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,676 | 1,677 | 1,677 | COLLABORATOR | null | # What does this PR do?
Remove `gptsan_japanese` from doctest list to avoid GPU OOM (which affects some other model doctesting)
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21722/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/21722/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21722",
"html_url": "https://github.com/huggingface/transformers/pull/21722",
"diff_url": "https://github.com/huggingface/transformers/pull/21722.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21722.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21721 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21721/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21721/comments | https://api.github.com/repos/huggingface/transformers/issues/21721/events | https://github.com/huggingface/transformers/issues/21721 | 1,593,106,464 | I_kwDOCUB6oc5e9OAg | 21,721 | 700 hp - 1250 hp | {
"login": "Marco071086",
"id": 88912522,
"node_id": "MDQ6VXNlcjg4OTEyNTIy",
"avatar_url": "https://avatars.githubusercontent.com/u/88912522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Marco071086",
"html_url": "https://github.com/Marco071086",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"good thing that this is on GitHub and not on the hub"
] | 1,676 | 1,676 | 1,676 | NONE | null |
Audi A3 FWD 2.0T
CHANGE
Engine Turbocharger ES#4147635
R410 Turbo Upgrade Kit & Tuning Package
The R410 Turbo Kit was designed for the track day enthusiast looking for increased horsepower and torque throughout the powerband, without sacrificing response and reliability.
End user to work directly with 034Motorsport o... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21721/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/21721/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21720 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21720/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21720/comments | https://api.github.com/repos/huggingface/transformers/issues/21720/events | https://github.com/huggingface/transformers/issues/21720 | 1,593,048,026 | I_kwDOCUB6oc5e8_va | 21,720 | Multi-GPU inference using accelerate giving inaccurate/gibberish results on RTX 4090s | {
"login": "milsun",
"id": 35405363,
"node_id": "MDQ6VXNlcjM1NDA1MzYz",
"avatar_url": "https://avatars.githubusercontent.com/u/35405363?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/milsun",
"html_url": "https://github.com/milsun",
"followers_url": "https://api.github.com/users/milsun/fo... | [] | closed | false | null | [] | [
"If you use `bfloat16` as a torch dtype, do you get the same results? I'm wondering if somehow the ops in float16 are badly implemented on those GPUs.",
"Just tried, still outputs gibberish.\r\n\r\nprompt = \"What is the color of carrots?\\nAnswer:\"\r\noutput (bfloat16) = 'What is the color of carrots?\\nAnswer:... | 1,676 | 1,677 | 1,677 | NONE | null | ### System Info
I am trying to use pretrained opt-6.7b model for inference, by using "device_map" as "auto", "balanced", basically scenarios where model weights are spread across both GPUs; the results produced are inaccurate and gibberish. Although if model is loaded on just one GPU, it works fine.
Tried opt-13b a... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21720/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/21720/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21719 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21719/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21719/comments | https://api.github.com/repos/huggingface/transformers/issues/21719/events | https://github.com/huggingface/transformers/issues/21719 | 1,592,912,092 | I_kwDOCUB6oc5e8ejc | 21,719 | fsmt translation with use_cache=True 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 | [] | [
"Hi @lihaoxin2020 \r\nThanks for the issue! \r\nI tried to run the script with the command:\r\n```bash\r\npython -m torch.distributed.launch --nproc_per_node 2 run_translation.py run_translation_config.json \r\n```\r\nand getting:\r\n```\r\nrun_translation.py: error: the following arguments are required: --model_na... | 1,676 | 1,680 | 1,680 | NONE | null | ### System Info
I'm running [run_translation.py](https://github.com/huggingface/transformers/tree/main/examples/pytorch/translation) to train from scratch with fsmt artifacts.
I'm using
- `transformers` version: 4.27.0.dev0
- Platform: Linux-3.10.0-862.el7.x86_64-x86_64-with-glibc2.17
- Python version: 3.8.13
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21719/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/21719/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21718 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21718/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21718/comments | https://api.github.com/repos/huggingface/transformers/issues/21718/events | https://github.com/huggingface/transformers/pull/21718 | 1,592,746,435 | PR_kwDOCUB6oc5KZCxv | 21,718 | Fixed a bug in remove_handler function | {
"login": "bahgat-ahmed",
"id": 20663285,
"node_id": "MDQ6VXNlcjIwNjYzMjg1",
"avatar_url": "https://avatars.githubusercontent.com/u/20663285?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bahgat-ahmed",
"html_url": "https://github.com/bahgat-ahmed",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_21718). 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,676 | 1,680 | 1,680 | NONE | null | Fixed the bug mentioned in this issue: #21506
And replaced `Assertion`s with `ValueError`s only in that same function that contained the bug.
@LysandreJik | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21718/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/21718/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21718",
"html_url": "https://github.com/huggingface/transformers/pull/21718",
"diff_url": "https://github.com/huggingface/transformers/pull/21718.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21718.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21717 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21717/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21717/comments | https://api.github.com/repos/huggingface/transformers/issues/21717/events | https://github.com/huggingface/transformers/issues/21717 | 1,592,735,074 | I_kwDOCUB6oc5e7zVi | 21,717 | Does generate() support "Export to TorchScript" | {
"login": "gongel",
"id": 24390500,
"node_id": "MDQ6VXNlcjI0MzkwNTAw",
"avatar_url": "https://avatars.githubusercontent.com/u/24390500?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gongel",
"html_url": "https://github.com/gongel",
"followers_url": "https://api.github.com/users/gongel/fo... | [] | closed | false | null | [] | [
"cc @gante\r\n",
"Hey @gongel 👋 The model foward pass probably can be serialized, but the full `model.generate` cannot. We are working on the serialization of `model.generate` as we speak, in the context of PyTorch dynamo.\r\n\r\nCan I be of further assistance? :)",
"Thank you, I'm looking forward to it",
"I... | 1,676 | 1,706 | 1,676 | NONE | null | ### Feature request
Does T5 `model.generate` support "Export to TorchScript"
https://huggingface.co/docs/transformers/main/en/torchscript
I want to make a faster deployment and transform `model.generate` like this:
https://discuss.huggingface.co/t/t5-base-not-torchscriptable/11173
thanks all
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21717/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/21717/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21716 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21716/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21716/comments | https://api.github.com/repos/huggingface/transformers/issues/21716/events | https://github.com/huggingface/transformers/issues/21716 | 1,592,720,701 | I_kwDOCUB6oc5e7v09 | 21,716 | run_mlm.py shows error | {
"login": "dykim3",
"id": 100189969,
"node_id": "U_kgDOBfjHEQ",
"avatar_url": "https://avatars.githubusercontent.com/u/100189969?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dykim3",
"html_url": "https://github.com/dykim3",
"followers_url": "https://api.github.com/users/dykim3/follower... | [] | closed | false | null | [] | [
"Could you please provide the result of `transformers-cli env` as instructed in the template?",
"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,676 | 1,680 | 1,680 | NONE | null | ### System Info
Hi.
I'm training bert model with mlm with following command. It seems that the values in attention_mask, token_type_id gets invalid
```
TOKENIZERS_PARALLELISM=false \
NCCL_P2P_DISABLE=1 python3 run_mlm.py \
--model_name_or_path "kykim/bert-kor-base" \
--tokenizer_name "kykim/bert... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21716/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/21716/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21715 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21715/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21715/comments | https://api.github.com/repos/huggingface/transformers/issues/21715/events | https://github.com/huggingface/transformers/issues/21715 | 1,592,719,041 | I_kwDOCUB6oc5e7vbB | 21,715 | Make `CLIPImageProcessor` compatible with `subfolder` kwarg | {
"login": "Abhinay1997",
"id": 24771261,
"node_id": "MDQ6VXNlcjI0NzcxMjYx",
"avatar_url": "https://avatars.githubusercontent.com/u/24771261?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Abhinay1997",
"html_url": "https://github.com/Abhinay1997",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Thanks for flagging! We'll be happy to have a look at a PR!",
"@sgugger, I created the PR. #21725 ",
"Closing the issue as PR is merged and issue is resolved. :)"
] | 1,676 | 1,677 | 1,677 | CONTRIBUTOR | null | ### Feature request
The CLIPImageProcessor can't be initialized currently using:
```
CLIPImageProcessor.from_pretrained('kakaobrain/karlo-v1-alpha-image-variations', subfolder = 'feature_extractor', return_unused_kwargs=True)
```
as the `ImageProcessorMixin.get_image_processor_dict` method doesn't take in a `s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21715/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/21715/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21714 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21714/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21714/comments | https://api.github.com/repos/huggingface/transformers/issues/21714/events | https://github.com/huggingface/transformers/issues/21714 | 1,592,669,353 | I_kwDOCUB6oc5e7jSp | 21,714 | Batch inference of GIT model | {
"login": "JosephChenHub",
"id": 22444830,
"node_id": "MDQ6VXNlcjIyNDQ0ODMw",
"avatar_url": "https://avatars.githubusercontent.com/u/22444830?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JosephChenHub",
"html_url": "https://github.com/JosephChenHub",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"cc @amyeroberts and @gante ",
"Hi @JosephChenHub 👋 We have been working on similar problems since the release of v4.26. Can you please confirm that the problem still exists in `main`?\r\n\r\n(`pip install --upgrade git+https://github.com/huggingface/transformers.git`)",
"> pip install --upgrade git+https://gi... | 1,676 | 1,677 | 1,677 | NONE | null | ### System Info
- `transformers` version: 4.26.1
- Platform: Linux-5.4.0-125-generic-x86_64-with-glibc2.27
- Python version: 3.8.0
- Huggingface_hub version: 0.12.1
- PyTorch version (GPU?): 1.9.1+cu111 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not insta... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21714/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/21714/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21713 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21713/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21713/comments | https://api.github.com/repos/huggingface/transformers/issues/21713/events | https://github.com/huggingface/transformers/issues/21713 | 1,592,609,835 | I_kwDOCUB6oc5e7Uwr | 21,713 | Unable to use BLIP2 with caption_coco_opt6.7b at HEAD via salesforce-lavis (also HEAD) | {
"login": "AstraliteHeart",
"id": 81396681,
"node_id": "MDQ6VXNlcjgxMzk2Njgx",
"avatar_url": "https://avatars.githubusercontent.com/u/81396681?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AstraliteHeart",
"html_url": "https://github.com/AstraliteHeart",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"cc @younesbelkada ",
"Hey @AstraliteHeart 👋 This issue seems to be a duplicate of https://github.com/huggingface/transformers/issues/21599, which is fixed.\r\n\r\nCan I ask you to try to run your script using `transformers` `main` branch, i.e. after installing with `pip install --upgrade git+https://github.com/... | 1,676 | 1,690 | 1,680 | NONE | null | ### System Info
working:
- `transformers` version: 4.26.1
- Platform: Linux-6.0.12-x86_64-with-glibc2.10
- Python version: 3.8.16
- Huggingface_hub version: 0.12.0
- PyTorch version (GPU?): 1.13.1+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21713/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/21713/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21712 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21712/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21712/comments | https://api.github.com/repos/huggingface/transformers/issues/21712/events | https://github.com/huggingface/transformers/issues/21712 | 1,592,585,800 | I_kwDOCUB6oc5e7O5I | 21,712 | Transformers version 4.27.0.dev0 | {
"login": "bg-uni",
"id": 53542735,
"node_id": "MDQ6VXNlcjUzNTQyNzM1",
"avatar_url": "https://avatars.githubusercontent.com/u/53542735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bg-uni",
"html_url": "https://github.com/bg-uni",
"followers_url": "https://api.github.com/users/bg-uni/fo... | [] | closed | false | null | [] | [
"This problem has been resolved.",
"Can you share how to solve this issue? \r\nThank you in advance. ",
"Hi @kksj216,\r\nUse the following steps\r\ngit clone https://github.com/huggingface/transformers.git\r\ncd transformers\r\npip install -e .",
"@tanmey007 Thanks for your help! \r\nBut that steps did not wo... | 1,676 | 1,679 | 1,676 | NONE | null | ### System Info
Hello,
I have a question.
I would like to upgrade Transformers to 4.27 because I get the following error when I run run_mlm.py.
The latest is 4.26.1 in pip install.
--------------------------------------------------------------------------
python run_mlm.py --model_type bert
Traceback (most ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21712/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/21712/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21711 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21711/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21711/comments | https://api.github.com/repos/huggingface/transformers/issues/21711/events | https://github.com/huggingface/transformers/issues/21711 | 1,592,566,548 | I_kwDOCUB6oc5e7KMU | 21,711 | Using run_mlm.py to pretrain a roberta base model from scratch outputs do not include <bos> or <eos> tokens | {
"login": "Rallio67",
"id": 121454712,
"node_id": "U_kgDOBz1AeA",
"avatar_url": "https://avatars.githubusercontent.com/u/121454712?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rallio67",
"html_url": "https://github.com/Rallio67",
"followers_url": "https://api.github.com/users/Rallio67/... | [] | closed | false | null | [] | [
"The model config.json have a notable difference between the roberta-base and my new pretrained roberta model.\r\n\r\nmax_position_embeddings in roberta-base is equal to 514, while in my new pretrained model it is set to 512.\r\n\r\nI also notice in the script there is a default setting to \"mask special tokens\"\r... | 1,676 | 1,690 | 1,690 | NONE | null | ### System Info
Copy-and-paste the text below in your GitHub issue and FILL OUT the two last points.
- `transformers` version: 4.27.0.dev0
- Platform: Linux-5.15.0-60-generic-x86_64-with-glibc2.31
- Python version: 3.9.16
- Huggingface_hub version: 0.12.1
- PyTorch version (GPU?): 1.13.1+cu117 (True)
- Tenso... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21711/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/21711/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21710 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21710/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21710/comments | https://api.github.com/repos/huggingface/transformers/issues/21710/events | https://github.com/huggingface/transformers/pull/21710 | 1,592,422,838 | PR_kwDOCUB6oc5KX-ly | 21,710 | Fix TVLT (torch device issue) | {
"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,676 | 1,676 | 1,676 | COLLABORATOR | null | # What does this PR do?
Just a few fixes for TVLT (torch device issue). | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21710/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/21710/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21710",
"html_url": "https://github.com/huggingface/transformers/pull/21710",
"diff_url": "https://github.com/huggingface/transformers/pull/21710.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21710.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21709 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21709/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21709/comments | https://api.github.com/repos/huggingface/transformers/issues/21709/events | https://github.com/huggingface/transformers/pull/21709 | 1,592,394,220 | PR_kwDOCUB6oc5KX4fe | 21,709 | Fix `get_class_in_module` | {
"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,676 | 1,676 | 1,676 | COLLABORATOR | null | # What does this PR do?
The PR #21646 added a line `subprocess.run(["python", "-c", cmd])`. But in our daily CI (docker env.), `python` binary doesn't exist, only `python3` binary exists, and this causes `FileNotFoundError: [Errno 2] No such file or directory: 'python'`.
This PRs adds `try ... except...` to avoid... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21709/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/21709/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21709",
"html_url": "https://github.com/huggingface/transformers/pull/21709",
"diff_url": "https://github.com/huggingface/transformers/pull/21709.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21709.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21708 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21708/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21708/comments | https://api.github.com/repos/huggingface/transformers/issues/21708/events | https://github.com/huggingface/transformers/pull/21708 | 1,592,368,399 | PR_kwDOCUB6oc5KXy7p | 21,708 | Auto api Value Error addition to Troubleshoot | {
"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,676 | 1,677 | 1,677 | CONTRIBUTOR | null | Given the existence of "exotic" models that don't have a mapping to auto classes, this PR adds a small section at the end of the Troubleshooting guide about the error raised when trying to load a model with Auto API when there's no mapping. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21708/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/21708/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21708",
"html_url": "https://github.com/huggingface/transformers/pull/21708",
"diff_url": "https://github.com/huggingface/transformers/pull/21708.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21708.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21707 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21707/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21707/comments | https://api.github.com/repos/huggingface/transformers/issues/21707/events | https://github.com/huggingface/transformers/pull/21707 | 1,592,252,206 | PR_kwDOCUB6oc5KXaaA | 21,707 | [`Blip2`] Fix Blip-2 multi gpu | {
"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 for the suggestions! Adapted the code accordingly\r\nHowever, there seems to be something off with the current `accelerate` integration w `blip2` - here since we are calling `generate` of a module of `Blip2ForConditionalGenera... | 1,676 | 1,697 | 1,677 | CONTRIBUTOR | null | # What does this PR do?
This PR should fix all the issues related to BLIP-2 and multi-gpu
Before this PR, BLIP2 had incorrect `set_input_embeddings` and `get_input_embeddings` functions, leading to unexpected behaviours when using it with `accelerate` since it `accelerate` gets confused when creating a device map... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21707/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/21707/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21707",
"html_url": "https://github.com/huggingface/transformers/pull/21707",
"diff_url": "https://github.com/huggingface/transformers/pull/21707.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21707.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21706 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21706/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21706/comments | https://api.github.com/repos/huggingface/transformers/issues/21706/events | https://github.com/huggingface/transformers/issues/21706 | 1,592,159,706 | I_kwDOCUB6oc5e5m3a | 21,706 | Bloom's hidden states are None | {
"login": "minhngh",
"id": 48380528,
"node_id": "MDQ6VXNlcjQ4MzgwNTI4",
"avatar_url": "https://avatars.githubusercontent.com/u/48380528?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/minhngh",
"html_url": "https://github.com/minhngh",
"followers_url": "https://api.github.com/users/minhng... | [] | closed | false | null | [] | [
"I found I had not checked the code carefully. This problem could be solved by passing the argument`output_hidden_states = True` to the `forward`"
] | 1,676 | 1,676 | 1,676 | NONE | null | Hi everyone,
I used BloomForCausalLM which was pretrained and released by BigScience. I then forwarded input tensors to the model, and I tried to get the corresponding hidden states. However, the error was raised, which said that hidden states are None.
Has anyone encountered the same problem. Thank you very much.
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21706/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/21706/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21705 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21705/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21705/comments | https://api.github.com/repos/huggingface/transformers/issues/21705/events | https://github.com/huggingface/transformers/issues/21705 | 1,592,081,683 | I_kwDOCUB6oc5e5T0T | 21,705 | a bug in transformers.GenerationMixin | {
"login": "lixinliu1995",
"id": 51687594,
"node_id": "MDQ6VXNlcjUxNjg3NTk0",
"avatar_url": "https://avatars.githubusercontent.com/u/51687594?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lixinliu1995",
"html_url": "https://github.com/lixinliu1995",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Hey @lixinliu1995 👋 I'm not sure I follow, `unfinished_sequences` holds a boolean for each sentence and is updated each iteration on L2247 (if a sentence contains any of the eos tokens -> set to false)\r\n\r\nHow would you expect it to behave?",
"yeah, you are right. It is my mistake.",
"This issue has been ... | 1,676 | 1,679 | 1,679 | NONE | null | ### System Info
transformers 4.27.0. In the greedy_search method of the GenerationMixin class, the unfinished_sequences variable at line 2177 should be placed inside the body of the 'while' loop so that it gets longer and longer with the decoding, Otherwise it is always a value rather than a sequence.
@gante @gante
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21705/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/21705/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21704 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21704/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21704/comments | https://api.github.com/repos/huggingface/transformers/issues/21704/events | https://github.com/huggingface/transformers/pull/21704 | 1,592,044,875 | PR_kwDOCUB6oc5KWuGK | 21,704 | Adding task guides to resources | {
"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,676 | 1,677 | 1,676 | CONTRIBUTOR | null | Previously, we have added links to compatible models to task guides. This PR enables navigation in the opposite direction and adds links to relevant task guides (based on model mapping) to the list of resources in model docs. Those who land on the model docs should now be able to find relevant task guides quicker. The ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21704/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/21704/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21704",
"html_url": "https://github.com/huggingface/transformers/pull/21704",
"diff_url": "https://github.com/huggingface/transformers/pull/21704.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21704.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21703 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21703/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21703/comments | https://api.github.com/repos/huggingface/transformers/issues/21703/events | https://github.com/huggingface/transformers/pull/21703 | 1,591,940,567 | PR_kwDOCUB6oc5KWX4R | 21,703 | Fix typo in `PROCESSOR_MAPPING_NAMES` and add tests | {
"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._",
"Failing test is irrelevant"
] | 1,676 | 1,676 | 1,676 | COLLABORATOR | null | # What does this PR do?
Fix typo in `PROCESSOR_MAPPING_NAMES` and add a new repo check: we check all names in auto (name) mapping are defined in the library.
The effect of this PR: (if `GITProcessor` is not fixed)
```bash
Checking all names in auto name mappings are defined.
Traceback (most recent call last)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21703/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/21703/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21703",
"html_url": "https://github.com/huggingface/transformers/pull/21703",
"diff_url": "https://github.com/huggingface/transformers/pull/21703.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21703.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21702 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21702/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21702/comments | https://api.github.com/repos/huggingface/transformers/issues/21702/events | https://github.com/huggingface/transformers/pull/21702 | 1,591,919,691 | PR_kwDOCUB6oc5KWTYm | 21,702 | [SpeechT5HifiGan] Handle batched inputs | {
"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 | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"(failing test is unrelated)"
] | 1,676 | 1,687 | 1,677 | CONTRIBUTOR | null | # What does this PR do?
Modifies the SpeechT5 HiFiGAN model to accept batched inputs. This PR is **not** a breaking change:
* If the spectrogram inputs are un-batched, the waveform outputs are un-batched (as before)
* If the spectrogram inputs are batched, the waveform outputs are batched (new)
## Before subm... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21702/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/21702/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21702",
"html_url": "https://github.com/huggingface/transformers/pull/21702",
"diff_url": "https://github.com/huggingface/transformers/pull/21702.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21702.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21701 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21701/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21701/comments | https://api.github.com/repos/huggingface/transformers/issues/21701/events | https://github.com/huggingface/transformers/pull/21701 | 1,591,859,127 | PR_kwDOCUB6oc5KWG7o | 21,701 | remove position ids and token type ids from forward args in docstring | {
"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._",
"Applies to all the heads, that's why I removed it from the `GPT_NEOX_INPUTS_DOCSTRING` ! Or do you mean other models? "
] | 1,676 | 1,676 | 1,676 | COLLABORATOR | null | # What does this PR do?
Fixes #21567 which indicated that the docstring for the GPTNeoX model dose not match with the forwards' arguments.
Removed `position_ids` and `token_type_ids` | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21701/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/21701/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21701",
"html_url": "https://github.com/huggingface/transformers/pull/21701",
"diff_url": "https://github.com/huggingface/transformers/pull/21701.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21701.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21700 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21700/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21700/comments | https://api.github.com/repos/huggingface/transformers/issues/21700/events | https://github.com/huggingface/transformers/pull/21700 | 1,591,487,048 | PR_kwDOCUB6oc5KU2iw | 21,700 | Respect documentation on passive log level | {
"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._",
"while at it could you please remind me what does `passive` actually imply?\r\n\r\n> a 'passive' level which doesn't set anything and lets the application set the level\r\n\r\nhow does the application set the level? which application?... | 1,676 | 1,677 | 1,677 | COLLABORATOR | null | # What does this PR do?
The documentation states that setting a `log_level` to `"passive"` in the training arguments won't touch the log level, but this is not the case. Currently, setting `log_level` to `"passive"` is the same as setting it to `"info"`.
Likewise, setting `log_level_replica` to `"passive"` is the s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21700/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/21700/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21700",
"html_url": "https://github.com/huggingface/transformers/pull/21700",
"diff_url": "https://github.com/huggingface/transformers/pull/21700.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21700.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21699 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21699/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21699/comments | https://api.github.com/repos/huggingface/transformers/issues/21699/events | https://github.com/huggingface/transformers/pull/21699 | 1,591,458,651 | PR_kwDOCUB6oc5KUwmQ | 21,699 | Graphormer fix | {
"login": "clefourrier",
"id": 22726840,
"node_id": "MDQ6VXNlcjIyNzI2ODQw",
"avatar_url": "https://avatars.githubusercontent.com/u/22726840?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/clefourrier",
"html_url": "https://github.com/clefourrier",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,676 | 1,677 | 1,677 | MEMBER | null | Removes failing call to `requires_backend` in Graphormer model since the model uses `is_cython_available` instead.
@ydshieh
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21699/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/21699/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21699",
"html_url": "https://github.com/huggingface/transformers/pull/21699",
"diff_url": "https://github.com/huggingface/transformers/pull/21699.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21699.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21698 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21698/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21698/comments | https://api.github.com/repos/huggingface/transformers/issues/21698/events | https://github.com/huggingface/transformers/pull/21698 | 1,591,455,454 | PR_kwDOCUB6oc5KUv5x | 21,698 | Pass along revision in dynamic code fetch | {
"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,676 | 1,676 | 1,676 | COLLABORATOR | null | # What does this PR do?
The `revision` argument wasn't passed along to `cached_file` when fetching a dynamic config/modeling file, this PR fixes that.
Partially fixes #21662 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21698/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/21698/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21698",
"html_url": "https://github.com/huggingface/transformers/pull/21698",
"diff_url": "https://github.com/huggingface/transformers/pull/21698.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21698.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21697 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21697/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21697/comments | https://api.github.com/repos/huggingface/transformers/issues/21697/events | https://github.com/huggingface/transformers/pull/21697 | 1,591,455,077 | PR_kwDOCUB6oc5KUv0c | 21,697 | Fix-rag-finetune-project-requirement | {
"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,676 | 1,676 | 1,676 | COLLABORATOR | null | # What does this PR do?
Should fix #21692, the requirements for pytorch lightnings need to be pinned to `<=1.60` | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21697/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/21697/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21697",
"html_url": "https://github.com/huggingface/transformers/pull/21697",
"diff_url": "https://github.com/huggingface/transformers/pull/21697.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21697.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21696 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21696/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21696/comments | https://api.github.com/repos/huggingface/transformers/issues/21696/events | https://github.com/huggingface/transformers/pull/21696 | 1,590,920,219 | PR_kwDOCUB6oc5KS8py | 21,696 | added file | {
"login": "lenni991",
"id": 82563121,
"node_id": "MDQ6VXNlcjgyNTYzMTIx",
"avatar_url": "https://avatars.githubusercontent.com/u/82563121?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lenni991",
"html_url": "https://github.com/lenni991",
"followers_url": "https://api.github.com/users/len... | [] | closed | false | null | [] | [
"commit pr",
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,676 | 1,676 | 1,676 | 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/21696/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/21696/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21696",
"html_url": "https://github.com/huggingface/transformers/pull/21696",
"diff_url": "https://github.com/huggingface/transformers/pull/21696.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21696.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21695 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21695/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21695/comments | https://api.github.com/repos/huggingface/transformers/issues/21695/events | https://github.com/huggingface/transformers/pull/21695 | 1,590,834,531 | PR_kwDOCUB6oc5KSsHv | 21,695 | fix LayoutLMv3TokenizerFast subword label after 'Ġ' token | {
"login": "thibaultdouzon",
"id": 23520944,
"node_id": "MDQ6VXNlcjIzNTIwOTQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/23520944?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thibaultdouzon",
"html_url": "https://github.com/thibaultdouzon",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_21695). All of your documentation changes will be reflected on that endpoint.",
"Also cc @amyeroberts ",
"Hi @ArthurZucker, thanks for your investigations.\r\n\r\nThis PR fixes the problem for LayoutLMv3 but I expect the ... | 1,676 | 1,680 | 1,680 | CONTRIBUTOR | null | LayoutLMv3TokenizerFast produces empty 'Ġ' token with `offset_mapping = (0, 0)`.
Next token is wrongly assumed to also be beginning of word and isn't correctly assigned `pad_token_label`.
This may lead to misalignment of words and token representations.
Other BPE tokenizers might be affected
Add check for previo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21695/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/21695/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21695",
"html_url": "https://github.com/huggingface/transformers/pull/21695",
"diff_url": "https://github.com/huggingface/transformers/pull/21695.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21695.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21694 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21694/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21694/comments | https://api.github.com/repos/huggingface/transformers/issues/21694/events | https://github.com/huggingface/transformers/pull/21694 | 1,590,829,544 | PR_kwDOCUB6oc5KSrGw | 21,694 | Apply ruff flake8-comprehensions | {
"login": "Skylion007",
"id": 2053727,
"node_id": "MDQ6VXNlcjIwNTM3Mjc=",
"avatar_url": "https://avatars.githubusercontent.com/u/2053727?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Skylion007",
"html_url": "https://github.com/Skylion007",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Seems like the two failing tests are flake? One of the failing tests seems unable to import torch for some reason.",
"Yes the two test failures are irrelevant (this is a test we normally launch on its own in SageMaker, not with the... | 1,676 | 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/21694/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/21694/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21694",
"html_url": "https://github.com/huggingface/transformers/pull/21694",
"diff_url": "https://github.com/huggingface/transformers/pull/21694.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21694.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21693 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21693/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21693/comments | https://api.github.com/repos/huggingface/transformers/issues/21693/events | https://github.com/huggingface/transformers/issues/21693 | 1,590,828,698 | I_kwDOCUB6oc5e0h6a | 21,693 | Enable flake8-comprehension ruff checks | {
"login": "Skylion007",
"id": 2053727,
"node_id": "MDQ6VXNlcjIwNTM3Mjc=",
"avatar_url": "https://avatars.githubusercontent.com/u/2053727?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Skylion007",
"html_url": "https://github.com/Skylion007",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [] | 1,676 | 1,677 | 1,677 | CONTRIBUTOR | null | ### Feature request
* Ruff was recently added as a linter to huggingface transformers. It provides support out of the box for flake8-comprehension checks which improve list/set/dict comprehensions in Python and make them more readable and faster. Additionally, ruff has autofixits for all these rules so applying them a... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21693/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/21693/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21692 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21692/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21692/comments | https://api.github.com/repos/huggingface/transformers/issues/21692/events | https://github.com/huggingface/transformers/issues/21692 | 1,590,821,568 | I_kwDOCUB6oc5e0gLA | 21,692 | RAG: Which version of pytorch-forecasting to use for fintetune-rag.sh? | {
"login": "Mrs-Hudson",
"id": 7013661,
"node_id": "MDQ6VXNlcjcwMTM2NjE=",
"avatar_url": "https://avatars.githubusercontent.com/u/7013661?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Mrs-Hudson",
"html_url": "https://github.com/Mrs-Hudson",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"Looks like 1.6.0 worked",
"The requirement file states `pytorch-lightning >= 1.5.10`. Were you using an older version or a newer version? \r\n(shoud I pin version 1.6.0 as the max version?)",
"I can confirm that 1.9.1 didn't work, neither did 1.6.4. haven't tried\n1.6.1-1.6.3\n\nOn Mon, Feb 20, 2023, 01:17 Art... | 1,676 | 1,676 | 1,676 | NONE | null | ### System Info
- `transformers` version: 4.24.0
- Platform: Linux-3.10.0-1160.83.1.el7.x86_64-x86_64-with-glibc2.17
- Python version: 3.8.16
- Huggingface_hub version: 0.10.1
- PyTorch version (GPU?): 1.11.0 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21692/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/21692/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/21691 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21691/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21691/comments | https://api.github.com/repos/huggingface/transformers/issues/21691/events | https://github.com/huggingface/transformers/pull/21691 | 1,590,801,621 | PR_kwDOCUB6oc5KSlzS | 21,691 | Arijitx/wav2vec2 alignment | {
"login": "Marco071086",
"id": 88912522,
"node_id": "MDQ6VXNlcjg4OTEyNTIy",
"avatar_url": "https://avatars.githubusercontent.com/u/88912522?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Marco071086",
"html_url": "https://github.com/Marco071086",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"cc @sanchit-gandhi ",
"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/blo... | 1,676 | 1,680 | 1,680 | NONE | null |
<img width="239" alt="result_igf" src="https://user-images.githubusercontent.com/88912522/219967634-5a2a0d23-c878-47e4-9278-058b1d6d44f1.png">
[WAUKEAFM2CA132599#](revert-1-Marco071086-patch-1) What does this PR do?
<!--
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/21691/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/21691/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/21691",
"html_url": "https://github.com/huggingface/transformers/pull/21691",
"diff_url": "https://github.com/huggingface/transformers/pull/21691.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/21691.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/21690 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/21690/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/21690/comments | https://api.github.com/repos/huggingface/transformers/issues/21690/events | https://github.com/huggingface/transformers/issues/21690 | 1,590,694,672 | I_kwDOCUB6oc5e0BMQ | 21,690 | save_vocabulary() got an unexpected keyword argument 'filename_prefix' | {
"login": "szarki9",
"id": 55212433,
"node_id": "MDQ6VXNlcjU1MjEyNDMz",
"avatar_url": "https://avatars.githubusercontent.com/u/55212433?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/szarki9",
"html_url": "https://github.com/szarki9",
"followers_url": "https://api.github.com/users/szarki... | [] | closed | false | null | [] | [
"The tokenizer you are passing to the `Trainer` does not look like it comes from the Transformers library and the reason you are getting the error is that its `save_pretrained` method doesn't look like it works. Just remove the line `tokenizer=tokenizer` in the creation of the `Seq2SeqTrainer` and you should be abl... | 1,676 | 1,680 | 1,680 | NONE | null | ### System Info
hi,
Im trying to fine-tune T5ForConditionalGeneration model using trainer.train(). Im getting the following error:
```
Saving model checkpoint to models/simple-finetuned-T5CHEM-to-SSRT/checkpoint-500
Configuration saved in models/simple-finetuned-T5CHEM-to-SSRT/checkpoint-500/config.json
Model... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/21690/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/21690/timeline | completed | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.