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/23193 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23193/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23193/comments | https://api.github.com/repos/huggingface/transformers/issues/23193/events | https://github.com/huggingface/transformers/issues/23193 | 1,699,168,180 | I_kwDOCUB6oc5lRz-0 | 23,193 | examples/run_speech_recognition_ctc: UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 725: character maps to <undefined> | {
"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 | [] | [] | 1,683 | 1,683 | 1,683 | 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/23193/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23193/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23192 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23192/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23192/comments | https://api.github.com/repos/huggingface/transformers/issues/23192/events | https://github.com/huggingface/transformers/pull/23192 | 1,699,078,164 | PR_kwDOCUB6oc5P8EYR | 23,192 | update flax_utils.py | {
"login": "hannan72",
"id": 8229163,
"node_id": "MDQ6VXNlcjgyMjkxNjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/8229163?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hannan72",
"html_url": "https://github.com/hannan72",
"followers_url": "https://api.github.com/users/hanna... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_23192). All of your documentation changes will be reflected on that endpoint."
] | 1,683 | 1,683 | 1,683 | NONE | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this with a d... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23192/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23192/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23192",
"html_url": "https://github.com/huggingface/transformers/pull/23192",
"diff_url": "https://github.com/huggingface/transformers/pull/23192.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23192.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23191 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23191/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23191/comments | https://api.github.com/repos/huggingface/transformers/issues/23191/events | https://github.com/huggingface/transformers/pull/23191 | 1,699,043,471 | PR_kwDOCUB6oc5P79O0 | 23,191 | Update LLaMA docs with arxiv link | {
"login": "awinml",
"id": 97467100,
"node_id": "U_kgDOBc863A",
"avatar_url": "https://avatars.githubusercontent.com/u/97467100?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/awinml",
"html_url": "https://github.com/awinml",
"followers_url": "https://api.github.com/users/awinml/followers"... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,683 | 1,683 | 1,683 | CONTRIBUTOR | null | # What does this PR do?
Fixes #23186
Adds arxiv link for "LLaMA: Open and Efficient Foundation Language Models" (https://arxiv.org/abs/2302.13971) to LLaMA model docs.
## Who can review?
@sgugger, @stevhliu and @MKhalusova | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23191/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23191/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23191",
"html_url": "https://github.com/huggingface/transformers/pull/23191",
"diff_url": "https://github.com/huggingface/transformers/pull/23191.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23191.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23190 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23190/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23190/comments | https://api.github.com/repos/huggingface/transformers/issues/23190/events | https://github.com/huggingface/transformers/pull/23190 | 1,698,999,018 | PR_kwDOCUB6oc5P70BW | 23,190 | Add BROS | {
"login": "jinhopark8345",
"id": 60179569,
"node_id": "MDQ6VXNlcjYwMTc5NTY5",
"avatar_url": "https://avatars.githubusercontent.com/u/60179569?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jinhopark8345",
"html_url": "https://github.com/jinhopark8345",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"@jinhopark8345 Awesome work - looking forward to having this model added! Feel free to ping us when the PR is ready for review or you have any implementation questions in the meantime. ",
"@amyeroberts \r\n\r\nI am confused about what needs to be done.\r\n\r\nAccording to the [How to add a new model](https://hug... | 1,683 | 1,699 | 1,694 | 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/23190/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23190/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23190",
"html_url": "https://github.com/huggingface/transformers/pull/23190",
"diff_url": "https://github.com/huggingface/transformers/pull/23190.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23190.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23189 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23189/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23189/comments | https://api.github.com/repos/huggingface/transformers/issues/23189/events | https://github.com/huggingface/transformers/issues/23189 | 1,698,929,531 | I_kwDOCUB6oc5lQ5t7 | 23,189 | Regression Models | {
"login": "vrunm",
"id": 97465624,
"node_id": "U_kgDOBc81GA",
"avatar_url": "https://avatars.githubusercontent.com/u/97465624?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vrunm",
"html_url": "https://github.com/vrunm",
"followers_url": "https://api.github.com/users/vrunm/followers",
... | [] | closed | false | null | [] | [
"Hi @vrunm, \r\nI think you can use the forums for this sort of discussion.\r\nSome helpful links would be https://discuss.huggingface.co/t/tabular-classification-regression-pipeline/22030/2\r\nand https://discuss.huggingface.co/t/how-to-set-up-trainer-for-a-regression/12994 (related to your Post).\r\nYou can check... | 1,683 | 1,702 | 1,691 | NONE | null | ### Feature request
I am working on a regression problem and I am looking forward to using Transformers for it but before jumping into the implementation and all stuff, I am curious that can you use transformers for a regression problem? I have around 90 features (floating points) and one target. I couldn’t find any... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23189/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23189/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23188 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23188/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23188/comments | https://api.github.com/repos/huggingface/transformers/issues/23188/events | https://github.com/huggingface/transformers/issues/23188 | 1,698,865,817 | I_kwDOCUB6oc5lQqKZ | 23,188 | Running inference from ASR documentation, pipeline errors with "Can't load tokenizer" | {
"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 | [] | [
"Your code works fine for me on macOS (I tried with the main branch of Transformers, which is version 4.29.0.dev0). It also looks like the `tokenizer_config.json` is present in your model repo, so all the required files are present.\r\n\r\nAre you sure you don't have a `F:\\eo-reco\\xekri\\my_awesome_asr_model` dir... | 1,683 | 1,686 | 1,686 | 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/23188/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23188/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23187 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23187/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23187/comments | https://api.github.com/repos/huggingface/transformers/issues/23187/events | https://github.com/huggingface/transformers/issues/23187 | 1,698,860,446 | I_kwDOCUB6oc5lQo2e | 23,187 | push_to_hub fails with "cannot lock ref" and "failed to push some refs" | {
"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 @Wauplin ",
"Hi @RobertBaruch, I'm sorry you're facing this issue. I'm not sure what happened here. Can be either a wrong git setup or a temporary server issue on git operations. Or maybe concurrent push to the Hub which made one fail while having the others correctly uploading. Just to be sure, is the final ... | 1,683 | 1,689 | 1,686 | 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/23187/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23187/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23186 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23186/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23186/comments | https://api.github.com/repos/huggingface/transformers/issues/23186/events | https://github.com/huggingface/transformers/issues/23186 | 1,698,860,202 | I_kwDOCUB6oc5lQoyq | 23,186 | [Documentation] Possible mistake in model_doc LLaMA | {
"login": "habaneraa",
"id": 95517280,
"node_id": "U_kgDOBbF6YA",
"avatar_url": "https://avatars.githubusercontent.com/u/95517280?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/habaneraa",
"html_url": "https://github.com/habaneraa",
"followers_url": "https://api.github.com/users/habanera... | [] | closed | false | null | [] | [
"@habaneraa You're right! This seems to be a mistake in the docs. I will open a PR to fix this."
] | 1,683 | 1,683 | 1,683 | NONE | null | ### System Info
Maybe a small mistake in the documentation. Here: https://github.com/huggingface/transformers/blob/ef42c2c487260c2a0111fa9d17f2507d84ddedea/docs/source/en/model_doc/llama.mdx?plain=1#L17
The title "LLaMA: Open and Efficient Foundation Language Models" is repeated. Does it mean [this arxiv link](http... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23186/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23186/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23185 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23185/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23185/comments | https://api.github.com/repos/huggingface/transformers/issues/23185/events | https://github.com/huggingface/transformers/issues/23185 | 1,698,848,192 | I_kwDOCUB6oc5lQl3A | 23,185 | Code in the documentation on fine-tuning mBART-50 for machine translation doesn't seem to perform a backward pass | {
"login": "Franck-Dernoncourt",
"id": 15331,
"node_id": "MDQ6VXNlcjE1MzMx",
"avatar_url": "https://avatars.githubusercontent.com/u/15331?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Franck-Dernoncourt",
"html_url": "https://github.com/Franck-Dernoncourt",
"followers_url": "https://api.... | [] | closed | false | null | [] | [
"The documentation shows how to do a forward pass of the model, it's not an example of full training. Those examples can be found in the [examples folder](https://github.com/huggingface/transformers/tree/main/examples/pytorch). You do need to define an optimizer, call `loss.backward()` etc. for a full training loop... | 1,683 | 1,686 | 1,686 | NONE | null | (Assignee: @patrickvonplaten)
I try to fine-tune mBART-50 ([paper](https://arxiv.org/pdf/2008.00401), [pre-trained model on Hugging Face](https://huggingface.co/facebook/mbart-large-50)) for machine translation in the transformers Python library. To test the fine-tuning, I am trying to simply teach mBART-50 a new wo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23185/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/23185/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23184 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23184/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23184/comments | https://api.github.com/repos/huggingface/transformers/issues/23184/events | https://github.com/huggingface/transformers/pull/23184 | 1,698,790,384 | PR_kwDOCUB6oc5P7Jlz | 23,184 | Update feature_extraction_deit.py | {
"login": "detasar",
"id": 19317091,
"node_id": "MDQ6VXNlcjE5MzE3MDkx",
"avatar_url": "https://avatars.githubusercontent.com/u/19317091?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/detasar",
"html_url": "https://github.com/detasar",
"followers_url": "https://api.github.com/users/detasa... | [] | closed | false | null | [] | [
"Updated copyright year to 2023\r\nRearranged import statements for better readability\r\nReplaced the warnings import with a more specific import\r\nMinor formatting improvements",
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,683 | 1,683 | 1,683 | NONE | null | Updated copyright year to 2023
Rearranged import statements for better readability Replaced the warnings import with a more specific import Minor formatting improvements
# 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 a... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23184/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23184/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23184",
"html_url": "https://github.com/huggingface/transformers/pull/23184",
"diff_url": "https://github.com/huggingface/transformers/pull/23184.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23184.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23183 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23183/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23183/comments | https://api.github.com/repos/huggingface/transformers/issues/23183/events | https://github.com/huggingface/transformers/issues/23183 | 1,698,767,792 | I_kwDOCUB6oc5lQSOw | 23,183 | Allow unneeded labels in forward | {
"login": "surya-narayanan",
"id": 17240858,
"node_id": "MDQ6VXNlcjE3MjQwODU4",
"avatar_url": "https://avatars.githubusercontent.com/u/17240858?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/surya-narayanan",
"html_url": "https://github.com/surya-narayanan",
"followers_url": "https://api... | [] | 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,683 | 1,686 | 1,686 | NONE | null | ### Feature request
It would be nice to leave in the `labels` part of my batch while passing it through `AutoModel`, and not have it throw the error `AutoModel doesn't expect keyword argument labels`
### Motivation
Sometimes i want to leave metadata in my batch, it would be nice for the model to use what it needs an... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23183/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23183/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23182 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23182/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23182/comments | https://api.github.com/repos/huggingface/transformers/issues/23182/events | https://github.com/huggingface/transformers/pull/23182 | 1,698,686,069 | PR_kwDOCUB6oc5P60vK | 23,182 | Generate: starcoder 🤜 🤛 assisted generation | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> Arg. Would love to be able to change those parts directly in the model files in the future, instead of hacking special keys like this :-/\r\n\r\n@sgugger I'm going to add a common test for the cache format, to ensure we don't do th... | 1,683 | 1,683 | 1,683 | MEMBER | null | # What does this PR do?
Starcoder (GPTBigCode) has a unique cache format, and assisted generation is heavy on cache-related ops. This PR adds the GPTBigCode special case.
All slow tests for assisted generation are passing after these changes. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23182/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23182/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23182",
"html_url": "https://github.com/huggingface/transformers/pull/23182",
"diff_url": "https://github.com/huggingface/transformers/pull/23182.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23182.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23181 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23181/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23181/comments | https://api.github.com/repos/huggingface/transformers/issues/23181/events | https://github.com/huggingface/transformers/issues/23181 | 1,698,668,220 | I_kwDOCUB6oc5lP568 | 23,181 | Add BROS | {
"login": "jinhopark8345",
"id": 60179569,
"node_id": "MDQ6VXNlcjYwMTc5NTY5",
"avatar_url": "https://avatars.githubusercontent.com/u/60179569?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jinhopark8345",
"html_url": "https://github.com/jinhopark8345",
"followers_url": "https://api.githu... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"Would be great if you could add it, it should be very straightforward :)\r\n\r\nI have a few demo notebooks on fine-tuning BROS, let me share them here:\r\n\r\n- https://colab.research.google.com/drive/1PUpiKcSdXjBYM6a300ayC9TaYwzxdMus?usp=sharing\r\n- https://colab.research.google.com/drive/1pTjxx4_46Sk1Zs0W_yzce... | 1,683 | 1,695 | 1,695 | CONTRIBUTOR | null | ### Model description
[BROS(BERT Relying On Spatiality)](https://arxiv.org/abs/2108.04539) is a pre-trained multimodal transformer for Document Understanding using OCR results of document images (text and bounding box pairs).
and I would like to add this model to Huggingface as my first contribution!
### Open so... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23181/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23181/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23180 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23180/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23180/comments | https://api.github.com/repos/huggingface/transformers/issues/23180/events | https://github.com/huggingface/transformers/issues/23180 | 1,698,613,690 | I_kwDOCUB6oc5lPsm6 | 23,180 | Improvements Over `enable_progress_bar` in `transformers.utils.logging` | {
"login": "aress31",
"id": 11601622,
"node_id": "MDQ6VXNlcjExNjAxNjIy",
"avatar_url": "https://avatars.githubusercontent.com/u/11601622?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aress31",
"html_url": "https://github.com/aress31",
"followers_url": "https://api.github.com/users/aress3... | [] | closed | false | null | [] | [
"We do not plan on offering more than the ability to turn progress bars on and off.",
"What is the rational behind that?\r\n\r\nNot offering the ability to control at least the stream where the tqdm works is hindering integration with other techs. E.g., a Node server calling a python script as subprocess.",
"Th... | 1,683 | 1,686 | 1,686 | NONE | null | ### Feature request
Would it be possible to enhance the functionality of the `tqdm` bar utilized in the [logging module](https://github.com/huggingface/transformers/blob/v4.28.1/src/transformers/utils/logging.py#L351) to provide greater flexibility and adaptability for a broader range of use cases?
### Motivation
At... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23180/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23180/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23179 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23179/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23179/comments | https://api.github.com/repos/huggingface/transformers/issues/23179/events | https://github.com/huggingface/transformers/issues/23179 | 1,698,582,244 | I_kwDOCUB6oc5lPk7k | 23,179 | How does the decoder handle pad encodings without encoder attention mask ? | {
"login": "drkhan107",
"id": 63947299,
"node_id": "MDQ6VXNlcjYzOTQ3Mjk5",
"avatar_url": "https://avatars.githubusercontent.com/u/63947299?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/drkhan107",
"html_url": "https://github.com/drkhan107",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"cc @gante @younesbelkada ",
"Hey @drkhan107 👋 \r\n\r\nThe only alternative I see is to fine-tune the model using padded data as input and unpadded data as output, so the model learns to ignore the padding (and that may not work).",
"This issue has been automatically marked as stale because it has not had rece... | 1,683 | 1,686 | 1,686 | NONE | null | I am trying to generate sequence using T5 decoder (not using generate function) by passing encodings and decoder input ids only. However my encoding has pad tokens as well. How is decoder able to handle those pad tokens without passing encoder attention mask.
Here is my code
input_ids = tokenizer(seq, max_length... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23179/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23179/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23178 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23178/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23178/comments | https://api.github.com/repos/huggingface/transformers/issues/23178/events | https://github.com/huggingface/transformers/pull/23178 | 1,698,572,907 | PR_kwDOCUB6oc5P6d_4 | 23,178 | Update tokenization_llama.py | {
"login": "sjm1992st",
"id": 15169452,
"node_id": "MDQ6VXNlcjE1MTY5NDUy",
"avatar_url": "https://avatars.githubusercontent.com/u/15169452?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sjm1992st",
"html_url": "https://github.com/sjm1992st",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_23178). All of your documentation changes will be reflected on that endpoint.",
"cc @gante since Arthur is on holiday.",
"Hey @sjm1992st -- the issue in #23175 is unrelated to the tokenizer (see my comment there).\r\n\r\n... | 1,683 | 1,686 | 1,686 | NONE | null | # What does this PR do?
Fixes # (issue)
https://github.com/huggingface/transformers/issues/23175
we could see it : https://github.com/facebookresearch/llama/blob/main/llama/generation.py
#line62: generation.py | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23178/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/23178/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23178",
"html_url": "https://github.com/huggingface/transformers/pull/23178",
"diff_url": "https://github.com/huggingface/transformers/pull/23178.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23178.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23177 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23177/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23177/comments | https://api.github.com/repos/huggingface/transformers/issues/23177/events | https://github.com/huggingface/transformers/issues/23177 | 1,698,554,346 | I_kwDOCUB6oc5lPeHq | 23,177 | Can you write code that trains bert with MLM and the next sentence at the same time? | {
"login": "ingale726",
"id": 42893941,
"node_id": "MDQ6VXNlcjQyODkzOTQx",
"avatar_url": "https://avatars.githubusercontent.com/u/42893941?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ingale726",
"html_url": "https://github.com/ingale726",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hi @xiao12mm, I belive the NSP loss isn't available for model training directly in huggingface. This [thread](https://discuss.huggingface.co/t/continual-pre-training-from-an-initial-checkpoint-with-mlm-and-nsp/6869) provide a script for NSP training.\r\n\r\nAbout this - \"training with both is better than training... | 1,683 | 1,686 | 1,686 | NONE | null | ### Feature request
Or is there a training code already in place?
### Motivation
I've learned that training with both is better than training with mlm alone, by which I mean the generated vector features
### Your contribution
no yet | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23177/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23177/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23176 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23176/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23176/comments | https://api.github.com/repos/huggingface/transformers/issues/23176/events | https://github.com/huggingface/transformers/issues/23176 | 1,698,474,995 | I_kwDOCUB6oc5lPKvz | 23,176 | I want to use 'from_ Pretrained' to read the '.safetensors' model file. What should I do? | {
"login": "Yu-xm",
"id": 72803279,
"node_id": "MDQ6VXNlcjcyODAzMjc5",
"avatar_url": "https://avatars.githubusercontent.com/u/72803279?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Yu-xm",
"html_url": "https://github.com/Yu-xm",
"followers_url": "https://api.github.com/users/Yu-xm/follow... | [] | closed | false | null | [] | [
"`AutoModelForCausalLM.from_pretrained(llama_path)` is enough.",
"> `AutoModelForCausalLM.from_pretrained(llama_path)` is enough.\r\n\r\nI used your method and got an error:\r\nOSError: Error no file named pytorch_model.bin, tf_model.h5, model.ckpt.index or flax_model.msgpack found in directory pretrain_ models/l... | 1,683 | 1,689 | 1,689 | NONE | null | ### System Info
- `transformers` version: 4.29.0.dev0
- Platform: Linux-6.2.0-20-generic-x86_64-with-glibc2.17
- Python version: 3.8.16
- Huggingface_hub version: 0.14.1
- Safetensors version: not installed
- PyTorch version (GPU?): 2.0.0+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax versi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23176/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/23176/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23175 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23175/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23175/comments | https://api.github.com/repos/huggingface/transformers/issues/23175/events | https://github.com/huggingface/transformers/issues/23175 | 1,698,312,483 | I_kwDOCUB6oc5lOjEj | 23,175 | When using model.generate, it does not stop at eos_token, but instead continues until the maximum length. | {
"login": "bestpredicts",
"id": 12403152,
"node_id": "MDQ6VXNlcjEyNDAzMTUy",
"avatar_url": "https://avatars.githubusercontent.com/u/12403152?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bestpredicts",
"html_url": "https://github.com/bestpredicts",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Hey @bestpredicts 👋 \r\n\r\nI agree that `</s>` should not be generated. However, I need a stand-alone short reproducer to understand what's truly going on. We have many Llama checkpoints that are not compatible with `transformers`.",
"@bestpredicts I have same question, do you solved it?",
"> Hey @bestpredic... | 1,683 | 1,688 | 1,688 | NONE | null | ### System Info
ubuntu20.04
transformers==4.29.0
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [X] My own task or dataset (give det... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23175/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23175/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23174 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23174/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23174/comments | https://api.github.com/repos/huggingface/transformers/issues/23174/events | https://github.com/huggingface/transformers/issues/23174 | 1,698,100,997 | I_kwDOCUB6oc5lNvcF | 23,174 | MPT | {
"login": "zphang",
"id": 1668462,
"node_id": "MDQ6VXNlcjE2Njg0NjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1668462?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zphang",
"html_url": "https://github.com/zphang",
"followers_url": "https://api.github.com/users/zphang/foll... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | closed | false | {
"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": "... | [
"Can this model be implemented without the need for executing custom python files? I believe it's a huge security risk to allow these models to run their own python code. Yes it is up to the users to verify it's safety and take responsibility for their own actions; yet in the real world, most people won't scan thro... | 1,683 | 1,690 | 1,690 | CONTRIBUTOR | null | ### Model description
New LLM from MosaicML, 7B parameters. See: https://www.mosaicml.com/blog/mpt-7b
### Open source status
- [X] The model implementation is available
- [X] The model weights are available
### Provide useful links for the implementation
https://huggingface.co/mosaicml/mpt-7b/tree/main
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23174/reactions",
"total_count": 7,
"+1": 7,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23174/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23173 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23173/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23173/comments | https://api.github.com/repos/huggingface/transformers/issues/23173/events | https://github.com/huggingface/transformers/pull/23173 | 1,697,847,018 | PR_kwDOCUB6oc5P4CKj | 23,173 | Add FlaxWhisperForAudioClassification model | {
"login": "raghavanone",
"id": 115454562,
"node_id": "U_kgDOBuGyYg",
"avatar_url": "https://avatars.githubusercontent.com/u/115454562?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/raghavanone",
"html_url": "https://github.com/raghavanone",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"cc @sanchit-gandhi ",
"The test failures are appearing on this one. Let's fix them and re-merge!",
"We need to make two changes following the updates in #22954! First, we need to assign the attribute `gradient_checkpointing` to t... | 1,683 | 1,686 | 1,683 | CONTRIBUTOR | null | Fixes #21779 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23173/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23173/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23173",
"html_url": "https://github.com/huggingface/transformers/pull/23173",
"diff_url": "https://github.com/huggingface/transformers/pull/23173.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23173.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23172 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23172/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23172/comments | https://api.github.com/repos/huggingface/transformers/issues/23172/events | https://github.com/huggingface/transformers/pull/23172 | 1,697,763,612 | PR_kwDOCUB6oc5P3wKK | 23,172 | Change summarization model | {
"login": "philschmid",
"id": 32632186,
"node_id": "MDQ6VXNlcjMyNjMyMTg2",
"avatar_url": "https://avatars.githubusercontent.com/u/32632186?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/philschmid",
"html_url": "https://github.com/philschmid",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,683 | 1,683 | 1,683 | MEMBER | null | Change the summarization to a better and smaller one. The `philschmid/flan-t5-base-samsum` gets +6 points on rogue on the samesum dataset. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23172/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23172/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23172",
"html_url": "https://github.com/huggingface/transformers/pull/23172",
"diff_url": "https://github.com/huggingface/transformers/pull/23172.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23172.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23171 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23171/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23171/comments | https://api.github.com/repos/huggingface/transformers/issues/23171/events | https://github.com/huggingface/transformers/issues/23171 | 1,697,754,366 | I_kwDOCUB6oc5lMaz- | 23,171 | Support `logging_ratio`, `save_ratio`, and `eval_ratio` (like for `warmup_ratio`) | {
"login": "konstantinjdobler",
"id": 28780372,
"node_id": "MDQ6VXNlcjI4NzgwMzcy",
"avatar_url": "https://avatars.githubusercontent.com/u/28780372?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/konstantinjdobler",
"html_url": "https://github.com/konstantinjdobler",
"followers_url": "https... | [] | closed | false | null | [] | [
"We already have 96 training arguments though, and that would make three more of all users to learn :-/",
"Another option would be to allow `float` inputs for `logging_steps`, `save_steps`, `eval_steps` and interpret all inputs `<1.0` as a ratio (and throw an error if inputs `>1.0` are not integers). \r\n\r\nBut ... | 1,683 | 1,707 | 1,683 | CONTRIBUTOR | null | ### Feature request
I would love if `TrainingArguments` and the Huggingface `Trainer` would support `logging_ratio`, `save_ratio`, and `eval_ratio` arguments (complementing `logging_steps`, `save_steps`, and `eval_steps`). If the `*_ratio` argument is set to e.g. `0.1`, logging/saving/eval would be done every `0.1 *... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23171/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23171/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23170 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23170/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23170/comments | https://api.github.com/repos/huggingface/transformers/issues/23170/events | https://github.com/huggingface/transformers/issues/23170 | 1,697,620,334 | I_kwDOCUB6oc5lL6Fu | 23,170 | Gradient Checkpointing Fails with frozen parameters | {
"login": "jamesharrisivi",
"id": 132676609,
"node_id": "U_kgDOB-h8AQ",
"avatar_url": "https://avatars.githubusercontent.com/u/132676609?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jamesharrisivi",
"html_url": "https://github.com/jamesharrisivi",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"cc @younesbelkada and @pacman100 ",
"hi @jamesharrisivi \r\nFor that you need to make sure that the input being passed to the peft model has `requires_grad` set to `True`\r\nThis is a duplicate of https://discuss.huggingface.co/t/peft-lora-gpt-neox-backward-pass-failing/35641 \r\nCan you try to add:\r\n```python... | 1,683 | 1,701 | 1,685 | NONE | null | ### System Info
The PEFT methods freeze the bulk of the transformer, apart from an external module.
When I enable gradient checkpointing and train with these models or even if I simply freeze an embedding layer of a normal model, training breaks. So this problem is not specific to PEFT: gradient_checkpointing + ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23170/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23170/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23169 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23169/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23169/comments | https://api.github.com/repos/huggingface/transformers/issues/23169/events | https://github.com/huggingface/transformers/issues/23169 | 1,697,602,423 | I_kwDOCUB6oc5lL1t3 | 23,169 | Cant get deepspeed parm | {
"login": "www516717402",
"id": 30460509,
"node_id": "MDQ6VXNlcjMwNDYwNTA5",
"avatar_url": "https://avatars.githubusercontent.com/u/30460509?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/www516717402",
"html_url": "https://github.com/www516717402",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"This is a wrong repo. For Accelerate please file Issues under https://github.com/huggingface/accelerate/issues"
] | 1,683 | 1,683 | 1,683 | NONE | null | ### System Info
latest version 2023.5.5
### Who can help?
@stas00
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)
### Reproduction
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23169/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23169/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23168 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23168/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23168/comments | https://api.github.com/repos/huggingface/transformers/issues/23168/events | https://github.com/huggingface/transformers/pull/23168 | 1,697,515,311 | PR_kwDOCUB6oc5P26NX | 23,168 | shift torch dynamo handling to accelerate | {
"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._"
] | 1,683 | 1,685 | 1,685 | CONTRIBUTOR | null | ### What does this PR do?
1. Shits the torch dynamo handling to accelerate
2. Should be merged after #23158
3. No user facing change. Now, users can use `accelerate launch` for torch dynamo, e.g.,
```
accelerate launch --dynamo_backend=inductor ./examples/pytorch/text-classification/run_glue.py --model_name_o... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23168/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23168/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23168",
"html_url": "https://github.com/huggingface/transformers/pull/23168",
"diff_url": "https://github.com/huggingface/transformers/pull/23168.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23168.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23167 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23167/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23167/comments | https://api.github.com/repos/huggingface/transformers/issues/23167/events | https://github.com/huggingface/transformers/pull/23167 | 1,697,489,120 | PR_kwDOCUB6oc5P20dz | 23,167 | fixed whisper positional encoding | {
"login": "anvilarth",
"id": 43551010,
"node_id": "MDQ6VXNlcjQzNTUxMDEw",
"avatar_url": "https://avatars.githubusercontent.com/u/43551010?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anvilarth",
"html_url": "https://github.com/anvilarth",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@clefourrier @gante",
"Looks like, there are no problems with tests.\r\n\r\n"
] | 1,683 | 1,683 | 1,683 | CONTRIBUTOR | null | Whisper Positional Encoding has incorrect behavior when passing inputs_embeds:
- When we are passing `input_ids` (batch_size x seq_len) it takes the -1 dimension of it which is correct.
- When we are passing `input_embeds` (batch_size x seq_len x embedding_dim) it doesn't work. If we take -1 dimension, we get embeddi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23167/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23167/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23167",
"html_url": "https://github.com/huggingface/transformers/pull/23167",
"diff_url": "https://github.com/huggingface/transformers/pull/23167.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23167.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23166 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23166/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23166/comments | https://api.github.com/repos/huggingface/transformers/issues/23166/events | https://github.com/huggingface/transformers/pull/23166 | 1,697,465,826 | PR_kwDOCUB6oc5P2vXl | 23,166 | 🌐 [i18n-KO] Translated `troubleshooting.mdx` to Korean | {
"login": "0525hhgus",
"id": 47289574,
"node_id": "MDQ6VXNlcjQ3Mjg5NTc0",
"avatar_url": "https://avatars.githubusercontent.com/u/47289574?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/0525hhgus",
"html_url": "https://github.com/0525hhgus",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"May you please review this PR? 😃 \n@sgugger, @ArthurZucker, @eunseojo",
"@0525hhgus you need to put it out of draft mode if it's ready for review.",
"> @0525hhgus you need to put it out of draft mode if it's ready for review.\r\... | 1,683 | 1,685 | 1,685 | CONTRIBUTOR | null | <!-- PR의 제목은 "🌐 [i18n-KO] Translated `<your_file>.mdx` to Korean" 으로 부탁드립니다 -->
# What does this PR do?
Translated the `troubleshooting.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/23166/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23166/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23166",
"html_url": "https://github.com/huggingface/transformers/pull/23166",
"diff_url": "https://github.com/huggingface/transformers/pull/23166.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23166.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23165 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23165/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23165/comments | https://api.github.com/repos/huggingface/transformers/issues/23165/events | https://github.com/huggingface/transformers/issues/23165 | 1,697,425,126 | I_kwDOCUB6oc5lLKbm | 23,165 | i got a Trainer error: Attempting to unscale FP16 gradients | {
"login": "han508",
"id": 69674181,
"node_id": "MDQ6VXNlcjY5Njc0MTgx",
"avatar_url": "https://avatars.githubusercontent.com/u/69674181?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/han508",
"html_url": "https://github.com/han508",
"followers_url": "https://api.github.com/users/han508/fo... | [] | closed | false | null | [] | [
"You can't train a model loaded in FP16:\r\n```\r\nmodel = LlamaForCausalLM.from_pretrained(xxx, torch_dtype=torch.float16)\r\n```\r\nis the culprit here. I don't know how PEFT initializes the layer to train afterwards, but some of them must be in the same dtype cc @younesbelkada ",
"I second what @sgugger said, ... | 1,683 | 1,696 | 1,683 | NONE | null | ### System Info
- `transformers` version: 4.28.1
- Platform: Linux-5.4.0-148-generic-x86_64-with-glibc2.27
- Python version: 3.9.16
- Huggingface_hub version: 0.13.4
- Safetensors version: not installed
- PyTorch version (GPU?): 1.13.1 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23165/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23165/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23164 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23164/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23164/comments | https://api.github.com/repos/huggingface/transformers/issues/23164/events | https://github.com/huggingface/transformers/pull/23164 | 1,697,412,255 | PR_kwDOCUB6oc5P2jg2 | 23,164 | 🌐 [i18n-KO] Translated object_detection.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,683 | 1,685 | 1,685 | CONTRIBUTOR | null | # What does this PR do?
Translated the object_detection.mdx file of the documentation to Korean.
Thank you in advance for your review.
Part of https://github.com/huggingface/transformers/issues/20179
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23164/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23164/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23164",
"html_url": "https://github.com/huggingface/transformers/pull/23164",
"diff_url": "https://github.com/huggingface/transformers/pull/23164.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23164.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23163 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23163/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23163/comments | https://api.github.com/repos/huggingface/transformers/issues/23163/events | https://github.com/huggingface/transformers/pull/23163 | 1,697,407,035 | PR_kwDOCUB6oc5P2iX- | 23,163 | Better check for packages availability | {
"login": "apbard",
"id": 12557177,
"node_id": "MDQ6VXNlcjEyNTU3MTc3",
"avatar_url": "https://avatars.githubusercontent.com/u/12557177?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/apbard",
"html_url": "https://github.com/apbard",
"followers_url": "https://api.github.com/users/apbard/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> Thanks a lot for the refactor, this is super nice!\r\n> \r\n> There are a couple of packages that do not properly implement metadata (I kno for sure `opencv` does not since we are adding it in another PR), could you quickly check t... | 1,683 | 1,683 | 1,683 | CONTRIBUTOR | null | Following up huggingface/accelerate#1356
Refactor checks to avoid boilerplate and to ensure we are not picking up a folder that happens to be called as the package.
I assume all _*_available are for caching purposes. But is that really needed? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23163/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23163/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23163",
"html_url": "https://github.com/huggingface/transformers/pull/23163",
"diff_url": "https://github.com/huggingface/transformers/pull/23163.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23163.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23162 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23162/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23162/comments | https://api.github.com/repos/huggingface/transformers/issues/23162/events | https://github.com/huggingface/transformers/pull/23162 | 1,697,299,031 | PR_kwDOCUB6oc5P2K1f | 23,162 | Unpin numba | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Failing test is unrelated ([tf compile test](https://circleci-tasks-prod.s3.us-east-1.amazonaws.com/forks/storage/artifacts/d5b57382-7f67-4274-9623-7f238ef4fb6f/457033993/0fb5a370-4bdb-43e1-a1a2-c242ca17c8d3/0/~/transformers/reports/... | 1,683 | 1,687 | 1,685 | CONTRIBUTOR | null | # What does this PR do?
Numba was pinned to <0.57.0 in #23118 - this is because it forced an update of the numpy package to >= 1.24. From numpy >= 1.24, converting a ragged list to a numpy array requires the user to **explicitly** set `dtype=object` (before this happened automatically, but threw a deprecation warnin... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23162/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23162/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23162",
"html_url": "https://github.com/huggingface/transformers/pull/23162",
"diff_url": "https://github.com/huggingface/transformers/pull/23162.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23162.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23161 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23161/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23161/comments | https://api.github.com/repos/huggingface/transformers/issues/23161/events | https://github.com/huggingface/transformers/issues/23161 | 1,697,261,597 | I_kwDOCUB6oc5lKigd | 23,161 | mac m2 max data collator issue | {
"login": "sd3ntato",
"id": 11448010,
"node_id": "MDQ6VXNlcjExNDQ4MDEw",
"avatar_url": "https://avatars.githubusercontent.com/u/11448010?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sd3ntato",
"html_url": "https://github.com/sd3ntato",
"followers_url": "https://api.github.com/users/sd3... | [] | closed | false | null | [] | [
"No one can 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://gi... | 1,683 | 1,686 | 1,686 | NONE | null | ### System Info
- `transformers` version: 4.28.1
- Platform: macOS-13.2.1-arm64-arm-64bit
- Python version: 3.9.6
- Huggingface_hub version: 0.13.4
- Safetensors version: not installed
- PyTorch version (GPU?): 2.0.0 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not in... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23161/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/23161/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23160 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23160/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23160/comments | https://api.github.com/repos/huggingface/transformers/issues/23160/events | https://github.com/huggingface/transformers/issues/23160 | 1,697,261,459 | I_kwDOCUB6oc5lKieT | 23,160 | implement unlimiformer into transformers | {
"login": "chris-aeviator",
"id": 11522213,
"node_id": "MDQ6VXNlcjExNTIyMjEz",
"avatar_url": "https://avatars.githubusercontent.com/u/11522213?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chris-aeviator",
"html_url": "https://github.com/chris-aeviator",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"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,683 | 1,688 | 1,688 | NONE | null | ### Feature request
https://github.com/abertsch72/unlimiformer promises to support unlimited input length on any transformer based encoder/decoder model with sub-linear cost in time.
### Motivation
Context lengths are fairly limited
### Your contribution
Testing | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23160/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23160/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23159 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23159/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23159/comments | https://api.github.com/repos/huggingface/transformers/issues/23159/events | https://github.com/huggingface/transformers/pull/23159 | 1,697,188,221 | PR_kwDOCUB6oc5P1y72 | 23,159 | search buffers for dtype | {
"login": "cyyever",
"id": 17618148,
"node_id": "MDQ6VXNlcjE3NjE4MTQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/17618148?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cyyever",
"html_url": "https://github.com/cyyever",
"followers_url": "https://api.github.com/users/cyyeve... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,683 | 1,686 | 1,683 | CONTRIBUTOR | null | # What does this PR do?
This PR extends the logic of get_parameter_dtype to search buffers after parameters are searched. If a model is frozen such that all its parameters are turned into buffers, the current logic may not be able to find a dtype even if it tries to search module.\_\_dict\_\_.
<!--
Congratulations... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23159/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23159/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23159",
"html_url": "https://github.com/huggingface/transformers/pull/23159",
"diff_url": "https://github.com/huggingface/transformers/pull/23159.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23159.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23158 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23158/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23158/comments | https://api.github.com/repos/huggingface/transformers/issues/23158/events | https://github.com/huggingface/transformers/pull/23158 | 1,697,160,899 | PR_kwDOCUB6oc5P1tBP | 23,158 | move fsdp handling to accelerate | {
"login": "pacman100",
"id": 13534540,
"node_id": "MDQ6VXNlcjEzNTM0NTQw",
"avatar_url": "https://avatars.githubusercontent.com/u/13534540?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pacman100",
"html_url": "https://github.com/pacman100",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hello Sylvain, we can't do that as FSDP XLA integration uses it and that isn't supported yet in accelerate"
] | 1,683 | 1,685 | 1,685 | CONTRIBUTOR | null | ### What does this PR do?
1. Moves PyTorch FSDP handling to Accelerate
2. Should be merged after #23151
3. No user-facing change. Now, users can use `accelerate launch` for fsdp in Trainer, e.g.:
```
accelerate launch --num_processes=2 --use_fsdp --mixed_precision=bf16 --fsdp_auto_wrap_policy=TRANSFORMER_BASED_WR... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23158/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23158/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23158",
"html_url": "https://github.com/huggingface/transformers/pull/23158",
"diff_url": "https://github.com/huggingface/transformers/pull/23158.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23158.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23207 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23207/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23207/comments | https://api.github.com/repos/huggingface/transformers/issues/23207/events | https://github.com/huggingface/transformers/issues/23207 | 1,700,239,569 | I_kwDOCUB6oc5lV5jR | 23,207 | Better prompt error messages | {
"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 | [] | [
"Hi @lucasjinreal , I'm transferring this issue to `transformers` as this is not really related to `huggingface_hub` itself (hfh is the underlying library making calls to the HF Hub but is not responsible if a path is provided as repo_id when downloading a file).\r\n\r\ncc @sgugger I'm not an expert on how files ar... | 1,683 | 1,686 | 1,686 | NONE | null | I got error when AutoTokenizer.from_pretrained:
```
huggingface_hub.utils._validators.HFValidationError: Repo id must be in the form 'repo_name' or 'namespace/repo_name': './dist/models/vicuna-v1-7b'. Use `repo_type` argument if needed.
```
this was caused local path doesn't exist actually, but the error messsa... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23207/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23207/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23157 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23157/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23157/comments | https://api.github.com/repos/huggingface/transformers/issues/23157/events | https://github.com/huggingface/transformers/pull/23157 | 1,696,848,241 | PR_kwDOCUB6oc5P0pZ5 | 23,157 | Fixing class embedding selection in owl-vit | {
"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 documentation is not available anymore as the PR was closed or merged._",
"@orrzohar thank you for opening the PR! I'll take double check the original code and the forward pass shortly.",
"After this fix I have problem with predictions.\r\n\r\nI Use [Colab demo](https://colab.research.google.com/github/hu... | 1,683 | 1,683 | 1,683 | 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/23157/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23157/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23157",
"html_url": "https://github.com/huggingface/transformers/pull/23157",
"diff_url": "https://github.com/huggingface/transformers/pull/23157.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23157.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23156 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23156/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23156/comments | https://api.github.com/repos/huggingface/transformers/issues/23156/events | https://github.com/huggingface/transformers/pull/23156 | 1,696,491,195 | PR_kwDOCUB6oc5Pzbbb | 23,156 | Add `no_trainer` scripts to pre-train Vision Transformers | {
"login": "awinml",
"id": 97467100,
"node_id": "U_kgDOBc863A",
"avatar_url": "https://avatars.githubusercontent.com/u/97467100?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/awinml",
"html_url": "https://github.com/awinml",
"followers_url": "https://api.github.com/users/awinml/followers"... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@NielsRogge As per https://github.com/huggingface/transformers/pull/20412#issuecomment-1370792519, I have made a comparison notebook running both the trainer.py and no_trainer.py scripts on a small dataset. It can be viewed [here](ht... | 1,683 | 1,683 | 1,683 | CONTRIBUTOR | null | # What does this PR do?
Add scripts to pre-train Transformer-based Vision models without using the Trainer class.
Fixes #20053
Fixes #20412
This PR completes the stalled PR #20412.
## Who can review?
@amyeroberts @NielsRogge @sgugger
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23156/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23156/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23156",
"html_url": "https://github.com/huggingface/transformers/pull/23156",
"diff_url": "https://github.com/huggingface/transformers/pull/23156.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23156.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23155 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23155/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23155/comments | https://api.github.com/repos/huggingface/transformers/issues/23155/events | https://github.com/huggingface/transformers/pull/23155 | 1,696,485,227 | PR_kwDOCUB6oc5PzaIb | 23,155 | TF port of Convnextv2 | {
"login": "IMvision12",
"id": 88665786,
"node_id": "MDQ6VXNlcjg4NjY1Nzg2",
"avatar_url": "https://avatars.githubusercontent.com/u/88665786?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/IMvision12",
"html_url": "https://github.com/IMvision12",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"While converting pt weights to TensorFlow I am getting this error:\r\nhow to solve this?\r\n```\r\nAll PyTorch model weights were used when initializing TFConvNextV2ForImageClassification.\r\n\r\nAll the weights of TFConvNextV2ForImageClassification were initialized from the PyTorch model.\r\nIf your task is simil... | 1,683 | 1,684 | 1,684 | CONTRIBUTOR | null | # What does this PR do?
TF port of convnextv2
@amyeroberts
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23155/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23155/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23155",
"html_url": "https://github.com/huggingface/transformers/pull/23155",
"diff_url": "https://github.com/huggingface/transformers/pull/23155.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23155.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23154 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23154/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23154/comments | https://api.github.com/repos/huggingface/transformers/issues/23154/events | https://github.com/huggingface/transformers/pull/23154 | 1,696,438,573 | PR_kwDOCUB6oc5PzPpy | 23,154 | Revert "Add FlaxWhisperForAudioClassification model" | {
"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_23154). All of your documentation changes will be reflected on that endpoint."
] | 1,683 | 1,683 | 1,683 | COLLABORATOR | null | Reverts huggingface/transformers#22883 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23154/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23154/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23154",
"html_url": "https://github.com/huggingface/transformers/pull/23154",
"diff_url": "https://github.com/huggingface/transformers/pull/23154.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23154.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23153 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23153/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23153/comments | https://api.github.com/repos/huggingface/transformers/issues/23153/events | https://github.com/huggingface/transformers/pull/23153 | 1,696,352,391 | PR_kwDOCUB6oc5Py8pZ | 23,153 | [`Blip`] Remove redundant shift right | {
"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._",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_23153). All of your documentation changes will be reflected on that endpoint."
] | 1,683 | 1,684 | 1,684 | CONTRIBUTOR | null | # What does this PR do?
Fixes https://github.com/huggingface/transformers/issues/23000
In fact `_shift_right` does not need to be called inside `BlipForQuestionAnswering` as the right shifting of the tokens is done directly on the text decoder as mentioned by the user. Therefore, that class will be trained to per... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23153/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/23153/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23153",
"html_url": "https://github.com/huggingface/transformers/pull/23153",
"diff_url": "https://github.com/huggingface/transformers/pull/23153.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23153.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23152 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23152/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23152/comments | https://api.github.com/repos/huggingface/transformers/issues/23152/events | https://github.com/huggingface/transformers/issues/23152 | 1,696,019,577 | I_kwDOCUB6oc5lFzR5 | 23,152 | resume checkpoint and continue training using deepspeed integration while changing the number of gpus | {
"login": "HalcyonLiang",
"id": 20160375,
"node_id": "MDQ6VXNlcjIwMTYwMzc1",
"avatar_url": "https://avatars.githubusercontent.com/u/20160375?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HalcyonLiang",
"html_url": "https://github.com/HalcyonLiang",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [] | 1,683 | 1,683 | 1,683 | NONE | null | ### System Info
transformers version: 4.28.1
torch version: 1.13+cu116
Can trainer support resuming checkpoint while using different number of gpus?
I saw optimizer states are saved per rank while saving checkpoints, how can i resuming successfully while changing the numer of gpus ?
### Who can help?
_No respon... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23152/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23152/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23151 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23151/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23151/comments | https://api.github.com/repos/huggingface/transformers/issues/23151/events | https://github.com/huggingface/transformers/pull/23151 | 1,695,952,595 | PR_kwDOCUB6oc5PxkmM | 23,151 | accelerate DDP integrate | {
"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._"
] | 1,683 | 1,685 | 1,685 | CONTRIBUTOR | null | ### What does this PR do?
1. Move DDP preparation to Accelerate.
2. This PR should be merged after #23148
3. No user-facing change. Now, user can use `accelerate launch` for DDP and MP, e.g.,
```
accelerate launch --num_processes 2 --multi_gpu --mixed_precision "bf16" run_glue.py --model_name_or_path bert-base... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23151/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23151/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23151",
"html_url": "https://github.com/huggingface/transformers/pull/23151",
"diff_url": "https://github.com/huggingface/transformers/pull/23151.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23151.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23150 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23150/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23150/comments | https://api.github.com/repos/huggingface/transformers/issues/23150/events | https://github.com/huggingface/transformers/issues/23150 | 1,695,896,140 | I_kwDOCUB6oc5lFVJM | 23,150 | After completion of Trainer.hyperparameter_search() attribute trainer.state.best_model_checkpoint references the last trained model instead of the best one | {
"login": "fantauzzi",
"id": 2722433,
"node_id": "MDQ6VXNlcjI3MjI0MzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/2722433?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fantauzzi",
"html_url": "https://github.com/fantauzzi",
"followers_url": "https://api.github.com/users/fa... | [] | closed | false | null | [] | [
"Hyperparameter search does not play well with the best model indeed. That's not something in our roadmap for fixing, but we are happy to look at any PR!",
"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 thi... | 1,683 | 1,686 | 1,686 | NONE | null | ### System Info
- `transformers` version: 4.28.1
- Platform: Linux-5.19.0-41-generic-x86_64-with-glibc2.35
- Python version: 3.11.3
- Huggingface_hub version: 0.14.1
- Safetensors version: not installed
- PyTorch version (GPU?): 2.0.0+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23150/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23150/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23149 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23149/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23149/comments | https://api.github.com/repos/huggingface/transformers/issues/23149/events | https://github.com/huggingface/transformers/pull/23149 | 1,695,874,868 | PR_kwDOCUB6oc5PxTsk | 23,149 | gpt2 multi-gpu fix | {
"login": "peter-sk",
"id": 6168908,
"node_id": "MDQ6VXNlcjYxNjg5MDg=",
"avatar_url": "https://avatars.githubusercontent.com/u/6168908?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/peter-sk",
"html_url": "https://github.com/peter-sk",
"followers_url": "https://api.github.com/users/peter... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,683 | 1,683 | 1,683 | CONTRIBUTOR | null | # What does this PR do?
Move tensors to same device.
Fixes # (issue)
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [X] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23149/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23149/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23149",
"html_url": "https://github.com/huggingface/transformers/pull/23149",
"diff_url": "https://github.com/huggingface/transformers/pull/23149.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23149.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23148 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23148/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23148/comments | https://api.github.com/repos/huggingface/transformers/issues/23148/events | https://github.com/huggingface/transformers/pull/23148 | 1,695,779,875 | PR_kwDOCUB6oc5Pw-22 | 23,148 | accelerate mixed precision integrate | {
"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._"
] | 1,683 | 1,685 | 1,685 | CONTRIBUTOR | null | ### What does this PR do?
1. Shift Trainer's mixed precision handling to accelerate. Having smaller PR for this instead of mixing this with DDP, FSDP and DeepSpeed changes.
2. Sharded DDP and Apex are cases not supported in Accelerate and because of this I'm unable to simplify further and delete chunks of code in Tra... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23148/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23148/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23148",
"html_url": "https://github.com/huggingface/transformers/pull/23148",
"diff_url": "https://github.com/huggingface/transformers/pull/23148.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23148.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23147 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23147/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23147/comments | https://api.github.com/repos/huggingface/transformers/issues/23147/events | https://github.com/huggingface/transformers/pull/23147 | 1,695,745,539 | PR_kwDOCUB6oc5Pw3e5 | 23,147 | [`GPT-J`] Fix causal mask dtype | {
"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,683 | 1,683 | 1,683 | CONTRIBUTOR | null | # What does this PR do?
Fixes https://github.com/huggingface/transformers/issues/23136
When going for `low_cpu_mem_usage` each parameter is force-casted to the expected dtype, which is force-set to `torch.float16` for 8bit models.
Therefore, for 8bit models (and also half-precision models) the causal mask is a... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23147/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23147/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23147",
"html_url": "https://github.com/huggingface/transformers/pull/23147",
"diff_url": "https://github.com/huggingface/transformers/pull/23147.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23147.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23146 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23146/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23146/comments | https://api.github.com/repos/huggingface/transformers/issues/23146/events | https://github.com/huggingface/transformers/issues/23146 | 1,695,428,645 | I_kwDOCUB6oc5lDjAl | 23,146 | Loading quantization model video memory occupancy problem | {
"login": "Doraemon20190612",
"id": 47512652,
"node_id": "MDQ6VXNlcjQ3NTEyNjUy",
"avatar_url": "https://avatars.githubusercontent.com/u/47512652?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Doraemon20190612",
"html_url": "https://github.com/Doraemon20190612",
"followers_url": "https://... | [] | closed | false | null | [] | [
"Hi @Doraemon20190612 \r\nThanks for your interest in using this feature!\r\nAs stated on the warning:\r\n```bash\r\nDetected the presence of a `quantization_config` attribute in the model's configuration but you don't have the correct `bitsandbytes` version to support int8 serialization. Please install the latest ... | 1,683 | 1,686 | 1,686 | NONE | null | ### System Info
The original model is loaded as an 8bit model and saved. When the saved quantization model is loaded again, the video memory occupancy is the same as that of the original model.
- `transformers` version: 4.29.0.dev0
- Platform: Windows-10-10.0.19045-SP0
- Python version: 3.9.12
- Huggingface_... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23146/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23146/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23145 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23145/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23145/comments | https://api.github.com/repos/huggingface/transformers/issues/23145/events | https://github.com/huggingface/transformers/issues/23145 | 1,695,214,569 | I_kwDOCUB6oc5lCuvp | 23,145 | Detr Models cannot be loaded with `device_map="auto"` | {
"login": "chiragjn",
"id": 10295418,
"node_id": "MDQ6VXNlcjEwMjk1NDE4",
"avatar_url": "https://avatars.githubusercontent.com/u/10295418?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chiragjn",
"html_url": "https://github.com/chiragjn",
"followers_url": "https://api.github.com/users/chi... | [
{
"id": 3081136536,
"node_id": "MDU6TGFiZWwzMDgxMTM2NTM2",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20Difficult%20Issue",
"name": "Good Difficult Issue",
"color": "684CC7",
"default": false,
"description": ""
}
] | open | false | null | [] | [
"cc @alaradirik and @amyeroberts ",
"Hi @chiragjn, I was able to replicate the error on my local (also macOS-13.1-x86_64-i386-64bit) and I'm looking into the issue.",
"A quick update - I tracked down the issue to the accelerate library, setting `device_map=True` sets `low_cpu_mem_usage` to True. This causes the... | 1,683 | 1,694 | null | NONE | null | ### System Info
- `transformers` version: 4.28.1
- Platform: macOS-13.1-x86_64-i386-64bit
- Python version: 3.9.2
- Huggingface_hub version: 0.12.1
- Safetensors version: not installed
- PyTorch version (GPU?): 1.13.1 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23145/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23145/timeline | reopened | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23144 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23144/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23144/comments | https://api.github.com/repos/huggingface/transformers/issues/23144/events | https://github.com/huggingface/transformers/pull/23144 | 1,695,210,392 | PR_kwDOCUB6oc5PvB6C | 23,144 | Remove typo in perf_train_gpu_many.mdx | {
"login": "MrGeislinger",
"id": 9027783,
"node_id": "MDQ6VXNlcjkwMjc3ODM=",
"avatar_url": "https://avatars.githubusercontent.com/u/9027783?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MrGeislinger",
"html_url": "https://github.com/MrGeislinger",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,683 | 1,683 | 1,683 | CONTRIBUTOR | null | Simple typo in the documentation (excess `w` in the word `bottom`)
# 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 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23144/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23144/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23144",
"html_url": "https://github.com/huggingface/transformers/pull/23144",
"diff_url": "https://github.com/huggingface/transformers/pull/23144.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23144.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23143 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23143/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23143/comments | https://api.github.com/repos/huggingface/transformers/issues/23143/events | https://github.com/huggingface/transformers/pull/23143 | 1,695,206,645 | PR_kwDOCUB6oc5PvBGD | 23,143 | fix spelling error | {
"login": "digger-yu",
"id": 55081697,
"node_id": "MDQ6VXNlcjU1MDgxNjk3",
"avatar_url": "https://avatars.githubusercontent.com/u/55081697?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/digger-yu",
"html_url": "https://github.com/digger-yu",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,683 | 1,683 | 1,683 | CONTRIBUTOR | null |
# What does this PR do?
fix spelling error
change referrred to referred
## 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/main/CONTRIBUTI... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23143/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23143/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23143",
"html_url": "https://github.com/huggingface/transformers/pull/23143",
"diff_url": "https://github.com/huggingface/transformers/pull/23143.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23143.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23142 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23142/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23142/comments | https://api.github.com/repos/huggingface/transformers/issues/23142/events | https://github.com/huggingface/transformers/pull/23142 | 1,695,120,160 | PR_kwDOCUB6oc5Put4G | 23,142 | Add TrOCR resources | {
"login": "huangperry",
"id": 60767670,
"node_id": "MDQ6VXNlcjYwNzY3Njcw",
"avatar_url": "https://avatars.githubusercontent.com/u/60767670?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/huangperry",
"html_url": "https://github.com/huangperry",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,683 | 1,683 | 1,683 | CONTRIBUTOR | null | # What does this PR do?
Adds resources of OpenAI GPT according to https://github.com/huggingface/transformers/issues/20055
Fixes #20055 (partially)
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
## Who can review?
Anyone in t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23142/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/23142/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23142",
"html_url": "https://github.com/huggingface/transformers/pull/23142",
"diff_url": "https://github.com/huggingface/transformers/pull/23142.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23142.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23141 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23141/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23141/comments | https://api.github.com/repos/huggingface/transformers/issues/23141/events | https://github.com/huggingface/transformers/pull/23141 | 1,694,949,237 | PR_kwDOCUB6oc5PuH9q | 23,141 | fix: Passing language as acronym to Whisper generate | {
"login": "connor-henderson",
"id": 78612354,
"node_id": "MDQ6VXNlcjc4NjEyMzU0",
"avatar_url": "https://avatars.githubusercontent.com/u/78612354?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/connor-henderson",
"html_url": "https://github.com/connor-henderson",
"followers_url": "https://... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"cc @sanchit-gandhi ",
"Thank you @sanchit-gandhi I made the requested changes and just have two callouts regarding the changes\r\n\r\nOne is I also realized we could use `TO_LANGUAGE_CODE.values()` instead of `LANGUAGES.keys()` for... | 1,683 | 1,683 | 1,683 | CONTRIBUTOR | null | # What does this PR do?
Fixes #23140
<!--
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... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23141/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23141/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23141",
"html_url": "https://github.com/huggingface/transformers/pull/23141",
"diff_url": "https://github.com/huggingface/transformers/pull/23141.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23141.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23140 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23140/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23140/comments | https://api.github.com/repos/huggingface/transformers/issues/23140/events | https://github.com/huggingface/transformers/issues/23140 | 1,694,947,442 | I_kwDOCUB6oc5lBthy | 23,140 | Whisper generation support for passing acronym to language arg | {
"login": "connor-henderson",
"id": 78612354,
"node_id": "MDQ6VXNlcjc4NjEyMzU0",
"avatar_url": "https://avatars.githubusercontent.com/u/78612354?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/connor-henderson",
"html_url": "https://github.com/connor-henderson",
"followers_url": "https://... | [] | closed | false | null | [] | [
"cc @ArthurZucker ",
"Yeah I'm not sure why it was decided the language token had to be passed in there, and at the very least the current error message is misleading. Arthur is probably the best person to look at this."
] | 1,683 | 1,683 | 1,683 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.29.0.dev0
- Platform: macOS-13.0-arm64-arm-64bit
- Python version: 3.9.16
- Huggingface_hub version: 0.12.0
- Safetensors version: 0.2.8
- PyTorch version (GPU?): 1.13.1 (False)
- Tensorflow version (GPU?): 2.11.0 (False)
- Flax version (CPU?/GPU?/TPU?): 0.5.3 (cpu)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23140/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23140/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23139 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23139/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23139/comments | https://api.github.com/repos/huggingface/transformers/issues/23139/events | https://github.com/huggingface/transformers/pull/23139 | 1,694,807,082 | PR_kwDOCUB6oc5PtonY | 23,139 | Generate: text generation pipeline no longer emits `max_length` warning when it is not set | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@Narsil added test 👍 (precisely as suggested, using a small model checks that the warning is raised only when it should)",
"Sorry am I wrong or this is still an issue on `text2text_generation`?\r\nI'm asking this because i keep se... | 1,683 | 1,694 | 1,683 | MEMBER | null | # What does this PR do?
Fixes #22636
In the `text-generation` pipeline, `max_length` is updated to take into account the prefix (which defaults to the BOS token). When `max_new_tokens` was set, it meant that `.generate` received both parameters, triggering the warning.
This PR defers the `max_length` update t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23139/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23139/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23139",
"html_url": "https://github.com/huggingface/transformers/pull/23139",
"diff_url": "https://github.com/huggingface/transformers/pull/23139.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23139.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23138 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23138/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23138/comments | https://api.github.com/repos/huggingface/transformers/issues/23138/events | https://github.com/huggingface/transformers/issues/23138 | 1,694,768,661 | I_kwDOCUB6oc5lBB4V | 23,138 | BatchEncoding breaks duck-typing, either document or auto-cast to dict | {
"login": "atyshka",
"id": 19317207,
"node_id": "MDQ6VXNlcjE5MzE3MjA3",
"avatar_url": "https://avatars.githubusercontent.com/u/19317207?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/atyshka",
"html_url": "https://github.com/atyshka",
"followers_url": "https://api.github.com/users/atyshk... | [] | closed | false | null | [] | [
"This was additionally made harder to debug because the typing for prediction_step indicates a Dict when it is actually a BatchEncoding. Since they print out the same, the only way I identified the cause of the bug was by stepping through and inspecting the types.\r\n\r\n```\r\n def prediction_step(\r\n s... | 1,683 | 1,686 | 1,686 | NONE | null | ### Feature request
I would like to propose that somewhere in the typical model pipeline, such as the data collators or the Trainer loop, instances of BatchEncoding should be converted to dicts to avoid breaking DataParallel models. Alternatively, I could add to the documentation to state that BatchEncodings should no... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23138/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23138/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23137 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23137/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23137/comments | https://api.github.com/repos/huggingface/transformers/issues/23137/events | https://github.com/huggingface/transformers/issues/23137 | 1,694,749,483 | I_kwDOCUB6oc5lA9Mr | 23,137 | TypeError: is_accelerate_available() got an unexpected keyword argument 'check_partial_state'. | {
"login": "nipunikajain",
"id": 42820022,
"node_id": "MDQ6VXNlcjQyODIwMDIy",
"avatar_url": "https://avatars.githubusercontent.com/u/42820022?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nipunikajain",
"html_url": "https://github.com/nipunikajain",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Looks like you may have a borked install of Transformers? If installing from source, that function does accept `check_partial_state` as can be seen [here](https://github.com/huggingface/transformers/blob/78b7debf56efb907c6af767882162050d4fbb294/src/transformers/utils/import_utils.py#L582).",
"This issue has been... | 1,683 | 1,686 | 1,686 | NONE | null | ### System Info
- `transformers` version: 4.29.0.dev0
- Platform: Linux-5.10.147+-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.0+cu118 (True)
- Tensorflow version (GPU?): 2.12.0 (True)
- Flax version (CPU?/GP... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23137/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23137/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23136 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23136/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23136/comments | https://api.github.com/repos/huggingface/transformers/issues/23136/events | https://github.com/huggingface/transformers/issues/23136 | 1,694,691,467 | I_kwDOCUB6oc5lAvCL | 23,136 | [GPT-J] where expected condition to be a boolean tensor, but got a tensor with dtype Half | {
"login": "Praful932",
"id": 45713796,
"node_id": "MDQ6VXNlcjQ1NzEzNzk2",
"avatar_url": "https://avatars.githubusercontent.com/u/45713796?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Praful932",
"html_url": "https://github.com/Praful932",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hi @Praful932 \r\nThanks for the issue, I have managed to reproduce it and fix it with https://github.com/huggingface/transformers/pull/23147\r\nCan you try to uninstall `transformers` and install it again from source?\r\n```bash\r\npip install git+https://github.com/huggingface/transformers\r\n```",
"This is wo... | 1,683 | 1,684 | 1,683 | NONE | null | ### System Info
- `transformers` version: 4.28.1
- Platform: Linux-5.10.147+-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.0+cu118 (True)
- Tensorflow version (GPU?): 2.12.0 (True)
- Flax version (CPU?/GPU?/TP... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23136/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23136/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23135 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23135/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23135/comments | https://api.github.com/repos/huggingface/transformers/issues/23135/events | https://github.com/huggingface/transformers/issues/23135 | 1,694,667,688 | I_kwDOCUB6oc5lApOo | 23,135 | loss 0.0 or NaN when training T5 or Flan-T5 models with bf16 on multiple GPUs | {
"login": "cchen-dialpad",
"id": 47165889,
"node_id": "MDQ6VXNlcjQ3MTY1ODg5",
"avatar_url": "https://avatars.githubusercontent.com/u/47165889?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cchen-dialpad",
"html_url": "https://github.com/cchen-dialpad",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"BTW, if I use deepspeed to launch the script then `loss` and `eval_loss` are normal.\r\nIn addition, the 0.0 or NaN only happens when it is trained on multiple GPUs in the DataParallel mode, which is aligned with this issue: https://github.com/huggingface/transformers/issues/18899",
"Thank you for the good repor... | 1,683 | 1,695 | 1,683 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.28.0
- Platform: Linux-5.19.0-1022-gcp-x86_64-with-Ubuntu-22.04-jammy
- Python version: 3.7.16
- Huggingface_hub version: 0.14.1
- Safetensors version: not installed
- PyTorch version (GPU?): 1.13.1+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23135/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23135/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23134 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23134/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23134/comments | https://api.github.com/repos/huggingface/transformers/issues/23134/events | https://github.com/huggingface/transformers/pull/23134 | 1,694,558,904 | PR_kwDOCUB6oc5PsxwU | 23,134 | Tidy Pytorch GLUE benchmark example | {
"login": "tlby",
"id": 3189927,
"node_id": "MDQ6VXNlcjMxODk5Mjc=",
"avatar_url": "https://avatars.githubusercontent.com/u/3189927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tlby",
"html_url": "https://github.com/tlby",
"followers_url": "https://api.github.com/users/tlby/followers",
... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,683 | 1,683 | 1,683 | CONTRIBUTOR | null | Migration to Evaluate for metric is not quite complete
# What does this PR do?
#18369 left the Pytorch GLUE Benchmark example a bit rough, still hand implementing some metrics, and leaving metric objects constructed but unused in some cases. This work completes the migration to Evaluate.
## Before submitting
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23134/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23134/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23134",
"html_url": "https://github.com/huggingface/transformers/pull/23134",
"diff_url": "https://github.com/huggingface/transformers/pull/23134.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23134.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23133 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23133/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23133/comments | https://api.github.com/repos/huggingface/transformers/issues/23133/events | https://github.com/huggingface/transformers/pull/23133 | 1,694,432,193 | PR_kwDOCUB6oc5PsWJe | 23,133 | Remove redundant print statements | {
"login": "alaradirik",
"id": 8944735,
"node_id": "MDQ6VXNlcjg5NDQ3MzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/8944735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alaradirik",
"html_url": "https://github.com/alaradirik",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,683 | 1,683 | 1,683 | CONTRIBUTOR | null | # What does this PR do?
Removes leftover comments / print lines from `test_backbone_common.py`.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23133/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23133/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23133",
"html_url": "https://github.com/huggingface/transformers/pull/23133",
"diff_url": "https://github.com/huggingface/transformers/pull/23133.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23133.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23132 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23132/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23132/comments | https://api.github.com/repos/huggingface/transformers/issues/23132/events | https://github.com/huggingface/transformers/issues/23132 | 1,694,322,124 | I_kwDOCUB6oc5k_U3M | 23,132 | Add Unlimiformer to 🤗 transformers | {
"login": "tanaymeh",
"id": 26519539,
"node_id": "MDQ6VXNlcjI2NTE5NTM5",
"avatar_url": "https://avatars.githubusercontent.com/u/26519539?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tanaymeh",
"html_url": "https://github.com/tanaymeh",
"followers_url": "https://api.github.com/users/tan... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | closed | false | null | [] | [] | 1,683 | 1,684 | 1,684 | CONTRIBUTOR | null | ### Model description
I want to add the recently released Unlimiformer (Long-Range Transformers with Unlimited Length Input) model to 🤗 transformers.
Will this be a good addition?
### Open source status
- [X] The model implementation is available
- [X] The model weights are available
### Provide useful... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23132/reactions",
"total_count": 7,
"+1": 7,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23132/timeline | not_planned | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23131 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23131/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23131/comments | https://api.github.com/repos/huggingface/transformers/issues/23131/events | https://github.com/huggingface/transformers/pull/23131 | 1,694,217,588 | PR_kwDOCUB6oc5PrniY | 23,131 | Handle padding warning in generation when using `inputs_embeds` | {
"login": "zrthxn",
"id": 35369637,
"node_id": "MDQ6VXNlcjM1MzY5NjM3",
"avatar_url": "https://avatars.githubusercontent.com/u/35369637?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zrthxn",
"html_url": "https://github.com/zrthxn",
"followers_url": "https://api.github.com/users/zrthxn/fo... | [] | closed | false | null | [] | [
"cc @gante",
"_The documentation is not available anymore as the PR was closed or merged._",
"> Why not simply add `and len(inputs_tensor.shape) == 2` to the `if`? Short, clear code is easier to maintain 🙌\r\n\r\nJust adding `and len(inputs_tensor.shape) == 2` wouldn't print the warning if using `inputs_embeds... | 1,683 | 1,683 | 1,683 | CONTRIBUTOR | null | # What does this PR do?
Fixes: #23042
if `input_ids` was given, check if the last id in any sequence is `pad_token_id`
if `inputs_embeds` was given, check if the last embed in any sequence is *all* zeros
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23131/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23131/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23131",
"html_url": "https://github.com/huggingface/transformers/pull/23131",
"diff_url": "https://github.com/huggingface/transformers/pull/23131.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23131.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23130 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23130/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23130/comments | https://api.github.com/repos/huggingface/transformers/issues/23130/events | https://github.com/huggingface/transformers/pull/23130 | 1,694,212,479 | PR_kwDOCUB6oc5PrmcX | 23,130 | <wip> Early draft of crossformer model | {
"login": "raghavanone",
"id": 115454562,
"node_id": "U_kgDOBuGyYg",
"avatar_url": "https://avatars.githubusercontent.com/u/115454562?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/raghavanone",
"html_url": "https://github.com/raghavanone",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_23130). 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,683 | 1,695 | 1,690 | CONTRIBUTOR | null | Fixes #22852
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23130/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23130/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23130",
"html_url": "https://github.com/huggingface/transformers/pull/23130",
"diff_url": "https://github.com/huggingface/transformers/pull/23130.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23130.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23129 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23129/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23129/comments | https://api.github.com/repos/huggingface/transformers/issues/23129/events | https://github.com/huggingface/transformers/issues/23129 | 1,694,178,455 | I_kwDOCUB6oc5k-xyX | 23,129 | KeyError: 'llama' on using any variant of OpenAssistant LLaMa models | {
"login": "MoaazZaki",
"id": 44510702,
"node_id": "MDQ6VXNlcjQ0NTEwNzAy",
"avatar_url": "https://avatars.githubusercontent.com/u/44510702?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MoaazZaki",
"html_url": "https://github.com/MoaazZaki",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"The error message shows an older version of Transformers (4.27.0) are you sure you are executing this in the right Python environment?",
"That's right, upgrading to transformers >= 4.28.1 solved the issue.\r\n\r\nThank you 🙌",
"I have the same problem, the environment where I am installing the new version of ... | 1,683 | 1,686 | 1,683 | NONE | null | ### System Info
- `transformers` version: 4.29.0.dev0
- Platform: Linux-5.15.0-1033-aws-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.0+cu117 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax ve... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23129/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23129/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23128 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23128/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23128/comments | https://api.github.com/repos/huggingface/transformers/issues/23128/events | https://github.com/huggingface/transformers/pull/23128 | 1,693,962,280 | PR_kwDOCUB6oc5Pqv2B | 23,128 | Generate: better warnings with pipelines | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,683 | 1,683 | 1,683 | MEMBER | null | # What does this PR do?
Addresses comments in https://github.com/huggingface/transformers/issues/23054
This PR adds the following enhancements to generate-related pipeline warnings:
1. Clarifies the `max_length` reduction suggestion in the summarization pipeline
2. Also pipes task-specific configuration to `gen... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23128/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23128/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23128",
"html_url": "https://github.com/huggingface/transformers/pull/23128",
"diff_url": "https://github.com/huggingface/transformers/pull/23128.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23128.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23127 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23127/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23127/comments | https://api.github.com/repos/huggingface/transformers/issues/23127/events | https://github.com/huggingface/transformers/pull/23127 | 1,693,895,396 | PR_kwDOCUB6oc5Pqhhn | 23,127 | Generate: correct beam search length on score calculation for multi batch generation | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,683 | 1,683 | 1,683 | MEMBER | null | # What does this PR do?
Fixes #23084
When computing the score with length penalty, the length was (incorrectly) incremented once per batch member. It should only be incremented once -- the length here is `cur_len` (the length of the generated tokens) + `1` (the token being added at the iteration).
Slow tests ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23127/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23127/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23127",
"html_url": "https://github.com/huggingface/transformers/pull/23127",
"diff_url": "https://github.com/huggingface/transformers/pull/23127.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23127.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23126 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23126/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23126/comments | https://api.github.com/repos/huggingface/transformers/issues/23126/events | https://github.com/huggingface/transformers/pull/23126 | 1,693,836,346 | PR_kwDOCUB6oc5PqUiF | 23,126 | Support union types `X | Y` syntax for `HfArgumentParser` for Python 3.10+ | {
"login": "XuehaiPan",
"id": 16078332,
"node_id": "MDQ6VXNlcjE2MDc4MzMy",
"avatar_url": "https://avatars.githubusercontent.com/u/16078332?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/XuehaiPan",
"html_url": "https://github.com/XuehaiPan",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,683 | 1,683 | 1,683 | 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/23126/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23126/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23126",
"html_url": "https://github.com/huggingface/transformers/pull/23126",
"diff_url": "https://github.com/huggingface/transformers/pull/23126.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23126.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23125 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23125/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23125/comments | https://api.github.com/repos/huggingface/transformers/issues/23125/events | https://github.com/huggingface/transformers/pull/23125 | 1,693,802,897 | PR_kwDOCUB6oc5PqNPx | 23,125 | Generate: slow assisted generation test | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> Maybe the test will be less flaky if done on a pretrained checkpoint\r\n\r\nDefinitely! However, I think there is a deeper problem here, the logits diverge way more than I'd expect on some models, and it's odd that those models rel... | 1,683 | 1,683 | 1,683 | MEMBER | null | # What does this PR do?
`test_assisted_decoding_matches_greedy_search` fails once in a while, which blocks development. This PR removes the blocker by moving it to a slow test.
Why a slow test (and not redesign the test or add the flaky decorator)?
1. It is impossible to remove at 100% the non-determinism in th... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23125/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23125/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23125",
"html_url": "https://github.com/huggingface/transformers/pull/23125",
"diff_url": "https://github.com/huggingface/transformers/pull/23125.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23125.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23124 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23124/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23124/comments | https://api.github.com/repos/huggingface/transformers/issues/23124/events | https://github.com/huggingface/transformers/issues/23124 | 1,693,784,594 | I_kwDOCUB6oc5k9RoS | 23,124 | MarianMT architecture and onnx format | {
"login": "goga334",
"id": 53278040,
"node_id": "MDQ6VXNlcjUzMjc4MDQw",
"avatar_url": "https://avatars.githubusercontent.com/u/53278040?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/goga334",
"html_url": "https://github.com/goga334",
"followers_url": "https://api.github.com/users/goga33... | [] | closed | false | null | [] | [
"No model in Transformers implements the softmax at the end, they return logits, or if labels are provided, the loss directly.",
"Assuming your output from the ONNX model really is the logits and is in numpy format you could probably use a code snippet like this to decode it into text:\r\n```\r\nimport numpy as n... | 1,683 | 1,698 | 1,686 | NONE | null | **MarianMT architecture**
I found an interesting detail about MarianMT implementation in huggingface. There is no "Softmax" layer after "Linear" at the end of the model, despite the default architecture of transformer.
```
MarianMTModel(
(model): MarianModel(
(shared): Embedding(58930, 512, padding_idx=589... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23124/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23124/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23123 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23123/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23123/comments | https://api.github.com/repos/huggingface/transformers/issues/23123/events | https://github.com/huggingface/transformers/pull/23123 | 1,693,660,620 | PR_kwDOCUB6oc5Ppt4Y | 23,123 | improve unclear documentation | {
"login": "ManuelFay",
"id": 43467008,
"node_id": "MDQ6VXNlcjQzNDY3MDA4",
"avatar_url": "https://avatars.githubusercontent.com/u/43467008?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ManuelFay",
"html_url": "https://github.com/ManuelFay",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,683 | 1,683 | 1,683 | 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/23123/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23123/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23123",
"html_url": "https://github.com/huggingface/transformers/pull/23123",
"diff_url": "https://github.com/huggingface/transformers/pull/23123.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23123.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23122 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23122/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23122/comments | https://api.github.com/repos/huggingface/transformers/issues/23122/events | https://github.com/huggingface/transformers/pull/23122 | 1,693,641,233 | PR_kwDOCUB6oc5Ppprf | 23,122 | Fix ConvNext V2 parameter naming issue | {
"login": "alaradirik",
"id": 8944735,
"node_id": "MDQ6VXNlcjg5NDQ3MzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/8944735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alaradirik",
"html_url": "https://github.com/alaradirik",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,683 | 1,683 | 1,683 | CONTRIBUTOR | null | # What does this PR do?
Renames gamma and beta parameters of the `ConvNextV2GRN` module, which caused the `save_pretrained` method to rename these parameters to weight and bias.
Existing checkpoints on the hub can be loaded without any warnings once the PR is merged.
Fixes #23090
## Before submitting
- [ ] T... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23122/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23122/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23122",
"html_url": "https://github.com/huggingface/transformers/pull/23122",
"diff_url": "https://github.com/huggingface/transformers/pull/23122.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23122.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23121 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23121/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23121/comments | https://api.github.com/repos/huggingface/transformers/issues/23121/events | https://github.com/huggingface/transformers/pull/23121 | 1,693,603,401 | PR_kwDOCUB6oc5Pphk7 | 23,121 | [`Doctest`] Fix pix2struct doctest | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,683 | 1,683 | 1,683 | CONTRIBUTOR | null | # What does this PR do?
Link to failing job: https://github.com/huggingface/transformers/actions/runs/4867713745/jobs/8680544136
This PR fixes the current failing doctest for pix2struct. https://github.com/huggingface/transformers/pull/23051 fixed the issues related with pix2struct and training by changing the wa... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23121/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23121/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23121",
"html_url": "https://github.com/huggingface/transformers/pull/23121",
"diff_url": "https://github.com/huggingface/transformers/pull/23121.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23121.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23120 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23120/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23120/comments | https://api.github.com/repos/huggingface/transformers/issues/23120/events | https://github.com/huggingface/transformers/issues/23120 | 1,693,521,107 | I_kwDOCUB6oc5k8RTT | 23,120 | Trainer.hyperparameter_search() should give the option to reload the model from the best run before completing | {
"login": "fantauzzi",
"id": 2722433,
"node_id": "MDQ6VXNlcjI3MjI0MzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/2722433?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fantauzzi",
"html_url": "https://github.com/fantauzzi",
"followers_url": "https://api.github.com/users/fa... | [] | closed | false | null | [] | [
"I have found the path to the saved checkpoint with the best model, after hyperparameter optimization has completed, is in `Trainer.state.best_model_checkpoint`, the model can then be easily loaded from that checkpoint.\r\nI leave this here in case it may help someone else find where that information is tucked away... | 1,683 | 1,689 | 1,683 | NONE | null | ### Feature request
After calling `Trainer.hyperparameter_search()`, the instance of `Trainer` contains the last trained model, among the multiple models trained for optimization of the hyperparameters. There should be an option, perhaps among those of `TrainingArguments`, to have the instance of `Trainer` reload the ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23120/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23120/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23119 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23119/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23119/comments | https://api.github.com/repos/huggingface/transformers/issues/23119/events | https://github.com/huggingface/transformers/pull/23119 | 1,693,400,759 | PR_kwDOCUB6oc5Po2S1 | 23,119 | added farsi lang | {
"login": "mzamini92",
"id": 32536264,
"node_id": "MDQ6VXNlcjMyNTM2MjY0",
"avatar_url": "https://avatars.githubusercontent.com/u/32536264?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mzamini92",
"html_url": "https://github.com/mzamini92",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> Please only add the translated file in the new folder.\r\n\r\n@sgugger only the translated files are now in fa folder. the rest have been removed.",
"> Thanks a lot! One last comment on the `add_new_model` file.\r\n\r\n@sgugger I... | 1,683 | 1,683 | 1,683 | NONE | null | # What does this PR do?
Added Farsi (fa) to the docs. I have translated `_toctree.yml` and `accelerate.mdx` and `add_new_pipeline.mdx`. the rest also will be translated soon. I will make this pull request so others also can contribute and make this process faster.
<!-- Remove if not applicable -->
Fixes # (is... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23119/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23119/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23119",
"html_url": "https://github.com/huggingface/transformers/pull/23119",
"diff_url": "https://github.com/huggingface/transformers/pull/23119.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23119.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23118 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23118/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23118/comments | https://api.github.com/repos/huggingface/transformers/issues/23118/events | https://github.com/huggingface/transformers/pull/23118 | 1,693,286,034 | PR_kwDOCUB6oc5PodSJ | 23,118 | Pin numba for now | {
"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,683 | 1,683 | 1,683 | COLLABORATOR | null | # What does this PR do?
Today's release of `numba` broke the audio feature extractors. Not sure if it's because of numba by itself or because it forces an update to Numpy 1.24. Will be investigated later by the audio team but in the meantime pinning `numba` to make `main` green.
cc @ydshieh @sanchit-gandhi for in... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23118/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/23118/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23118",
"html_url": "https://github.com/huggingface/transformers/pull/23118",
"diff_url": "https://github.com/huggingface/transformers/pull/23118.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23118.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23117 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23117/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23117/comments | https://api.github.com/repos/huggingface/transformers/issues/23117/events | https://github.com/huggingface/transformers/issues/23117 | 1,693,233,502 | I_kwDOCUB6oc5k7LFe | 23,117 | Provide a different API solution instead of offline mode | {
"login": "rbavery",
"id": 22258697,
"node_id": "MDQ6VXNlcjIyMjU4Njk3",
"avatar_url": "https://avatars.githubusercontent.com/u/22258697?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rbavery",
"html_url": "https://github.com/rbavery",
"followers_url": "https://api.github.com/users/rbaver... | [] | closed | false | null | [] | [
"Hi there. `from_pretrained` already accepts a path to a folder, I'm not sure what it is you are requesting.",
"The relevant docs to load from local data can be found here: https://huggingface.co/docs/transformers/v4.28.1/en/main_classes/model#transformers.PreTrainedModel.from_pretrained.\r\n\r\nThe `from_pretrai... | 1,683 | 1,686 | 1,686 | NONE | null | ### Feature request
First off, thanks for the stellar lib and for all the work to get state of the art models in a consumable and documented state! I'm somewhat new to transformers, so this feedback is coming from a place of heavily using the library for a week.
I find offline mode unintuitive. I don't see it refer... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23117/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/23117/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23116 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23116/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23116/comments | https://api.github.com/repos/huggingface/transformers/issues/23116/events | https://github.com/huggingface/transformers/issues/23116 | 1,693,124,621 | I_kwDOCUB6oc5k6wgN | 23,116 | OneFormerImageProcessor does not support passing local config file, always tries to download from repo | {
"login": "rbavery",
"id": 22258697,
"node_id": "MDQ6VXNlcjIyMjU4Njk3",
"avatar_url": "https://avatars.githubusercontent.com/u/22258697?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rbavery",
"html_url": "https://github.com/rbavery",
"followers_url": "https://api.github.com/users/rbaver... | [] | closed | false | null | [] | [
"@rbavery Thanks for raising this issue. \r\n\r\nI'm able to load a processor locally on the development branch without issue: \r\n```python\r\nfrom transformers import OneFormerProcessor\r\n\r\nprocessor = OneFormerProcessor.from_pretrained('shi-labs/oneformer_ade20k_swin_tiny')\r\nprocessor.save_pretrained('foo')... | 1,683 | 1,704 | 1,688 | NONE | null | ### System Info
- `transformers` version: 4.29.0.dev0
- Platform: Linux-5.19.0-41-generic-x86_64-with-glibc2.35
- Python version: 3.10.10
- Huggingface_hub version: 0.14.1
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.0+cu117 (True)
- Tensorflow version (GPU?): 2.11.1 (False)
- Flax version (CPU?/G... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23116/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23116/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23115 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23115/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23115/comments | https://api.github.com/repos/huggingface/transformers/issues/23115/events | https://github.com/huggingface/transformers/pull/23115 | 1,692,930,362 | PR_kwDOCUB6oc5PnQk7 | 23,115 | Add resources for LayoutLmV2 and reformat documentation resources | {
"login": "y3sar",
"id": 16244698,
"node_id": "MDQ6VXNlcjE2MjQ0Njk4",
"avatar_url": "https://avatars.githubusercontent.com/u/16244698?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/y3sar",
"html_url": "https://github.com/y3sar",
"followers_url": "https://api.github.com/users/y3sar/follow... | [] | closed | false | null | [] | [
"cc @stevhliu ",
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,683 | 1,683 | 1,683 | CONTRIBUTOR | null | # What does this PR do?
From #19848
This PR adds resources to the LayoutLMV2 documentation page.
Also in the LayoutLMV2 documentation page the documentation resources heading was incoherent with the other doc pages so I removed the heading and put the task specific guides under the corresponding task headings. ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23115/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/23115/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23115",
"html_url": "https://github.com/huggingface/transformers/pull/23115",
"diff_url": "https://github.com/huggingface/transformers/pull/23115.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23115.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23114 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23114/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23114/comments | https://api.github.com/repos/huggingface/transformers/issues/23114/events | https://github.com/huggingface/transformers/pull/23114 | 1,692,806,670 | PR_kwDOCUB6oc5Pm107 | 23,114 | Add accelerate support - vision MAE models | {
"login": "amyeroberts",
"id": 22614925,
"node_id": "MDQ6VXNlcjIyNjE0OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amyeroberts",
"html_url": "https://github.com/amyeroberts",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_23114). All of your documentation changes will be reflected on that endpoint.",
"@sgugger I checked with 2 GPUs, I'll run with just one to make sure it still works 👍 "
] | 1,683 | 1,689 | 1,688 | COLLABORATOR | null | # What does this PR do?
Adds accelerate support to VideoMAE and ViTMAE following the changes made in the [equivalent ViT PR](https://github.com/huggingface/transformers/pull/20174)
Fixes #23086
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23114/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23114/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23114",
"html_url": "https://github.com/huggingface/transformers/pull/23114",
"diff_url": "https://github.com/huggingface/transformers/pull/23114.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23114.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23113 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23113/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23113/comments | https://api.github.com/repos/huggingface/transformers/issues/23113/events | https://github.com/huggingface/transformers/pull/23113 | 1,692,585,120 | PR_kwDOCUB6oc5PmGTX | 23,113 | docs: ko: fix: update `_toctree.yml` | {
"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 | [] | [
"Closing in favor of #23112 ",
"Checking if same conflicts emerge with these changes as colleague's branch is experiencing.",
"_The documentation is not available anymore as the PR was closed or merged._",
"Closing again in favor of #23112 (Checks are passing)",
"The docs for this PR live [here](https://moo... | 1,683 | 1,683 | 1,683 | CONTRIBUTOR | null | # What does this PR do?
Resolve conflicts raised by a recent `_toctree.yml` change (#23049)
* Edited some titles to match the new coherent style.
* Moved sections to match the English table of contents.
* As all of the two removed files were yet to be translated, no work was needed. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23113/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23113/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23113",
"html_url": "https://github.com/huggingface/transformers/pull/23113",
"diff_url": "https://github.com/huggingface/transformers/pull/23113.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23113.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23112 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23112/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23112/comments | https://api.github.com/repos/huggingface/transformers/issues/23112/events | https://github.com/huggingface/transformers/pull/23112 | 1,692,584,050 | PR_kwDOCUB6oc5PmGEq | 23,112 | docs: ko: update `_toctree.yml` | {
"login": "HanNayeoniee",
"id": 33839093,
"node_id": "MDQ6VXNlcjMzODM5MDkz",
"avatar_url": "https://avatars.githubusercontent.com/u/33839093?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HanNayeoniee",
"html_url": "https://github.com/HanNayeoniee",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"`ko/notebook.mdx`가 https://github.com/huggingface/transformers/pull/22670 에서 추가됐기 때문에 오류가 납니다. 삭제해주시면 안 날거예요",
"> `ko/notebook.mdx`가 #22670 에서 추가됐기 때문에 오류가 납니다. 삭제해주시면 안 날거예요. 제 닫은 브랜치를 다시 열어서 테스트 후 다시 나연님께 pr 보낼게요. merge하지 않고도 cherry-pick하는 방법이 있습니다. 이러면 squash할 때 더 간편한데, 그건 나중에 해보죠.\r\n\r\n`notebook`이 문제가 된다는 ... | 1,683 | 1,683 | 1,683 | CONTRIBUTOR | null | # What does this PR do?
Part of https://github.com/huggingface/transformers/issues/20179
Initial version is in https://github.com/huggingface/transformers/pull/22581
Updated `_toctree.yml` according to https://github.com/huggingface/transformers/pull/23049
This PR restructures TOC for the documentation.
Here's... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23112/reactions",
"total_count": 3,
"+1": 3,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23112/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23112",
"html_url": "https://github.com/huggingface/transformers/pull/23112",
"diff_url": "https://github.com/huggingface/transformers/pull/23112.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23112.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23111 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23111/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23111/comments | https://api.github.com/repos/huggingface/transformers/issues/23111/events | https://github.com/huggingface/transformers/pull/23111 | 1,692,511,850 | PR_kwDOCUB6oc5Pl2tu | 23,111 | fix resume fsdp | {
"login": "qywu",
"id": 18195478,
"node_id": "MDQ6VXNlcjE4MTk1NDc4",
"avatar_url": "https://avatars.githubusercontent.com/u/18195478?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/qywu",
"html_url": "https://github.com/qywu",
"followers_url": "https://api.github.com/users/qywu/followers"... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Please run `make style` and `make quality` to fix the quality issues",
"I have fixed the issues. The optimizer saving had no problems. For using [scatter_full_optim_state_dict](https://pytorch.org/docs/stable/fsdp.html#torch.distri... | 1,683 | 1,683 | 1,683 | 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/23111/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23111/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23111",
"html_url": "https://github.com/huggingface/transformers/pull/23111",
"diff_url": "https://github.com/huggingface/transformers/pull/23111.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23111.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23110 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23110/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23110/comments | https://api.github.com/repos/huggingface/transformers/issues/23110/events | https://github.com/huggingface/transformers/pull/23110 | 1,692,386,095 | PR_kwDOCUB6oc5PlbnN | 23,110 | [ONNX] Sam fix | {
"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._"
] | 1,683 | 1,683 | 1,683 | MEMBER | null | # What does this PR do?
This PR provides a few changes to make the ONNX export work for `SamModel`. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23110/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23110/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23110",
"html_url": "https://github.com/huggingface/transformers/pull/23110",
"diff_url": "https://github.com/huggingface/transformers/pull/23110.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23110.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23109 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23109/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23109/comments | https://api.github.com/repos/huggingface/transformers/issues/23109/events | https://github.com/huggingface/transformers/pull/23109 | 1,692,369,971 | PR_kwDOCUB6oc5PlYIz | 23,109 | Add head_mask for llama | {
"login": "fxmeng",
"id": 60565778,
"node_id": "MDQ6VXNlcjYwNTY1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/60565778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fxmeng",
"html_url": "https://github.com/fxmeng",
"followers_url": "https://api.github.com/users/fxmeng/fo... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_23109). All of your documentation changes will be reflected on that endpoint.",
"cc @ArthurZucker and @younesbelkada "
] | 1,683 | 1,685 | 1,685 | NONE | null | # What does this PR do?
Support inputting a head_mask to LLaMA's forward like other models.
<!--
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 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23109/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23109/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23109",
"html_url": "https://github.com/huggingface/transformers/pull/23109",
"diff_url": "https://github.com/huggingface/transformers/pull/23109.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23109.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23108 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23108/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23108/comments | https://api.github.com/repos/huggingface/transformers/issues/23108/events | https://github.com/huggingface/transformers/pull/23108 | 1,692,352,508 | PR_kwDOCUB6oc5PlUZ5 | 23,108 | [`Flava`] Fix flava `torch.distributed.nn.functional import all_gather` issue | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,683 | 1,683 | 1,683 | CONTRIBUTOR | null | # What does this PR do?
Fixes https://github.com/huggingface/transformers/issues/23047
Flava had some code that were copy-pasted from the original repository: https://github.com/facebookresearch/multimodal/blob/c6f6e44ec6e0addfdf01695db860a6febeb2d88b/torchmultimodal/utils/distributed.py#L12
From my understanding... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23108/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23108/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23108",
"html_url": "https://github.com/huggingface/transformers/pull/23108",
"diff_url": "https://github.com/huggingface/transformers/pull/23108.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23108.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23107 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23107/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23107/comments | https://api.github.com/repos/huggingface/transformers/issues/23107/events | https://github.com/huggingface/transformers/pull/23107 | 1,692,346,174 | PR_kwDOCUB6oc5PlTC4 | 23,107 | [docs] Text to speech task guide | {
"login": "MKhalusova",
"id": 1065417,
"node_id": "MDQ6VXNlcjEwNjU0MTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/1065417?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MKhalusova",
"html_url": "https://github.com/MKhalusova",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"PR with images: https://huggingface.co/datasets/huggingface/documentation-images/discussions/86"
] | 1,683 | 1,683 | 1,683 | CONTRIBUTOR | null | This PR adds a multimodal task guide on fine-tuning SpeechT5 for text-to-speech. It's based on a wonderfully [detailed notebook](https://colab.research.google.com/drive/1i7I5pzBcU3WDFarDnzweIj4-sVVoIUFJ#scrollTo=uELTb9CcOaCp) by @hollance.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23107/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23107/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23107",
"html_url": "https://github.com/huggingface/transformers/pull/23107",
"diff_url": "https://github.com/huggingface/transformers/pull/23107.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23107.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23106 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23106/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23106/comments | https://api.github.com/repos/huggingface/transformers/issues/23106/events | https://github.com/huggingface/transformers/pull/23106 | 1,692,291,949 | PR_kwDOCUB6oc5PlHcX | 23,106 | 🌐 [i18n-KO] Translated `asr.mdx` to Korean | {
"login": "sim-so",
"id": 96299403,
"node_id": "U_kgDOBb1piw",
"avatar_url": "https://avatars.githubusercontent.com/u/96299403?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sim-so",
"html_url": "https://github.com/sim-so",
"followers_url": "https://api.github.com/users/sim-so/followers"... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hope you have a great week!\r\nCould you please review this PR?\r\n@sgugger, @ArthurZucker, @eunseojo"
] | 1,683 | 1,685 | 1,684 | 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/23106/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/23106/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23106",
"html_url": "https://github.com/huggingface/transformers/pull/23106",
"diff_url": "https://github.com/huggingface/transformers/pull/23106.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23106.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23105 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23105/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23105/comments | https://api.github.com/repos/huggingface/transformers/issues/23105/events | https://github.com/huggingface/transformers/pull/23105 | 1,692,169,107 | PR_kwDOCUB6oc5Pks3J | 23,105 | Enable to use custom tracer in FX `symbolic_trace` | {
"login": "regisss",
"id": 15324346,
"node_id": "MDQ6VXNlcjE1MzI0MzQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/15324346?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/regisss",
"html_url": "https://github.com/regisss",
"followers_url": "https://api.github.com/users/regiss... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Pinging @sgugger for final approval."
] | 1,683 | 1,683 | 1,683 | 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/23105/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23105/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23105",
"html_url": "https://github.com/huggingface/transformers/pull/23105",
"diff_url": "https://github.com/huggingface/transformers/pull/23105.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23105.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23104 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23104/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23104/comments | https://api.github.com/repos/huggingface/transformers/issues/23104/events | https://github.com/huggingface/transformers/pull/23104 | 1,692,129,822 | PR_kwDOCUB6oc5PkkWx | 23,104 | Add focalnet backbone | {
"login": "alaradirik",
"id": 8944735,
"node_id": "MDQ6VXNlcjg5NDQ3MzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/8944735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alaradirik",
"html_url": "https://github.com/alaradirik",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,683 | 1,683 | 1,683 | CONTRIBUTOR | null | # What does this PR do?
Adds `FocalNetBackbone` class to be used by X-Decoder and possibly other frameworks as FocalNet was published fairly recently.
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [X ] Did you read the [contributor gu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23104/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23104/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23104",
"html_url": "https://github.com/huggingface/transformers/pull/23104",
"diff_url": "https://github.com/huggingface/transformers/pull/23104.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23104.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23103 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23103/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23103/comments | https://api.github.com/repos/huggingface/transformers/issues/23103/events | https://github.com/huggingface/transformers/issues/23103 | 1,692,037,470 | I_kwDOCUB6oc5k2nFe | 23,103 | Sentences tokenized by LLaMA's tokenizer have `bos` tokens but do not have `eos` tokens. | {
"login": "yqy2001",
"id": 55196500,
"node_id": "MDQ6VXNlcjU1MTk2NTAw",
"avatar_url": "https://avatars.githubusercontent.com/u/55196500?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yqy2001",
"html_url": "https://github.com/yqy2001",
"followers_url": "https://api.github.com/users/yqy200... | [] | closed | false | null | [] | [
"Same issue",
"Hey! Sorry for the late reply, and thanks for opening an issue 🤗 \r\nThis is expected, because the official repository's default behaviour is the same. That is because during inference you don't need it to be added. You should initialise the tokenizer with the argument set to `True`. Tell me if th... | 1,683 | 1,685 | 1,685 | CONTRIBUTOR | null | ### System Info
transformers version: main
Platform: Linux-5.4.0-113-generic-x86_64-with-glibc2.10
Python version: 3.8.16
Huggingface_hub version: 0.11.1
PyTorch version (GPU?): 1.12.1 (True)
Tensorflow version (GPU?): not installed (NA)
Flax version (CPU?/GPU?/TPU?): not installed (NA)
Jax version: not install... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23103/reactions",
"total_count": 3,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 3
} | https://api.github.com/repos/huggingface/transformers/issues/23103/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23102 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23102/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23102/comments | https://api.github.com/repos/huggingface/transformers/issues/23102/events | https://github.com/huggingface/transformers/issues/23102 | 1,691,820,277 | I_kwDOCUB6oc5k1yD1 | 23,102 | Strictly Generate JSON | {
"login": "Ryul0rd",
"id": 18477649,
"node_id": "MDQ6VXNlcjE4NDc3NjQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/18477649?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Ryul0rd",
"html_url": "https://github.com/Ryul0rd",
"followers_url": "https://api.github.com/users/Ryul0r... | [] | closed | false | null | [] | [
"Hi,\r\n\r\nThis seems very similar to this repo: https://github.com/1rgs/jsonformer. It's a wrapper around HF Transformer models (specifically, `xxxForCausalLM` models) to only fill in the values, not the keys of JSON schemas.",
"Thanks for pointing out that repo to me as I was unaware. It does claim to do exact... | 1,683 | 1,692 | 1,687 | NONE | null | ### Feature request
It would be nice if we could force a generative LM to only produce JSON with a specific schema. I was thinking the end user should be able to do something as simple as `model.generate_json(input_ids, tokenizer, schema=MyDataclass)`. More specifically, `MyDataclass` should be any dataclass made up... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23102/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23102/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23101 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23101/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23101/comments | https://api.github.com/repos/huggingface/transformers/issues/23101/events | https://github.com/huggingface/transformers/pull/23101 | 1,691,816,553 | PR_kwDOCUB6oc5PjhZp | 23,101 | Update perf_train_gpu_one.mdx | {
"login": "aasthavar",
"id": 81507417,
"node_id": "MDQ6VXNlcjgxNTA3NDE3",
"avatar_url": "https://avatars.githubusercontent.com/u/81507417?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aasthavar",
"html_url": "https://github.com/aasthavar",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_23101). 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,683 | 1,688 | 1,688 | NONE | null | # What does this PR do?
Minor changes - Corrected a word's spelling. Changed markdown syntax for heading and for URL to be seen as a link.
## 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](ht... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23101/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23101/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23101",
"html_url": "https://github.com/huggingface/transformers/pull/23101",
"diff_url": "https://github.com/huggingface/transformers/pull/23101.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23101.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23100 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23100/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23100/comments | https://api.github.com/repos/huggingface/transformers/issues/23100/events | https://github.com/huggingface/transformers/issues/23100 | 1,691,776,798 | I_kwDOCUB6oc5k1nce | 23,100 | gen_kwargs in Seq2SeqTrainer | {
"login": "TJSun009",
"id": 51209730,
"node_id": "MDQ6VXNlcjUxMjA5NzMw",
"avatar_url": "https://avatars.githubusercontent.com/u/51209730?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TJSun009",
"html_url": "https://github.com/TJSun009",
"followers_url": "https://api.github.com/users/TJS... | [] | closed | false | null | [] | [
"cc @gante ",
"My bad I realised the preprocess_logits_for_metrics function that I found [here](https://discuss.huggingface.co/t/cuda-out-of-memory-when-using-trainer-with-compute-metrics/2941/13) was truncating the generation output.\r\n\r\n"
] | 1,683 | 1,683 | 1,683 | NONE | null | https://github.com/huggingface/transformers/blob/b8648290d2d97e7c7dbccd2d4a6a4f44e70d3b63/src/transformers/trainer_seq2seq.py#L257
Hi,
I'm trying to use the Seq2SeqTrainer with generation in the evaluation_loop and it looks like the config isn't being properly passed to the prediction step. I'm having to manually... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23100/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23100/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23099 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23099/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23099/comments | https://api.github.com/repos/huggingface/transformers/issues/23099/events | https://github.com/huggingface/transformers/issues/23099 | 1,691,738,991 | I_kwDOCUB6oc5k1eNv | 23,099 | learning rate resets on resumption from checkpoint | {
"login": "agneet42",
"id": 22055826,
"node_id": "MDQ6VXNlcjIyMDU1ODI2",
"avatar_url": "https://avatars.githubusercontent.com/u/22055826?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/agneet42",
"html_url": "https://github.com/agneet42",
"followers_url": "https://api.github.com/users/agn... | [] | closed | false | null | [] | [
"When doing `model_path = '=/checkpoint-38000'` you are not resuming training from the checkpoint, you are starting a new fresh training with the model of this checkpoint.\r\n\r\nTo resume training from a checkpoint, you need to use the [`resume_from_checkpoint` argument](https://huggingface.co/docs/transformers/ma... | 1,682 | 1,695 | 1,687 | NONE | null | ### System Info
- `transformers` version: 4.26.1
- Platform: Linux-3.10.0-1160.71.1.el7.x86_64-x86_64-with-glibc2.17
- Python version: 3.9.12
- Huggingface_hub version: 0.13.0
- PyTorch version (GPU?): 1.13.1+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not inst... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23099/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23099/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23098 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23098/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23098/comments | https://api.github.com/repos/huggingface/transformers/issues/23098/events | https://github.com/huggingface/transformers/pull/23098 | 1,691,731,103 | PR_kwDOCUB6oc5PjPXr | 23,098 | fix: Fix incorrent loading config in AutoTokenizer.from_pretrained | {
"login": "zsaladin",
"id": 6466389,
"node_id": "MDQ6VXNlcjY0NjYzODk=",
"avatar_url": "https://avatars.githubusercontent.com/u/6466389?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zsaladin",
"html_url": "https://github.com/zsaladin",
"followers_url": "https://api.github.com/users/zsala... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_23098). All of your documentation changes will be reflected on that endpoint.",
"No this fix is incorrect. The problem lies in the checkpoint you are using, which does not specify the tokenizer class in the `tokenizer_confi... | 1,682 | 1,688 | 1,688 | NONE | null | # What does this PR do?
The description in argument `subfolder` of `AutoTokenizer.from_pretrained` doesn't work properly.
> subfolder (str, optional) — In case the relevant files are located inside a subfolder of the model repo on huggingface.co (e.g. for facebook/rag-token-base), specify it here.
The code the er... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23098/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23098/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23098",
"html_url": "https://github.com/huggingface/transformers/pull/23098",
"diff_url": "https://github.com/huggingface/transformers/pull/23098.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23098.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23097 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23097/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23097/comments | https://api.github.com/repos/huggingface/transformers/issues/23097/events | https://github.com/huggingface/transformers/pull/23097 | 1,691,642,990 | PR_kwDOCUB6oc5Pi8s_ | 23,097 | Sliding window pipeline with average of logits | {
"login": "boyleconnor",
"id": 6520892,
"node_id": "MDQ6VXNlcjY1MjA4OTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/6520892?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/boyleconnor",
"html_url": "https://github.com/boyleconnor",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_23097). All of your documentation changes will be reflected on that endpoint.",
"Can you provide some kind of benchmarks in terms fo benefits ?\r\n\r\nIf this is better in some form we can consider adding it in the pipeline... | 1,682 | 1,687 | 1,687 | CONTRIBUTOR | null | # What does this PR do?
This adds a variation on the existing `ChunkingPipeline` approach for handling strings with more than `model_max_length` tokens. After using the tokenizer to split the text into chunks (identically to how `ChunkingPipeline` does so), `SlidingWindowTokenClassificationPipeline` then averages th... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23097/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23097/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23097",
"html_url": "https://github.com/huggingface/transformers/pull/23097",
"diff_url": "https://github.com/huggingface/transformers/pull/23097.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23097.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23096 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23096/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23096/comments | https://api.github.com/repos/huggingface/transformers/issues/23096/events | https://github.com/huggingface/transformers/issues/23096 | 1,691,629,691 | I_kwDOCUB6oc5k1Dh7 | 23,096 | Dramatic Performance Drop of `CLIPVisionModel` Related Model After Upgrading `transformers` From `4.27.4` to `4.28.x` | {
"login": "submartingales",
"id": 100008553,
"node_id": "U_kgDOBfYCaQ",
"avatar_url": "https://avatars.githubusercontent.com/u/100008553?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/submartingales",
"html_url": "https://github.com/submartingales",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"I found **this issue may impact tons of vision workloads** and I hope it can be resolved as soon as possible.",
"Also cc @younesbelkada ",
"Hi @submartingales, thanks for reporting! \r\n\r\nSo that I can pin down the issue, is the input image the same before being passed to the processor? e.g. \r\n\r\n```pytho... | 1,682 | 1,687 | 1,687 | NONE | null | ### System Info
@amyeroberts
Related versions are
```
transformers==4.27.4
```
and
```
transformers==4.28.1
```
### Who can help?
@amyeroberts
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folde... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23096/reactions",
"total_count": 5,
"+1": 3,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/23096/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23095 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23095/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23095/comments | https://api.github.com/repos/huggingface/transformers/issues/23095/events | https://github.com/huggingface/transformers/issues/23095 | 1,691,567,100 | I_kwDOCUB6oc5k00P8 | 23,095 | `torch.compile` is ignored when using DeepSpeed | {
"login": "xplip",
"id": 25847814,
"node_id": "MDQ6VXNlcjI1ODQ3ODE0",
"avatar_url": "https://avatars.githubusercontent.com/u/25847814?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xplip",
"html_url": "https://github.com/xplip",
"followers_url": "https://api.github.com/users/xplip/follow... | [] | closed | false | null | [] | [
"I don't think DeepSpeed support `torch.compile` yet, so this was done intentionally. If the situation has changed, we can of course revisit.",
"What Sylvain said, wrt the 2 not working together.\r\n\r\nBut it's not that Deepspeed doesn't support `torch.compile`, it's rather that `torch.compile` is very immature ... | 1,682 | 1,688 | 1,688 | NONE | null | ### System Info
Since #22279, `torch.compile` is called at the end of `_wrap_model`. However, [these lines](https://github.com/huggingface/transformers/blob/main/src/transformers/trainer.py#LL1397C1-L1398C34) immediately return the deepspeed engine, so `torch.compile` is never executed, even when asking for it in the ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23095/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23095/timeline | completed | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.