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/27849 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27849/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27849/comments | https://api.github.com/repos/huggingface/transformers/issues/27849/events | https://github.com/huggingface/transformers/pull/27849 | 2,025,630,654 | PR_kwDOCUB6oc5hJc2J | 27,849 | pin ruff==0.1.5 | {
"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 | [] | [
"feel free to merge ",
"OK, the failing tests are either flaky or unrelated. Considering the priority, merge this PR now."
] | 1,701 | 1,701 | 1,701 | COLLABORATOR | null | # What does this PR do?
pin `ruff==0.1.5` to avoid frequent break on CI. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27849/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/27849/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27849",
"html_url": "https://github.com/huggingface/transformers/pull/27849",
"diff_url": "https://github.com/huggingface/transformers/pull/27849.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27849.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27848 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27848/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27848/comments | https://api.github.com/repos/huggingface/transformers/issues/27848/events | https://github.com/huggingface/transformers/pull/27848 | 2,025,490,256 | PR_kwDOCUB6oc5hI9Wn | 27,848 | update version of warning notification for `get_default_device` to v4.38 | {
"login": "statelesshz",
"id": 28150734,
"node_id": "MDQ6VXNlcjI4MTUwNzM0",
"avatar_url": "https://avatars.githubusercontent.com/u/28150734?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/statelesshz",
"html_url": "https://github.com/statelesshz",
"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_27848). All of your documentation changes will be reflected on that endpoint.",
"Ah the CI is collecting ruff 0.1.7 , could you try rebasing on main",
"@ArthurZucker we got green light :-)",
"Thanks!"
] | 1,701 | 1,707 | 1,701 | CONTRIBUTOR | null | # What does this PR do?
links to https://github.com/huggingface/transformers/pull/27256?notification_referrer_id=NT_kwDOAa2LzrM4Mjg2NjEyNzQxOjI4MTUwNzM0#issuecomment-1840172527
The version of accelerate is verified in the `__init__` method:
https://github.com/huggingface/transformers/blob/235e5d4991e8a0984aa78db... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27848/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/27848/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27848",
"html_url": "https://github.com/huggingface/transformers/pull/27848",
"diff_url": "https://github.com/huggingface/transformers/pull/27848.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27848.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27847 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27847/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27847/comments | https://api.github.com/repos/huggingface/transformers/issues/27847/events | https://github.com/huggingface/transformers/pull/27847 | 2,025,385,142 | PR_kwDOCUB6oc5hImU9 | 27,847 | Fix bug of _prepare_4d_attention_mask | {
"login": "jiqing-feng",
"id": 107918818,
"node_id": "U_kgDOBm614g",
"avatar_url": "https://avatars.githubusercontent.com/u/107918818?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jiqing-feng",
"html_url": "https://github.com/jiqing-feng",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hi @ArthurZucker @younesbelkada . All CIs are green, would you please help me review and merge it? Thx!"
] | 1,701 | 1,704 | 1,701 | CONTRIBUTOR | null | Hi @ArthurZucker @younesbelkada . Since `_prepare_4d_attention_mask` is no longer a member function of `AttentionMaskConverter`, I directly import `_prepare_4d_attention_mask` from `modeling_attn_mask_utils`. Would you please help to review it? Thx!
BTW, the failed CIs are not related to my changes
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27847/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/27847/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27847",
"html_url": "https://github.com/huggingface/transformers/pull/27847",
"diff_url": "https://github.com/huggingface/transformers/pull/27847.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27847.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27846 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27846/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27846/comments | https://api.github.com/repos/huggingface/transformers/issues/27846/events | https://github.com/huggingface/transformers/issues/27846 | 2,025,271,128 | I_kwDOCUB6oc54ty9Y | 27,846 | `ACT2FN` usage | {
"login": "ariG23498",
"id": 36856589,
"node_id": "MDQ6VXNlcjM2ODU2NTg5",
"avatar_url": "https://avatars.githubusercontent.com/u/36856589?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ariG23498",
"html_url": "https://github.com/ariG23498",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hey! This seems to be related to backwards compatibility but we favor using the ACT2FN directly ",
"Thanks for the prompt response. You can close this issue if you would like."
] | 1,701 | 1,701 | 1,701 | CONTRIBUTOR | null | In the code below we have a function to retrieve the correct activation function from the string.
https://github.com/huggingface/transformers/blob/235e5d4991e8a0984aa78db91087b49622c7740e/src/transformers/activations.py#L224-L228
I have noticed some models to use this function and others to directly import `ACT2FN`... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27846/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/27846/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27845 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27845/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27845/comments | https://api.github.com/repos/huggingface/transformers/issues/27845/events | https://github.com/huggingface/transformers/issues/27845 | 2,025,264,667 | I_kwDOCUB6oc54txYb | 27,845 | Mistral Slow Tokenizer error | {
"login": "ari9dam",
"id": 14134882,
"node_id": "MDQ6VXNlcjE0MTM0ODgy",
"avatar_url": "https://avatars.githubusercontent.com/u/14134882?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ari9dam",
"html_url": "https://github.com/ari9dam",
"followers_url": "https://api.github.com/users/ari9da... | [] | closed | false | null | [] | [
"Hey, sorry but I just can't reproduce the snippet is missing the end and the full traceback ",
"TypeError Traceback (most recent call last)\r\nCell In[13], line 2\r\n 1 import transformers\r\n----> 2 tokenizer = transformers.AutoTokenizer.from_pretrained(\"/mnt/mistral-7b-v0.... | 1,701 | 1,705 | 1,705 | NONE | null | ### System Info
transformers=4.35.0
### Who can help?
@Arthu
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)
### Re... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27845/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/27845/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27844 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27844/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27844/comments | https://api.github.com/repos/huggingface/transformers/issues/27844/events | https://github.com/huggingface/transformers/pull/27844 | 2,025,152,558 | PR_kwDOCUB6oc5hH0Z6 | 27,844 | move code to Trainer.evaluate to enable use of that function with multiple datasets | {
"login": "peter-sk",
"id": 6168908,
"node_id": "MDQ6VXNlcjYxNjg5MDg=",
"avatar_url": "https://avatars.githubusercontent.com/u/6168908?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/peter-sk",
"html_url": "https://github.com/peter-sk",
"followers_url": "https://api.github.com/users/peter... | [] | closed | false | null | [] | [
"@younesbelkada\r\n@lvwerra \r\nLet me know if you would like a test for this.",
"@lvwerra\r\n@younesbelkada \r\nI added a test.",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27844). All of your documentation changes will be reflected on that endpoint. The docs are... | 1,701 | 1,703 | 1,703 | CONTRIBUTOR | null | # What does this PR do?
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [X] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#start-contributing-pull-requests),
Pull Req... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27844/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/27844/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27844",
"html_url": "https://github.com/huggingface/transformers/pull/27844",
"diff_url": "https://github.com/huggingface/transformers/pull/27844.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27844.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27843 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27843/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27843/comments | https://api.github.com/repos/huggingface/transformers/issues/27843/events | https://github.com/huggingface/transformers/pull/27843 | 2,025,054,830 | PR_kwDOCUB6oc5hHgFi | 27,843 | [DETA] fix backbone freeze/unfreeze function | {
"login": "SangbumChoi",
"id": 34004152,
"node_id": "MDQ6VXNlcjM0MDA0MTUy",
"avatar_url": "https://avatars.githubusercontent.com/u/34004152?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SangbumChoi",
"html_url": "https://github.com/SangbumChoi",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"@ArthurZucker Hi Arthur, can you review this test case modification for DETA? https://github.com/huggingface/transformers/pull/27843/commits/a583fa70fe6010fe7450aa049cc1a65950cb59c7\r\n~~Because I do not fully understand CircleCI when this testing function will be called in transformers~~\r\nNow I think I understa... | 1,701 | 1,702 | 1,702 | 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/27843/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/27843/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27843",
"html_url": "https://github.com/huggingface/transformers/pull/27843",
"diff_url": "https://github.com/huggingface/transformers/pull/27843.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27843.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27842 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27842/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27842/comments | https://api.github.com/repos/huggingface/transformers/issues/27842/events | https://github.com/huggingface/transformers/pull/27842 | 2,024,842,273 | PR_kwDOCUB6oc5hG4J2 | 27,842 | Fixing visualization code for object detection to support both types of bounding box. | {
"login": "Anindyadeep",
"id": 58508471,
"node_id": "MDQ6VXNlcjU4NTA4NDcx",
"avatar_url": "https://avatars.githubusercontent.com/u/58508471?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Anindyadeep",
"html_url": "https://github.com/Anindyadeep",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Thank you for your contribution! Please make sure the CI checks are green: run `make style` to fix the issues. ",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27842). All of your documentation changes will be reflected on that endpoint. The docs are available until 3... | 1,701 | 1,703 | 1,703 | CONTRIBUTOR | null | # What does this PR do?
In the current documentation of using [transformers for object detection](https://huggingface.co/docs/transformers/tasks/object_detection). There belongs a section where we visualize the bounding boxes. But when the same code is used in a different dataset with un-normalized bounding box, it ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27842/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/27842/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27842",
"html_url": "https://github.com/huggingface/transformers/pull/27842",
"diff_url": "https://github.com/huggingface/transformers/pull/27842.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27842.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27841 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27841/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27841/comments | https://api.github.com/repos/huggingface/transformers/issues/27841/events | https://github.com/huggingface/transformers/pull/27841 | 2,024,826,996 | PR_kwDOCUB6oc5hG0y_ | 27,841 | Move CLIP _no_split_modules to CLIPPreTrainedModel | {
"login": "lz1oceani",
"id": 8915833,
"node_id": "MDQ6VXNlcjg5MTU4MzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/8915833?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lz1oceani",
"html_url": "https://github.com/lz1oceani",
"followers_url": "https://api.github.com/users/lz... | [] | closed | false | null | [] | [
"> Hey! Thanks, I think #27851 already partly fixed this for the encoder, let's merge the decoder part if you want!\r\n\r\nHi, I have looked at the current version of master branch and that fix. I guess CLIPModel is not fixed, and the code is shown as following:\r\n```\r\n@add_start_docstrings(CLIP_START_DOCSTRING)... | 1,701 | 1,706 | 1,706 | CONTRIBUTOR | null | # What does this PR do?
Move _no_split_modules to CLIPPreTrainedModel so that device_map=auto can support all CLIP models.
## Before submitting
- [] 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/hug... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27841/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/27841/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27841",
"html_url": "https://github.com/huggingface/transformers/pull/27841",
"diff_url": "https://github.com/huggingface/transformers/pull/27841.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27841.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27840 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27840/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27840/comments | https://api.github.com/repos/huggingface/transformers/issues/27840/events | https://github.com/huggingface/transformers/pull/27840 | 2,024,686,240 | PR_kwDOCUB6oc5hGU4m | 27,840 | Fix tensor-parallelism link | {
"login": "steilgedacht",
"id": 89748204,
"node_id": "MDQ6VXNlcjg5NzQ4MjA0",
"avatar_url": "https://avatars.githubusercontent.com/u/89748204?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/steilgedacht",
"html_url": "https://github.com/steilgedacht",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Yes, I also changed now the second link, however I commited and pushed to fast and had another typo in it which I corrected with a second commit, because I didn't found a option to delete the first commit. I hope that's okay - I am not that experienced yet with pull request.",
"No problem, and thanks for updatin... | 1,701 | 1,705 | 1,705 | 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/27840/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/27840/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27840",
"html_url": "https://github.com/huggingface/transformers/pull/27840",
"diff_url": "https://github.com/huggingface/transformers/pull/27840.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27840.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27839 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27839/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27839/comments | https://api.github.com/repos/huggingface/transformers/issues/27839/events | https://github.com/huggingface/transformers/pull/27839 | 2,024,635,666 | PR_kwDOCUB6oc5hGJh0 | 27,839 | [PatchTST] Some improvements | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,701 | 1,707 | 1,707 | CONTRIBUTOR | null | # What does this PR do?
When playing around with PatchTST, I've made some slight improvements:
- rename `target_values` to `labels` for the classification model
- rename bs->batch_size everywhere
- remove `num_targets` from the config and use `num_labels` instead | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27839/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/27839/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27839",
"html_url": "https://github.com/huggingface/transformers/pull/27839",
"diff_url": "https://github.com/huggingface/transformers/pull/27839.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27839.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27838 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27838/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27838/comments | https://api.github.com/repos/huggingface/transformers/issues/27838/events | https://github.com/huggingface/transformers/issues/27838 | 2,024,612,057 | I_kwDOCUB6oc54rSDZ | 27,838 | split_between_processes not splitting dataset between processes? | {
"login": "conceptofmind",
"id": 25208228,
"node_id": "MDQ6VXNlcjI1MjA4MjI4",
"avatar_url": "https://avatars.githubusercontent.com/u/25208228?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/conceptofmind",
"html_url": "https://github.com/conceptofmind",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Hi @conceptofmind this is related to accelerate, you should open an issue there. cc @muellerz ",
"> Hi @conceptofmind this is related to accelerate, you should open an issue there. cc @muellerz\r\n\r\nHi @SunMarc,\r\n\r\nI was unsure whether this should be listed under accelerate, datasets, or transformers as it... | 1,701 | 1,701 | 1,701 | NONE | null | ### System Info
python 3.10
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)
### Rep... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27838/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/27838/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27837 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27837/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27837/comments | https://api.github.com/repos/huggingface/transformers/issues/27837/events | https://github.com/huggingface/transformers/issues/27837 | 2,024,486,636 | I_kwDOCUB6oc54qzbs | 27,837 | torch CUDA graphs with HF generate | {
"login": "tsengalb99",
"id": 33385672,
"node_id": "MDQ6VXNlcjMzMzg1Njcy",
"avatar_url": "https://avatars.githubusercontent.com/u/33385672?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tsengalb99",
"html_url": "https://github.com/tsengalb99",
"followers_url": "https://api.github.com/use... | [] | open | false | null | [] | [
"This is kind of planned as we want to support static caching to compile the models and have faster inference 😉 cc @gante might have already been asked in other issues as well \r\n",
"@tsengalb99 as Arthur wrote, we are working on it :D Expect to see updates soon",
"Are there any updates on this? And what is t... | 1,701 | 1,707 | null | NONE | null | ### Feature request
In my experiments, I cannot get torch CUDA graphs to work with HF generate. CUDA graphs work fine when calling the forward pass of a model, but either due to static input/output sizes or something else, stream capture fails when calling .generate(). Can support for torch CUDA graphs be added?
### ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27837/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/27837/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27836 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27836/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27836/comments | https://api.github.com/repos/huggingface/transformers/issues/27836/events | https://github.com/huggingface/transformers/pull/27836 | 2,024,411,703 | PR_kwDOCUB6oc5hFYgv | 27,836 | [Whisper] Strip prompt before finding common subsequence | {
"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... | [] | open | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27836). All of your documentation changes will be reflected on that endpoint.",
"Hi, I tested this PR, and I'm noticing an issue when a pipeline instance is re-run without re-instantiating the pipeline -- in my case, I load... | 1,701 | 1,707 | null | CONTRIBUTOR | null | # What does this PR do?
We should strip any Whisper prompt from the token ids before finding the longest common sub-sequence in our chunking algorithm. They should not be used to find the sub-sequence, only the generated token ids. Otherwise, we try to match the generated token ids in chunk N (on the right) with the... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27836/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/27836/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27836",
"html_url": "https://github.com/huggingface/transformers/pull/27836",
"diff_url": "https://github.com/huggingface/transformers/pull/27836.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27836.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27835 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27835/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27835/comments | https://api.github.com/repos/huggingface/transformers/issues/27835/events | https://github.com/huggingface/transformers/issues/27835 | 2,024,270,519 | I_kwDOCUB6oc54p-q3 | 27,835 | do_sample=True has no effect for mistral-instruct | {
"login": "chris-aeviator",
"id": 11522213,
"node_id": "MDQ6VXNlcjExNTIyMjEz",
"avatar_url": "https://avatars.githubusercontent.com/u/11522213?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chris-aeviator",
"html_url": "https://github.com/chris-aeviator",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"Hi @chris-aeviator \r\nThanks for the issue, I was not able to repro with transformers main branch :\r\n\r\n```python\r\nimport torch\r\nfrom transformers import AutoTokenizer, AutoModelForCausalLM\r\n\r\ntokenizer = AutoTokenizer.from_pretrained(\"mistralai/Mistral-7B-Instruct-v0.1\")\r\nmodel = AutoModelForCausa... | 1,701 | 1,702 | 1,702 | NONE | null | ### System Info
- `transformers` version: 4.34.1
- Platform: Linux-6.1.0-13-amd64-x86_64-with-glibc2.36
- Python version: 3.11.2
- Huggingface_hub version: 0.17.3
- Safetensors version: 0.4.1
- Accelerate version: 0.25.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu117 (True)
- Tensorf... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27835/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/27835/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27834 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27834/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27834/comments | https://api.github.com/repos/huggingface/transformers/issues/27834/events | https://github.com/huggingface/transformers/issues/27834 | 2,024,165,303 | I_kwDOCUB6oc54pk-3 | 27,834 | Whisper v-3 pipeline requiring a lot of memory when setting return_timestamps="word" | {
"login": "ciroantoniomami",
"id": 72602848,
"node_id": "MDQ6VXNlcjcyNjAyODQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/72602848?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ciroantoniomami",
"html_url": "https://github.com/ciroantoniomami",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"Hey! That's pretty much expected you are adding extra computation in order to compute the word alignment using cross attention. We don't really seem to have a lot of documentation on this part IMO cc @sanchit-gandhi. Pretty much all the processing that happens in timestamp processing is not part of the doc 😅 ",
... | 1,701 | 1,708 | 1,708 | NONE | null | ### System Info
- `transformers` version: 4.35.2
- Platform: Linux-5.15.109+-x86_64-with-glibc2.35
- Python version: 3.10.12
- Huggingface_hub version: 0.19.4
- Safetensors version: 0.4.1
- Accelerate version: not installed
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu118 (True)
- Tensorflo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27834/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/27834/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27833 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27833/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27833/comments | https://api.github.com/repos/huggingface/transformers/issues/27833/events | https://github.com/huggingface/transformers/pull/27833 | 2,024,117,768 | PR_kwDOCUB6oc5hEYWa | 27,833 | fix(whisper): mutable generation config | {
"login": "badayvedat",
"id": 54285744,
"node_id": "MDQ6VXNlcjU0Mjg1NzQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/54285744?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/badayvedat",
"html_url": "https://github.com/badayvedat",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Thanks for the fix @badayvedat!"
] | 1,701 | 1,704 | 1,701 | CONTRIBUTOR | null | # What does this PR do?
Fixes #27629
## Who can review?
@ArthurZucker
@sanchit-gandhi
@brunjo | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27833/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/27833/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27833",
"html_url": "https://github.com/huggingface/transformers/pull/27833",
"diff_url": "https://github.com/huggingface/transformers/pull/27833.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27833.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27832 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27832/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27832/comments | https://api.github.com/repos/huggingface/transformers/issues/27832/events | https://github.com/huggingface/transformers/pull/27832 | 2,023,992,409 | PR_kwDOCUB6oc5hD8jq | 27,832 | ⚠️ [VitDet] Fix test | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"> this model is only used as internal building block of ViTMatte, and it is explicitly [hidden from the docs](https://github.com/huggingface/transformers/blob/e739a361bc19000f619cf248707914844456835f/utils/check_repo.py#L990), this might be acceptable.\r\n\r\nI agree + this is still (somehow recent + I can't even ... | 1,701 | 1,701 | 1,701 | CONTRIBUTOR | null | # What does this PR do?
After #27729, the `test_forward_signature` test fails for `VitDetBackbone` given that it uses the order of `output_hidden_states` first followed by `output_attentions` in its forward signature. The test is introduced to make sure new backbones always use the same order.
We have a couple of... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27832/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/27832/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27832",
"html_url": "https://github.com/huggingface/transformers/pull/27832",
"diff_url": "https://github.com/huggingface/transformers/pull/27832.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27832.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27831 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27831/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27831/comments | https://api.github.com/repos/huggingface/transformers/issues/27831/events | https://github.com/huggingface/transformers/pull/27831 | 2,023,935,792 | PR_kwDOCUB6oc5hDv-v | 27,831 | Update `VitDetModelTester.get_config` to use `pretrain_image_size` | {
"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 failing test is from #27729. I already ping NielsRogge offline.",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27831). All of your documentation changes will be reflected on that endpoint.",
"I don't even know what 🧼 means, but I will merge."
] | 1,701 | 1,701 | 1,701 | COLLABORATOR | null | # What does this PR do?
`torch.nn.init.trunc_normal_` has strange behavior (at least, on CPU) if the input tensor is large, say `size=(4096, 32)`, and sometimes produces very large item in a tensor, even if `mean=0 and std=1e10`.
This PR updates `VitDetModelTester.get_config` to use `pretrain_image_size=self.imag... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27831/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/27831/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27831",
"html_url": "https://github.com/huggingface/transformers/pull/27831",
"diff_url": "https://github.com/huggingface/transformers/pull/27831.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27831.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27830 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27830/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27830/comments | https://api.github.com/repos/huggingface/transformers/issues/27830/events | https://github.com/huggingface/transformers/issues/27830 | 2,023,702,962 | I_kwDOCUB6oc54n0Gy | 27,830 | [2023-12-04 11:52:08,378] [INFO] [autotuner.py:1110:run_after_tuning] No optimal DeepSpeed configuration found by autotuning. | {
"login": "yongjer",
"id": 54315206,
"node_id": "MDQ6VXNlcjU0MzE1MjA2",
"avatar_url": "https://avatars.githubusercontent.com/u/54315206?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yongjer",
"html_url": "https://github.com/yongjer",
"followers_url": "https://api.github.com/users/yongje... | [] | open | false | {
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api.github.com/users/mu... | [
{
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api... | [
"cc @muellerzr or @pacman100 ",
"Can you provide a bit more logs? Earlier in the trace I see\r\n\r\n> The model is not runnable with DeepSpeed with error",
"sorry, I'm not sure what you mean\r\nhere is already the whole log of output",
"Is there any other trace?\r\n\r\nThis is the chunk I'm talking about. It ... | 1,701 | 1,706 | null | NONE | null | ### System Info
docker image: ```huggingface/transformers-pytorch-deepspeed-latest-gpu:latest```
- `transformers` version: 4.36.0.dev0
- Platform: Linux-6.2.0-37-generic-x86_64-with-glibc2.29
- Python version: 3.8.10
- Huggingface_hub version: 0.19.4
- Safetensors version: 0.4.1
- Accelerate version: 0.25.0.dev0... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27830/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/27830/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27829 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27829/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27829/comments | https://api.github.com/repos/huggingface/transformers/issues/27829/events | https://github.com/huggingface/transformers/pull/27829 | 2,023,668,584 | PR_kwDOCUB6oc5hC0sW | 27,829 | [Seamless v2] Add FE to auto mapping | {
"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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27829). All of your documentation changes will be reflected on that endpoint.",
"Thanks for taking care of this @sanchit-gandhi !"
] | 1,701 | 1,702 | 1,701 | CONTRIBUTOR | null | As reported by @Vaibhavs10, Seamless M4T v2 is not compatible with the pipeline class. This is because the feature extractor is not present in the auto mapping. This PR adds the FE to the auto mapping, and implements a slow test to check Seamless M4T v2 works as expected with the pipeline.
### Example Usage
No ch... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27829/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/27829/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27829",
"html_url": "https://github.com/huggingface/transformers/pull/27829",
"diff_url": "https://github.com/huggingface/transformers/pull/27829.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27829.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27828 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27828/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27828/comments | https://api.github.com/repos/huggingface/transformers/issues/27828/events | https://github.com/huggingface/transformers/pull/27828 | 2,023,619,654 | PR_kwDOCUB6oc5hCp0v | 27,828 | Add "Fill-in-Middle" pipeline | {
"login": "tanaymeh",
"id": 26519539,
"node_id": "MDQ6VXNlcjI2NTE5NTM5",
"avatar_url": "https://avatars.githubusercontent.com/u/26519539?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tanaymeh",
"html_url": "https://github.com/tanaymeh",
"followers_url": "https://api.github.com/users/tan... | [] | open | false | null | [] | [
"This PR is currently WIP and the pipeline code is copied from the `text_generation` pipeline. Opened this PR for discussion on implementation details.\r\n\r\n@ArthurZucker, since we don't have a Dict with all the compatible models (like `MODEL_FOR_CAUSAL_LM_MAPPING_NAMES` in text_generation), will a list (example ... | 1,701 | 1,708 | null | CONTRIBUTOR | null | # What does this PR do?
This PR adds the Fill-in-Middle pipeline to 🤗 transformers.
FIM objective was proposed in [Efficient Training of Language Models to Fill in the Middle](https://arxiv.org/abs/2207.14255). They showed that autoregressive language models can learn to infill text after applying a straightfor... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27828/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/27828/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27828",
"html_url": "https://github.com/huggingface/transformers/pull/27828",
"diff_url": "https://github.com/huggingface/transformers/pull/27828.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27828.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27827 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27827/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27827/comments | https://api.github.com/repos/huggingface/transformers/issues/27827/events | https://github.com/huggingface/transformers/pull/27827 | 2,023,460,326 | PR_kwDOCUB6oc5hCGlm | 27,827 | [Seamless v1] Link to v2 docs | {
"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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27827). All of your documentation changes will be reflected on that endpoint."
] | 1,701 | 1,701 | 1,701 | CONTRIBUTOR | null | # What does this PR do?
Links the Seamless v2 docs in the v1 docs.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27827/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/27827/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27827",
"html_url": "https://github.com/huggingface/transformers/pull/27827",
"diff_url": "https://github.com/huggingface/transformers/pull/27827.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27827.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27826 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27826/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27826/comments | https://api.github.com/repos/huggingface/transformers/issues/27826/events | https://github.com/huggingface/transformers/issues/27826 | 2,023,392,812 | I_kwDOCUB6oc54moYs | 27,826 | Add LayoutLMProcessor | {
"login": "gau-nernst",
"id": 26946864,
"node_id": "MDQ6VXNlcjI2OTQ2ODY0",
"avatar_url": "https://avatars.githubusercontent.com/u/26946864?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gau-nernst",
"html_url": "https://github.com/gau-nernst",
"followers_url": "https://api.github.com/use... | [
{
"id": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request",
"name": "Feature request",
"color": "FBCA04",
"default": false,
"description": "Request for a new feature"
}
] | open | false | null | [] | [
"cc @amyeroberts and @NielsRogge if LayoutLM is just not as good we should use newest models",
"There are several advantages in using LayoutLMv1:\r\n- It's text-only, so it can be much more lightweight. Not depening on detectron2 is also a plus (there are no pre-built detectron2 for latest versions of PyTorch/CUD... | 1,701 | 1,705 | null | CONTRIBUTOR | null | ### Feature request
Add processor for LayoutLM. I'm not sure why v2 and v3 have their respective processors, but the original v1 doesn't. It should be almost identical their v2 and v3 counterparts (apply tesseract OCR + call the tokenizer appropriately), without returning the resized image (`pixel_values`), since Layo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27826/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/27826/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27825 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27825/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27825/comments | https://api.github.com/repos/huggingface/transformers/issues/27825/events | https://github.com/huggingface/transformers/pull/27825 | 2,023,309,274 | PR_kwDOCUB6oc5hBlmy | 27,825 | in peft finetune, only the trainable parameters need to be saved | {
"login": "sywangyi",
"id": 36058628,
"node_id": "MDQ6VXNlcjM2MDU4NjI4",
"avatar_url": "https://avatars.githubusercontent.com/u/36058628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sywangyi",
"html_url": "https://github.com/sywangyi",
"followers_url": "https://api.github.com/users/syw... | [] | closed | false | null | [] | [
"@younesbelkada @pacman100 please help review the PR.",
"@sywangyi can you try to merge your branch with upstream main? Perhaps it will fix the current failing CI",
"@younesbelkada I have rebased to main. the code quality check failure is not related with the PR",
"@sywangyi can you try to re-run `make fixup`... | 1,701 | 1,702 | 1,702 | CONTRIBUTOR | null | to reduce the storage size and also save the time of checkpoint saving while using deepspeed for training
# 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 i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27825/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/27825/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27825",
"html_url": "https://github.com/huggingface/transformers/pull/27825",
"diff_url": "https://github.com/huggingface/transformers/pull/27825.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27825.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27824 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27824/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27824/comments | https://api.github.com/repos/huggingface/transformers/issues/27824/events | https://github.com/huggingface/transformers/issues/27824 | 2,023,210,325 | I_kwDOCUB6oc54l71V | 27,824 | Could we Add Linear Projection Layer in pre-trained model? | {
"login": "DopeorNope-Lee",
"id": 86828497,
"node_id": "MDQ6VXNlcjg2ODI4NDk3",
"avatar_url": "https://avatars.githubusercontent.com/u/86828497?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DopeorNope-Lee",
"html_url": "https://github.com/DopeorNope-Lee",
"followers_url": "https://api.gi... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | open | false | null | [] | [] | 1,701 | 1,701 | null | NONE | null | ### Model description
As you know, if our model is too high positional_embedding size, then input vectors become too sparse data, so it leads to a performance decrease.
However, I have an idea to overcome it.
Before positional embedding, we add a new trainable linear projection layer to reduce its dimension.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27824/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/27824/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27823 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27823/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27823/comments | https://api.github.com/repos/huggingface/transformers/issues/27823/events | https://github.com/huggingface/transformers/pull/27823 | 2,023,184,318 | PR_kwDOCUB6oc5hBKSp | 27,823 | [`ModelOnTheFlyConversionTester`] Mark as slow for now | {
"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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27823). All of your documentation changes will be reflected on that endpoint."
] | 1,701 | 1,701 | 1,701 | COLLABORATOR | null | # What does this PR do?
The ModelOnTheFlyConversionTester were run on each individual PRs, should not be the case IMO this should only be a slow / only be run on the main branch and not fetched all the time. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27823/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/27823/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27823",
"html_url": "https://github.com/huggingface/transformers/pull/27823",
"diff_url": "https://github.com/huggingface/transformers/pull/27823.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27823.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27822 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27822/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27822/comments | https://api.github.com/repos/huggingface/transformers/issues/27822/events | https://github.com/huggingface/transformers/issues/27822 | 2,022,937,548 | I_kwDOCUB6oc54k5PM | 27,822 | [tests][models]An error about Owlv2ModelIntegrationTest.test_inference_object_detection | {
"login": "Tyx-main",
"id": 134379153,
"node_id": "U_kgDOCAJ2kQ",
"avatar_url": "https://avatars.githubusercontent.com/u/134379153?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Tyx-main",
"html_url": "https://github.com/Tyx-main",
"followers_url": "https://api.github.com/users/Tyx-main/... | [] | closed | false | null | [] | [
"Hi,\r\n\r\nThis was fixed in https://github.com/huggingface/transformers/pull/27793",
"> Hi,\r\n> \r\n> This was fixed in #27793\r\n\r\nThanks!"
] | 1,701 | 1,701 | 1,701 | NONE | null | ### System Info
torch: 2.1.0
transformers: 4.35.2
accelerate: 0.24.1
### Who can help?
@ArthurZucker @younesbelkada
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [X] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27822/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/27822/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27821 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27821/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27821/comments | https://api.github.com/repos/huggingface/transformers/issues/27821/events | https://github.com/huggingface/transformers/issues/27821 | 2,022,935,741 | I_kwDOCUB6oc54k4y9 | 27,821 | Inaccurate Inference Results When Using OWLv2's `image_guided_detection` | {
"login": "Itto1992",
"id": 20178227,
"node_id": "MDQ6VXNlcjIwMTc4MjI3",
"avatar_url": "https://avatars.githubusercontent.com/u/20178227?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Itto1992",
"html_url": "https://github.com/Itto1992",
"followers_url": "https://api.github.com/users/Itt... | [] | closed | false | null | [] | [
"Hi,\r\n\r\nThis was addressed in #27698. It's already fixed on main: https://huggingface.co/docs/transformers/main/en/model_doc/owlv2#transformers.Owlv2ForObjectDetection",
"Thank you for your quick response!\r\nI will try the main branch😁"
] | 1,701 | 1,701 | 1,701 | NONE | null | ### System Info
- `transformers` version: 4.35.2
- Platform: Linux-5.15.120+-x86_64-with-glibc2.35
- Python version: 3.10.12
- Huggingface_hub version: 0.19.4
- Safetensors version: 0.4.1
- Accelerate version: not installed
- Accelerate config: not found
- PyTorch version (GPU?): 2.1.0+cu118 (True)
- Tensorflo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27821/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/27821/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27820 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27820/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27820/comments | https://api.github.com/repos/huggingface/transformers/issues/27820/events | https://github.com/huggingface/transformers/pull/27820 | 2,022,815,449 | PR_kwDOCUB6oc5g_5od | 27,820 | fix: non-atomic checkpoint save | {
"login": "thundergolfer",
"id": 12058921,
"node_id": "MDQ6VXNlcjEyMDU4OTIx",
"avatar_url": "https://avatars.githubusercontent.com/u/12058921?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thundergolfer",
"html_url": "https://github.com/thundergolfer",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Test failures appear unrelated to diff: \r\n\r\n```\r\n @classmethod\r\n def setUpClass(cls):\r\n cls.user = \"huggingface-hub-ci\"\r\n cls.token = os.getenv(\"HUGGINGFACE_PRODUCTION_USER_TOKEN\", None)\r\n \r\n if cls.token is None:\r\n> raise ValueError(\"Cannot run tests ... | 1,701 | 1,702 | 1,702 | CONTRIBUTOR | null | ## What does this PR do?
`transformers.trainer.Trainer` currently does not do atomic checkpointing. On checkpoint save, the code creates a checkpoint directory and then progressively adds more files to it. An exception can occur for various reasons in the middle of the checkpoint save process, leaving the checkpoint... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27820/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/27820/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27820",
"html_url": "https://github.com/huggingface/transformers/pull/27820",
"diff_url": "https://github.com/huggingface/transformers/pull/27820.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27820.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27819 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27819/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27819/comments | https://api.github.com/repos/huggingface/transformers/issues/27819/events | https://github.com/huggingface/transformers/issues/27819 | 2,022,763,001 | I_kwDOCUB6oc54kOn5 | 27,819 | [modelling] Missing causal mask in Llama model | {
"login": "KexinFeng",
"id": 23562091,
"node_id": "MDQ6VXNlcjIzNTYyMDkx",
"avatar_url": "https://avatars.githubusercontent.com/u/23562091?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/KexinFeng",
"html_url": "https://github.com/KexinFeng",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Attention masks were recently refactored, see the https://github.com/huggingface/transformers/blob/2c658b5a4282f2e824b4e23dc3bcda7ef27d5827/src/transformers/models/llama/modeling_llama.py#L889 method.",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this s... | 1,701 | 1,704 | 1,704 | NONE | null | ### System Info
transformers-4.35.2
### Who can help?
@ArthurZucker @younesbelkd
### 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 task or dataset (give details below)
##... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27819/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/27819/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27818 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27818/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27818/comments | https://api.github.com/repos/huggingface/transformers/issues/27818/events | https://github.com/huggingface/transformers/pull/27818 | 2,022,603,266 | PR_kwDOCUB6oc5g_Og3 | 27,818 | fix prompt strip to support tensors and np arrays | {
"login": "AvivSham",
"id": 43371254,
"node_id": "MDQ6VXNlcjQzMzcxMjU0",
"avatar_url": "https://avatars.githubusercontent.com/u/43371254?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AvivSham",
"html_url": "https://github.com/AvivSham",
"followers_url": "https://api.github.com/users/Avi... | [] | open | false | null | [] | [
"I was not able to make it pass the CI/CD tests due to import issues. @sanchit-gandhi can you please guide?",
"Thank you for reviewing @sanchit-gandhi !\r\nI was not aware of the framework agnostic constraint, I think we are ok now, can you please review it again?",
"This issue has been automatically marked as ... | 1,701 | 1,707 | null | NONE | null | # What does this PR do?
`WhisperTokenizer` does not strip the prompt ids when calling `decode` for `torch.Tensor`, `tf.Tensor`, and `np.ndarray`. It does not perform the slicing in `_strip_prompt` because the condition `isinstance(token_ids, list)` is not met.
## Before submitting
- [ ] This PR fixes a typo or... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27818/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/27818/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27818",
"html_url": "https://github.com/huggingface/transformers/pull/27818",
"diff_url": "https://github.com/huggingface/transformers/pull/27818.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27818.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27817 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27817/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27817/comments | https://api.github.com/repos/huggingface/transformers/issues/27817/events | https://github.com/huggingface/transformers/issues/27817 | 2,022,599,611 | I_kwDOCUB6oc54jmu7 | 27,817 | Minor enhancement: Bounding box drawing of object detection should follow some edge cases. | {
"login": "Anindyadeep",
"id": 58508471,
"node_id": "MDQ6VXNlcjU4NTA4NDcx",
"avatar_url": "https://avatars.githubusercontent.com/u/58508471?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Anindyadeep",
"html_url": "https://github.com/Anindyadeep",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Thanks for the suggestion, please feel free to open a PR :)"
] | 1,701 | 1,703 | 1,703 | CONTRIBUTOR | null | ### System Info
```
- `transformers` version: 4.35.2
- Platform: Linux-5.15.120+-x86_64-with-glibc2.35
- Python version: 3.10.12
- Huggingface_hub version: 0.19.4
- Safetensors version: 0.4.1
- Accelerate version: not installed
- Accelerate config: not found
- PyTorch version (GPU?): 2.1.0+cu118 (False)
- T... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27817/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/27817/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27816 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27816/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27816/comments | https://api.github.com/repos/huggingface/transformers/issues/27816/events | https://github.com/huggingface/transformers/pull/27816 | 2,022,592,865 | PR_kwDOCUB6oc5g_Map | 27,816 | Fix beam score calculation issue for JAX version | {
"login": "VsonicV",
"id": 23429580,
"node_id": "MDQ6VXNlcjIzNDI5NTgw",
"avatar_url": "https://avatars.githubusercontent.com/u/23429580?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/VsonicV",
"html_url": "https://github.com/VsonicV",
"followers_url": "https://api.github.com/users/Vsonic... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27816). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update."
] | 1,701 | 1,701 | 1,701 | CONTRIBUTOR | null | # What does this PR do?
This PR fixes the same beam score calculation issue following #27351 , for JAX version.
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [X] Did you read the [contributor guideline](https://github.com/huggingfac... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27816/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/27816/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27816",
"html_url": "https://github.com/huggingface/transformers/pull/27816",
"diff_url": "https://github.com/huggingface/transformers/pull/27816.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27816.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27815 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27815/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27815/comments | https://api.github.com/repos/huggingface/transformers/issues/27815/events | https://github.com/huggingface/transformers/issues/27815 | 2,022,556,339 | I_kwDOCUB6oc54jcKz | 27,815 | transformers==4.35.2 compatibility issue with pytorch==1.7.1+cu110 | {
"login": "rabjab",
"id": 149430981,
"node_id": "U_kgDOCOgixQ",
"avatar_url": "https://avatars.githubusercontent.com/u/149430981?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rabjab",
"html_url": "https://github.com/rabjab",
"followers_url": "https://api.github.com/users/rabjab/follower... | [] | closed | false | null | [] | [
"Hey! A few PRs aimed to fix this were opened #27803 and will address this",
"Thanks, @ArthurZucker - I'll close this since y'all are obviously on top of it already. Apologies for the noise. "
] | 1,701 | 1,701 | 1,701 | NONE | null | ### System Info
transformers==4.35.2
pytorch==1.7.1+cu110
### Who can help?
_No response_
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [X] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details b... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27815/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/27815/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27814 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27814/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27814/comments | https://api.github.com/repos/huggingface/transformers/issues/27814/events | https://github.com/huggingface/transformers/pull/27814 | 2,022,555,164 | PR_kwDOCUB6oc5g_EFl | 27,814 | Fix beam score calculation issue for Tensorflow version | {
"login": "VsonicV",
"id": 23429580,
"node_id": "MDQ6VXNlcjIzNDI5NTgw",
"avatar_url": "https://avatars.githubusercontent.com/u/23429580?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/VsonicV",
"html_url": "https://github.com/VsonicV",
"followers_url": "https://api.github.com/users/Vsonic... | [] | closed | false | null | [] | [
"@gante I have updated the PR following your suggestions. Now the `cur_len` represents the length of the entire sequence including the decoder prompt, which is consistent with the codebase."
] | 1,701 | 1,702 | 1,702 | CONTRIBUTOR | null | # What does this PR do?
This PR fixes the same beam score calculation issue following #27351 , for Tensorflow version.
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [X] Did you read the [contributor guideline](https://github.com/hug... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27814/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/27814/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27814",
"html_url": "https://github.com/huggingface/transformers/pull/27814",
"diff_url": "https://github.com/huggingface/transformers/pull/27814.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27814.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27813 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27813/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27813/comments | https://api.github.com/repos/huggingface/transformers/issues/27813/events | https://github.com/huggingface/transformers/issues/27813 | 2,022,544,441 | I_kwDOCUB6oc54jZQ5 | 27,813 | whisper prompt_ids gets added to decoded predictions | {
"login": "MightyStud",
"id": 73258591,
"node_id": "MDQ6VXNlcjczMjU4NTkx",
"avatar_url": "https://avatars.githubusercontent.com/u/73258591?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MightyStud",
"html_url": "https://github.com/MightyStud",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Duplicate of #27594, will be closed by https://github.com/huggingface/transformers/pull/27836.",
"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 th... | 1,701 | 1,704 | 1,704 | NONE | null | ### System Info
duplicated the issue in google collab:
- `transformers` version: 4.35.2
- Platform: Linux-5.15.120+-x86_64-with-glibc2.35
- Python version: 3.10.12
- Huggingface_hub version: 0.19.4
- Safetensors version: 0.4.1
- Accelerate version: 0.25.0
- Accelerate config: not found
- PyTorch version (... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27813/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/27813/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27812 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27812/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27812/comments | https://api.github.com/repos/huggingface/transformers/issues/27812/events | https://github.com/huggingface/transformers/pull/27812 | 2,022,532,516 | PR_kwDOCUB6oc5g-_Uo | 27,812 | Fix beam score calculation issue for Tensorflow | {
"login": "VsonicV",
"id": 23429580,
"node_id": "MDQ6VXNlcjIzNDI5NTgw",
"avatar_url": "https://avatars.githubusercontent.com/u/23429580?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/VsonicV",
"html_url": "https://github.com/VsonicV",
"followers_url": "https://api.github.com/users/Vsonic... | [] | closed | false | null | [] | [
"This PR is mixed with another PR. Close it for now. Will reopen another PR only with the relevant commits: #27814 ."
] | 1,701 | 1,702 | 1,701 | CONTRIBUTOR | null | # What does this PR do?
This PR fixes the same beam score calculation issue following #27351 , for Tensorflow version.
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [X] Did you read the [contributor guideline](https://github.com/hug... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27812/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/27812/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27812",
"html_url": "https://github.com/huggingface/transformers/pull/27812",
"diff_url": "https://github.com/huggingface/transformers/pull/27812.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27812.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27811 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27811/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27811/comments | https://api.github.com/repos/huggingface/transformers/issues/27811/events | https://github.com/huggingface/transformers/pull/27811 | 2,022,484,608 | PR_kwDOCUB6oc5g-1tC | 27,811 | Update __init__.py | {
"login": "Andron00e",
"id": 67924720,
"node_id": "MDQ6VXNlcjY3OTI0NzIw",
"avatar_url": "https://avatars.githubusercontent.com/u/67924720?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Andron00e",
"html_url": "https://github.com/Andron00e",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"> Hey! This class does not seem to exist, what is the motivation here?\r\n\r\nI want to create a new class \"CLIPForImageClassification\" for such models. It can benefit as a backbone for further novel architectures in field of Contrastive Learning and Bottleneck models.",
"Linked to #27802 and #27805 let's tr... | 1,701 | 1,704 | 1,704 | 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/27811/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/27811/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27811",
"html_url": "https://github.com/huggingface/transformers/pull/27811",
"diff_url": "https://github.com/huggingface/transformers/pull/27811.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27811.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27810 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27810/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27810/comments | https://api.github.com/repos/huggingface/transformers/issues/27810/events | https://github.com/huggingface/transformers/issues/27810 | 2,022,414,833 | I_kwDOCUB6oc54i5nx | 27,810 | deepspeed autotuning intergration | {
"login": "yongjer",
"id": 54315206,
"node_id": "MDQ6VXNlcjU0MzE1MjA2",
"avatar_url": "https://avatars.githubusercontent.com/u/54315206?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yongjer",
"html_url": "https://github.com/yongjer",
"followers_url": "https://api.github.com/users/yongje... | [
{
"id": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request",
"name": "Feature request",
"color": "FBCA04",
"default": false,
"description": "Request for a new feature"
}
] | open | false | null | [] | [] | 1,701 | 1,701 | null | NONE | null | ### Feature request
intergrate deepspeed autotuning
### Motivation
without setting any config, make deepspeed easier to use
### Your contribution
none | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27810/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/27810/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27808 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27808/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27808/comments | https://api.github.com/repos/huggingface/transformers/issues/27808/events | https://github.com/huggingface/transformers/pull/27808 | 2,022,369,742 | PR_kwDOCUB6oc5g-e-M | 27,808 | Fix remaining issues in beam score calculation | {
"login": "VsonicV",
"id": 23429580,
"node_id": "MDQ6VXNlcjIzNDI5NTgw",
"avatar_url": "https://avatars.githubusercontent.com/u/23429580?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/VsonicV",
"html_url": "https://github.com/VsonicV",
"followers_url": "https://api.github.com/users/Vsonic... | [] | closed | false | null | [] | [
"> Good catch, thanks for fixing!\r\n> \r\n> BTW, run `RUN_SLOW=1 py.test tests/models/vision_encoder_decoder/test_modeling_vision_encoder_decoder.py::ViT2GPT2ModelIntegrationTest::test_inference_coco_en` -- this test may need an update in its value\r\n\r\n@gante I have updated the expectation value for this test. ... | 1,701 | 1,702 | 1,702 | CONTRIBUTOR | null | # What does this PR do?
This PR further fixes the remaining issues in beam score calculation following #27351 .
More specifically:
1) When adding new hypothesis, the `hyp` in `process` does not include the next generated token on which the current beam score is calculated, but the `hyp` in `finalize` includes all th... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27808/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/27808/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27808",
"html_url": "https://github.com/huggingface/transformers/pull/27808",
"diff_url": "https://github.com/huggingface/transformers/pull/27808.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27808.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27807 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27807/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27807/comments | https://api.github.com/repos/huggingface/transformers/issues/27807/events | https://github.com/huggingface/transformers/pull/27807 | 2,022,185,929 | PR_kwDOCUB6oc5g94Ph | 27,807 | Documentation: Spanish translation of perplexity.mdx | {
"login": "aaronjimv",
"id": 67152883,
"node_id": "MDQ6VXNlcjY3MTUyODgz",
"avatar_url": "https://avatars.githubusercontent.com/u/67152883?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aaronjimv",
"html_url": "https://github.com/aaronjimv",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hello. I am open to any feedback. Thanks.",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27807). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update."
] | 1,701 | 1,701 | 1,701 | CONTRIBUTOR | null | # What does this PR do?
Add the Spanish version of perplexity.mdx to transformers/docs/source/es
Fixes #15947
## Before submitting
- [ ] 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/huggin... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27807/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/27807/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27807",
"html_url": "https://github.com/huggingface/transformers/pull/27807",
"diff_url": "https://github.com/huggingface/transformers/pull/27807.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27807.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27806 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27806/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27806/comments | https://api.github.com/repos/huggingface/transformers/issues/27806/events | https://github.com/huggingface/transformers/issues/27806 | 2,022,160,599 | I_kwDOCUB6oc54h7jX | 27,806 | Support for tokenising higher batch dimensions | {
"login": "saswat0",
"id": 32325136,
"node_id": "MDQ6VXNlcjMyMzI1MTM2",
"avatar_url": "https://avatars.githubusercontent.com/u/32325136?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/saswat0",
"html_url": "https://github.com/saswat0",
"followers_url": "https://api.github.com/users/saswat... | [
{
"id": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request",
"name": "Feature request",
"color": "FBCA04",
"default": false,
"description": "Request for a new feature"
}
] | closed | false | null | [] | [
"You should probably pack your data, will also be more efficient I think. Separate them with the EOS ",
"@ArthurZucker I'm not sure if I got your point entirely.\r\nFor now, I'm flattening the whole batch of tensors before passing in into the model and then reshaping it after getting the output.\r\nDo you mean th... | 1,701 | 1,704 | 1,704 | NONE | null | ### Feature request
Can inference be performed with larger batch dimensions?
Currently, tokenisation is supported upto List[List[str]] and any dimension higher than that needs to be traversed via a for loop. Can we reduce this requirement and process the entire batch in one go?
### Motivation
Tokenisation for a bat... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27806/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/27806/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27805 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27805/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27805/comments | https://api.github.com/repos/huggingface/transformers/issues/27805/events | https://github.com/huggingface/transformers/pull/27805 | 2,022,079,978 | PR_kwDOCUB6oc5g9jXY | 27,805 | CLIPForImageClassification has been added | {
"login": "Andron00e",
"id": 67924720,
"node_id": "MDQ6VXNlcjY3OTI0NzIw",
"avatar_url": "https://avatars.githubusercontent.com/u/67924720?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Andron00e",
"html_url": "https://github.com/Andron00e",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,701 | 1,705 | 1,705 | 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/27805/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/27805/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27805",
"html_url": "https://github.com/huggingface/transformers/pull/27805",
"diff_url": "https://github.com/huggingface/transformers/pull/27805.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27805.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27804 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27804/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27804/comments | https://api.github.com/repos/huggingface/transformers/issues/27804/events | https://github.com/huggingface/transformers/pull/27804 | 2,022,065,007 | PR_kwDOCUB6oc5g9gS4 | 27,804 | fix pytree warning | {
"login": "wm901115nwpu",
"id": 13309349,
"node_id": "MDQ6VXNlcjEzMzA5MzQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/13309349?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wm901115nwpu",
"html_url": "https://github.com/wm901115nwpu",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [] | 1,701 | 1,702 | 1,702 | NONE | null | fix
UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead.
warning
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27804/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/27804/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27804",
"html_url": "https://github.com/huggingface/transformers/pull/27804",
"diff_url": "https://github.com/huggingface/transformers/pull/27804.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27804.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27803 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27803/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27803/comments | https://api.github.com/repos/huggingface/transformers/issues/27803/events | https://github.com/huggingface/transformers/pull/27803 | 2,022,056,701 | PR_kwDOCUB6oc5g9eqB | 27,803 | Fix the deprecation warning of _torch_pytree._register_pytree_node | {
"login": "cyyever",
"id": 17618148,
"node_id": "MDQ6VXNlcjE3NjE4MTQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/17618148?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cyyever",
"html_url": "https://github.com/cyyever",
"followers_url": "https://api.github.com/users/cyyeve... | [] | closed | false | null | [] | [
"> Hey! Could you share the warning and make sure this is backward compatible? 😉\r\n\r\nBackward compatible is guaranteed by using reflection, in that I used getattr to check the existence of the new method.",
"Rebase again.",
"you also need to run `make style` and have the ruff package `pip install ruff==0.1.... | 1,701 | 1,702 | 1,702 | CONTRIBUTOR | null | # What does this PR do?
Fix a deprecation warning triggered by latest PyTorch:
```
UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead.
```
<!--
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/27803/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/27803/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27803",
"html_url": "https://github.com/huggingface/transformers/pull/27803",
"diff_url": "https://github.com/huggingface/transformers/pull/27803.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27803.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27802 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27802/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27802/comments | https://api.github.com/repos/huggingface/transformers/issues/27802/events | https://github.com/huggingface/transformers/issues/27802 | 2,022,043,340 | I_kwDOCUB6oc54he7M | 27,802 | CLIPForImageClassification | {
"login": "Andron00e",
"id": 67924720,
"node_id": "MDQ6VXNlcjY3OTI0NzIw",
"avatar_url": "https://avatars.githubusercontent.com/u/67924720?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Andron00e",
"html_url": "https://github.com/Andron00e",
"followers_url": "https://api.github.com/users/... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
},
{
"id": 1990918270,
"node_id": "MDU6TGFiZWwxOTkwOTE4Mjc... | closed | false | null | [] | [
"Thanks for the suggestion, I've review the PR above",
"This is now supported by #28952."
] | 1,701 | 1,708 | 1,708 | NONE | null | ### Model description
CLIPForImageClassification is an add-on CLIPModel from hub. With one linear classifier on top of the CLIP it performs in Image Classification task as good as [ViTForImageClassification](https://github.com/huggingface/transformers/blob/v4.35.2/src/transformers/models/vit/modeling_vit.py#L756) do... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27802/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/27802/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27801 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27801/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27801/comments | https://api.github.com/repos/huggingface/transformers/issues/27801/events | https://github.com/huggingface/transformers/issues/27801 | 2,021,870,882 | I_kwDOCUB6oc54g00i | 27,801 | Training for ZeroShotImageClassification | {
"login": "hxydxn",
"id": 64323922,
"node_id": "MDQ6VXNlcjY0MzIzOTIy",
"avatar_url": "https://avatars.githubusercontent.com/u/64323922?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hxydxn",
"html_url": "https://github.com/hxydxn",
"followers_url": "https://api.github.com/users/hxydxn/fo... | [] | closed | false | null | [] | [
"Hi,\r\n\r\nThe example you refer to is not meant for zero-shot image classification. It's meant for supervised image classification, when you have a dataset of (image, label) pairs.\r\n\r\nCLIP can be fine-tuned using this script: https://github.com/huggingface/transformers/tree/main/examples/pytorch/contrastive-... | 1,701 | 1,704 | 1,704 | NONE | null | ### System Info
- `transformers` version: 4.35.2
- Platform: Linux-5.15.0-83-generic-x86_64-with-glibc2.29
- Python version: 3.8.10
- Huggingface_hub version: 0.19.1
- Safetensors version: 0.4.0
- Accelerate version: 0.24.1
- Accelerate config: not found
- PyTorch version (GPU?): 2.1.0+cu121 (True)
- Tensor... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27801/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/27801/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27800 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27800/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27800/comments | https://api.github.com/repos/huggingface/transformers/issues/27800/events | https://github.com/huggingface/transformers/pull/27800 | 2,021,769,958 | PR_kwDOCUB6oc5g8jk- | 27,800 | Add support for PyTorch/XLA 2.1+ PJRT (Neuron SDK) | {
"login": "jeffhataws",
"id": 56947987,
"node_id": "MDQ6VXNlcjU2OTQ3OTg3",
"avatar_url": "https://avatars.githubusercontent.com/u/56947987?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jeffhataws",
"html_url": "https://github.com/jeffhataws",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27800). 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,701 | 1,704 | 1,704 | CONTRIBUTOR | null | # What does this PR do?
In PyTorch/XLA 2.1+, `init_method="xla://"` is now needed in `dist.init_process_group` to properly initialize PJRT.
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [X] Did you read the [contributor guideline](h... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27800/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/27800/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27800",
"html_url": "https://github.com/huggingface/transformers/pull/27800",
"diff_url": "https://github.com/huggingface/transformers/pull/27800.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27800.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27799 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27799/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27799/comments | https://api.github.com/repos/huggingface/transformers/issues/27799/events | https://github.com/huggingface/transformers/pull/27799 | 2,021,739,465 | PR_kwDOCUB6oc5g8dQl | 27,799 | [Hot-Fix][XLA] Re-enable broken _tpu_save for XLATensors | {
"login": "yeounoh",
"id": 7146489,
"node_id": "MDQ6VXNlcjcxNDY0ODk=",
"avatar_url": "https://avatars.githubusercontent.com/u/7146489?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yeounoh",
"html_url": "https://github.com/yeounoh",
"followers_url": "https://api.github.com/users/yeounoh/... | [] | closed | false | null | [] | [
"I see this in the CI test run, `tests_torch`\r\n```\r\n if cls.token is None:\r\n> raise ValueError(\"Cannot run tests as secret isn't setup.\")\r\nE ValueError: Cannot run tests as secret isn't setup.\r\n```",
"Also, `run_tests` is blocked, with \"This workflow is awaiting approval from a ma... | 1,701 | 1,703 | 1,701 | CONTRIBUTOR | null | # What does this PR do?
This re-enables checkpointing model on `xla` device, since that wasn't allowed in some cases where XLATensors have invalid storage.data_ptr(). This explicitly moves the model to `cpu` before checkpointing to ensure the storage is valid.
This is a *hot-fix* to unblock all failing HF model ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27799/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/27799/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27799",
"html_url": "https://github.com/huggingface/transformers/pull/27799",
"diff_url": "https://github.com/huggingface/transformers/pull/27799.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27799.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27798 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27798/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27798/comments | https://api.github.com/repos/huggingface/transformers/issues/27798/events | https://github.com/huggingface/transformers/issues/27798 | 2,021,611,162 | I_kwDOCUB6oc54f1aa | 27,798 | Apparent Problem deploying to AWS SageMaker Endpoint with VQA Models | Version Incompatability? | {
"login": "buyblvd-ryan",
"id": 117312895,
"node_id": "U_kgDOBv4Nfw",
"avatar_url": "https://avatars.githubusercontent.com/u/117312895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/buyblvd-ryan",
"html_url": "https://github.com/buyblvd-ryan",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi @buyblvd-ryan 👋 \r\n\r\nTo be able to help, we would need a reproducible script using `transformers` (and not sagemaker, to rule out that it is not a sagemaker issue) :)",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed ... | 1,701 | 1,704 | 1,704 | NONE | null | ### System Info
Transformers: 4.26.0
PyTorch: 1.13.
Python: 3.9
Model: Salesforce/blip-vqa-capfilt-large
Deployment code (default from Hugging Face):
```python
import sagemaker
import boto3
from sagemaker.huggingface import HuggingFaceModel
try:
role = sagemaker.get_execution_role()
except ValueErr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27798/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/27798/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27797 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27797/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27797/comments | https://api.github.com/repos/huggingface/transformers/issues/27797/events | https://github.com/huggingface/transformers/pull/27797 | 2,021,598,953 | PR_kwDOCUB6oc5g7-lH | 27,797 | Fix: Raise informative exception when `prefix_allowed_tokens_fn` return empty set of tokens | {
"login": "Saibo-creator",
"id": 53392976,
"node_id": "MDQ6VXNlcjUzMzkyOTc2",
"avatar_url": "https://avatars.githubusercontent.com/u/53392976?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Saibo-creator",
"html_url": "https://github.com/Saibo-creator",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"The failing tests seem to be irrelevant ",
"Rebase on main will help, It will get fix there ",
"@ArthurZucker Rebased ",
"(I'd commit Arthur's suggestion, as it saves a redundant computation :) )",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27797). All of yo... | 1,701 | 1,702 | 1,702 | CONTRIBUTOR | null | # What does this PR do?
Fixes #27676 #22890
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#start-contributing-pull... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27797/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/27797/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27797",
"html_url": "https://github.com/huggingface/transformers/pull/27797",
"diff_url": "https://github.com/huggingface/transformers/pull/27797.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27797.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27796 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27796/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27796/comments | https://api.github.com/repos/huggingface/transformers/issues/27796/events | https://github.com/huggingface/transformers/pull/27796 | 2,021,409,770 | PR_kwDOCUB6oc5g7VKY | 27,796 | Generate: All logits processors are documented and have examples | {
"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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27796). All of your documentation changes will be reflected on that endpoint."
] | 1,701 | 1,701 | 1,701 | MEMBER | null | # What does this PR do?
This PR retouches the docstrings of the logits processors such that:
a) they all have a short description of what they do
b) there is a clear example for each class, ideally showcasing its usefulness (note: this will also means the class is doctested)
Moreover, to ensure this information... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27796/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/27796/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27796",
"html_url": "https://github.com/huggingface/transformers/pull/27796",
"diff_url": "https://github.com/huggingface/transformers/pull/27796.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27796.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27795 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27795/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27795/comments | https://api.github.com/repos/huggingface/transformers/issues/27795/events | https://github.com/huggingface/transformers/pull/27795 | 2,021,340,011 | PR_kwDOCUB6oc5g7GV_ | 27,795 | [Whisper] Fix doctest in timestamp logits processor | {
"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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27795). All of your documentation changes will be reflected on that endpoint."
] | 1,701 | 1,701 | 1,701 | CONTRIBUTOR | null | Doctest for Whisper timestamp logits processor was reported as failing in https://github.com/huggingface/transformers/pull/27485#issuecomment-1810876813. This PR corrects the code example. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27795/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/27795/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27795",
"html_url": "https://github.com/huggingface/transformers/pull/27795",
"diff_url": "https://github.com/huggingface/transformers/pull/27795.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27795.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27794 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27794/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27794/comments | https://api.github.com/repos/huggingface/transformers/issues/27794/events | https://github.com/huggingface/transformers/pull/27794 | 2,021,339,292 | PR_kwDOCUB6oc5g7GML | 27,794 | Proper build() methods for TF | {
"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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27794). All of your documentation changes will be reflected on that endpoint.",
"oh my god the tests pass i didn't think this was ever going to happen",
"Thanks! There's one thing left to add - some layers are buildable w... | 1,701 | 1,702 | 1,702 | MEMBER | null | TensorFlow builds weights **lazily**. This means that layers do not have an `input_dim` argument and do not create weight tensors in the model `__init__()`. Instead, the layers wait until their `build()` method is called, which usually happens implicitly the first time the layer receives an input. Layers use the shape ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27794/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/27794/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27794",
"html_url": "https://github.com/huggingface/transformers/pull/27794",
"diff_url": "https://github.com/huggingface/transformers/pull/27794.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27794.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27793 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27793/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27793/comments | https://api.github.com/repos/huggingface/transformers/issues/27793/events | https://github.com/huggingface/transformers/pull/27793 | 2,021,250,141 | PR_kwDOCUB6oc5g6y5T | 27,793 | Fix `Owlv2ModelIntegrationTest::test_inference_object_detection` | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27793). All of your documentation changes will be reflected on that endpoint."
] | 1,701 | 1,701 | 1,701 | COLLABORATOR | null | # What does this PR do?
device issue + update expected values | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27793/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/27793/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27793",
"html_url": "https://github.com/huggingface/transformers/pull/27793",
"diff_url": "https://github.com/huggingface/transformers/pull/27793.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27793.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27792 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27792/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27792/comments | https://api.github.com/repos/huggingface/transformers/issues/27792/events | https://github.com/huggingface/transformers/pull/27792 | 2,021,226,337 | PR_kwDOCUB6oc5g6tsZ | 27,792 | Fix `TvpModelIntegrationTests` | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27792). All of your documentation changes will be reflected on that endpoint."
] | 1,701 | 1,701 | 1,701 | COLLABORATOR | null | # What does this PR do?
Device issue. Missed in #27695 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27792/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/27792/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27792",
"html_url": "https://github.com/huggingface/transformers/pull/27792",
"diff_url": "https://github.com/huggingface/transformers/pull/27792.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27792.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27791 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27791/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27791/comments | https://api.github.com/repos/huggingface/transformers/issues/27791/events | https://github.com/huggingface/transformers/pull/27791 | 2,021,169,385 | PR_kwDOCUB6oc5g6g7p | 27,791 | Add "Fill-in-Middle" pipeline | {
"login": "tanaymeh",
"id": 26519539,
"node_id": "MDQ6VXNlcjI2NTE5NTM5",
"avatar_url": "https://avatars.githubusercontent.com/u/26519539?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tanaymeh",
"html_url": "https://github.com/tanaymeh",
"followers_url": "https://api.github.com/users/tan... | [] | closed | false | null | [] | [
"Hey! Were you waiting for a review or do you not have time to work on this? ",
"> Hey! Were you waiting for a review or do you not have time to work on this? \n\n@ArthurZucker I am working on this but I accidentally opened a wrong PR, fixing and opening a new one today.\n\nSorry for the inconvenience :)"
] | 1,701 | 1,701 | 1,701 | CONTRIBUTOR | null | # What does this PR do?
This PR adds the Fill-in-Middle pipeline to 🤗 transformers.
FIM objective was proposed in [Efficient Training of Language Models to Fill in the Middle](https://arxiv.org/abs/2207.14255). They showed that autoregressive language models can learn to infill text after applying a straightfor... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27791/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/27791/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27791",
"html_url": "https://github.com/huggingface/transformers/pull/27791",
"diff_url": "https://github.com/huggingface/transformers/pull/27791.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27791.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27790 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27790/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27790/comments | https://api.github.com/repos/huggingface/transformers/issues/27790/events | https://github.com/huggingface/transformers/pull/27790 | 2,021,043,913 | PR_kwDOCUB6oc5g6Ffv | 27,790 | [CLAP] Replace hard-coded batch size to enable dynamic ONNX export | {
"login": "xenova",
"id": 26504141,
"node_id": "MDQ6VXNlcjI2NTA0MTQx",
"avatar_url": "https://avatars.githubusercontent.com/u/26504141?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xenova",
"html_url": "https://github.com/xenova",
"followers_url": "https://api.github.com/users/xenova/fo... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27790). All of your documentation changes will be reflected on that endpoint.",
"Added back the docstring 👍 - ready to merge imo? :) ",
"Yep just make style and rebase should do the trick for the CI",
"Done 👍 (failed ... | 1,701 | 1,702 | 1,702 | CONTRIBUTOR | null | # What does this PR do?
This PR unblocks adding ONNX export support for CLAP models in Optimum (see [PR](https://github.com/huggingface/optimum/pull/1552)), by replacing hard-coded batch size in the `window_reverse` function. This was [already done in the past for other similar models](https://github.com/huggingface... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27790/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27790/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27790",
"html_url": "https://github.com/huggingface/transformers/pull/27790",
"diff_url": "https://github.com/huggingface/transformers/pull/27790.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27790.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27789 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27789/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27789/comments | https://api.github.com/repos/huggingface/transformers/issues/27789/events | https://github.com/huggingface/transformers/issues/27789 | 2,020,694,258 | I_kwDOCUB6oc54cVjy | 27,789 | _prepare_4d_causal_attention_mask doesn't work with torch.compile | {
"login": "PhilJd",
"id": 16101605,
"node_id": "MDQ6VXNlcjE2MTAxNjA1",
"avatar_url": "https://avatars.githubusercontent.com/u/16101605?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PhilJd",
"html_url": "https://github.com/PhilJd",
"followers_url": "https://api.github.com/users/PhilJd/fo... | [] | closed | false | {
"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/... | [
{
"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.githu... | [
"Ow nice catch and nice reproducer! 🤗 \r\nI'll try to have a look, otherwise pinging @fxmarty ",
"Hi @PhilJd the issue is fixed in https://github.com/huggingface/transformers/pull/27868. This a bug in PyTorch 2.0/2.1, that is solved in pytorch nightly.",
"Thanks a lot! :)"
] | 1,701 | 1,702 | 1,702 | NONE | null | ### System Info
Transformers version: 4.35.2
Pytorch version: 2.1.1+cu118
Python version: 3.11
### Who can help?
Tagging @ArthurZucker as the original author
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `exam... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27789/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/27789/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27788 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27788/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27788/comments | https://api.github.com/repos/huggingface/transformers/issues/27788/events | https://github.com/huggingface/transformers/pull/27788 | 2,020,666,377 | PR_kwDOCUB6oc5g4yvp | 27,788 | Fix typo in max_length deprecation warnings | {
"login": "siegeln",
"id": 7674950,
"node_id": "MDQ6VXNlcjc2NzQ5NTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/7674950?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/siegeln",
"html_url": "https://github.com/siegeln",
"followers_url": "https://api.github.com/users/siegeln/... | [] | closed | false | null | [] | [
"@ArthurZucker in this case they are not interchangeable, `MaxLengthCriteria` expects `max_length`. In `generate`, `max_new_tokens` is converted into its `max_length` equivalent before `MaxLengthCriteria` is initialized :)",
"Ah right! Missed that, thanks 😉 ",
"The docs for this PR live [here](https://moon-ci-... | 1,701 | 1,701 | 1,701 | 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/27788/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/27788/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27788",
"html_url": "https://github.com/huggingface/transformers/pull/27788",
"diff_url": "https://github.com/huggingface/transformers/pull/27788.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27788.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27787 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27787/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27787/comments | https://api.github.com/repos/huggingface/transformers/issues/27787/events | https://github.com/huggingface/transformers/pull/27787 | 2,020,611,908 | PR_kwDOCUB6oc5g4m2M | 27,787 | [PatchTST] make tests more robust | {
"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 | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,701 | 1,704 | 1,704 | CONTRIBUTOR | null | # What does this PR do?
fix the fragile Slow CI test | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27787/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/27787/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27787",
"html_url": "https://github.com/huggingface/transformers/pull/27787",
"diff_url": "https://github.com/huggingface/transformers/pull/27787.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27787.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27786 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27786/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27786/comments | https://api.github.com/repos/huggingface/transformers/issues/27786/events | https://github.com/huggingface/transformers/issues/27786 | 2,020,406,118 | I_kwDOCUB6oc54bPNm | 27,786 | A100 makes too large check point and slow learning | {
"login": "alexxony",
"id": 63861370,
"node_id": "MDQ6VXNlcjYzODYxMzcw",
"avatar_url": "https://avatars.githubusercontent.com/u/63861370?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alexxony",
"html_url": "https://github.com/alexxony",
"followers_url": "https://api.github.com/users/ale... | [] | closed | false | null | [] | [
"Hey 🤗 thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discuss.huggingface.co/) instead? I'm sure the community will be of help!\r\n\r\nThanks!",
"> Hey 🤗 thanks for opening an issue! We try to keep the github issues... | 1,701 | 1,704 | 1,704 | NONE | null | ### System Info
transformers 4.36.0
Python 3.8.10
Driver Version: 535.104.12
CUDA Version: 12.2
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27786/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/27786/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27785 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27785/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27785/comments | https://api.github.com/repos/huggingface/transformers/issues/27785/events | https://github.com/huggingface/transformers/issues/27785 | 2,020,323,106 | I_kwDOCUB6oc54a68i | 27,785 | max_new_tokens is set, but longer output is generated | {
"login": "yuqie",
"id": 34560542,
"node_id": "MDQ6VXNlcjM0NTYwNTQy",
"avatar_url": "https://avatars.githubusercontent.com/u/34560542?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yuqie",
"html_url": "https://github.com/yuqie",
"followers_url": "https://api.github.com/users/yuqie/follow... | [] | closed | false | null | [] | [
"You are not setting the correct parameter, what you are looking for is `max_length` 🤗 ",
"Hi @ArthurZucker , just a doubt....in the documentation, it is written that they both serve the same purpose or am i missing something. Would be happy to be corrected.\r\nShould I approach the forum for this doubt?\r\n<img... | 1,701 | 1,704 | 1,704 | NONE | null | Hi, I use llama2-7b and set `max_new_tokens=1024`, when I test with several samples, some output larger than 1024 are obtained. I have no idea with this, could anyone can help me.
```
llm = AutoModelForCausalLM.from_pretrained(model, torch_dtype=torch.float16, trust_remote_code=trust_remote_code)
tokenizer.pad_tok... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27785/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/27785/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27784 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27784/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27784/comments | https://api.github.com/repos/huggingface/transformers/issues/27784/events | https://github.com/huggingface/transformers/issues/27784 | 2,020,239,917 | I_kwDOCUB6oc54amot | 27,784 | Is there any difference between hf-implemented llama2 and facebook-implemented llama2 ? | {
"login": "artetaout",
"id": 128046886,
"node_id": "U_kgDOB6HXJg",
"avatar_url": "https://avatars.githubusercontent.com/u/128046886?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/artetaout",
"html_url": "https://github.com/artetaout",
"followers_url": "https://api.github.com/users/arteta... | [] | closed | false | null | [] | [
"Hey 🤗 thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discuss.huggingface.co/) instead? I'm sure the community will be of help!\r\n\r\nThanks!",
"This issue has been automatically marked as stale because it has not h... | 1,701 | 1,704 | 1,704 | NONE | null | In my view, hf-implemented llama2, the "intermediate size" is 11008, but in facebook-implemeted llama2, it's 4 * hidden_size ?
why?
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27784/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/27784/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27783 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27783/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27783/comments | https://api.github.com/repos/huggingface/transformers/issues/27783/events | https://github.com/huggingface/transformers/issues/27783 | 2,020,132,961 | I_kwDOCUB6oc54aMhh | 27,783 | `ZeroShotAudioClassificationPipeline` documentation includes example to duplicate hypothesis template | {
"login": "xenova",
"id": 26504141,
"node_id": "MDQ6VXNlcjI2NTA0MTQx",
"avatar_url": "https://avatars.githubusercontent.com/u/26504141?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xenova",
"html_url": "https://github.com/xenova",
"followers_url": "https://api.github.com/users/xenova/fo... | [] | open | false | null | [] | [
"FWIW, the output is near-identical, but this might cause unexpected issues later down the line.",
"Yeah, not super clear what we should do, maybe regex the hypothesis template? Updating the doc is a good start \r\n",
"I'll open PRs for this and Whisper ",
"Oops opening this today! 🤗 ",
"Happy to take care... | 1,701 | 1,707 | null | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.36.0.dev0
- Platform: Linux-5.15.120+-x86_64-with-glibc2.35
- Python version: 3.10.12
- Huggingface_hub version: 0.19.4
- Safetensors version: 0.4.0
- Accelerate version: not installed
- Accelerate config: not found
- PyTorch version (GPU?): 2.1.0+cu118 (False)
- Ten... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27783/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/27783/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27782 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27782/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27782/comments | https://api.github.com/repos/huggingface/transformers/issues/27782/events | https://github.com/huggingface/transformers/pull/27782 | 2,020,112,433 | PR_kwDOCUB6oc5g25Oa | 27,782 | [SeamlessM4Tv2] Fix links in README | {
"login": "xenova",
"id": 26504141,
"node_id": "MDQ6VXNlcjI2NTA0MTQx",
"avatar_url": "https://avatars.githubusercontent.com/u/26504141?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xenova",
"html_url": "https://github.com/xenova",
"followers_url": "https://api.github.com/users/xenova/fo... | [] | closed | false | null | [] | [] | 1,701 | 1,701 | 1,701 | CONTRIBUTOR | null | # What does this PR do?
Fixes links for SeamlessM4Tv2 model in the README.
<!--
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 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27782/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/27782/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27782",
"html_url": "https://github.com/huggingface/transformers/pull/27782",
"diff_url": "https://github.com/huggingface/transformers/pull/27782.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27782.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27781 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27781/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27781/comments | https://api.github.com/repos/huggingface/transformers/issues/27781/events | https://github.com/huggingface/transformers/issues/27781 | 2,019,911,443 | I_kwDOCUB6oc54ZWcT | 27,781 | RuntimeError occurs when using CLIPProcessor and CLIPModel on aarch64 | {
"login": "shunkominato",
"id": 64582197,
"node_id": "MDQ6VXNlcjY0NTgyMTk3",
"avatar_url": "https://avatars.githubusercontent.com/u/64582197?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shunkominato",
"html_url": "https://github.com/shunkominato",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Hey! Thanks for reporting, never had an issue with my macs and running in native code, would recommend you to just run on the native os. ",
"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\nPl... | 1,701 | 1,707 | 1,707 | NONE | null | ### System Info
Hi thank you for the great library
Running on docker
The machine environment is as follows
```
aarch64
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27781/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/27781/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27780 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27780/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27780/comments | https://api.github.com/repos/huggingface/transformers/issues/27780/events | https://github.com/huggingface/transformers/pull/27780 | 2,019,624,272 | PR_kwDOCUB6oc5g1QP8 | 27,780 | Updates the distributed CPU training documentation to add instructions for running on a Kubernetes cluster | {
"login": "dmsuehir",
"id": 13952606,
"node_id": "MDQ6VXNlcjEzOTUyNjA2",
"avatar_url": "https://avatars.githubusercontent.com/u/13952606?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dmsuehir",
"html_url": "https://github.com/dmsuehir",
"followers_url": "https://api.github.com/users/dms... | [] | closed | false | null | [] | [
"Thanks for adding practice in Kubernetes cluster.",
"@stevhliu Thank you for the review, I made the updates that you suggested."
] | 1,701 | 1,701 | 1,701 | CONTRIBUTOR | null | # What does this PR do?
This PR updates the distributed CPU training documentation to include instructions for using multiple CPU nodes from a Kubernetes cluster. The instructions are kept pretty simple, assuming that the user already has access to a Kubernetes cluster and understands the basics of how to use it. Th... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27780/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/27780/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27780",
"html_url": "https://github.com/huggingface/transformers/pull/27780",
"diff_url": "https://github.com/huggingface/transformers/pull/27780.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27780.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27779 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27779/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27779/comments | https://api.github.com/repos/huggingface/transformers/issues/27779/events | https://github.com/huggingface/transformers/pull/27779 | 2,019,275,309 | PR_kwDOCUB6oc5g0DQm | 27,779 | Add SeamlessM4T v2 | {
"login": "ylacombe",
"id": 52246514,
"node_id": "MDQ6VXNlcjUyMjQ2NTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/52246514?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ylacombe",
"html_url": "https://github.com/ylacombe",
"followers_url": "https://api.github.com/users/yla... | [] | closed | false | null | [] | [
"I'm astonished you got this added so quickly! Do you have plans to support seamless streaming as well?",
"I am unable to see it on the transformers library yet. How can i test this out ?",
"We'll do a release this week and it will be part of it! You have to install from source for now `pip install -e git+https... | 1,701 | 1,704 | 1,701 | COLLABORATOR | null | # What does this PR do?
Meta just released [Seamless M4T v2](https://ai.meta.com/resources/models-and-libraries/seamless-communication-models/#seamlessm4t), this model has enough difference to justify a new version: differences listed [here](https://github.com/ylacombe/transformers/blob/add-S2S-2/docs/source/en/mode... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27779/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/27779/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27779",
"html_url": "https://github.com/huggingface/transformers/pull/27779",
"diff_url": "https://github.com/huggingface/transformers/pull/27779.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27779.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27778 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27778/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27778/comments | https://api.github.com/repos/huggingface/transformers/issues/27778/events | https://github.com/huggingface/transformers/issues/27778 | 2,019,274,979 | I_kwDOCUB6oc54W7Dj | 27,778 | Whisper is unable to transcribe in spoken language | {
"login": "markakash",
"id": 16388744,
"node_id": "MDQ6VXNlcjE2Mzg4NzQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/16388744?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/markakash",
"html_url": "https://github.com/markakash",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"It's important to note that the behavior you described might be influenced by various factors, including the quality of the audio input and the specific model being used. While it's not accurate to label anyone as \"stupid,\" as you rightly pointed out, there are ways to address this concern.\r\n\r\nFirstly, when ... | 1,701 | 1,705 | 1,705 | NONE | null | ### System Info
Currently, when I use any other Whisper models except for large-v3, instead of it auto detecting the language and transcribing it, it translates it and then transcribes it. I looked but couldn't find any flag/config to remove this behaviour. If I use the large-v3, then it detects the language perfectly... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27778/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/27778/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27777 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27777/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27777/comments | https://api.github.com/repos/huggingface/transformers/issues/27777/events | https://github.com/huggingface/transformers/pull/27777 | 2,018,987,213 | PR_kwDOCUB6oc5gzC1Z | 27,777 | Fixes for PatchTST Config | {
"login": "wgifford",
"id": 79663411,
"node_id": "MDQ6VXNlcjc5NjYzNDEx",
"avatar_url": "https://avatars.githubusercontent.com/u/79663411?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wgifford",
"html_url": "https://github.com/wgifford",
"followers_url": "https://api.github.com/users/wgi... | [] | closed | false | null | [] | [
"fee free to ping me or @kashif when this is ready for review 😉 "
] | 1,701 | 1,702 | 1,701 | CONTRIBUTOR | null | # What does this PR do?
Fixes a bug in the handling of the `num_patches` parameter which was removed from the config.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27777/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/27777/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27777",
"html_url": "https://github.com/huggingface/transformers/pull/27777",
"diff_url": "https://github.com/huggingface/transformers/pull/27777.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27777.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27776 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27776/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27776/comments | https://api.github.com/repos/huggingface/transformers/issues/27776/events | https://github.com/huggingface/transformers/pull/27776 | 2,018,819,402 | PR_kwDOCUB6oc5gydu5 | 27,776 | Disallow `pickle.load` unless `TRUST_REMOTE_CODE=True` | {
"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 | [] | [
"Not really. `TRUST_REMOTE_CODE` is for `remote` code, here is the code in `transformers`. And the pickle file could be a local file downloaded or a link to a file (not code).",
"Happy the give another name if we come up with a better one though!",
"Thanks for the implementation @ydshieh!\r\n\r\nAn environment ... | 1,701 | 1,703 | 1,701 | COLLABORATOR | null | # What does this PR do?
For security reason, require the users to explicitly allow access to the places where `pickle.load` is used.
```
import os
from transformers import TransfoXLTokenizer, TransfoXLLMHeadModel
os.environ["ALLOW_ACCESS_TO_POTENTIAL_INSECURE_CODE"] = "True"
checkpoint = 'transfo-xl-wt103... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27776/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/27776/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27776",
"html_url": "https://github.com/huggingface/transformers/pull/27776",
"diff_url": "https://github.com/huggingface/transformers/pull/27776.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27776.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27775 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27775/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27775/comments | https://api.github.com/repos/huggingface/transformers/issues/27775/events | https://github.com/huggingface/transformers/pull/27775 | 2,018,618,438 | PR_kwDOCUB6oc5gxxqi | 27,775 | Adding Prompt lookup decoding | {
"login": "apoorvumang",
"id": 1957903,
"node_id": "MDQ6VXNlcjE5NTc5MDM=",
"avatar_url": "https://avatars.githubusercontent.com/u/1957903?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/apoorvumang",
"html_url": "https://github.com/apoorvumang",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"@apoorvumang #27750 is now merged, you can rebase this PR with main!",
"Amazing! Will try to do that asap @gante ",
"@apoorvumang checking on this PR -- do you have a timeline for its completion? I'm happy to help (or to integrate the feature myself) 🤗 ",
"@gante I've rebased with main, and code seems to be... | 1,701 | 1,706 | 1,705 | CONTRIBUTOR | null | # What does this PR do?
Adds the prompt lookup decoding method from https://github.com/apoorvumang/prompt-lookup-decoding , issue #27722
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](h... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27775/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/27775/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27775",
"html_url": "https://github.com/huggingface/transformers/pull/27775",
"diff_url": "https://github.com/huggingface/transformers/pull/27775.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27775.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27774 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27774/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27774/comments | https://api.github.com/repos/huggingface/transformers/issues/27774/events | https://github.com/huggingface/transformers/pull/27774 | 2,018,603,518 | PR_kwDOCUB6oc5gxuZ4 | 27,774 | Translate `model_doc` files from `clip` to `cpm` to JP | {
"login": "rajveer43",
"id": 64583161,
"node_id": "MDQ6VXNlcjY0NTgzMTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/64583161?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rajveer43",
"html_url": "https://github.com/rajveer43",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27774). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update."
] | 1,701 | 1,701 | 1,701 | CONTRIBUTOR | null | # What does this PR do?
translation of model docs
<!-- Remove if not applicable -->
Fixes #27773
## Who can review?
Documentation: @stevhliu and @MKhalusova
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27774/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/27774/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27774",
"html_url": "https://github.com/huggingface/transformers/pull/27774",
"diff_url": "https://github.com/huggingface/transformers/pull/27774.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27774.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27773 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27773/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27773/comments | https://api.github.com/repos/huggingface/transformers/issues/27773/events | https://github.com/huggingface/transformers/issues/27773 | 2,018,603,091 | I_kwDOCUB6oc54UXBT | 27,773 | [i18n-<Jp>] Translating docs to JP | {
"login": "rajveer43",
"id": 64583161,
"node_id": "MDQ6VXNlcjY0NTgzMTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/64583161?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rajveer43",
"html_url": "https://github.com/rajveer43",
"followers_url": "https://api.github.com/users/... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | closed | false | null | [] | [] | 1,701 | 1,701 | 1,701 | CONTRIBUTOR | null | <!--
Note: Please search to see if an issue already exists for the language you are trying to translate.
-->
Hi!
Let's bring the documentation to all the jp speaking community 🌐
Who would want to translate? Please follow the 🤗 [TRANSLATING guide](https://github.com/huggingface/transformers/blob/main/docs/TRA... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27773/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/27773/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27772 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27772/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27772/comments | https://api.github.com/repos/huggingface/transformers/issues/27772/events | https://github.com/huggingface/transformers/issues/27772 | 2,018,585,892 | I_kwDOCUB6oc54US0k | 27,772 | `spectrogram` function may silently produce incorrect values for certain inputs | {
"login": "xenova",
"id": 26504141,
"node_id": "MDQ6VXNlcjI2NTA0MTQx",
"avatar_url": "https://avatars.githubusercontent.com/u/26504141?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xenova",
"html_url": "https://github.com/xenova",
"followers_url": "https://api.github.com/users/xenova/fo... | [] | open | false | null | [] | [
"Feel free to open a PR for a fix 😈 ",
"cc @ylacombe would you be able to take a look at protecting against this edge case?"
] | 1,701 | 1,706 | null | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.36.0.dev0
- Platform: Linux
- Python version: 3.8.3
- Huggingface_hub version: 0.19.4
- Safetensors version: 0.3.1
- Accelerate version: not installed
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.0+cu117 (True)
- Tensorflow version (GPU?): not install... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27772/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/27772/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27771 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27771/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27771/comments | https://api.github.com/repos/huggingface/transformers/issues/27771/events | https://github.com/huggingface/transformers/pull/27771 | 2,018,519,990 | PR_kwDOCUB6oc5gxb81 | 27,771 | Tree of Thoughts Tutorial | {
"login": "rajveer43",
"id": 64583161,
"node_id": "MDQ6VXNlcjY0NTgzMTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/64583161?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rajveer43",
"html_url": "https://github.com/rajveer43",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"cc @MKhalusova "
] | 1,701 | 1,701 | 1,701 | CONTRIBUTOR | null | # What does this PR do?
Adding ToT Framework
<!-- Remove if not applicable -->
Fixes #26726
## Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.
<!-- Your PR will be replied to more qui... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27771/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/27771/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27771",
"html_url": "https://github.com/huggingface/transformers/pull/27771",
"diff_url": "https://github.com/huggingface/transformers/pull/27771.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27771.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27770 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27770/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27770/comments | https://api.github.com/repos/huggingface/transformers/issues/27770/events | https://github.com/huggingface/transformers/issues/27770 | 2,018,490,801 | I_kwDOCUB6oc54T7mx | 27,770 | ver 4.35.2 transformers.Trainer, deepspeed backward(loss) is not used if distributed_state is NO | {
"login": "haixpham",
"id": 32718796,
"node_id": "MDQ6VXNlcjMyNzE4Nzk2",
"avatar_url": "https://avatars.githubusercontent.com/u/32718796?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/haixpham",
"html_url": "https://github.com/haixpham",
"followers_url": "https://api.github.com/users/hai... | [] | closed | false | null | [] | [
"I ended up rewriting `Trainer._inner_training_loop()` and `Trainer.training_step()` to force deepspeed when distributed training is not used, as follows:\r\n- _inner_training_loop\r\n\r\n```\r\n# prepare using `accelerator` prepare\r\nif use_accelerator_prepare:\r\n self.model.train()\r\n if hasattr(self.lr_sche... | 1,701 | 1,701 | 1,701 | NONE | null | ### System Info
transformers 4.35.2
deepspeed 0.12.3
torch 2.1
CUDA 12.1
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [X] My own... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27770/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/27770/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27769 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27769/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27769/comments | https://api.github.com/repos/huggingface/transformers/issues/27769/events | https://github.com/huggingface/transformers/issues/27769 | 2,018,433,434 | I_kwDOCUB6oc54Ttma | 27,769 | RuntimeError: "addmm_impl_cpu_" not implemented for 'Half' | {
"login": "jerin-scalers-ai",
"id": 125901005,
"node_id": "U_kgDOB4EYzQ",
"avatar_url": "https://avatars.githubusercontent.com/u/125901005?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jerin-scalers-ai",
"html_url": "https://github.com/jerin-scalers-ai",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"Hello, the issue does not lie with transformers but `torch` which does not support FP16 on CPU. 🤗 ",
"@ArthurZucker Thanks for the quick response\r\n\r\nDoes INT8 is supported on CPU ? I was trying out load_in_8bit argument but got below error:\r\n```\r\nTraceback (most recent call last):\r\n File \"/home/ubu... | 1,701 | 1,704 | 1,704 | NONE | null | ### System Info
Transformers: 4.35.2
Torch: 2.1.1-cpu
### Who can help?
@Narsil
I attempted text generation with the Llama 2 model using the transformer text generation pipeline on a CPU. The model precision was configured to float16 using the torch_dtype argument, but encountered the following issues. While I su... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27769/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/27769/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27768 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27768/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27768/comments | https://api.github.com/repos/huggingface/transformers/issues/27768/events | https://github.com/huggingface/transformers/pull/27768 | 2,018,329,180 | PR_kwDOCUB6oc5gwxst | 27,768 | [WIP] Uniformize processors in text+image multimodal models. | {
"login": "molbap",
"id": 39954772,
"node_id": "MDQ6VXNlcjM5OTU0Nzcy",
"avatar_url": "https://avatars.githubusercontent.com/u/39954772?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/molbap",
"html_url": "https://github.com/molbap",
"followers_url": "https://api.github.com/users/molbap/fo... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | open | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,701 | 1,704 | null | CONTRIBUTOR | null | # What does this PR do?
This PR is a work in progress aiming at uniformizing all text-image multimodal processors. Ideally, leveraging `AutoProcessor(...)` or an equivalent for every model would be the best.
The processor is one of the most fundamental blocks of transformers, and modifying it can only be done wi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27768/reactions",
"total_count": 4,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 4,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/27768/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27768",
"html_url": "https://github.com/huggingface/transformers/pull/27768",
"diff_url": "https://github.com/huggingface/transformers/pull/27768.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27768.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27767 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27767/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27767/comments | https://api.github.com/repos/huggingface/transformers/issues/27767/events | https://github.com/huggingface/transformers/pull/27767 | 2,018,142,004 | PR_kwDOCUB6oc5gwIj3 | 27,767 | Remove `check_runner_status.yml` | {
"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 | [] | [] | 1,701 | 1,701 | 1,701 | COLLABORATOR | null | # What does this PR do?
Since our CI is migrated with the VMs spun up dynamically, this check for runner status no longer makes sense. This PR removes it. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27767/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/27767/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27767",
"html_url": "https://github.com/huggingface/transformers/pull/27767",
"diff_url": "https://github.com/huggingface/transformers/pull/27767.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27767.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27766 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27766/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27766/comments | https://api.github.com/repos/huggingface/transformers/issues/27766/events | https://github.com/huggingface/transformers/issues/27766 | 2,017,948,228 | I_kwDOCUB6oc54R3JE | 27,766 | Wrong image processing behavior of Fuyu | {
"login": "SeungyounShin",
"id": 20262536,
"node_id": "MDQ6VXNlcjIwMjYyNTM2",
"avatar_url": "https://avatars.githubusercontent.com/u/20262536?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SeungyounShin",
"html_url": "https://github.com/SeungyounShin",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"close : I believe the observed behavior is likely expected and necessary for batch processing.\""
] | 1,701 | 1,701 | 1,701 | NONE | null | ### System Info
At https://github.com/huggingface/transformers/blob/083e36923a19650fa264c4173db2f63ab124bb27/src/transformers/models/fuyu/processing_fuyu.py#L539
image processing should accept size variables if not it will pad image to this extent.
<img width="1139" alt="image" src="https://github.com/hugging... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27766/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/27766/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27765 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27765/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27765/comments | https://api.github.com/repos/huggingface/transformers/issues/27765/events | https://github.com/huggingface/transformers/issues/27765 | 2,017,470,097 | I_kwDOCUB6oc54QCaR | 27,765 | The Phi 1.5 tokenizer is giving different tokens for same word | {
"login": "bnicholl",
"id": 26211830,
"node_id": "MDQ6VXNlcjI2MjExODMw",
"avatar_url": "https://avatars.githubusercontent.com/u/26211830?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bnicholl",
"html_url": "https://github.com/bnicholl",
"followers_url": "https://api.github.com/users/bni... | [] | closed | false | null | [] | [
"The phi-1_5 tokenizer takes the space character in between into account and produces a different token for ` dog`, in this case it is `3290`. \r\n\r\nIf you use \r\n1) encoded_inputs = tokenizer([\"dog,dog\"])\r\n2) encoded_inputs = tokenizer([\"dogdog\"])\r\n\r\nyou will get \r\n1) `output: {'input_ids': [[9703, ... | 1,701 | 1,701 | 1,701 | NONE | null | ### System Info
The Phi 1.5 tokenizer is giving different tokens for same word. For example tokenizing dog twice will give two different tokens.
### Who can help?
@ArthurZucker @younesbelkada
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An offic... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27765/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/27765/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27764 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27764/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27764/comments | https://api.github.com/repos/huggingface/transformers/issues/27764/events | https://github.com/huggingface/transformers/pull/27764 | 2,017,337,480 | PR_kwDOCUB6oc5gtZ7h | 27,764 | Better error message for bitsandbytes import | {
"login": "SunMarc",
"id": 57196510,
"node_id": "MDQ6VXNlcjU3MTk2NTEw",
"avatar_url": "https://avatars.githubusercontent.com/u/57196510?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SunMarc",
"html_url": "https://github.com/SunMarc",
"followers_url": "https://api.github.com/users/SunMar... | [] | closed | false | null | [] | [] | 1,701 | 1,701 | 1,701 | MEMBER | null | # What does this PR do ?
This PR adds more context to the `ImportError` that is raised when `is_bitsandbytes_available() `is False. In this [PR](https://github.com/huggingface/transformers/pull/24995), we introduced a GPU check. Hence, `is_bitsandbytes_available() `can be `False` even though `bitsandbytes` is instal... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27764/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/27764/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27764",
"html_url": "https://github.com/huggingface/transformers/pull/27764",
"diff_url": "https://github.com/huggingface/transformers/pull/27764.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27764.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27763 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27763/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27763/comments | https://api.github.com/repos/huggingface/transformers/issues/27763/events | https://github.com/huggingface/transformers/pull/27763 | 2,017,166,960 | PR_kwDOCUB6oc5gs0ZH | 27,763 | uses dvclive_test mode in examples/pytorch/test_accelerate_examples.py | {
"login": "dberenbaum",
"id": 2308172,
"node_id": "MDQ6VXNlcjIzMDgxNzI=",
"avatar_url": "https://avatars.githubusercontent.com/u/2308172?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dberenbaum",
"html_url": "https://github.com/dberenbaum",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"cc @ArthurZucker this will fix a ton of pesky test failures in the examples :) "
] | 1,701 | 1,701 | 1,701 | CONTRIBUTOR | null | # What does this PR do?
Fixes tests in examples/pytorch/test_accelerate_examples.py to use test mode for dvclive tracking, so that it does not try to do git operations in tests/CI.
Fixes comments [here](https://github.com/huggingface/transformers/pull/27352#issuecomment-1819131456) and [here](https://github.com/h... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27763/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/27763/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27763",
"html_url": "https://github.com/huggingface/transformers/pull/27763",
"diff_url": "https://github.com/huggingface/transformers/pull/27763.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27763.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27762 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27762/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27762/comments | https://api.github.com/repos/huggingface/transformers/issues/27762/events | https://github.com/huggingface/transformers/pull/27762 | 2,017,065,011 | PR_kwDOCUB6oc5gseVi | 27,762 | Fix `low_cpu_mem_usage` Flag Conflict with DeepSpeed Zero 3 in `from_pretrained` for Models with `keep_in_fp32_modules`" | {
"login": "kotarotanahashi",
"id": 1223571,
"node_id": "MDQ6VXNlcjEyMjM1NzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/1223571?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kotarotanahashi",
"html_url": "https://github.com/kotarotanahashi",
"followers_url": "https://api.g... | [] | closed | false | null | [] | [] | 1,701 | 1,702 | 1,702 | CONTRIBUTOR | null | ## Summary
This pull request addresses a compatibility issue in the `from_pretrained` method. Specifically, when using models with `keep_in_fp32_modules` not set to None (e.g., BLIP2, T5) in conjunction with DeepSpeed's Zero 3, an unexpected error occurs due to the improper handling of the `low_cpu_mem_usage`.
##... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27762/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/27762/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27762",
"html_url": "https://github.com/huggingface/transformers/pull/27762",
"diff_url": "https://github.com/huggingface/transformers/pull/27762.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27762.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27761 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27761/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27761/comments | https://api.github.com/repos/huggingface/transformers/issues/27761/events | https://github.com/huggingface/transformers/pull/27761 | 2,016,958,518 | PR_kwDOCUB6oc5gsG7V | 27,761 | Save `Processor` | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27761). All of your documentation changes will be reflected on that endpoint.",
"Thanks for giving your opinion 👍 Ready for the review.\r\n\r\nThere is no test specific for this new feature so far, as we don't have a comm... | 1,701 | 1,705 | 1,705 | COLLABORATOR | null | # What does this PR do?
Save `Processor`. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27761/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/27761/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27761",
"html_url": "https://github.com/huggingface/transformers/pull/27761",
"diff_url": "https://github.com/huggingface/transformers/pull/27761.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27761.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27760 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27760/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27760/comments | https://api.github.com/repos/huggingface/transformers/issues/27760/events | https://github.com/huggingface/transformers/issues/27760 | 2,016,901,176 | I_kwDOCUB6oc54N3g4 | 27,760 | ver 4.35.2 transformers.Trainer breaks CUDA AMP support | {
"login": "haixpham",
"id": 32718796,
"node_id": "MDQ6VXNlcjMyNzE4Nzk2",
"avatar_url": "https://avatars.githubusercontent.com/u/32718796?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/haixpham",
"html_url": "https://github.com/haixpham",
"followers_url": "https://api.github.com/users/hai... | [] | open | false | {
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api.github.com/users/mu... | [
{
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api... | [
"cc @muellerzr ",
"Yep I see what happened with https://github.com/huggingface/transformers/pull/25702/files, it removed CUDA amp entirely for just CPU AMP. I'll work on this",
"cc @statelesshz ",
"\r\nIf I'm not mistaken, the native AMP (Automatic Mixed Precision) has now been entirely migrated to Accelerate... | 1,701 | 1,706 | null | NONE | null | ### System Info
torch 2.1.1
transformers 4.35.2
CUDA 12.1
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [X] My own task or dataset... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27760/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/27760/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27759 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27759/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27759/comments | https://api.github.com/repos/huggingface/transformers/issues/27759/events | https://github.com/huggingface/transformers/pull/27759 | 2,016,777,065 | PR_kwDOCUB6oc5grfAf | 27,759 | Add the CRATE (Coding RATE) backbone model | {
"login": "BiEchi",
"id": 60613238,
"node_id": "MDQ6VXNlcjYwNjEzMjM4",
"avatar_url": "https://avatars.githubusercontent.com/u/60613238?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BiEchi",
"html_url": "https://github.com/BiEchi",
"followers_url": "https://api.github.com/users/BiEchi/fo... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | open | false | null | [] | [
"Thanks a lot for reviewing this PR. As a reminder, the causal model is not yet supported, but I left the placeholder there. ",
"Thanks for this pointer @ArthurZucker . As the code is very similar to RoBERTa, I'm using `transformers-cli add-new-model-like` for initializing the code, which leads to these dependenc... | 1,701 | 1,706 | null | NONE | null | # What does this PR do?
Implements the new model CRATE introduced in the paper [White-Box Transformers via Sparse Rate Reduction: Compression Is All There Is?](https://arxiv.org/abs/2311.13110).
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to a... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27759/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/27759/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27759",
"html_url": "https://github.com/huggingface/transformers/pull/27759",
"diff_url": "https://github.com/huggingface/transformers/pull/27759.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27759.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27758 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27758/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27758/comments | https://api.github.com/repos/huggingface/transformers/issues/27758/events | https://github.com/huggingface/transformers/issues/27758 | 2,016,653,858 | I_kwDOCUB6oc54M7Ii | 27,758 | ZeroDivisionError when training on a single batch of data | {
"login": "tleyden",
"id": 296876,
"node_id": "MDQ6VXNlcjI5Njg3Ng==",
"avatar_url": "https://avatars.githubusercontent.com/u/296876?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tleyden",
"html_url": "https://github.com/tleyden",
"followers_url": "https://api.github.com/users/tleyden/fo... | [
{
"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... | open | false | null | [] | [
"Thank you @tleyden for raising this issue. As you already have the fix, it would be great if you could open a PR.",
"Hey @pacman100 happy to open an PR. \r\n\r\nThat was just a \"workaround experiment\" though. I think the right way to fix it might be to look at either of the following approaches:\r\n\r\n1. Ad... | 1,701 | 1,706 | null | CONTRIBUTOR | null | ### System Info
Copy-and-paste the text below in your GitHub issue and FILL OUT the two last points.
- `transformers` version: 4.35.2
- Platform: Linux-5.15.0-69-generic-x86_64-with-glibc2.31
- Python version: 3.10.8
- Huggingface_hub version: 0.19.4
- Safetensors version: 0.4.1
- Accelerate version: 0.24.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27758/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/27758/timeline | reopened | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27757 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27757/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27757/comments | https://api.github.com/repos/huggingface/transformers/issues/27757/events | https://github.com/huggingface/transformers/pull/27757 | 2,016,631,054 | PR_kwDOCUB6oc5gq-ws | 27,757 | Generate: `GenerationConfig` throws an exception when `generate` args are passed | {
"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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27757). All of your documentation changes will be reflected on that endpoint.",
"@ArthurZucker I considered checking it against the signature of `generate`, to account for future changes. However, `.validate()` is called in... | 1,701 | 1,701 | 1,701 | MEMBER | null | # What does this PR do?
Adds an informative exception that would have prevented #27704 🤗
Fixes #27704 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27757/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/27757/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27757",
"html_url": "https://github.com/huggingface/transformers/pull/27757",
"diff_url": "https://github.com/huggingface/transformers/pull/27757.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27757.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27756 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27756/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27756/comments | https://api.github.com/repos/huggingface/transformers/issues/27756/events | https://github.com/huggingface/transformers/issues/27756 | 2,016,383,672 | I_kwDOCUB6oc54L5K4 | 27,756 | BERT model is slow in Pytorch | {
"login": "akote123",
"id": 133775732,
"node_id": "U_kgDOB_lBdA",
"avatar_url": "https://avatars.githubusercontent.com/u/133775732?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/akote123",
"html_url": "https://github.com/akote123",
"followers_url": "https://api.github.com/users/akote123/... | [] | closed | false | null | [] | [
"Hey 🤗 thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discuss.huggingface.co/) instead? I'm sure the community will be of help!\r\n\r\nThanks!",
"This issue has been automatically marked as stale because it has not h... | 1,701 | 1,704 | 1,704 | NONE | null | ### System Info
transformers 4.35.2
tensorflow 2.15.0
torch 2.1.1
- `transformers` version: 4.35.2
- Platform: Linux-6.2.0-1016-aws-aarch64-with-glibc2.35
- Python version: 3.11.0
- Huggingface_hub version: 0.19.4
- Safetensors version: 0.4.0
- ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27756/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/27756/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27755 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27755/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27755/comments | https://api.github.com/repos/huggingface/transformers/issues/27755/events | https://github.com/huggingface/transformers/issues/27755 | 2,015,991,743 | I_kwDOCUB6oc54KZe_ | 27,755 | How to inference the model with 200k length context | {
"login": "taishan1994",
"id": 27845149,
"node_id": "MDQ6VXNlcjI3ODQ1MTQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/27845149?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/taishan1994",
"html_url": "https://github.com/taishan1994",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Hey! Thanks for opening this issue! Would recommend you to look into the `mistral` model which should support fairly (~16K) context length with linear memory consumption. Also make sure that you did not activate gradient computation!",
"> ### Model description\r\n> I want to test Yi-34B-200k, Although I ran thro... | 1,701 | 1,704 | 1,704 | NONE | null | ### Model description
I want to test Yi-34B-200k, Although I ran through the model, as the context length increased, OOM appeared, and I wondered how I could test to 200k context length with sufficient GPU resources.
### Open source status
- [X] The model implementation is available
- [X] The model weights are avai... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27755/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/27755/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27754 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27754/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27754/comments | https://api.github.com/repos/huggingface/transformers/issues/27754/events | https://github.com/huggingface/transformers/pull/27754 | 2,015,486,694 | PR_kwDOCUB6oc5gnFKZ | 27,754 | update `create_model_card` to properly save peft details when using Trainer with PEFT | {
"login": "pacman100",
"id": 13534540,
"node_id": "MDQ6VXNlcjEzNTM0NTQw",
"avatar_url": "https://avatars.githubusercontent.com/u/13534540?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pacman100",
"html_url": "https://github.com/pacman100",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"> From my understanding, this seems a little bit hacky to me, because we first create the model card with PEFT, then completely overwrite it with Trainer, then re-add PEFT-related content. It feels like the proper solution would be for the Trainer to update the model card if it already exists. But I understand tha... | 1,701 | 1,701 | 1,701 | CONTRIBUTOR | null | # What does this PR do?
1. When using Trainer with PEFT, `model.save_pretrained` in PEFT adds PEFT-specific details to the existing model card or creates a new model card and adds these details. However, `trainer.create_model_card` is called after model is saved and it overwrites the entire file thereby nullifies the ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27754/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/27754/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27754",
"html_url": "https://github.com/huggingface/transformers/pull/27754",
"diff_url": "https://github.com/huggingface/transformers/pull/27754.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27754.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27753 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27753/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27753/comments | https://api.github.com/repos/huggingface/transformers/issues/27753/events | https://github.com/huggingface/transformers/issues/27753 | 2,015,278,718 | I_kwDOCUB6oc54HrZ- | 27,753 | Pipeline instantiation of model "facebook/nllb-200-distilled-600M" requires source and target language as mandatory | {
"login": "drunkeninja42",
"id": 56391795,
"node_id": "MDQ6VXNlcjU2MzkxNzk1",
"avatar_url": "https://avatars.githubusercontent.com/u/56391795?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/drunkeninja42",
"html_url": "https://github.com/drunkeninja42",
"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": ""
}
] | open | false | null | [] | [
"Hi, for translation pipelines you can do `translation_xx_to_yy`, for example:\r\n\r\n```py\r\nfrom transformers import pipeline\r\n\r\npipe = pipeline(\"translation_en_to_fr\", model=\"facebook/nllb-200-distilled-600M\")\r\npipe(\"Let's go to france and see the eiffel tower\")\r\n```\r\n\r\nNot every translation m... | 1,701 | 1,706 | null | NONE | null | ### System Info
- `transformers` version: 4.35.2
- Platform: Linux-5.15.120+-x86_64-with-glibc2.35
- Python version: 3.10.12
- Huggingface_hub version: 0.19.4
- Safetensors version: 0.4.0
- Accelerate version: not installed
- Accelerate config: not found
- PyTorch version (GPU?): 2.1.0+cu118 (False)
- Tensorfl... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27753/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/27753/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27752 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27752/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27752/comments | https://api.github.com/repos/huggingface/transformers/issues/27752/events | https://github.com/huggingface/transformers/issues/27752 | 2,015,241,051 | I_kwDOCUB6oc54HiNb | 27,752 | TECO - Temporally Consistent Transformers for Video Generation | {
"login": "amyeroberts",
"id": 22614925,
"node_id": "MDQ6VXNlcjIyNjE0OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amyeroberts",
"html_url": "https://github.com/amyeroberts",
"followers_url": "https://api.github.com/... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | open | false | null | [] | [] | 1,701 | 1,701 | null | COLLABORATOR | null | ### Model description
TECO is a vector-quantized latent dynamics video prediction model that learns compressed representations to efficiently condition on long videos of hundreds of frames during both training and generation.
### Open source status
- [X] The model implementation is available
- [X] The model weights ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27752/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/27752/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27751 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27751/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27751/comments | https://api.github.com/repos/huggingface/transformers/issues/27751/events | https://github.com/huggingface/transformers/issues/27751 | 2,015,080,972 | I_kwDOCUB6oc54G7IM | 27,751 | HF trainer training args: save_only_model does not work together with load_best_model_at_end when using deepspeed | {
"login": "welsh01",
"id": 32550152,
"node_id": "MDQ6VXNlcjMyNTUwMTUy",
"avatar_url": "https://avatars.githubusercontent.com/u/32550152?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/welsh01",
"html_url": "https://github.com/welsh01",
"followers_url": "https://api.github.com/users/welsh0... | [] | closed | false | null | [] | [
"Hello, thank you for bringing this to the notice. We will look into this.",
"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 guide... | 1,701 | 1,707 | 1,707 | NONE | null | ### System Info
- `transformers` version: 4.36.0.dev0
- Platform: Linux-5.15.0-25-generic-x86_64-with-glibc2.35
- Python version: 3.10.13
- Huggingface_hub version: 0.19.4
- Safetensors version: 0.4.1
- Accelerate version: 0.24.1
- PyTorch version (GPU?): 2.1.1+cu121 (False)
- Tensorflow version (GPU?): not ins... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27751/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/27751/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/27750 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27750/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27750/comments | https://api.github.com/repos/huggingface/transformers/issues/27750/events | https://github.com/huggingface/transformers/pull/27750 | 2,015,067,668 | PR_kwDOCUB6oc5glpF6 | 27,750 | Generate: `assisted_decoding` now accepts arbitrary candidate generators | {
"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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_27750). All of your documentation changes will be reflected on that endpoint.",
"One more place needs to change I think - `generation_mode` is currently set using `_get_generation_mode` , where this is the logic:\r\n\r\n```... | 1,701 | 1,702 | 1,702 | MEMBER | null | # What does this PR do?
A common trend is starting to pop up: people are experimenting with new strategies to generate candidate sequences, to then run an assisted-generation-like strategy. A key example is the new technique in https://github.com/huggingface/transformers/issues/27722, which is equal to `assisted_dec... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27750/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/27750/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/27750",
"html_url": "https://github.com/huggingface/transformers/pull/27750",
"diff_url": "https://github.com/huggingface/transformers/pull/27750.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/27750.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/27749 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/27749/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/27749/comments | https://api.github.com/repos/huggingface/transformers/issues/27749/events | https://github.com/huggingface/transformers/issues/27749 | 2,014,982,702 | I_kwDOCUB6oc54GjIu | 27,749 | Learning Rate doesn't anneal properly after resume_from_checkpoint | {
"login": "jmzeng",
"id": 5641698,
"node_id": "MDQ6VXNlcjU2NDE2OTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/5641698?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jmzeng",
"html_url": "https://github.com/jmzeng",
"followers_url": "https://api.github.com/users/jmzeng/foll... | [] | open | false | {
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api.github.com/users/mu... | [
{
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api... | [
"Moreover, I'm seeing that the epoch variable gets reset to 1.0 at about 0.45 epochs. Would this be a possible bug?\r\n\r\n<img width=\"786\" alt=\"Screenshot 2023-11-28 at 10 52 48 AM\" src=\"https://github.com/huggingface/transformers/assets/5641698/aab54221-f955-48ee-9642-3e5abadaaec6\">\r\n\r\nIn the logs:\r\n`... | 1,701 | 1,707 | null | NONE | null | ### System Info
I'm resuming a run with HF trainer using resume_from_checkpoint and loading from the checkpoint.
The LR scheduler is set as cosine annealing with warmup. However, when I resumed, the learning rate didn't resemble cosine annealing at all. I'm finetuning a llama2 model with custom code.
See i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/27749/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/27749/timeline | reopened | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.