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/23984 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23984/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23984/comments | https://api.github.com/repos/huggingface/transformers/issues/23984/events | https://github.com/huggingface/transformers/pull/23984 | 1,740,174,823 | PR_kwDOCUB6oc5SHCuv | 23,984 | Create overload signatures for cached_file | {
"login": "ringohoffman",
"id": 27844407,
"node_id": "MDQ6VXNlcjI3ODQ0NDA3",
"avatar_url": "https://avatars.githubusercontent.com/u/27844407?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ringohoffman",
"html_url": "https://github.com/ringohoffman",
"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_23984). 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,685 | 1,689 | 1,689 | 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/23984/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23984/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23984",
"html_url": "https://github.com/huggingface/transformers/pull/23984",
"diff_url": "https://github.com/huggingface/transformers/pull/23984.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23984.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23983 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23983/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23983/comments | https://api.github.com/repos/huggingface/transformers/issues/23983/events | https://github.com/huggingface/transformers/pull/23983 | 1,740,160,098 | PR_kwDOCUB6oc5SG_fp | 23,983 | Add overloads for from_pretrained and from_dict on PretrainedConfig | {
"login": "ringohoffman",
"id": 27844407,
"node_id": "MDQ6VXNlcjI3ODQ0NDA3",
"avatar_url": "https://avatars.githubusercontent.com/u/27844407?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ringohoffman",
"html_url": "https://github.com/ringohoffman",
"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_23983). 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,685 | 1,689 | 1,689 | 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/23983/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23983/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23983",
"html_url": "https://github.com/huggingface/transformers/pull/23983",
"diff_url": "https://github.com/huggingface/transformers/pull/23983.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23983.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23982 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23982/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23982/comments | https://api.github.com/repos/huggingface/transformers/issues/23982/events | https://github.com/huggingface/transformers/pull/23982 | 1,740,100,664 | PR_kwDOCUB6oc5SGyYA | 23,982 | owl-vit-eval-postprocessor | {
"login": "orrzohar",
"id": 108689663,
"node_id": "U_kgDOBnp4_w",
"avatar_url": "https://avatars.githubusercontent.com/u/108689663?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/orrzohar",
"html_url": "https://github.com/orrzohar",
"followers_url": "https://api.github.com/users/orrzohar/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_23982). All of your documentation changes will be reflected on that endpoint.",
"Also maybe @rafaelpadilla could have a look here to help if you're too busy @amyeroberts ",
"Yes please @rafaelpadilla, if you have bandwidt... | 1,685 | 1,692 | 1,692 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23982/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23982/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23982",
"html_url": "https://github.com/huggingface/transformers/pull/23982",
"diff_url": "https://github.com/huggingface/transformers/pull/23982.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23982.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23981 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23981/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23981/comments | https://api.github.com/repos/huggingface/transformers/issues/23981/events | https://github.com/huggingface/transformers/pull/23981 | 1,739,947,672 | PR_kwDOCUB6oc5SGQOE | 23,981 | Improve typing for bitsandbytes util | {
"login": "ringohoffman",
"id": 27844407,
"node_id": "MDQ6VXNlcjI3ODQ0NDA3",
"avatar_url": "https://avatars.githubusercontent.com/u/27844407?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ringohoffman",
"html_url": "https://github.com/ringohoffman",
"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_23981). 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,685 | 1,689 | 1,689 | 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/23981/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23981/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23981",
"html_url": "https://github.com/huggingface/transformers/pull/23981",
"diff_url": "https://github.com/huggingface/transformers/pull/23981.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23981.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23980 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23980/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23980/comments | https://api.github.com/repos/huggingface/transformers/issues/23980/events | https://github.com/huggingface/transformers/issues/23980 | 1,739,908,878 | I_kwDOCUB6oc5ntOcO | 23,980 | Improve PreTrainedModel.from_pretrained return type | {
"login": "ringohoffman",
"id": 27844407,
"node_id": "MDQ6VXNlcjI3ODQ0NDA3",
"avatar_url": "https://avatars.githubusercontent.com/u/27844407?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ringohoffman",
"html_url": "https://github.com/ringohoffman",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Transformers does not support any type-checker and we do not want to bloat the code to add support for them: we accept PRs adding simple annotations but we will refuse anything more complex than that.",
"> Transformers does not support any type-checker and we do not want to bloat the code to add support for them... | 1,685 | 1,689 | 1,689 | CONTRIBUTOR | null | ### System Info
transformers version: `main`
Platform: macOS 13.1 (x86_64)
Python version: 3.7.15
PyTorch version (GPU?): 1.13.0 (False)
Tensorflow version (GPU?): N/A
Using GPU in script?: No
Using distributed or parallel set-up in script?: No
### Who can help?
Documentation: @sgugger, @stevhliu and @MKhaluso... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23980/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23980/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23979 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23979/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23979/comments | https://api.github.com/repos/huggingface/transformers/issues/23979/events | https://github.com/huggingface/transformers/issues/23979 | 1,739,701,347 | I_kwDOCUB6oc5nsbxj | 23,979 | Handle `g_state` in RWKV's customized CUDA kernel to overcome sequence length limitation | {
"login": "Blealtan",
"id": 6376623,
"node_id": "MDQ6VXNlcjYzNzY2MjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6376623?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Blealtan",
"html_url": "https://github.com/Blealtan",
"followers_url": "https://api.github.com/users/Bleal... | [
{
"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 | [] | [
"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,685 | 1,688 | null | NONE | null | ### Feature request
Handle `g_state` in RWKV's customized CUDA kernel enables backward pass with a chained forward. As such, the maximum `context_length` will not hinder longer sequences in training, and the behavior of WKV backward is coherent with forward.
For BF16 kernels, see [here](https://github.com/Blealta... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23979/reactions",
"total_count": 2,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/23979/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23978 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23978/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23978/comments | https://api.github.com/repos/huggingface/transformers/issues/23978/events | https://github.com/huggingface/transformers/pull/23978 | 1,739,441,182 | PR_kwDOCUB6oc5SEdh6 | 23,978 | Fix typo in doc comment of BitsAndBytesConfig | {
"login": "ledyba",
"id": 391964,
"node_id": "MDQ6VXNlcjM5MTk2NA==",
"avatar_url": "https://avatars.githubusercontent.com/u/391964?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ledyba",
"html_url": "https://github.com/ledyba",
"followers_url": "https://api.github.com/users/ledyba/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,685 | 1,685 | 1,685 | CONTRIBUTOR | null | # What does this PR do?
Fix a typo in doc comments of `BitsAndBytesConfig` class.
It must be `nf4` instead of `fn4`.
Here is a comparison code in current main branch:
https://github.com/huggingface/transformers/blob/539e2281cd97c35ef4122757f26c88f44115fa94/src/transformers/utils/quantization_config.py#L166-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23978/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23978/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23978",
"html_url": "https://github.com/huggingface/transformers/pull/23978",
"diff_url": "https://github.com/huggingface/transformers/pull/23978.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23978.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23977 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23977/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23977/comments | https://api.github.com/repos/huggingface/transformers/issues/23977/events | https://github.com/huggingface/transformers/pull/23977 | 1,739,269,612 | PR_kwDOCUB6oc5SD2dG | 23,977 | 🌐 [i18n-KO] Translated tasks_summary.mdx to Korean | {
"login": "kihoon71",
"id": 75935546,
"node_id": "MDQ6VXNlcjc1OTM1NTQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/75935546?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kihoon71",
"html_url": "https://github.com/kihoon71",
"followers_url": "https://api.github.com/users/kih... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,685 | 1,686 | 1,686 | CONTRIBUTOR | null | # What does this PR do?
Translated task_summary.mdx file of the documentation to Korean.
Thank you in advance for your review.
Part of https://github.com/huggingface/transformers/issues/20179
## Before reviewing
- [x] Check for missing / redundant translations (번역 누락/중복 검사)
- [x] Grammar Check (맞춤법 검사)
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23977/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/23977/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23977",
"html_url": "https://github.com/huggingface/transformers/pull/23977",
"diff_url": "https://github.com/huggingface/transformers/pull/23977.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23977.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23976 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23976/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23976/comments | https://api.github.com/repos/huggingface/transformers/issues/23976/events | https://github.com/huggingface/transformers/pull/23976 | 1,739,257,237 | PR_kwDOCUB6oc5SDzuX | 23,976 | Pix2Struct: fix wrong broadcast axis of attention mask in visual encoder | {
"login": "affjljoo3581",
"id": 5409637,
"node_id": "MDQ6VXNlcjU0MDk2Mzc=",
"avatar_url": "https://avatars.githubusercontent.com/u/5409637?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/affjljoo3581",
"html_url": "https://github.com/affjljoo3581",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Sure. Is there something else I have to do for that?",
"Should be all good! just pushed!"
] | 1,685 | 1,685 | 1,685 | 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/23976/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23976/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23976",
"html_url": "https://github.com/huggingface/transformers/pull/23976",
"diff_url": "https://github.com/huggingface/transformers/pull/23976.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23976.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23974 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23974/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23974/comments | https://api.github.com/repos/huggingface/transformers/issues/23974/events | https://github.com/huggingface/transformers/issues/23974 | 1,739,254,841 | I_kwDOCUB6oc5nquw5 | 23,974 | Pix2Struct: wrong attention mask broadcasting in the visual encoder | {
"login": "affjljoo3581",
"id": 5409637,
"node_id": "MDQ6VXNlcjU0MDk2Mzc=",
"avatar_url": "https://avatars.githubusercontent.com/u/5409637?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/affjljoo3581",
"html_url": "https://github.com/affjljoo3581",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [] | 1,685 | 1,685 | 1,685 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.29.2
- Platform: Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.10
- Python version: 3.8.16
- Huggingface_hub version: 0.14.1
- Safetensors version: not installed
- PyTorch version (GPU?): 2.0.1+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23974/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23974/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23972 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23972/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23972/comments | https://api.github.com/repos/huggingface/transformers/issues/23972/events | https://github.com/huggingface/transformers/pull/23972 | 1,739,242,998 | PR_kwDOCUB6oc5SDwor | 23,972 | 🌐 [i18n-KO] Default to English for Untranslated Pages | {
"login": "wonhyeongseo",
"id": 29195190,
"node_id": "MDQ6VXNlcjI5MTk1MTkw",
"avatar_url": "https://avatars.githubusercontent.com/u/29195190?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wonhyeongseo",
"html_url": "https://github.com/wonhyeongseo",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"In the initial implementation, I opted to prefix untranslated page links with `../en/` to direct the user to the English version of the page. However, this approach has a side effect of redirecting users away from the localized version of our docs and into the English one.\r\n\r\nTo address this, I'm currently exp... | 1,685 | 1,687 | 1,687 | CONTRIBUTOR | null | # What does this PR do?
Fixes https://github.com/huggingface/transformers/issues/23971
## Before submitting
- [x] 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/mai... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23972/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23972/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23972",
"html_url": "https://github.com/huggingface/transformers/pull/23972",
"diff_url": "https://github.com/huggingface/transformers/pull/23972.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23972.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23971 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23971/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23971/comments | https://api.github.com/repos/huggingface/transformers/issues/23971/events | https://github.com/huggingface/transformers/issues/23971 | 1,739,239,174 | I_kwDOCUB6oc5nqq8G | 23,971 | 🌐 [i18n-KO] Display English version of untranslated pages as a default option for improved UX | {
"login": "wonhyeongseo",
"id": 29195190,
"node_id": "MDQ6VXNlcjI5MTk1MTkw",
"avatar_url": "https://avatars.githubusercontent.com/u/29195190?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wonhyeongseo",
"html_url": "https://github.com/wonhyeongseo",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"This should already be the case without having to do anything special. cc @mishig25 "
] | 1,685 | 1,687 | 1,687 | CONTRIBUTOR | null | Part of https://github.com/huggingface/transformers/issues/20179
### Summary
We've been collecting feedback from our users, and a common theme we've identified is concerning the user experience when encountering untranslated pages. Users have expressed a preference to see the English version of a page directly if t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23971/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/23971/timeline | not_planned | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23970 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23970/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23970/comments | https://api.github.com/repos/huggingface/transformers/issues/23970/events | https://github.com/huggingface/transformers/issues/23970 | 1,739,176,672 | I_kwDOCUB6oc5nqbrg | 23,970 | GPU is needed for quantization in M2 MacOS | {
"login": "phdykd",
"id": 72084102,
"node_id": "MDQ6VXNlcjcyMDg0MTAy",
"avatar_url": "https://avatars.githubusercontent.com/u/72084102?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/phdykd",
"html_url": "https://github.com/phdykd",
"followers_url": "https://api.github.com/users/phdykd/fo... | [] | closed | false | null | [] | [
"No, the bitsandbytes library only works on CUDA GPU.",
"To get around this error I set load_in_8bit=False:\r\n``` AutoModelForSeq2SeqLM.from_pretrained(model_id,load_in_8bit=False) ```",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to... | 1,685 | 1,708 | 1,690 | NONE | null | ### System Info
M2 MacOS that has 12 CPU and 38 GPU, 96GB processor, 2TB storage
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or da... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23970/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/23970/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23969 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23969/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23969/comments | https://api.github.com/repos/huggingface/transformers/issues/23969/events | https://github.com/huggingface/transformers/pull/23969 | 1,739,174,649 | PR_kwDOCUB6oc5SDhcb | 23,969 | 🌐 [i18n-KO] Translated `language-modeling.mdx` | {
"login": "wonhyeongseo",
"id": 29195190,
"node_id": "MDQ6VXNlcjI5MTk1MTkw",
"avatar_url": "https://avatars.githubusercontent.com/u/29195190?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wonhyeongseo",
"html_url": "https://github.com/wonhyeongseo",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@sgugger, @ArthurZucker, @eunseojo May you please review this PR?"
] | 1,685 | 1,686 | 1,686 | CONTRIBUTOR | null | <!-- PR의 제목은 "🌐 [i18n-KO] Translated `language-modeling.mdx` to Korean" 으로 부탁드립니다 -->
# What does this PR do?
Translated the `language-modeling.mdx` file of the documentation to Korean.
Thank you in advance for your review.
Part of https://github.com/huggingface/transformers/issues/20179
<!-- 메인 이슈에 기록이 남아요!... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23969/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/23969/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23969",
"html_url": "https://github.com/huggingface/transformers/pull/23969",
"diff_url": "https://github.com/huggingface/transformers/pull/23969.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23969.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23968 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23968/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23968/comments | https://api.github.com/repos/huggingface/transformers/issues/23968/events | https://github.com/huggingface/transformers/pull/23968 | 1,739,100,611 | PR_kwDOCUB6oc5SDQ5E | 23,968 | 🌐 [i18n-KO] Translated `bertology.mdx` to Korean | {
"login": "wonhyeongseo",
"id": 29195190,
"node_id": "MDQ6VXNlcjI5MTk1MTkw",
"avatar_url": "https://avatars.githubusercontent.com/u/29195190?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wonhyeongseo",
"html_url": "https://github.com/wonhyeongseo",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"* Live preview is not working, although checks have passed. I confirmed there are no gotchas using GitHub Codespace. (We should create a pre-built environment (where all `pip install` commands are completed) for mentees and new-comer... | 1,685 | 1,686 | 1,686 | CONTRIBUTOR | null | <!-- PR의 제목은 "🌐 [i18n-KO] Translated `bertology.mdx` to Korean" 으로 부탁드립니다 -->
# What does this PR do?
Translated the `bertology.mdx` file of the documentation to Korean.
Thank you in advance for your review.
Part of https://github.com/huggingface/transformers/issues/20179
<!-- 메인 이슈에 기록이 남아요! 가짜연구소 리포를 사용해 연... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23968/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/23968/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23968",
"html_url": "https://github.com/huggingface/transformers/pull/23968",
"diff_url": "https://github.com/huggingface/transformers/pull/23968.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23968.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23967 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23967/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23967/comments | https://api.github.com/repos/huggingface/transformers/issues/23967/events | https://github.com/huggingface/transformers/pull/23967 | 1,739,096,253 | PR_kwDOCUB6oc5SDP9W | 23,967 | 🌐 [i18n-KO] Translated `bertology.mdx` to Korean | {
"login": "wonhyeongseo",
"id": 29195190,
"node_id": "MDQ6VXNlcjI5MTk1MTkw",
"avatar_url": "https://avatars.githubusercontent.com/u/29195190?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wonhyeongseo",
"html_url": "https://github.com/wonhyeongseo",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Missed the first header in my first commit. Closing in favor of https://github.com/huggingface/transformers/pull/23968",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_23967). All of your documentation changes will be reflected on that endpoint."
] | 1,685 | 1,685 | 1,685 | CONTRIBUTOR | null | <!-- PR의 제목은 "🌐 [i18n-KO] Translated `bertology.mdx` to Korean" 으로 부탁드립니다 -->
# What does this PR do?
Translated the `bertology.mdx` file of the documentation to Korean.
Thank you in advance for your review.
Part of https://github.com/huggingface/transformers/issues/20179
<!-- 메인 이슈에 기록이 남아요! 가짜연구소 리포를 사용해 연습하실때는 제... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23967/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23967/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23967",
"html_url": "https://github.com/huggingface/transformers/pull/23967",
"diff_url": "https://github.com/huggingface/transformers/pull/23967.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23967.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23966 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23966/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23966/comments | https://api.github.com/repos/huggingface/transformers/issues/23966/events | https://github.com/huggingface/transformers/issues/23966 | 1,738,911,682 | I_kwDOCUB6oc5npa_C | 23,966 | Support "OptimizedModule" models obtained from torch.compile() in inference pipelines | {
"login": "jorirsan",
"id": 82667970,
"node_id": "MDQ6VXNlcjgyNjY3OTcw",
"avatar_url": "https://avatars.githubusercontent.com/u/82667970?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jorirsan",
"html_url": "https://github.com/jorirsan",
"followers_url": "https://api.github.com/users/jor... | [] | closed | false | null | [] | [
"cc @Narsil ",
"Hi @iranz15 can you share an example of code of failure ?\r\n\r\nI tried to do :\r\n\r\n```python\r\npipe.model = torch.compile(pipe.model)\r\n```\r\n\r\nAnd everything seems to work ok after removing `inference_mode` and just using `torch.no_grad`.\r\n@sgugger any preference between compilation ... | 1,685 | 1,686 | 1,686 | NONE | null | ### Feature request
Currently models obtained by the [torch.compile()](https://pytorch.org/docs/stable/generated/torch.compile.html) feature introduced in Pytorch 2.0 are not supported in inference pipelines from :hugs: Transformers.
### Motivation
The same way pipelines support optimization methods such as the use... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23966/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23966/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23965 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23965/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23965/comments | https://api.github.com/repos/huggingface/transformers/issues/23965/events | https://github.com/huggingface/transformers/pull/23965 | 1,738,862,585 | PR_kwDOCUB6oc5SCcbb | 23,965 | Auto tokenizer registration | {
"login": "Bearnardd",
"id": 43574448,
"node_id": "MDQ6VXNlcjQzNTc0NDQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/43574448?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Bearnardd",
"html_url": "https://github.com/Bearnardd",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,685 | 1,685 | 1,685 | CONTRIBUTOR | null | # What does this PR do?
Add loop check over `CONFIG_MAPPING._extra_content` to look for newly registered config.
Fixes https://github.com/huggingface/transformers/issues/23338
## Who can review?
@sgugger
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23965/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23965/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23965",
"html_url": "https://github.com/huggingface/transformers/pull/23965",
"diff_url": "https://github.com/huggingface/transformers/pull/23965.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23965.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23964 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23964/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23964/comments | https://api.github.com/repos/huggingface/transformers/issues/23964/events | https://github.com/huggingface/transformers/pull/23964 | 1,738,765,119 | PR_kwDOCUB6oc5SCHTe | 23,964 | Bump cryptography from 39.0.1 to 41.0.0 in /examples/research_projects/decision_transformer | {
"login": "dependabot[bot]",
"id": 49699333,
"node_id": "MDM6Qm90NDk2OTkzMzM=",
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dependabot%5Bbot%5D",
"html_url": "https://github.com/apps/dependabot",
"followers_url": "https://a... | [
{
"id": 1905493434,
"node_id": "MDU6TGFiZWwxOTA1NDkzNDM0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/dependencies",
"name": "dependencies",
"color": "0366d6",
"default": false,
"description": "Pull requests that update a dependency file"
}
] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_23964). All of your documentation changes will be reflected on that endpoint."
] | 1,685 | 1,685 | 1,685 | CONTRIBUTOR | null | Bumps [cryptography](https://github.com/pyca/cryptography) from 39.0.1 to 41.0.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst">cryptography's changelog</a>.</em></p>
<blockquote>
<p>41.0.0 - 2023-05-30</p>
<pre><code>
* **BACKWARDS INC... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23964/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23964/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23964",
"html_url": "https://github.com/huggingface/transformers/pull/23964",
"diff_url": "https://github.com/huggingface/transformers/pull/23964.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23964.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23963 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23963/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23963/comments | https://api.github.com/repos/huggingface/transformers/issues/23963/events | https://github.com/huggingface/transformers/pull/23963 | 1,738,613,559 | PR_kwDOCUB6oc5SBlx3 | 23,963 | [docs] Performance docs tidy up, part 1 | {
"login": "MKhalusova",
"id": 1065417,
"node_id": "MDQ6VXNlcjEwNjU0MTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/1065417?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MKhalusova",
"html_url": "https://github.com/MKhalusova",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> Also cc @lvwerra and @stas00 who contributed the original guide.\r\n\r\nThank you for the ping, Sylvain.\r\n\r\n@lvwerra and I had two very different approaches on how to do the new documentation, and since we went with Leandro's w... | 1,685 | 1,690 | 1,690 | CONTRIBUTOR | null | The [performance and scalability section](https://huggingface.co/docs/transformers/v4.29.1/en/performance) of the docs is difficult to navigate and find actionable advice in, according to feedback. Some topics are missing too. As part of the 2023 docs roadmap, we planned to refactor the section to make the actionable b... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23963/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 2,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23963/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23963",
"html_url": "https://github.com/huggingface/transformers/pull/23963",
"diff_url": "https://github.com/huggingface/transformers/pull/23963.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23963.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23962 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23962/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23962/comments | https://api.github.com/repos/huggingface/transformers/issues/23962/events | https://github.com/huggingface/transformers/issues/23962 | 1,738,395,756 | I_kwDOCUB6oc5nndBs | 23,962 | `OperatorNotAllowedInGraphError` on using TF XLA for `generate` with Tf-GPT2 model | {
"login": "SushantDaga",
"id": 30365333,
"node_id": "MDQ6VXNlcjMwMzY1MzMz",
"avatar_url": "https://avatars.githubusercontent.com/u/30365333?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SushantDaga",
"html_url": "https://github.com/SushantDaga",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"@gante Any way I can help in debugging this? Have not used TF in long time, wanted to do a comparison of latest PyTorch with Tf-XLA",
"Hey @SushantDaga 👋 \r\n\r\nThe script seems to be working fine on my end (local computer and [colab](https://colab.research.google.com/drive/1377siPIpYLno_DpyE9iodQgNBymTG2h-?us... | 1,685 | 1,689 | 1,689 | NONE | null | ### System Info
- `transformers` version: 4.29.2
- Platform: Linux-5.4.0-1099-aws-x86_64-with-debian-buster-sid
- Python version: 3.7.16
- Huggingface_hub version: 0.15.1
- Safetensors version: not installed
- PyTorch version (GPU?): 1.13.1+cu117 (True)
- Tensorflow version (GPU?): 2.11.0 (True)
- Flax version ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23962/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23962/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23961 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23961/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23961/comments | https://api.github.com/repos/huggingface/transformers/issues/23961/events | https://github.com/huggingface/transformers/pull/23961 | 1,738,374,664 | PR_kwDOCUB6oc5SAxlR | 23,961 | Fix `is_optimum_neuron_available` | {
"login": "michaelbenayoun",
"id": 25418079,
"node_id": "MDQ6VXNlcjI1NDE4MDc5",
"avatar_url": "https://avatars.githubusercontent.com/u/25418079?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/michaelbenayoun",
"html_url": "https://github.com/michaelbenayoun",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"No, here the check for `_is_package_available(\"optimum.neuron\")` is done at \"runtime\" not \"import time\". \r\nFor some reason `optimum.neuron` is not available at import time of this file but is available later... \r\nMaybe this... | 1,685 | 1,686 | 1,686 | MEMBER | null | # What does this PR do?
#23163 introduced a new way for checking which seems to not work in this case.
I get this when running `optimum-neuron`:
```
Please use the TrainiumTrainer from optimum[neuron] instead of the Transformers library to perform training on AWS Trainium instances. More information here: http... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23961/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23961/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23961",
"html_url": "https://github.com/huggingface/transformers/pull/23961",
"diff_url": "https://github.com/huggingface/transformers/pull/23961.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23961.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23960 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23960/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23960/comments | https://api.github.com/repos/huggingface/transformers/issues/23960/events | https://github.com/huggingface/transformers/issues/23960 | 1,738,365,796 | I_kwDOCUB6oc5nnVtk | 23,960 | FlaxT5ForConditionalGeneration: Inconsistency in Final Block Hidden State of Encoder/Decoder | {
"login": "ztjhz",
"id": 59118459,
"node_id": "MDQ6VXNlcjU5MTE4NDU5",
"avatar_url": "https://avatars.githubusercontent.com/u/59118459?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ztjhz",
"html_url": "https://github.com/ztjhz",
"followers_url": "https://api.github.com/users/ztjhz/follow... | [] | closed | false | null | [] | [
"cc @sanchit-gandhi ",
"Hey @ztjhz - thanks for the descriptive issue! We are indeed missing a bit of functionality here - for layers 0 to 10 we append the output of the layer to our collection of hidden-states `all_hidden_states`:\r\nhttps://github.com/huggingface/transformers/blob/17846646f230fdf5b0d6b4d31248cc... | 1,685 | 1,688 | 1,688 | CONTRIBUTOR | null | ### System Info
I'm implementing my own T5 model in JAX and using the `FlaxT5ForConditionalGeneration` module to evaluate the results of my work.
During my testing phase, I ran into an issue. Using the provided code, I noticed that the hidden states from block `0` to block `10` in my implementation are consistent w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23960/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/23960/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23959 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23959/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23959/comments | https://api.github.com/repos/huggingface/transformers/issues/23959/events | https://github.com/huggingface/transformers/pull/23959 | 1,738,331,712 | PR_kwDOCUB6oc5SAoKQ | 23,959 | Remote code improvements | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,685 | 1,686 | 1,686 | COLLABORATOR | null | # What does this PR do?
This PR adds a few improvements to the code on the Hub API, mainly:
- if `trust_remote_code` is unset, we ask the user to validate or not (with a timeout of 30s for users launchin script)
- in case of conflict between code on the Hub and local code (for when Falcon or MPT are added in Trans... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23959/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23959/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23959",
"html_url": "https://github.com/huggingface/transformers/pull/23959",
"diff_url": "https://github.com/huggingface/transformers/pull/23959.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23959.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23958 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23958/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23958/comments | https://api.github.com/repos/huggingface/transformers/issues/23958/events | https://github.com/huggingface/transformers/issues/23958 | 1,738,288,228 | I_kwDOCUB6oc5nnCxk | 23,958 | Incorrect typing of `debug` field in `TrainingArguments` | {
"login": "augray",
"id": 7181589,
"node_id": "MDQ6VXNlcjcxODE1ODk=",
"avatar_url": "https://avatars.githubusercontent.com/u/7181589?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/augray",
"html_url": "https://github.com/augray",
"followers_url": "https://api.github.com/users/augray/foll... | [] | closed | false | null | [] | [
"The `debug` field does not accept a list of string, but a list of `DebugOption`, so the type annotation should be more like `Union[str, List[DebugOption]]`.\r\n\r\nHappy to have a look at a PR if you want to fix it."
] | 1,685 | 1,687 | 1,687 | NONE | null | ### System Info
https://github.com/huggingface/transformers/blob/v4.29.2/src/transformers/training_args.py#L862
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23958/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23958/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23957 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23957/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23957/comments | https://api.github.com/repos/huggingface/transformers/issues/23957/events | https://github.com/huggingface/transformers/pull/23957 | 1,738,184,044 | PR_kwDOCUB6oc5SAH1W | 23,957 | find cpu_amp is incorrect set, it's only set if self.sharded_ddp is n… | {
"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 | [] | [
"amp does not work if self.sharded_ddp is None",
"_The documentation is not available anymore as the PR was closed or merged._",
"If Accelerate's support isn't handling mixed precision or if there is some issue with that, raise an issue with the reproducer. As of now, no changes are required to mixed precision ... | 1,685 | 1,686 | 1,686 | CONTRIBUTOR | null | …ot None...
- trainer: @sgugger
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23957/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23957/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23957",
"html_url": "https://github.com/huggingface/transformers/pull/23957",
"diff_url": "https://github.com/huggingface/transformers/pull/23957.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23957.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23956 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23956/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23956/comments | https://api.github.com/repos/huggingface/transformers/issues/23956/events | https://github.com/huggingface/transformers/issues/23956 | 1,738,070,119 | I_kwDOCUB6oc5nmNhn | 23,956 | https://huggingface.co/sentence-transformers/clip-ViT-B-32 license? | {
"login": "Li0ness",
"id": 127969147,
"node_id": "U_kgDOB6Cnew",
"avatar_url": "https://avatars.githubusercontent.com/u/127969147?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Li0ness",
"html_url": "https://github.com/Li0ness",
"followers_url": "https://api.github.com/users/Li0ness/foll... | [] | closed | false | null | [] | [
"You should open a discussion on the model page directly.",
"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://gi... | 1,685 | 1,689 | 1,689 | NONE | null | Hi,
model card for clip-ViT-B-32 misses information about license.
Could you please add license info?
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23956/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23956/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23954 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23954/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23954/comments | https://api.github.com/repos/huggingface/transformers/issues/23954/events | https://github.com/huggingface/transformers/pull/23954 | 1,737,909,467 | PR_kwDOCUB6oc5R_LFS | 23,954 | add new mms functions to doc | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,685 | 1,685 | 1,685 | MEMBER | null | This PR is a follow-up from: https://github.com/huggingface/transformers/pull/23813 to add two new functions to the doc strings. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23954/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23954/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23954",
"html_url": "https://github.com/huggingface/transformers/pull/23954",
"diff_url": "https://github.com/huggingface/transformers/pull/23954.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23954.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23953 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23953/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23953/comments | https://api.github.com/repos/huggingface/transformers/issues/23953/events | https://github.com/huggingface/transformers/pull/23953 | 1,737,896,920 | PR_kwDOCUB6oc5R_ITS | 23,953 | [ASR pipeline] Check for torchaudio | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,685 | 1,687 | 1,687 | CONTRIBUTOR | null | # What does this PR do?
Fixes https://github.com/huggingface/transformers/pull/23445#discussion_r1213368268: checks whether `torchaudio` is available to import and throws a useful error message to the user if not
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23953/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23953/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23953",
"html_url": "https://github.com/huggingface/transformers/pull/23953",
"diff_url": "https://github.com/huggingface/transformers/pull/23953.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23953.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23952 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23952/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23952/comments | https://api.github.com/repos/huggingface/transformers/issues/23952/events | https://github.com/huggingface/transformers/pull/23952 | 1,737,776,081 | PR_kwDOCUB6oc5R-td4 | 23,952 | Trainer: fixed evaluate raising `KeyError` for ReduceLROnPlateau | {
"login": "claudius-kienle",
"id": 25877269,
"node_id": "MDQ6VXNlcjI1ODc3MjY5",
"avatar_url": "https://avatars.githubusercontent.com/u/25877269?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/claudius-kienle",
"html_url": "https://github.com/claudius-kienle",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,685 | 1,685 | 1,685 | CONTRIBUTOR | null | If the `metric_for_best_model` does not start with `eval_`, the trainer always appends the `eval_` string before querying the metric value. Except in one code snippet, that only gets triggered if one uses the `ReduceLROnPlateau` scheduler.
I have added the check for `eval` like in the rest of the trainer.
<!--
Co... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23952/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23952/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23952",
"html_url": "https://github.com/huggingface/transformers/pull/23952",
"diff_url": "https://github.com/huggingface/transformers/pull/23952.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23952.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23951 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23951/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23951/comments | https://api.github.com/repos/huggingface/transformers/issues/23951/events | https://github.com/huggingface/transformers/issues/23951 | 1,737,751,350 | I_kwDOCUB6oc5nk_s2 | 23,951 | `prompt_ids` does not seem to work with `repetition_penalty` | {
"login": "kiyosumaeda",
"id": 36324185,
"node_id": "MDQ6VXNlcjM2MzI0MTg1",
"avatar_url": "https://avatars.githubusercontent.com/u/36324185?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kiyosumaeda",
"html_url": "https://github.com/kiyosumaeda",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Hey @kiyosumaeda! Cool to see that you're using PEFT to fine-tune Whisper and that prompting is working with the PEFT model - this is nice validation that the model doesn't exhibit catastrophic forgetting, since we don't fine-tune on the prompting task. Note that you can get quite considerable speed-ups to inferen... | 1,685 | 1,693 | 1,693 | NONE | null | ### System Info
transformers== 4.30.0.dev0
### Who can help?
@connor-henderson @sanchit-gandhi
Hi,
Thank you for supporting prompt for inferencing with whisper (https://github.com/huggingface/transformers/pull/22496)! I've used this feature for Japanese audio files to transcribe rare words (e.g., proper n... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23951/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23951/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23950 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23950/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23950/comments | https://api.github.com/repos/huggingface/transformers/issues/23950/events | https://github.com/huggingface/transformers/issues/23950 | 1,737,693,035 | I_kwDOCUB6oc5nkxdr | 23,950 | Got errors when calling AutoModelForCausalLM related APIs | {
"login": "ztxjack",
"id": 19992475,
"node_id": "MDQ6VXNlcjE5OTkyNDc1",
"avatar_url": "https://avatars.githubusercontent.com/u/19992475?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ztxjack",
"html_url": "https://github.com/ztxjack",
"followers_url": "https://api.github.com/users/ztxjac... | [] | closed | false | null | [] | [
"This code cannot work. You can't use `device_map=\"auto\"` and then move back your model to another device.",
"Hi @sgugger,\r\nThanks for your comment, so how could i adapt the code for device map setup to suppport CPU loading well in this case, do you have any suggestion?",
"This issue has been automatically ... | 1,685 | 1,695 | 1,689 | NONE | null | ### System Info
torch ==1.10.1+cu111
python == 3.8.5
CUDA 11.2
2 GPU == Tesla P40 (vRAM 24G)
14 core CPU == Intel(R) Xeon(R) CPU E5-2680 v4 @ 2.40GHz
RAM == 112G
ubuntu 18 OS
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### T... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23950/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23950/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23948 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23948/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23948/comments | https://api.github.com/repos/huggingface/transformers/issues/23948/events | https://github.com/huggingface/transformers/pull/23948 | 1,737,283,233 | PR_kwDOCUB6oc5R9Cxf | 23,948 | fixed direct input of state dict functionality | {
"login": "mikeybellissimo",
"id": 13650673,
"node_id": "MDQ6VXNlcjEzNjUwNjcz",
"avatar_url": "https://avatars.githubusercontent.com/u/13650673?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mikeybellissimo",
"html_url": "https://github.com/mikeybellissimo",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"Could you please post a reproducer of the bug you encounter? The situation described in the doc works and is tested, but it looks like you are trying to use it with other extra arguments like `low_cpu_mem_usage=True`, which is definitely not a combination we support.",
"> Could you please post a reproducer of th... | 1,685 | 1,689 | 1,689 | NONE | null | # What does this PR do?
In the documentation it says that if you call from_pretrained with pretrained_model_name_or_path set to None and specify config and state_dict then you can directly input the state_dict. This branch accomplishes that.
<!--
Congratulations! You've made it this far! You're not quite done yet... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23948/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23948/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23948",
"html_url": "https://github.com/huggingface/transformers/pull/23948",
"diff_url": "https://github.com/huggingface/transformers/pull/23948.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23948.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23947 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23947/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23947/comments | https://api.github.com/repos/huggingface/transformers/issues/23947/events | https://github.com/huggingface/transformers/issues/23947 | 1,737,281,112 | I_kwDOCUB6oc5njM5Y | 23,947 | Unable to load from pretrained by inputting state_dict directly | {
"login": "mikeybellissimo",
"id": 13650673,
"node_id": "MDQ6VXNlcjEzNjUwNjcz",
"avatar_url": "https://avatars.githubusercontent.com/u/13650673?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mikeybellissimo",
"html_url": "https://github.com/mikeybellissimo",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"Hi, after reading some more online, I don't believe that this is the proper way to do a pull request. This is my first time contributing to open source. Sorry about that. I would delete this all if I was able. ",
"This issue has been automatically marked as stale because it has not had recent activity. If you th... | 1,685 | 1,689 | 1,689 | NONE | null | ### System Info
In the documentation it says that if you put the pretrained_model_name_or_path == None then you can directly input the state_dict for the model. I needed to do this for a specific use case where it doesn't make sense for me to save and then load the checkpoints like usual. Attached is the screenshot o... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23947/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23947/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23946 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23946/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23946/comments | https://api.github.com/repos/huggingface/transformers/issues/23946/events | https://github.com/huggingface/transformers/issues/23946 | 1,736,955,983 | I_kwDOCUB6oc5nh9hP | 23,946 | Getting high cossine similarity for any given pair of random text from the xlmr model | {
"login": "rishabhm12",
"id": 46642330,
"node_id": "MDQ6VXNlcjQ2NjQyMzMw",
"avatar_url": "https://avatars.githubusercontent.com/u/46642330?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rishabhm12",
"html_url": "https://github.com/rishabhm12",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Please use the [forums](https://discuss.huggingface.co/) for questions like this.",
"Sure, will raise it there. Closing the issue"
] | 1,685 | 1,685 | 1,685 | NONE | null | ### System Info
Hey guys,
I am using xlm-roberta-base with transformers==4.16.0 torch==1.13.1
For any given pair of random text, I always get a high cosine similarity.
````
model_id = "xlm-roberta-base"
tokenizer = XLMRobertaTokenizerFast.from_pretrained(model_id)
xlmr_model = XLMRobertaModel.from_pre... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23946/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23946/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23945 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23945/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23945/comments | https://api.github.com/repos/huggingface/transformers/issues/23945/events | https://github.com/huggingface/transformers/pull/23945 | 1,736,776,070 | PR_kwDOCUB6oc5R7TLO | 23,945 | [Whisper Tokenizer] Skip special tokens when decoding with timestamps | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,685 | 1,685 | 1,685 | CONTRIBUTOR | null | # What does this PR do?
Decoding with timestamps always returns the special tokeniser tokens, ignoring the argument `skip_special_tokens`. This PR fixes this behaviour to respect `skip_special_tokens`, both with and without timestamp decoding.
Before:
```python
from transformers import WhisperTokenizer
token... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23945/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23945/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23945",
"html_url": "https://github.com/huggingface/transformers/pull/23945",
"diff_url": "https://github.com/huggingface/transformers/pull/23945.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23945.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23944 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23944/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23944/comments | https://api.github.com/repos/huggingface/transformers/issues/23944/events | https://github.com/huggingface/transformers/pull/23944 | 1,736,735,182 | PR_kwDOCUB6oc5R7KM4 | 23,944 | Fix `ReduceLROnPlateau` object has no attribute 'get_last_lr' | {
"login": "wasupandceacar",
"id": 16360280,
"node_id": "MDQ6VXNlcjE2MzYwMjgw",
"avatar_url": "https://avatars.githubusercontent.com/u/16360280?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wasupandceacar",
"html_url": "https://github.com/wasupandceacar",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> Thanks for the fix! Can you run a quick `make style` on your branch?\r\n\r\ndone"
] | 1,685 | 1,685 | 1,685 | CONTRIBUTOR | null | # What does this PR do?
Fix bug when setting lr_scheduler to `ReduceLROnPlateau`. When selecting this scheduler, use the optimizer to get the lr.
Refer to [this discussion](https://discuss.pytorch.org/t/shouldnt-reducelronplateau-super-optimizer-in-its-init/89390/2).
<!--
Congratulations! You've made it this ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23944/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23944/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23944",
"html_url": "https://github.com/huggingface/transformers/pull/23944",
"diff_url": "https://github.com/huggingface/transformers/pull/23944.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23944.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23943 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23943/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23943/comments | https://api.github.com/repos/huggingface/transformers/issues/23943/events | https://github.com/huggingface/transformers/pull/23943 | 1,736,621,303 | PR_kwDOCUB6oc5R6wtr | 23,943 | Revert "Update stale.yml to use HuggingFaceBot" | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"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_23943). All of your documentation changes will be reflected on that endpoint."
] | 1,685 | 1,685 | 1,685 | MEMBER | null | Reverts huggingface/transformers#23941 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23943/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23943/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23943",
"html_url": "https://github.com/huggingface/transformers/pull/23943",
"diff_url": "https://github.com/huggingface/transformers/pull/23943.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23943.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23942 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23942/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23942/comments | https://api.github.com/repos/huggingface/transformers/issues/23942/events | https://github.com/huggingface/transformers/pull/23942 | 1,736,537,349 | PR_kwDOCUB6oc5R6eVc | 23,942 | use _make_causal_mask in clip/vit models | {
"login": "kashif",
"id": 8100,
"node_id": "MDQ6VXNlcjgxMDA=",
"avatar_url": "https://avatars.githubusercontent.com/u/8100?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kashif",
"html_url": "https://github.com/kashif",
"followers_url": "https://api.github.com/users/kashif/followers",
... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,685 | 1,691 | 1,685 | CONTRIBUTOR | null | # What does this PR do?
Uses the `_make_causal_mask` helper to build the causal attention mask which works for `bfloat16` dtype.
the current `_build_causal_attention_mask` uses the `torch.triu_` which is not supported in pytorch release fixed recently in main: https://github.com/pytorch/pytorch/pull/101414
s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23942/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23942/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23942",
"html_url": "https://github.com/huggingface/transformers/pull/23942",
"diff_url": "https://github.com/huggingface/transformers/pull/23942.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23942.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23941 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23941/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23941/comments | https://api.github.com/repos/huggingface/transformers/issues/23941/events | https://github.com/huggingface/transformers/pull/23941 | 1,736,505,818 | PR_kwDOCUB6oc5R6XUA | 23,941 | Update stale.yml to use HuggingFaceBot | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"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_23941). All of your documentation changes will be reflected on that endpoint."
] | 1,685 | 1,685 | 1,685 | MEMBER | null | Updates the token used to leverage the HuggingFaceBot triaging bot instead | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23941/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23941/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23941",
"html_url": "https://github.com/huggingface/transformers/pull/23941",
"diff_url": "https://github.com/huggingface/transformers/pull/23941.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23941.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23940 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23940/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23940/comments | https://api.github.com/repos/huggingface/transformers/issues/23940/events | https://github.com/huggingface/transformers/pull/23940 | 1,736,469,731 | PR_kwDOCUB6oc5R6PSJ | 23,940 | Make TF ESM inv_freq non-trainable like PyTorch | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,685 | 1,685 | 1,685 | MEMBER | null | Minor TF-ESM fix - the `inv_freq` weight is a non-trainable buffer in PyTorch, but was trainable in TF models. This might cause small discrepancies when fine-tuning. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23940/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23940/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23940",
"html_url": "https://github.com/huggingface/transformers/pull/23940",
"diff_url": "https://github.com/huggingface/transformers/pull/23940.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23940.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23939 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23939/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23939/comments | https://api.github.com/repos/huggingface/transformers/issues/23939/events | https://github.com/huggingface/transformers/pull/23939 | 1,736,455,740 | PR_kwDOCUB6oc5R6MPd | 23,939 | rename DocumentQuestionAnsweringTool parameter input to match docstring | {
"login": "Adam-D-Lewis",
"id": 23342526,
"node_id": "MDQ6VXNlcjIzMzQyNTI2",
"avatar_url": "https://avatars.githubusercontent.com/u/23342526?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Adam-D-Lewis",
"html_url": "https://github.com/Adam-D-Lewis",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,685 | 1,685 | 1,685 | CONTRIBUTOR | null | # What does this PR do?
Rename DocumentQuestionAnsweringTool parameter input to match docstring
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Fixes [# (issue)](https://github.com/huggingface/transformers/issues/23921)
## Before submitting
- [ ] This PR fixes a typo or im... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23939/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23939/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23939",
"html_url": "https://github.com/huggingface/transformers/pull/23939",
"diff_url": "https://github.com/huggingface/transformers/pull/23939.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23939.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23938 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23938/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23938/comments | https://api.github.com/repos/huggingface/transformers/issues/23938/events | https://github.com/huggingface/transformers/pull/23938 | 1,736,427,135 | PR_kwDOCUB6oc5R6GDU | 23,938 | Add an option to reduce compile() console spam | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"I think we tried that, but then most users would miss it! I think we definitely want to make users aware of what's going on (because this is the one big place we diverge from the Keras training standard), but give them an option to d... | 1,685 | 1,685 | 1,685 | MEMBER | null | This is a very simple PR to add an option to reduce the console spam from our `compile()` method.
Briefly, Keras model expect you to pass a loss function to `compile()`. However, `transformers` models usually compute loss internally. The solution we used was that if the user didn't pass a `loss` argument to `compile... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23938/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23938/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23938",
"html_url": "https://github.com/huggingface/transformers/pull/23938",
"diff_url": "https://github.com/huggingface/transformers/pull/23938.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23938.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23937 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23937/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23937/comments | https://api.github.com/repos/huggingface/transformers/issues/23937/events | https://github.com/huggingface/transformers/pull/23937 | 1,736,400,021 | PR_kwDOCUB6oc5R6ACg | 23,937 | Pin rhoknp | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,685 | 1,685 | 1,685 | COLLABORATOR | null | # What does this PR do?
The recent release of `rhoknp` breaks the BERT Japanese tests, so this PR pins it. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23937/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23937/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23937",
"html_url": "https://github.com/huggingface/transformers/pull/23937",
"diff_url": "https://github.com/huggingface/transformers/pull/23937.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23937.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23936 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23936/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23936/comments | https://api.github.com/repos/huggingface/transformers/issues/23936/events | https://github.com/huggingface/transformers/pull/23936 | 1,736,365,068 | PR_kwDOCUB6oc5R54Uy | 23,936 | [don't merge] Test hfh v0.15.0.rc0 | {
"login": "Wauplin",
"id": 11801849,
"node_id": "MDQ6VXNlcjExODAxODQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/11801849?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Wauplin",
"html_url": "https://github.com/Wauplin",
"followers_url": "https://api.github.com/users/Waupli... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_23936). All of your documentation changes will be reflected on that endpoint."
] | 1,685 | 1,685 | 1,685 | CONTRIBUTOR | null | Trying to trigger the CI differently. Still stuck on the ci-... branch (see https://github.com/huggingface/transformers/actions/runs/5143134417) so I guess I did something wrong. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23936/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23936/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23936",
"html_url": "https://github.com/huggingface/transformers/pull/23936",
"diff_url": "https://github.com/huggingface/transformers/pull/23936.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23936.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23935 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23935/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23935/comments | https://api.github.com/repos/huggingface/transformers/issues/23935/events | https://github.com/huggingface/transformers/issues/23935 | 1,736,235,896 | I_kwDOCUB6oc5nfNt4 | 23,935 | RuntimeError: unscale_() has already been called on this optimizer since the last update(). | {
"login": "kafkasl",
"id": 2961095,
"node_id": "MDQ6VXNlcjI5NjEwOTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/2961095?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kafkasl",
"html_url": "https://github.com/kafkasl",
"followers_url": "https://api.github.com/users/kafkasl/... | [] | closed | false | null | [] | [
"Hi @kafkasl \r\nI can confirm the training works if I install `accelerate` from source using your notebook.\r\n\r\n\r\n\r\nCan you add:\r\n```bash\r\n!pip install -q git+https://git... | 1,685 | 1,695 | 1,685 | NONE | null | ### System Info
- `transformers` version: 4.30.0.dev0
- Platform: Linux-5.4.0-122-generic-x86_64-with-glibc2.31
- Python version: 3.9.16
- Huggingface_hub version: 0.14.1
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.1+cu117 (True)
- Tensorflow version (GPU?): 2.9.2 (True)
- Flax version (CPU?/GP... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23935/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23935/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23934 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23934/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23934/comments | https://api.github.com/repos/huggingface/transformers/issues/23934/events | https://github.com/huggingface/transformers/issues/23934 | 1,736,102,123 | I_kwDOCUB6oc5netDr | 23,934 | 'ReduceLROnPlateau' object has no attribute 'get_last_lr' | {
"login": "jumelet",
"id": 9407977,
"node_id": "MDQ6VXNlcjk0MDc5Nzc=",
"avatar_url": "https://avatars.githubusercontent.com/u/9407977?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jumelet",
"html_url": "https://github.com/jumelet",
"followers_url": "https://api.github.com/users/jumelet/... | [] | closed | false | null | [] | [
"This might be a bug indeed. Will have a look when I have some time but if someone wants to open a PR to fix this, they are more than welcome to do so!"
] | 1,685 | 1,685 | 1,685 | NONE | null | ### System Info
- `transformers` version: 4.29.2
- Platform: Linux-4.18.0-425.19.2.el8_7.x86_64-x86_64-with-glibc2.28
- Python version: 3.9.5
- Huggingface_hub version: 0.14.1
- Safetensors version: not installed
- PyTorch version (GPU?): 2.0.1+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Fl... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23934/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23934/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23933 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23933/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23933/comments | https://api.github.com/repos/huggingface/transformers/issues/23933/events | https://github.com/huggingface/transformers/issues/23933 | 1,736,100,754 | I_kwDOCUB6oc5nesuS | 23,933 | Streamable way in model.generate | {
"login": "lucasjinreal",
"id": 21303438,
"node_id": "MDQ6VXNlcjIxMzAzNDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/21303438?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lucasjinreal",
"html_url": "https://github.com/lucasjinreal",
"followers_url": "https://api.github.c... | [
{
"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 | [] | [
"cc @gante ",
"\"streamer (BaseStreamer, optional) — Streamer object that will be used to stream the generated sequences. Generated tokens are passed through streamer.put(token_ids) and the streamer is responsible for any further processing. kwargs — Ad hoc parametrization of generate_config and/or additional mod... | 1,685 | 1,706 | 1,706 | NONE | null | ### Feature request
As the llm becomes bigger and bigger, a quite slow speed in generate caused long time waiting for whole response.
would it be OK add a `model.stream_generate` or something like for users to use?
Actually some community guys implementated such a thing, but this could be a problem too: users do... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23933/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23933/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23932 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23932/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23932/comments | https://api.github.com/repos/huggingface/transformers/issues/23932/events | https://github.com/huggingface/transformers/pull/23932 | 1,735,815,188 | PR_kwDOCUB6oc5R3_TH | 23,932 | Effectively allow `encoder_outputs` input to be a tuple in pix2struct | {
"login": "fxmarty",
"id": 9808326,
"node_id": "MDQ6VXNlcjk4MDgzMjY=",
"avatar_url": "https://avatars.githubusercontent.com/u/9808326?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fxmarty",
"html_url": "https://github.com/fxmarty",
"followers_url": "https://api.github.com/users/fxmarty/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,685 | 1,685 | 1,685 | COLLABORATOR | null | Be consistent with the type hint https://github.com/huggingface/transformers/blob/fabe17a726bbf6081cfbcc975d8ac451a81f3e2d/src/transformers/models/pix2struct/modeling_pix2struct.py#L1656 (which should rather be `Optional[Union[Tuple[Tuple[torch.FloatTensor]], OrderedDict]]` IMO) and follow what is done with other archi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23932/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23932/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23932",
"html_url": "https://github.com/huggingface/transformers/pull/23932",
"diff_url": "https://github.com/huggingface/transformers/pull/23932.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23932.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23931 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23931/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23931/comments | https://api.github.com/repos/huggingface/transformers/issues/23931/events | https://github.com/huggingface/transformers/issues/23931 | 1,735,755,718 | I_kwDOCUB6oc5ndYfG | 23,931 | GPU memory not completely free after one BERT/RoBERTa fwd pass | {
"login": "halixness",
"id": 20798848,
"node_id": "MDQ6VXNlcjIwNzk4ODQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/20798848?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/halixness",
"html_url": "https://github.com/halixness",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hi @halixness \r\nIn the past I have experienced that, and adding `gc.collect()` before and after the `torch.cuda.empty_cache()` seemed to help. Can you quickly try that out? 🙏 ",
"> `gc.collect()`\r\n@younesbelkada \r\nHi! Unfortunately that did not help :(\r\n```\r\nwith torch.no_grad():\r\n out = model(to... | 1,685 | 1,688 | 1,688 | NONE | null | ### System Info
Hello. I am batch processing a list of sentences to solely extract a contextualized word embedding for each one (for the same word, this is just an example). I have to iterate this for different words and sentences, but after one forward pass and all the "del" and "torch.cuda.empty_cache()", the GPU ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23931/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23931/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23930 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23930/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23930/comments | https://api.github.com/repos/huggingface/transformers/issues/23930/events | https://github.com/huggingface/transformers/issues/23930 | 1,735,747,432 | I_kwDOCUB6oc5ndWdo | 23,930 | Two tokenizer initialization methods result in inconsistent segmentation results for special words | {
"login": "KinvenW",
"id": 56222264,
"node_id": "MDQ6VXNlcjU2MjIyMjY0",
"avatar_url": "https://avatars.githubusercontent.com/u/56222264?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/KinvenW",
"html_url": "https://github.com/KinvenW",
"followers_url": "https://api.github.com/users/Kinven... | [
{
"id": 1834056635,
"node_id": "MDU6TGFiZWwxODM0MDU2NjM1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Core:%20Tokenization",
"name": "Core: Tokenization",
"color": "FF4446",
"default": false,
"description": "Internals of the library; Tokenization."
}
] | closed | false | {
"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... | [
{
"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": "... | [
"Hey! Which version of transformers are you using? I tried to reproduce this but it did not work. Download the sentencepiece model from the official repo, and it worked on main~",
"> Hey! Which version of transformers are you using? I tried to reproduce this but it did not work. Download the sentencepiece model ... | 1,685 | 1,695 | 1,695 | NONE | null | ### System Info
transformers==4.17.0
torch==1.10.0
python==3.7.3
### Who can help?
@ArthurZucker
### 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 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23930/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23930/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23929 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23929/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23929/comments | https://api.github.com/repos/huggingface/transformers/issues/23929/events | https://github.com/huggingface/transformers/pull/23929 | 1,735,564,539 | PR_kwDOCUB6oc5R3JNE | 23,929 | Fix doc string nits | {
"login": "sheonhan",
"id": 4163701,
"node_id": "MDQ6VXNlcjQxNjM3MDE=",
"avatar_url": "https://avatars.githubusercontent.com/u/4163701?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sheonhan",
"html_url": "https://github.com/sheonhan",
"followers_url": "https://api.github.com/users/sheon... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,685 | 1,685 | 1,685 | CONTRIBUTOR | null | # What does this PR do?
Fixes a couple docstring nits discovered while working on another PR | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23929/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23929/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23929",
"html_url": "https://github.com/huggingface/transformers/pull/23929",
"diff_url": "https://github.com/huggingface/transformers/pull/23929.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23929.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23928 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23928/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23928/comments | https://api.github.com/repos/huggingface/transformers/issues/23928/events | https://github.com/huggingface/transformers/issues/23928 | 1,735,525,149 | I_kwDOCUB6oc5ncgMd | 23,928 | [Feature Request] Add timestamp prediction for TF Whisper | {
"login": "makaveli10",
"id": 39617050,
"node_id": "MDQ6VXNlcjM5NjE3MDUw",
"avatar_url": "https://avatars.githubusercontent.com/u/39617050?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/makaveli10",
"html_url": "https://github.com/makaveli10",
"followers_url": "https://api.github.com/use... | [
{
"id": 1834054694,
"node_id": "MDU6TGFiZWwxODM0MDU0Njk0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/TensorFlow",
"name": "TensorFlow",
"color": "FF6F00",
"default": false,
"description": "Anything TensorFlow"
},
{
"id": 2392046359,
"node_id": "MDU6... | open | false | null | [] | [
"Will be closed by https://github.com/huggingface/transformers/pull/21334",
"@ArthurZucker do you maybe have some time to finish https://github.com/huggingface/transformers/pull/21334? Alternatively we can open this one up to the community if not!",
"Yep let's open it to the community I'm a bit short on time 😓... | 1,685 | 1,701 | null | NONE | null | ### System Info
Latest Version.
On google Colab
### Who can help?
@sanchit-gandhi @connor-henderson
### Information
I am trying to convert tensorflow whisper to tflite but turns out that TFWhisper doesnt want to output timestamp tokens.
- [X] The official example scripts
- [ ] My own modified scr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23928/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23928/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23927 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23927/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23927/comments | https://api.github.com/repos/huggingface/transformers/issues/23927/events | https://github.com/huggingface/transformers/issues/23927 | 1,735,512,744 | I_kwDOCUB6oc5ncdKo | 23,927 | 4.29.0 bug | {
"login": "macheng6",
"id": 37951216,
"node_id": "MDQ6VXNlcjM3OTUxMjE2",
"avatar_url": "https://avatars.githubusercontent.com/u/37951216?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/macheng6",
"html_url": "https://github.com/macheng6",
"followers_url": "https://api.github.com/users/mac... | [] | closed | false | null | [] | [
"That's why there is the patch 4.29.2",
"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... | 1,685 | 1,688 | 1,688 | NONE | null | ### System Info
The dp mode of 4.29.0 seems to have a bug. When forwarding, the dtype of the model will be changed to torch.int64, which will cause the torch.finfo function in the get_extended_attention_mask function to report an error
### Who can help?
_No response_
### Information
- [ ] The official example scri... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23927/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23927/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23926 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23926/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23926/comments | https://api.github.com/repos/huggingface/transformers/issues/23926/events | https://github.com/huggingface/transformers/issues/23926 | 1,735,405,855 | I_kwDOCUB6oc5ncDEf | 23,926 | Possible bug in `forced_decoder_ids` in `modeling_whisper.py` | {
"login": "akuzeee",
"id": 24582005,
"node_id": "MDQ6VXNlcjI0NTgyMDA1",
"avatar_url": "https://avatars.githubusercontent.com/u/24582005?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/akuzeee",
"html_url": "https://github.com/akuzeee",
"followers_url": "https://api.github.com/users/akuzee... | [] | closed | false | null | [] | [
"Hey @akuzeee! Cool to see you've been going through the Transformers Whisper codebase! We actually update the decoder start token id prior to setting the forced decoder ids:\r\nhttps://github.com/huggingface/transformers/blob/796162c51298547c357b20cc33d64cbcf77d0241/src/transformers/models/whisper/modeling_whisper... | 1,685 | 1,686 | 1,686 | NONE | null | ### System Info
N/A
### Who can help?
@sanchit-gandhi @connor-henderson
Hi, thank you for the great work!
https://github.com/huggingface/transformers/blob/796162c51298547c357b20cc33d64cbcf77d0241/src/transformers/models/whisper/modeling_whisper.py#L1649 might have a bug (which is introduced in this [PR](https:... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23926/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23926/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23925 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23925/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23925/comments | https://api.github.com/repos/huggingface/transformers/issues/23925/events | https://github.com/huggingface/transformers/issues/23925 | 1,735,336,852 | I_kwDOCUB6oc5nbyOU | 23,925 | AttributeError: 'Wav2Vec2Processor' object has no attribute 'set_lang' | {
"login": "LYPinASR",
"id": 112866899,
"node_id": "U_kgDOBro2Uw",
"avatar_url": "https://avatars.githubusercontent.com/u/112866899?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LYPinASR",
"html_url": "https://github.com/LYPinASR",
"followers_url": "https://api.github.com/users/LYPinASR/... | [] | closed | false | null | [] | [
"The corresponding PR has not been merged yet.",
"[PR](https://github.com/huggingface/transformers/pull/23813) merged. \r\n\r\nAlso feel free to check out:\r\n- https://huggingface.co/docs/transformers/main/en/model_doc/mms\r\n- https://github.com/huggingface/transformers/pull/23813\r\n- https://huggingface.co/fa... | 1,685 | 1,688 | 1,688 | NONE | null | ### System Info
- `transformers` version: 4.28.1
- Platform: Linux-4.15.0-20-generic-x86_64-with-glibc2.10
- Python version: 3.8.0
- Huggingface_hub version: 0.13.4
- Safetensors version: not installed
- PyTorch version (GPU?): 1.12.1 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/G... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23925/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23925/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23924 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23924/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23924/comments | https://api.github.com/repos/huggingface/transformers/issues/23924/events | https://github.com/huggingface/transformers/issues/23924 | 1,735,317,025 | I_kwDOCUB6oc5nbtYh | 23,924 | Training "microsoft/beit-large-finetuned-ade-640-640" on my dataset present some worry can not to solve | {
"login": "813BoZai",
"id": 43545636,
"node_id": "MDQ6VXNlcjQzNTQ1NjM2",
"avatar_url": "https://avatars.githubusercontent.com/u/43545636?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/813BoZai",
"html_url": "https://github.com/813BoZai",
"followers_url": "https://api.github.com/users/813... | [] | closed | false | null | [] | [
"Please use the [forums](https://discuss.huggingface.co/) to debug your code as we keep the issues for bugs and feature requests only.",
"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... | 1,685 | 1,688 | 1,688 | NONE | null | ### System Info
win10
anaconda
python3.8
### Who can help?
PyTorch: @sgugger
### 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 (give details below)
### ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23924/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23924/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23923 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23923/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23923/comments | https://api.github.com/repos/huggingface/transformers/issues/23923/events | https://github.com/huggingface/transformers/issues/23923 | 1,735,284,102 | I_kwDOCUB6oc5nblWG | 23,923 | Adding support for 3D deep learning models. | {
"login": "VikasSoni1",
"id": 130325822,
"node_id": "U_kgDOB8SdPg",
"avatar_url": "https://avatars.githubusercontent.com/u/130325822?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/VikasSoni1",
"html_url": "https://github.com/VikasSoni1",
"followers_url": "https://api.github.com/users/Vik... | [
{
"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 | [] | [
"Hi @VikasSoni1, thanks for adding this feature request! \r\n\r\nPipelines are typically built around groups of models that tackle the same task and share inputs/outputs using the `AutoXxx` API. We don't currently have models which operate on point clouds or 3D data (additions always welcome!) and so there isn't a ... | 1,685 | 1,689 | null | NONE | null | ### Feature request
Hi.
I am planning to add a new pipeline and a model for 3d deep learning tasks which can work on point clouds for classification and detection as there is no support for 3d data right now.
I just wanted to confirm if the process will be similar to the guides for adding a new pipeline and model to... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23923/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23923/timeline | reopened | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23922 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23922/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23922/comments | https://api.github.com/repos/huggingface/transformers/issues/23922/events | https://github.com/huggingface/transformers/pull/23922 | 1,735,160,704 | PR_kwDOCUB6oc5R1yFY | 23,922 | Modify device_map behavior when loading a model using from_pretrained | {
"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 | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,685 | 1,685 | 1,685 | MEMBER | null | # What does this PR do?
Change how `device_map` works in the `from_pretrained` function when we load the model:
- Training setup: we don't need to pass the `device_map` anymore ('cpu' by default or torch.cuda.local_device() for 4/8 bit model) or we can set `device_map` to the device we want our whole model to be p... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23922/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/23922/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23922",
"html_url": "https://github.com/huggingface/transformers/pull/23922",
"diff_url": "https://github.com/huggingface/transformers/pull/23922.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23922.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23921 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23921/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23921/comments | https://api.github.com/repos/huggingface/transformers/issues/23921/events | https://github.com/huggingface/transformers/issues/23921 | 1,735,138,487 | I_kwDOCUB6oc5nbBy3 | 23,921 | DocumentQuestionAnsweringTool docstring is incorrect | {
"login": "Adam-D-Lewis",
"id": 23342526,
"node_id": "MDQ6VXNlcjIzMzQyNTI2",
"avatar_url": "https://avatars.githubusercontent.com/u/23342526?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Adam-D-Lewis",
"html_url": "https://github.com/Adam-D-Lewis",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Thanks for flagging! Would you like to open a PR to fix this? The proper fix should be to rename the input `image` to `document` (not change the description).",
"Here's a draft https://github.com/huggingface/transformers/pull/23939. Please correct the rest for me if it's not quite right. Thanks!",
"Fixed by ... | 1,685 | 1,685 | 1,685 | CONTRIBUTOR | null | ### System Info
N/A
### Who can help?
https://github.com/huggingface/transformers/blob/fabe17a726bbf6081cfbcc975d8ac451a81f3e2d/src/transformers/tools/document_question_answering.py#LL32C9-L34C80 is wrong. The inputs are image: "Image", question: str. I was trying transformers agent with a task like
```
agent... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23921/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23921/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23920 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23920/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23920/comments | https://api.github.com/repos/huggingface/transformers/issues/23920/events | https://github.com/huggingface/transformers/pull/23920 | 1,734,816,006 | PR_kwDOCUB6oc5R0lrw | 23,920 | [PushToHub] Make it possible to upload folders | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,685 | 1,685 | 1,685 | CONTRIBUTOR | null | # What does this PR do?
For some models, it may be that we have several files with the same name, e.g. for the new InstructBLIP model (#23460), the processor consists of 2 tokenizers (because the model internally uses 2 different text models). Both of these tokenizers require files with the same name, like `tokenize... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23920/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23920/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23920",
"html_url": "https://github.com/huggingface/transformers/pull/23920",
"diff_url": "https://github.com/huggingface/transformers/pull/23920.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23920.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23919 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23919/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23919/comments | https://api.github.com/repos/huggingface/transformers/issues/23919/events | https://github.com/huggingface/transformers/pull/23919 | 1,734,764,720 | PR_kwDOCUB6oc5R0awE | 23,919 | Skip device placement for past key values in decoder models | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Accelerate handles both strings and arrays :-) ",
"thanks boss!"
] | 1,685 | 1,685 | 1,685 | COLLABORATOR | null | # What does this PR do?
This PR skips the device placement for the `past_key_values` in big models, which is responsible for a lot of time lost according to the analysis in [this issue](https://github.com/huggingface/accelerate/issues/1394). The idea is that the past key values (one per layer) are all generated on t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23919/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23919/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23919",
"html_url": "https://github.com/huggingface/transformers/pull/23919",
"diff_url": "https://github.com/huggingface/transformers/pull/23919.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23919.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23918 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23918/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23918/comments | https://api.github.com/repos/huggingface/transformers/issues/23918/events | https://github.com/huggingface/transformers/issues/23918 | 1,734,734,390 | I_kwDOCUB6oc5nZfI2 | 23,918 | FP-16 training producing nans on t5-large/flan-t5-xl | {
"login": "cassianlewis",
"id": 131266258,
"node_id": "U_kgDOB9L20g",
"avatar_url": "https://avatars.githubusercontent.com/u/131266258?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cassianlewis",
"html_url": "https://github.com/cassianlewis",
"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,685 | 1,692 | 1,692 | NONE | null | ### System Info
This was an issue a while back but seems to have resurfaced - https://discuss.huggingface.co/t/t5-fp16-issue-is-fixed/3139
I have tested the exact following code on `t5-small` and `t5-base` and they work fine. However, when using `t5-large` and/or `flan-t5-xl`, the model produces nan outputs. This i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23918/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23918/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23917 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23917/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23917/comments | https://api.github.com/repos/huggingface/transformers/issues/23917/events | https://github.com/huggingface/transformers/pull/23917 | 1,734,695,968 | PR_kwDOCUB6oc5R0Lfh | 23,917 | Update the update metadata job to use upload_folder | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,685 | 1,685 | 1,685 | COLLABORATOR | null | # What does this PR do?
This PR updates the `update_metadata` script to stop using `Repository` and use `upload_folder` in its place. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23917/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23917/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23917",
"html_url": "https://github.com/huggingface/transformers/pull/23917",
"diff_url": "https://github.com/huggingface/transformers/pull/23917.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23917.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23916 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23916/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23916/comments | https://api.github.com/repos/huggingface/transformers/issues/23916/events | https://github.com/huggingface/transformers/issues/23916 | 1,734,630,523 | I_kwDOCUB6oc5nZFx7 | 23,916 | device_map issue with M1_M2 MacOS | {
"login": "phdykd",
"id": 72084102,
"node_id": "MDQ6VXNlcjcyMDg0MTAy",
"avatar_url": "https://avatars.githubusercontent.com/u/72084102?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/phdykd",
"html_url": "https://github.com/phdykd",
"followers_url": "https://api.github.com/users/phdykd/fo... | [] | closed | false | null | [] | [
"This does not work yet indeed., this is known and is on our roadmap.",
"Hi,\n\nThanks for the reply.\n\nI hope this will come into play. I purchased very expensive MacOS to continue on ML, but apparently I can not use it for now to implement this type of things. \n\nIs there a way to import pdf and then chat wit... | 1,685 | 1,686 | 1,686 | NONE | null | ### System Info
Hi,
I am on M2 MAX CHIP MACOS that has 12 CPU, 38 GPU. I am having issue with ever modification of this code snippet. Would you please tell me how I can correct it?
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23916/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23916/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23915 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23915/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23915/comments | https://api.github.com/repos/huggingface/transformers/issues/23915/events | https://github.com/huggingface/transformers/issues/23915 | 1,734,588,796 | I_kwDOCUB6oc5nY7l8 | 23,915 | Deepspeed Integration multi-gpu example does not work as written | {
"login": "sei-amellinger",
"id": 30724972,
"node_id": "MDQ6VXNlcjMwNzI0OTcy",
"avatar_url": "https://avatars.githubusercontent.com/u/30724972?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sei-amellinger",
"html_url": "https://github.com/sei-amellinger",
"followers_url": "https://api.gi... | [] | closed | false | {
"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/... | [
{
"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://a... | [
"Looking into this",
"hello, I'm unable to reproduce the issue when using deepspeed 0.9.3, transformers pr #23914 and main branch of accelerate",
"Awesome, I'll try updating to those versions and see if I can get it working.\r\nThanks!",
"I am using these versions and I still get:\r\n\r\n`ValueError: You can... | 1,685 | 1,685 | 1,685 | NONE | null | ### System Info
ds_report shows this
```
--------------------------------------------------
DeepSpeed C++/CUDA extension op report
--------------------------------------------------
NOTE: Ops not installed will be just-in-time (JIT) compiled at
runtime if needed. Op compatibility means that your syste... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23915/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23915/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23914 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23914/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23914/comments | https://api.github.com/repos/huggingface/transformers/issues/23914/events | https://github.com/huggingface/transformers/pull/23914 | 1,734,584,397 | PR_kwDOCUB6oc5RzzIL | 23,914 | remove the extra `accelerator.prepare` | {
"login": "pacman100",
"id": 13534540,
"node_id": "MDQ6VXNlcjEzNTM0NTQw",
"avatar_url": "https://avatars.githubusercontent.com/u/13534540?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pacman100",
"html_url": "https://github.com/pacman100",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"I still get the same error @younesbelkada I have reinstalled from source but I still get the error. I'm in the latest commit `transformers @ git+https://github.com/huggingface/transformers.git@fabe17a726bbf6081cfbcc975d8ac451a81f3e2d... | 1,685 | 1,686 | 1,685 | CONTRIBUTOR | null | # What does this PR do?
Remove the extra `accelerator.prepare` that slipped in with multiple update from main 😅
1. Fixes #23905 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23914/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23914/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23914",
"html_url": "https://github.com/huggingface/transformers/pull/23914",
"diff_url": "https://github.com/huggingface/transformers/pull/23914.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23914.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23913 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23913/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23913/comments | https://api.github.com/repos/huggingface/transformers/issues/23913/events | https://github.com/huggingface/transformers/pull/23913 | 1,734,540,508 | PR_kwDOCUB6oc5Rzpex | 23,913 | Empty circleci config | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_23913). All of your documentation changes will be reflected on that endpoint."
] | 1,685 | 1,685 | 1,685 | COLLABORATOR | null | # What does this PR do?
This makes sure there is always a circleCI config (and thus always a run_tests workflow) so we can detect it in the branch protection rules. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23913/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23913/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23913",
"html_url": "https://github.com/huggingface/transformers/pull/23913",
"diff_url": "https://github.com/huggingface/transformers/pull/23913.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23913.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23912 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23912/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23912/comments | https://api.github.com/repos/huggingface/transformers/issues/23912/events | https://github.com/huggingface/transformers/pull/23912 | 1,734,481,252 | PR_kwDOCUB6oc5Rzc-i | 23,912 | Re-enable squad test | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_23912). All of your documentation changes will be reflected on that endpoint."
] | 1,685 | 1,685 | 1,685 | COLLABORATOR | null | # What does this PR do?
This re-enables the squad test which was skipped while Accelerate was getting fixed. Will merge when all is green.
This also fixes the `[all-test]` directive which was broken by the recent changes for examples in the test fetcher. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23912/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23912/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23912",
"html_url": "https://github.com/huggingface/transformers/pull/23912",
"diff_url": "https://github.com/huggingface/transformers/pull/23912.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23912.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23911 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23911/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23911/comments | https://api.github.com/repos/huggingface/transformers/issues/23911/events | https://github.com/huggingface/transformers/pull/23911 | 1,734,449,547 | PR_kwDOCUB6oc5RzWHS | 23,911 | Upgrade safetensors version | {
"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... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_23911). All of your documentation changes will be reflected on that endpoint."
] | 1,685 | 1,685 | 1,685 | CONTRIBUTOR | null | # What does this PR do?
Upgrades `safetensors` version in the requirements to avoid the following error message:
(I had 0.3.0)
```python
src/transformers/models/gpt2/modeling_gpt2.py:38: in <module>
from ...modeling_utils import PreTrainedModel, SequenceSummary
src/transformers/modeling_utils.py:40: in <m... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23911/reactions",
"total_count": 2,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23911/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23911",
"html_url": "https://github.com/huggingface/transformers/pull/23911",
"diff_url": "https://github.com/huggingface/transformers/pull/23911.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23911.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23910 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23910/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23910/comments | https://api.github.com/repos/huggingface/transformers/issues/23910/events | https://github.com/huggingface/transformers/pull/23910 | 1,734,445,346 | PR_kwDOCUB6oc5RzVKp | 23,910 | [`RWKV`] Fix RWKV 4bit | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,685 | 1,685 | 1,685 | CONTRIBUTOR | null | # What does this PR do?
Fixes RWKV 4bit inference.
Fixes https://github.com/huggingface/transformers/issues/23848
```python
from transformers import AutoTokenizer, AutoModelForCausalLM, GenerationConfig
model_id = "RWKV/rwkv-4-1b5-pile"
model = AutoModelForCausalLM.from_pretrained(model_id, load_in_4bit=... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23910/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23910/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23910",
"html_url": "https://github.com/huggingface/transformers/pull/23910",
"diff_url": "https://github.com/huggingface/transformers/pull/23910.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23910.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23909 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23909/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23909/comments | https://api.github.com/repos/huggingface/transformers/issues/23909/events | https://github.com/huggingface/transformers/pull/23909 | 1,734,440,950 | PR_kwDOCUB6oc5RzUMa | 23,909 | 🚨🚨 🚨🚨 [`Tokenizer`] attemp to fix add_token issues🚨🚨 🚨🚨 | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"TODO: the test should be for all the `TokenMixin` rather than comparing slow and fast as the behaviour should work in any case.",
"Is work on this still going on? I'm interested in working on tokenization.",
"It is! Had to focus ... | 1,685 | 1,699 | 1,695 | COLLABORATOR | null | # What does this PR do?
Adresses a lot of issues related to `add_tokens`, also adds more refine testing to make sure this does not happen again.
- Adding a token with `add_tokens` ignores the arguments if the token is an `AddedToken`. reported in #20734 and #14770, #21120, #16334
- Adding a token does not automa... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23909/reactions",
"total_count": 6,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 4,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23909/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23909",
"html_url": "https://github.com/huggingface/transformers/pull/23909",
"diff_url": "https://github.com/huggingface/transformers/pull/23909.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23909.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23908 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23908/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23908/comments | https://api.github.com/repos/huggingface/transformers/issues/23908/events | https://github.com/huggingface/transformers/pull/23908 | 1,734,389,849 | PR_kwDOCUB6oc5RzI23 | 23,908 | [Flax Whisper] Update decode docstring | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,685 | 1,687 | 1,685 | CONTRIBUTOR | null | # What does this PR do?
Fixes docstring for the `.decode` method of `FlaxWhisperForConditionalGeneration` | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23908/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23908/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23908",
"html_url": "https://github.com/huggingface/transformers/pull/23908",
"diff_url": "https://github.com/huggingface/transformers/pull/23908.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23908.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23907 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23907/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23907/comments | https://api.github.com/repos/huggingface/transformers/issues/23907/events | https://github.com/huggingface/transformers/issues/23907 | 1,734,352,010 | I_kwDOCUB6oc5nYByK | 23,907 | [XLMModel, FlaubertModel] Compatibility with torch make_fx | {
"login": "Giuseppe5",
"id": 18719316,
"node_id": "MDQ6VXNlcjE4NzE5MzE2",
"avatar_url": "https://avatars.githubusercontent.com/u/18719316?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Giuseppe5",
"html_url": "https://github.com/Giuseppe5",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"We can have a look at a PR with a fix.",
"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/huggingfa... | 1,685 | 1,688 | 1,688 | NONE | null | ### System Info
- `transformers` version: 4.29.2
- Platform: Linux
- Python version: 3.8.16
- PyTorch version: 2.0.1
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23907/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23907/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23906 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23906/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23906/comments | https://api.github.com/repos/huggingface/transformers/issues/23906/events | https://github.com/huggingface/transformers/pull/23906 | 1,734,310,731 | PR_kwDOCUB6oc5Ry3V5 | 23,906 | Move import check to before state reset | {
"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... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"cc @pacman100 so it's on your radar too that we can do this :) ",
"How about adding accelerate as a required dependency in the setup.py? \r\n",
"torch is not a hard dependency of Transformers.",
"Which is why it's part of the `... | 1,685 | 1,685 | 1,685 | CONTRIBUTOR | null | # What does this PR do?
This PR moves the reset of the `AcceleratorState` to be under the check for if it is available, and guards the resetting better.
Fixes # (issue)
Fixes https://github.com/huggingface/transformers/issues/23898
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23906/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23906/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23906",
"html_url": "https://github.com/huggingface/transformers/pull/23906",
"diff_url": "https://github.com/huggingface/transformers/pull/23906.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23906.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23905 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23905/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23905/comments | https://api.github.com/repos/huggingface/transformers/issues/23905/events | https://github.com/huggingface/transformers/issues/23905 | 1,734,283,875 | I_kwDOCUB6oc5nXxJj | 23,905 | RuntimeError: unscale_() has already been called on this optimizer since the last update() | {
"login": "leoplusx",
"id": 26492166,
"node_id": "MDQ6VXNlcjI2NDkyMTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/26492166?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/leoplusx",
"html_url": "https://github.com/leoplusx",
"followers_url": "https://api.github.com/users/leo... | [] | closed | false | {
"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/... | [
{
"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://a... | [
"The notebook was working on the 25th May\r\nLooking at the traceback:\r\n```bash\r\n╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮\r\n│ in <cell line: 23>:23 │\r\n│ ... | 1,685 | 1,685 | 1,685 | NONE | null | ### System Info
- `transformers` version: 4.30.0.dev0
- Platform: Linux-5.15.107+-x86_64-with-glibc2.31
- Python version: 3.10.11
- Huggingface_hub version: 0.14.1
- Safetensors version: not installed
- PyTorch version (GPU?): 2.0.1+cu118 (True)
- Tensorflow version (GPU?): 2.12.0 (True)
- Flax version (CPU?/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23905/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23905/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23904 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23904/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23904/comments | https://api.github.com/repos/huggingface/transformers/issues/23904/events | https://github.com/huggingface/transformers/issues/23904 | 1,734,273,946 | I_kwDOCUB6oc5nXuua | 23,904 | save_pretrained 4-bit models with bitsandbytes | {
"login": "westn",
"id": 224833,
"node_id": "MDQ6VXNlcjIyNDgzMw==",
"avatar_url": "https://avatars.githubusercontent.com/u/224833?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/westn",
"html_url": "https://github.com/westn",
"followers_url": "https://api.github.com/users/westn/followers"... | [] | closed | false | null | [] | [
"cc @younesbelkada ",
"Hi @westn \r\nThanks for the issue, I don't think 4bit models are serializable yet. Let me double check that with the author of bitsandbytes and get back to you",
"Also note that 4bit / 8bit is also applicable to GPU / CUDA devices, you cannot run quantized models with bitsandbytes on a C... | 1,685 | 1,695 | 1,692 | NONE | null | With the latest version of bitsandbytes (0.39.0) library, isn't it possible to serialize 4-bit models then?
Thus this section should be updated to allow the user to save these models.
https://github.com/huggingface/transformers/blob/68d53bc7178866821282f45732c1e465f5160fa6/src/transformers/modeling_utils.py#LL1704C... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23904/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23904/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23903 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23903/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23903/comments | https://api.github.com/repos/huggingface/transformers/issues/23903/events | https://github.com/huggingface/transformers/pull/23903 | 1,734,263,017 | PR_kwDOCUB6oc5Rys1U | 23,903 | [doc build action] Token from secret | {
"login": "mishig25",
"id": 11827707,
"node_id": "MDQ6VXNlcjExODI3NzA3",
"avatar_url": "https://avatars.githubusercontent.com/u/11827707?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mishig25",
"html_url": "https://github.com/mishig25",
"followers_url": "https://api.github.com/users/mis... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_23903). All of your documentation changes will be reflected on that endpoint.",
"superceded by #24013"
] | 1,685 | 1,685 | 1,685 | CONTRIBUTOR | null | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23903/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23903/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23903",
"html_url": "https://github.com/huggingface/transformers/pull/23903",
"diff_url": "https://github.com/huggingface/transformers/pull/23903.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23903.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23902 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23902/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23902/comments | https://api.github.com/repos/huggingface/transformers/issues/23902/events | https://github.com/huggingface/transformers/issues/23902 | 1,734,243,504 | I_kwDOCUB6oc5nXnSw | 23,902 | OSError: When i am loading pszemraj\flan-t5-large-grammar-synthesis from hugging face | {
"login": "akesh1235",
"id": 125154243,
"node_id": "U_kgDOB3Wzww",
"avatar_url": "https://avatars.githubusercontent.com/u/125154243?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/akesh1235",
"html_url": "https://github.com/akesh1235",
"followers_url": "https://api.github.com/users/akesh1... | [] | closed | false | null | [] | [
"You do not have enough CPU RAM to open the model checkpoint.",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https:... | 1,685 | 1,688 | 1,688 | NONE | null | D:\gramformer>python -m uvicorn nova_grammar_corrector:app --reload
←[32mINFO←[0m: Will watch for changes in these directories: ['D:\\gramformer
']
←[32mINFO←[0m: Uvicorn running on ←[1mhttp://127.0.0.1:8000←[0m (Press CTRL+
C to quit)
←[32mINFO←[0m: Started reloader process [←[36m←[1m13980←[0m] using ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23902/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23902/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23901 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23901/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23901/comments | https://api.github.com/repos/huggingface/transformers/issues/23901/events | https://github.com/huggingface/transformers/pull/23901 | 1,734,202,842 | PR_kwDOCUB6oc5Ryfji | 23,901 | ensure banned_mask and indices in same device | {
"login": "cauyxy",
"id": 45619430,
"node_id": "MDQ6VXNlcjQ1NjE5NDMw",
"avatar_url": "https://avatars.githubusercontent.com/u/45619430?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cauyxy",
"html_url": "https://github.com/cauyxy",
"followers_url": "https://api.github.com/users/cauyxy/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,685 | 1,685 | 1,685 | CONTRIBUTOR | null | # What does this PR do?
ensure banned_mask and indices in same device
fix this issue
#23900
<!--
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... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23901/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23901/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23901",
"html_url": "https://github.com/huggingface/transformers/pull/23901",
"diff_url": "https://github.com/huggingface/transformers/pull/23901.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23901.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23900 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23900/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23900/comments | https://api.github.com/repos/huggingface/transformers/issues/23900/events | https://github.com/huggingface/transformers/issues/23900 | 1,734,197,194 | I_kwDOCUB6oc5nXb_K | 23,900 | NoBadWordsLogitsProcessor banned_mask and indices not in same device | {
"login": "cauyxy",
"id": 45619430,
"node_id": "MDQ6VXNlcjQ1NjE5NDMw",
"avatar_url": "https://avatars.githubusercontent.com/u/45619430?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cauyxy",
"html_url": "https://github.com/cauyxy",
"followers_url": "https://api.github.com/users/cauyxy/fo... | [] | closed | false | null | [] | [
"the reason is pytorch default device\r\n```python\r\nimport torch\r\n\r\ntorch.set_default_device(\"cuda\")\r\nprint(torch.cuda.is_available())\r\n\r\nbanned_mask = torch.LongTensor([0, 1, 2])\r\nindices = torch.ones(len(banned_mask))\r\n\r\nprint(f\"banned_mask.device: {banned_mask.device}\")\r\nprint(f\"indices.... | 1,685 | 1,685 | 1,685 | CONTRIBUTOR | null | ### System Info
transformers version: 4.29.2
Platform: Linux-6.1.22-aufs-1-x86_64-with-glibc2.31
Python version: 3.9.2
PyTorch version (GPU?): 2.0.1+cu117 (True)
### Who can help?
_No response_
### Information
- [x] The official example scripts
- [x] My own modified scripts
### Tasks
- [x] An officially suppo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23900/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23900/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23899 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23899/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23899/comments | https://api.github.com/repos/huggingface/transformers/issues/23899/events | https://github.com/huggingface/transformers/pull/23899 | 1,734,176,393 | PR_kwDOCUB6oc5RyZpE | 23,899 | add conditional statement for auxiliary loss calculation | {
"login": "harisankar95",
"id": 58052269,
"node_id": "MDQ6VXNlcjU4MDUyMjY5",
"avatar_url": "https://avatars.githubusercontent.com/u/58052269?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/harisankar95",
"html_url": "https://github.com/harisankar95",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Thanks for letting me know! I have made the required changes.",
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,685 | 1,685 | 1,685 | CONTRIBUTOR | null | # What does this PR do?
Missing conditional statement before computing auxiliary loss for BeitForSemanticSegmentation.
File: https://github.com/huggingface/transformers/blob/main/src/transformers/models/beit/modeling_beit.py
Function: BeitForSemanticSegmentation -> compute_loss (Line no.: 1183 - 1198)
```pytho... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23899/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23899/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23899",
"html_url": "https://github.com/huggingface/transformers/pull/23899",
"diff_url": "https://github.com/huggingface/transformers/pull/23899.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23899.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23898 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23898/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23898/comments | https://api.github.com/repos/huggingface/transformers/issues/23898/events | https://github.com/huggingface/transformers/issues/23898 | 1,734,132,792 | I_kwDOCUB6oc5nXMQ4 | 23,898 | NameError: name 'AcceleratorState' is not defined | {
"login": "ezyang",
"id": 13564,
"node_id": "MDQ6VXNlcjEzNTY0",
"avatar_url": "https://avatars.githubusercontent.com/u/13564?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ezyang",
"html_url": "https://github.com/ezyang",
"followers_url": "https://api.github.com/users/ezyang/followers",
... | [] | closed | 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... | [
"I think you don't have accelerate installed, which is now a required dependency for the `Trainer`: `pip install accelerate`.",
"Ah ok, in that case, probably a requirements.txt just needs to get updated somewhere. (Also, naively, I would have expected an ImportError if I had a missing dependency, not a NameError... | 1,685 | 1,685 | 1,685 | CONTRIBUTOR | null | ### System Info
This script fails on 68d53bc7178866821282f45732c1e465f5160fa6 but passes on de9255de27abfcae4a1f816b904915f0b1e23cd9
Hopefully the problem is pretty clear from the message.
```
(/home/ezyang/local/debug/pytorch-env) [ezyang@devgpu019.ftw1 ~/local/debug]$ pp python transformers/examples/pytorch/s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23898/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/23898/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23897 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23897/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23897/comments | https://api.github.com/repos/huggingface/transformers/issues/23897/events | https://github.com/huggingface/transformers/pull/23897 | 1,733,911,139 | PR_kwDOCUB6oc5RxfP9 | 23,897 | Fix image segmentation tool bug | {
"login": "amyeroberts",
"id": 22614925,
"node_id": "MDQ6VXNlcjIyNjE0OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amyeroberts",
"html_url": "https://github.com/amyeroberts",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"@sgugger @LysandreJik The fix is pretty simple, but in the spirit of Chesterton's fence, I wasn't sure/couldn't remember the reason for the `self.pre_processor.image_processor.size = ...` logic so wanted to ask you both in case this is breaking assumptions elsewhere. ",
"_The documentation is not available anymo... | 1,685 | 1,686 | 1,686 | COLLABORATOR | null | # What does this PR do?
Currently tools using the ImageSegmentation tool fail because the parameters for the image processor are overridden with the input image dimensions. This results in incompatible input dimensions being passed to the model.
This PR removes this logic in the `encode` method and removes the re... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23897/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23897/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23897",
"html_url": "https://github.com/huggingface/transformers/pull/23897",
"diff_url": "https://github.com/huggingface/transformers/pull/23897.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23897.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23896 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23896/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23896/comments | https://api.github.com/repos/huggingface/transformers/issues/23896/events | https://github.com/huggingface/transformers/pull/23896 | 1,733,853,376 | PR_kwDOCUB6oc5RxSWx | 23,896 | [`core`] Add no split modules support for all models | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"I don't think this is a good idea and I don't want `from_pretrained` to end up with 96 arguments. It's something that's very internal to the model, so should definitely be in the model code. If a user opens a PR they can directly use... | 1,685 | 1,685 | 1,685 | CONTRIBUTOR | null | # What does this PR do?
Fixes: #23816 and other related issues
## Motivation
With the increase of the usage of code on the Hub features and more and more models pushed on that direction, I am convinced that it would be great to easily support accelerate loading of these models out of the box, without having to... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23896/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23896/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23896",
"html_url": "https://github.com/huggingface/transformers/pull/23896",
"diff_url": "https://github.com/huggingface/transformers/pull/23896.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23896.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23895 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23895/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23895/comments | https://api.github.com/repos/huggingface/transformers/issues/23895/events | https://github.com/huggingface/transformers/pull/23895 | 1,733,776,361 | PR_kwDOCUB6oc5RxBME | 23,895 | [`bnb`] Fix blip2 4bit | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_23895). All of your documentation changes will be reflected on that endpoint.",
"It should be all good, I have verified the slow tests pass for 8bit and 4bit. Let me know if there is anything particular I should have a look... | 1,685 | 1,695 | 1,691 | CONTRIBUTOR | null | # What does this PR do?
Fixes https://github.com/huggingface/transformers/issues/23839
Indeed, for models such as Blip2 that have lm head inside submodules (and not directly on the top level of the model), the lm head does get converted to 4bit / 8bit models, leading to unexpected behavior for 4bit models. The ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23895/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23895/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23895",
"html_url": "https://github.com/huggingface/transformers/pull/23895",
"diff_url": "https://github.com/huggingface/transformers/pull/23895.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23895.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23894 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23894/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23894/comments | https://api.github.com/repos/huggingface/transformers/issues/23894/events | https://github.com/huggingface/transformers/pull/23894 | 1,733,741,699 | PR_kwDOCUB6oc5Rw5nn | 23,894 | [`bnb`] add warning when no linear | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,685 | 1,685 | 1,685 | CONTRIBUTOR | null | # What does this PR do?
This PR adds a new warning for users in case `replace_with_bnb_linear` hasn't replace any module, this would avoid any confusion for users
Fixes https://github.com/huggingface/transformers/issues/23807
cc @sgugger | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23894/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23894/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23894",
"html_url": "https://github.com/huggingface/transformers/pull/23894",
"diff_url": "https://github.com/huggingface/transformers/pull/23894.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23894.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23893 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23893/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23893/comments | https://api.github.com/repos/huggingface/transformers/issues/23893/events | https://github.com/huggingface/transformers/issues/23893 | 1,733,735,336 | I_kwDOCUB6oc5nVrOo | 23,893 | Dataset load train data have values but when training got num_examples 0 | {
"login": "lucasjinreal",
"id": 21303438,
"node_id": "MDQ6VXNlcjIxMzAzNDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/21303438?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lucasjinreal",
"html_url": "https://github.com/lucasjinreal",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"It's impossible for us to help you without knowinbg the code you run.",
"When I use **torch.compile(),** with PyTorch 2.0, Trainer seems to remove all the columns in the datasets\r\n(Pdb) [INFO|trainer.py:565] 2023-06-08 14:00:46,576 >> max_steps is given, it will override any value given in num_train_epochs\r\... | 1,685 | 1,689 | 1,689 | NONE | null | I have usinng load_dataset load data
```
>> training data samples: 51184 400 ['input', 'output', 'input_ids', 'labels', 'attention_mask']
>> training data samples: 51184 400 ['input', 'output', 'input_ids', 'labels', 'attention_mask']
```
it actually have values, not 0, but training I got error:
```
Inde... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23893/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23893/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23892 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23892/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23892/comments | https://api.github.com/repos/huggingface/transformers/issues/23892/events | https://github.com/huggingface/transformers/issues/23892 | 1,733,725,841 | I_kwDOCUB6oc5nVo6R | 23,892 | Error while training VisionEncoderDecoderModel ValueError: one or more references are empty strings | {
"login": "VallabhMahajan1",
"id": 25157856,
"node_id": "MDQ6VXNlcjI1MTU3ODU2",
"avatar_url": "https://avatars.githubusercontent.com/u/25157856?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/VallabhMahajan1",
"html_url": "https://github.com/VallabhMahajan1",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"cc @younesbelkada and @amyeroberts ",
"@VallabhMahajan1 Could you share a reproducible code snippet and information about the running environment (run `transformers-cli env` in the terminal and copy-paste the output)?\r\n\r\nFrom the traceback, it seems the issue is coming in the metric calculation when using `T... | 1,685 | 1,690 | 1,690 | NONE | null | I was trying to train a VisionEncoderDecoderModel and I got the below error. For decoder I'm using bert-base-multilingual-cased and encoder is google/vit-base-patch16-224. How to solve this error? Thanks in advace!!
```
╭─────────────────────────────── Traceback (most recent call last) ─────────────────────────────... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23892/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23892/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23891 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23891/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23891/comments | https://api.github.com/repos/huggingface/transformers/issues/23891/events | https://github.com/huggingface/transformers/pull/23891 | 1,733,691,623 | PR_kwDOCUB6oc5RwuvI | 23,891 | fix(configuration_llama): add `keys_to_ignore_at_inference` to `LlamaConfig` | {
"login": "calico-1226",
"id": 93032279,
"node_id": "U_kgDOBYuPVw",
"avatar_url": "https://avatars.githubusercontent.com/u/93032279?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/calico-1226",
"html_url": "https://github.com/calico-1226",
"followers_url": "https://api.github.com/users/ca... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_23891). All of your documentation changes will be reflected on that endpoint."
] | 1,685 | 1,685 | 1,685 | 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/23891/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23891/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23891",
"html_url": "https://github.com/huggingface/transformers/pull/23891",
"diff_url": "https://github.com/huggingface/transformers/pull/23891.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23891.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23890 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23890/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23890/comments | https://api.github.com/repos/huggingface/transformers/issues/23890/events | https://github.com/huggingface/transformers/issues/23890 | 1,733,689,665 | I_kwDOCUB6oc5nVgFB | 23,890 | `LlamaConfig` is missing default `keys_to_ignore_at_inference` | {
"login": "calico-1226",
"id": 93032279,
"node_id": "U_kgDOBYuPVw",
"avatar_url": "https://avatars.githubusercontent.com/u/93032279?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/calico-1226",
"html_url": "https://github.com/calico-1226",
"followers_url": "https://api.github.com/users/ca... | [] | closed | false | null | [] | [] | 1,685 | 1,685 | 1,685 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.30.0.dev0
- Platform: Linux-5.4.0-42-generic-x86_64-with-glibc2.31
- Python version: 3.10.11
- Huggingface_hub version: 0.14.1
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.1 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23890/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23890/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23889 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23889/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23889/comments | https://api.github.com/repos/huggingface/transformers/issues/23889/events | https://github.com/huggingface/transformers/issues/23889 | 1,733,613,624 | I_kwDOCUB6oc5nVNg4 | 23,889 | Behaviour between slow and fast LLaMa tokenizer not equivalent | {
"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... | [
{
"id": 1834056635,
"node_id": "MDU6TGFiZWwxODM0MDU2NjM1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Core:%20Tokenization",
"name": "Core: Tokenization",
"color": "FF4446",
"default": false,
"description": "Internals of the library; Tokenization."
}
] | closed | false | null | [] | [
"Thanks for reporting, will have a look ",
"Okay, what's happening here is that you are adding tokens that are already present in the vocabulary of the model. \r\n`</s>` is `2`. \r\n- fast: When you add the `bos_token` it is not added as it already exist, but the content is updated with the new value for the fast... | 1,685 | 1,696 | 1,686 | CONTRIBUTOR | null | ### System Info
Transformers v4.29.2
### Who can help?
@ArthurZucker
### Reproduction
For a new model (#23460), I'd like to get equivalent behaviour between the slow and fast LLaMa tokenizers. The code of the slow tokenizer was taken from the [original code](https://github.com/salesforce/LAVIS/blob/5927... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23889/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23889/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23888 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23888/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23888/comments | https://api.github.com/repos/huggingface/transformers/issues/23888/events | https://github.com/huggingface/transformers/pull/23888 | 1,733,588,027 | PR_kwDOCUB6oc5RwYpu | 23,888 | [`config.to_dict()`] update test and models that have a composition | {
"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_23888). All of your documentation changes will be reflected on that endpoint.",
"3 model config that were not tested need a better update to pass the `test_config`, will work on this once I am back from lunch! \r\n- blip2\r... | 1,685 | 1,692 | 1,692 | COLLABORATOR | null | # What does this PR do?
Adresses #23876
Most of the configurations that are `composition` are not json serialzable.
- A test exists, but is usually not run (`ConfigTester` scarcly used on the full config)
- The test does test the case when `torch_dtype = torch.float16` | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23888/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23888/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23888",
"html_url": "https://github.com/huggingface/transformers/pull/23888",
"diff_url": "https://github.com/huggingface/transformers/pull/23888.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23888.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23887 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23887/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23887/comments | https://api.github.com/repos/huggingface/transformers/issues/23887/events | https://github.com/huggingface/transformers/issues/23887 | 1,733,582,294 | I_kwDOCUB6oc5nVF3W | 23,887 | MarkupLM: feature_extraction_markuplm.py only extracts SearchableText | {
"login": "orenshaniathuji",
"id": 106467221,
"node_id": "U_kgDOBliPlQ",
"avatar_url": "https://avatars.githubusercontent.com/u/106467221?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/orenshaniathuji",
"html_url": "https://github.com/orenshaniathuji",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Please follow the issue template. There is no reproducer and the expected behavior is very unclear.",
"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 foll... | 1,685 | 1,688 | 1,688 | NONE | null | ### System Info
- `transformers` version: 4.29.2
- Platform: Linux-6.1.22-aufs-1-x86_64-with-glibc2.31
- Python version: 3.9.2
- Huggingface_hub version: 0.14.1
- Safetensors version: not installed
- PyTorch version (GPU?): 2.0.1+cu117 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23887/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23887/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23886 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23886/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23886/comments | https://api.github.com/repos/huggingface/transformers/issues/23886/events | https://github.com/huggingface/transformers/issues/23886 | 1,733,528,738 | I_kwDOCUB6oc5nU4yi | 23,886 | MarkupLM: TypeError: unsupported operand type(s) for +: 'Tensor' and 'NoneType' in modeling_markuplm.py", line 217 | {
"login": "orenshaniathuji",
"id": 106467221,
"node_id": "U_kgDOBliPlQ",
"avatar_url": "https://avatars.githubusercontent.com/u/106467221?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/orenshaniathuji",
"html_url": "https://github.com/orenshaniathuji",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"We cannot help without a clear reproducer of the 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 please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://git... | 1,685 | 1,688 | 1,688 | NONE | null | ### System Info
- `transformers` version: 4.29.2
- Platform: Linux-6.1.22-aufs-1-x86_64-with-glibc2.31
- Python version: 3.9.2
- Huggingface_hub version: 0.14.1
- Safetensors version: not installed
- PyTorch version (GPU?): 2.0.1+cu117 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CP... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23886/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23886/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23885 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23885/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23885/comments | https://api.github.com/repos/huggingface/transformers/issues/23885/events | https://github.com/huggingface/transformers/issues/23885 | 1,733,452,023 | I_kwDOCUB6oc5nUmD3 | 23,885 | inhomogeneous shape after 1 dimensions | {
"login": "flckv",
"id": 103381497,
"node_id": "U_kgDOBil5-Q",
"avatar_url": "https://avatars.githubusercontent.com/u/103381497?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/flckv",
"html_url": "https://github.com/flckv",
"followers_url": "https://api.github.com/users/flckv/followers",
... | [] | closed | false | null | [] | [
"What version of NumPy are you using? If it's 1.24 can you downgrade it to 1.23 and try again?\r\n",
"@hollance, worked thanks",
"Alternatively, you can run `transformers` on main following the updates from #23162",
"When I downgrade numpy I gt a new error:\r\n\r\n```\r\nTypeError: `pad_width` must be of inte... | 1,685 | 1,686 | 1,685 | NONE | null | ### System Info
- `transformers` version: 4.30.0.dev0
- Platform: Linux-5.4.204-ql-generic-12.0-19-x86_64-with-glibc2.31
- Python version: 3.11.3
- Huggingface_hub version: 0.14.1
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.1 (True)
### Who can help?
@sanchit-gandhi @sgugger @muellerzr
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23885/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23885/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23884 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23884/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23884/comments | https://api.github.com/repos/huggingface/transformers/issues/23884/events | https://github.com/huggingface/transformers/issues/23884 | 1,733,405,011 | I_kwDOCUB6oc5nUalT | 23,884 | (End2End RAG) Finetuning Script (finetune_rag_ray_end2end.sh) not working for HF Dataset | {
"login": "YichiRockyZhang",
"id": 29335344,
"node_id": "MDQ6VXNlcjI5MzM1MzQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/29335344?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/YichiRockyZhang",
"html_url": "https://github.com/YichiRockyZhang",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"Testing the below hard-coding to get expected behavior:\r\n\r\n`finetune_rag.sh` arguments:\r\n```\r\n--index_name custom \\\r\n --index_path /.../.hf_cache/datasets/wiki_dpr/psgs_w100.multiset.compressed/0.0.0/74d4bff38a7c18a9498fafef864a8ba7129e27cb8d71b22f5e14d84cb17edd54/psgs_w100.multiset.IVF4096_HNSW128_PQ12... | 1,685 | 1,687 | 1,687 | NONE | null | ### System Info
Python 3.9.16
Transformers 4.13.0
WSL
### Who can help?
@shamanez @ArthurZucker
### Information
- [X] 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 de... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23884/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23884/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23883 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23883/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23883/comments | https://api.github.com/repos/huggingface/transformers/issues/23883/events | https://github.com/huggingface/transformers/pull/23883 | 1,733,397,101 | PR_kwDOCUB6oc5Rvvj0 | 23,883 | Fix bug leading to missing token in GPTSanJapaneseTokenizer | {
"login": "passaglia",
"id": 8333102,
"node_id": "MDQ6VXNlcjgzMzMxMDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/8333102?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/passaglia",
"html_url": "https://github.com/passaglia",
"followers_url": "https://api.github.com/users/pa... | [] | closed | false | null | [] | [
"Hey! Could you make sure to run `make fix-copies` ! Otherzise looks good to me",
"😅 sorry, you can remove the `copied from` to get rid of the issue with make fix copies overwriting",
"Remove this : `# Copied from transformers.models.gpt_neox_japanese.tokenization_gpt_neox_japanese.load_vocab_and_emoji`",
"T... | 1,685 | 1,685 | 1,685 | CONTRIBUTOR | null | # Fixes the missing comma (,) token in the GPTSanJapaneseTokenizer
The comma character "," is a token in the default vocabulary file used by GPTSanJapaneseTokenizer.
However, the vocab file parser has a bug that deletes this token and so the GPTSanJapaneseTokenizer encodes commas as the <byte 44> token instead of... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23883/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23883/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23883",
"html_url": "https://github.com/huggingface/transformers/pull/23883",
"diff_url": "https://github.com/huggingface/transformers/pull/23883.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23883.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23882 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23882/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23882/comments | https://api.github.com/repos/huggingface/transformers/issues/23882/events | https://github.com/huggingface/transformers/issues/23882 | 1,733,327,528 | I_kwDOCUB6oc5nUHqo | 23,882 | Please add an example for run_speech_recognition_ctc for eval only | {
"login": "RobertBaruch",
"id": 1783950,
"node_id": "MDQ6VXNlcjE3ODM5NTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/1783950?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/RobertBaruch",
"html_url": "https://github.com/RobertBaruch",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"cc @sanchit-gandhi ",
"Hey @RobertBaruch, thanks for the issue! I would advocate against using a training script for evaluation only. The reason is that when we use a training script with HF Trainer, we still initialise optimiser states for our model, even if we're not doing any training. For common optimisers, ... | 1,685 | 1,685 | 1,685 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.28.1
- Platform: Windows-10-10.0.22621-SP0
- Python version: 3.11.2
- Huggingface_hub version: 0.14.1
- Safetensors version: not installed
- PyTorch version (GPU?): 2.0.1+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23882/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23882/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23880 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23880/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23880/comments | https://api.github.com/repos/huggingface/transformers/issues/23880/events | https://github.com/huggingface/transformers/issues/23880 | 1,733,261,377 | I_kwDOCUB6oc5nT3hB | 23,880 | Whisper with Elastic Weight Consolidation | {
"login": "LYPinASR",
"id": 112866899,
"node_id": "U_kgDOBro2Uw",
"avatar_url": "https://avatars.githubusercontent.com/u/112866899?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LYPinASR",
"html_url": "https://github.com/LYPinASR",
"followers_url": "https://api.github.com/users/LYPinASR/... | [
{
"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 | [] | [
"As far as we know, apart from the EWC, other ways to overcome catastrophic forgetting include synaptic Intelligence, knowledge distillation, learning without forgetting (LWF), less-forgetting learning(LFL) and other methods. If these methods can be implemented, it will be helpful for Whisper to further develop its... | 1,685 | 1,697 | null | NONE | null | ### Feature request
After specific language finetuning for Whisper, its ASR recognition performance in previous languages deteriorates, known as catastrophic forgetting. Therefore, something, such as the EWC, needs to be used to overcome this problem. Here is the paper of EWC: _https://arxiv.org/pdf/1612.00796.pdf_
#... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23880/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23880/timeline | null | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.