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/26230 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26230/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26230/comments | https://api.github.com/repos/huggingface/transformers/issues/26230/events | https://github.com/huggingface/transformers/issues/26230 | 1,901,481,216 | I_kwDOCUB6oc5xVk0A | 26,230 | git-base-vatex: input pixel_value dimension mismatch (blocking issue) | {
"login": "shreyaskar123",
"id": 47864384,
"node_id": "MDQ6VXNlcjQ3ODY0Mzg0",
"avatar_url": "https://avatars.githubusercontent.com/u/47864384?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shreyaskar123",
"html_url": "https://github.com/shreyaskar123",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Hey! I would suggest you to try to isolate the bug as we have limited timeframe to debug your custom code. If this is indeed a bug we can help you, otherwise the [community forum](https://discuss.huggingface.co/) is a good place to ask this! ",
"@ArthurZucker: I believe this is a bug because most of the code in`... | 1,695 | 1,698 | 1,698 | NONE | null | ### System Info
- `transformers` version: 4.30.2
- Platform: Linux-4.19.0-25-cloud-amd64-x86_64-with-debian-10.13
- Python version: 3.7.12
- Huggingface_hub version: 0.15.1
- Safetensors version: 0.3.1 but is ignored because of PyTorch version too old.
- PyTorch version (GPU?): 1.9.0+cu111 (True)
- Tensorflow ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26230/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26230/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26229 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26229/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26229/comments | https://api.github.com/repos/huggingface/transformers/issues/26229/events | https://github.com/huggingface/transformers/pull/26229 | 1,901,444,669 | PR_kwDOCUB6oc5amL20 | 26,229 | refactor: change default block_size | {
"login": "pphuc25",
"id": 81808312,
"node_id": "MDQ6VXNlcjgxODA4MzEy",
"avatar_url": "https://avatars.githubusercontent.com/u/81808312?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pphuc25",
"html_url": "https://github.com/pphuc25",
"followers_url": "https://api.github.com/users/pphuc2... | [] | closed | false | null | [] | [
"however, I have some confuse because why I can not pass the test case",
"thank you @ArthurZucker, but I have some confuse why I just change 1024 to min(1024, config.max_position_embeddings) and docs and then I can not pass the test case, still stuck, can you help me",
"Hey @pphuc25 - don't worry, your PR is pe... | 1,695 | 1,696 | 1,696 | CONTRIBUTOR | null | Hi,
As mentioned in issue #26069, I have created a new PR with the aim of modifying the block_size for all files. The goal is to set the block size = min(1024, config.max_position_embeddings). This change is intended to ensure synchronization and prevent errors that can occur when the block size exceeds the maximum po... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26229/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26229/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26229",
"html_url": "https://github.com/huggingface/transformers/pull/26229",
"diff_url": "https://github.com/huggingface/transformers/pull/26229.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26229.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26228 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26228/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26228/comments | https://api.github.com/repos/huggingface/transformers/issues/26228/events | https://github.com/huggingface/transformers/pull/26228 | 1,901,406,750 | PR_kwDOCUB6oc5amDqi | 26,228 | [Permisson] Style fix | {
"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._",
"Merging as you are probably out! ",
"Thanks! Beat me to it 😉"
] | 1,695 | 1,695 | 1,695 | CONTRIBUTOR | null | # What does this PR do?
Rebases and runs `make fix-copies` to fix the red CI on `main` | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26228/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26228/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26228",
"html_url": "https://github.com/huggingface/transformers/pull/26228",
"diff_url": "https://github.com/huggingface/transformers/pull/26228.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26228.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26227 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26227/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26227/comments | https://api.github.com/repos/huggingface/transformers/issues/26227/events | https://github.com/huggingface/transformers/pull/26227 | 1,901,374,445 | PR_kwDOCUB6oc5al8q6 | 26,227 | add custom RMSNorm to `ALL_LAYERNORM_LAYERS` | {
"login": "shijie-wu",
"id": 2987758,
"node_id": "MDQ6VXNlcjI5ODc3NTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2987758?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shijie-wu",
"html_url": "https://github.com/shijie-wu",
"followers_url": "https://api.github.com/users/sh... | [] | closed | false | null | [] | [
"@ArthurZucker done! `MegaRMSNorm` - a part of `MegaSequenceNorm` - is already in `ALL_LAYERNORM_LAYERS` https://github.com/huggingface/transformers/blob/493b24ba109ed680f40ec81ef73e4cc303e810ee/src/transformers/models/mega/modeling_mega.py#L317\r\n\r\ndo we want to add all these to `ALL_LAYERNORM_LAYERS`?\r\n\r\nh... | 1,695 | 1,695 | 1,695 | CONTRIBUTOR | null | # What does this PR do?
It fixed a issue discovered during discussion of PR https://github.com/huggingface/transformers/pull/26152.
> @ArthurZucker: the `ALL_LAYERNORM_LAYERS` should contain all the custom layer norm classes (from `transformers` modeling files) and should be updated if that is not the case
##... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26227/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26227/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26227",
"html_url": "https://github.com/huggingface/transformers/pull/26227",
"diff_url": "https://github.com/huggingface/transformers/pull/26227.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26227.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26226 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26226/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26226/comments | https://api.github.com/repos/huggingface/transformers/issues/26226/events | https://github.com/huggingface/transformers/pull/26226 | 1,901,326,695 | PR_kwDOCUB6oc5alx_5 | 26,226 | APEX: use MixedFusedRMSNorm instead of FusedRMSNorm for numerical consistency | {
"login": "fxmarty",
"id": 9808326,
"node_id": "MDQ6VXNlcjk4MDgzMjY=",
"avatar_url": "https://avatars.githubusercontent.com/u/9808326?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fxmarty",
"html_url": "https://github.com/fxmarty",
"followers_url": "https://api.github.com/users/fxmarty/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26226). All of your documentation changes will be reflected on that endpoint.",
"Good for me, but let's wait for @mfuntowicz 's response.\r\n\r\nBut why we can't just uninstall apex on the AMD docker image? The goal here is... | 1,695 | 1,701 | 1,701 | COLLABORATOR | null | As per title.
APEX `FusedRMSNorm` initialize the returned tensor to the `input` dtype, which raises an error in case the model is set on fp16, where we may have `fp32` input to the layer norm layer:
```
File "/opt/conda/envs/py_3.8/lib/python3.8/site-packages/apex-0.1-py3.8-linux-x86_64.egg/apex/normalization/fu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26226/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26226/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26226",
"html_url": "https://github.com/huggingface/transformers/pull/26226",
"diff_url": "https://github.com/huggingface/transformers/pull/26226.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26226.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26225 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26225/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26225/comments | https://api.github.com/repos/huggingface/transformers/issues/26225/events | https://github.com/huggingface/transformers/pull/26225 | 1,901,317,071 | PR_kwDOCUB6oc5alv42 | 26,225 | Keep relevant weights in fp32 when `model._keep_in_fp32_modules` is set even when `accelerate` is not installed | {
"login": "fxmarty",
"id": 9808326,
"node_id": "MDQ6VXNlcjk4MDgzMjY=",
"avatar_url": "https://avatars.githubusercontent.com/u/9808326?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fxmarty",
"html_url": "https://github.com/fxmarty",
"followers_url": "https://api.github.com/users/fxmarty/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"sounds good",
"I fixed the original test that was not actually testing the case where `accelerate` is not available.",
"nice! \r\n"
] | 1,695 | 1,706 | 1,695 | COLLABORATOR | null | As per title, aligns the behavior of `PreTrainedModel.from_pretrained(..., torch_dtype=torch.float16)` when accelerate is installed and when it is not.
Previously,
```python
import torch
from transformers import AutoModelForSeq2SeqLM
model = AutoModelForSeq2SeqLM.from_pretrained("t5-small", torch_dtype=torch... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26225/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26225/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26225",
"html_url": "https://github.com/huggingface/transformers/pull/26225",
"diff_url": "https://github.com/huggingface/transformers/pull/26225.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26225.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26224 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26224/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26224/comments | https://api.github.com/repos/huggingface/transformers/issues/26224/events | https://github.com/huggingface/transformers/pull/26224 | 1,901,292,887 | PR_kwDOCUB6oc5alqkR | 26,224 | Add Keras Core (Keras 3.0) support | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26224). All of your documentation changes will be reflected on that endpoint.",
"Don't stale yet!",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs ... | 1,695 | 1,706 | 1,706 | MEMBER | null | This PR is a very-very-very work in progress effort to add Keras Core support, and to prepare for the transition to Keras 3.0. Because Keras Core is still a beta/preview, this PR is likely to be fairly slow and cautious, we don't want to lock ourselves into an API that may change under our feet!
The goal of this PR ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26224/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26224/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26224",
"html_url": "https://github.com/huggingface/transformers/pull/26224",
"diff_url": "https://github.com/huggingface/transformers/pull/26224.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26224.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26223 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26223/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26223/comments | https://api.github.com/repos/huggingface/transformers/issues/26223/events | https://github.com/huggingface/transformers/pull/26223 | 1,901,281,211 | PR_kwDOCUB6oc5aloAS | 26,223 | Use CircleCI `store_test_results` | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Very cool! Thanks @ydshieh and @ArthurZucker, this looks cool!",
"> More than me loving it, it gives us [access to the slow tests, the flaky tests, the tests that usually fail](https://app.circleci.com/insights/github/huggingface/t... | 1,695 | 1,695 | 1,695 | COLLABORATOR | null | # What does this PR do?
@ArthurZucker loves it. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26223/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26223/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26223",
"html_url": "https://github.com/huggingface/transformers/pull/26223",
"diff_url": "https://github.com/huggingface/transformers/pull/26223.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26223.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26222 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26222/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26222/comments | https://api.github.com/repos/huggingface/transformers/issues/26222/events | https://github.com/huggingface/transformers/pull/26222 | 1,901,252,313 | PR_kwDOCUB6oc5alhsB | 26,222 | [Check] Fix config docstring | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,695 | 1,695 | 1,695 | CONTRIBUTOR | null | # What does this PR do?
Fixes https://github.com/huggingface/transformers/pull/26183/files#r1328944428 by removing the debugging statements in the config docstring checker. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26222/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26222/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26222",
"html_url": "https://github.com/huggingface/transformers/pull/26222",
"diff_url": "https://github.com/huggingface/transformers/pull/26222.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26222.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26221 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26221/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26221/comments | https://api.github.com/repos/huggingface/transformers/issues/26221/events | https://github.com/huggingface/transformers/issues/26221 | 1,901,183,746 | I_kwDOCUB6oc5xUcMC | 26,221 | Gradient checkpointing should have no functional impact | {
"login": "marianokamp",
"id": 3245189,
"node_id": "MDQ6VXNlcjMyNDUxODk=",
"avatar_url": "https://avatars.githubusercontent.com/u/3245189?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/marianokamp",
"html_url": "https://github.com/marianokamp",
"followers_url": "https://api.github.com/us... | [] | open | false | null | [] | [
"No answer or re-action yet, but not stale either.",
"Gentle ping @muellerzr @pacman100 ",
"@pacman100, @muellerz \r\nJust re-ran with transformers 4.36.0, same result: \r\n\r\n\r\n",
"@pacman100, @mueller... | 1,695 | 1,707 | null | NONE | null | ### System Info
Latest released and py3.10.
accelerate-0.21.0 aiohttp-3.8.5 aiosignal-1.3.1 async-timeout-4.0.3 bitsandbytes-0.41.0 datasets-2.14.5 evaluate-0.4.0 frozenlist-1.4.0 huggingface-hub-0.17.1 multidict-6.0.4 peft-0.4.0 pynvml-11.5.0 regex-2023.8.8 responses-0.18.0 safetensors-0.3.3 sagemaker-inference-1... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26221/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26221/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26220 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26220/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26220/comments | https://api.github.com/repos/huggingface/transformers/issues/26220/events | https://github.com/huggingface/transformers/issues/26220 | 1,901,080,392 | I_kwDOCUB6oc5xUC9I | 26,220 | How does one preprocess a pdf file before passing it into pipeline for summarization? | {
"login": "pythonvijay",
"id": 144582559,
"node_id": "U_kgDOCJ4nnw",
"avatar_url": "https://avatars.githubusercontent.com/u/144582559?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pythonvijay",
"html_url": "https://github.com/pythonvijay",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hey 🤗 thanks for opening an issue! We try to keep the github issues for bugs/feature requests, and less for custom code decoding. Seems like you are not even using transformers here. \r\nCould you ask your question on the [forum](https://discuss.huggingface.co/) instead? I'm sure the community will be of help!\r... | 1,695 | 1,695 | 1,695 | NONE | null | Hi,
I think I am unable to read the pdf file in the required format as it runs into an error when I try to read it through PdfReader
here is my code:
```
from pydrive.auth import GoogleAuth
from pydrive.drive import GoogleDrive
from google.colab import auth
from oauth2client.client import GoogleCredentials... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26220/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26220/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26219 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26219/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26219/comments | https://api.github.com/repos/huggingface/transformers/issues/26219/events | https://github.com/huggingface/transformers/issues/26219 | 1,901,056,262 | I_kwDOCUB6oc5xT9EG | 26,219 | Converting TIMM to HF Vision transformers | {
"login": "prabhuteja12",
"id": 11191577,
"node_id": "MDQ6VXNlcjExMTkxNTc3",
"avatar_url": "https://avatars.githubusercontent.com/u/11191577?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/prabhuteja12",
"html_url": "https://github.com/prabhuteja12",
"followers_url": "https://api.github.c... | [
{
"id": 1990918270,
"node_id": "MDU6TGFiZWwxOTkwOTE4Mjcw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20First%20Issue",
"name": "Good First Issue",
"color": "bbf794",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"Hey! Would you like to open a pr for this? 🤗 ",
"I might take some time before I can work on this, so if that is ok I can take a stab at this.",
"Sure! in the mean time anyone in the community can feel free to do this, tagging as a good first issue ",
"Hi,\r\n\r\nThat's because the script assumes that the p... | 1,695 | 1,704 | 1,704 | NONE | null | ### System Info
- `transformers` version: 4.31.0
- Platform: Linux-5.15.0-1040-aws-x86_64-with-glibc2.31
- Python version: 3.10.12
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.2
- Accelerate version: 0.22.0
- Accelerate config: not found
- PyTorch version (GPU?): 1.13.1+cu117 (True)
- Tensor... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26219/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/26219/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26218 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26218/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26218/comments | https://api.github.com/repos/huggingface/transformers/issues/26218/events | https://github.com/huggingface/transformers/issues/26218 | 1,901,053,044 | I_kwDOCUB6oc5xT8R0 | 26,218 | How to manually set the seed of randomsampler generator when training using transformers trainer | {
"login": "young-chao",
"id": 34190033,
"node_id": "MDQ6VXNlcjM0MTkwMDMz",
"avatar_url": "https://avatars.githubusercontent.com/u/34190033?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/young-chao",
"html_url": "https://github.com/young-chao",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"\r\nI found that the default initialized state of the generator is always this tensor, regardless of the cuda version, pytorch version, etc.",
"Two things you can try: \r\n- pass a generator \r\n- use `set_s... | 1,695 | 1,700 | 1,700 | NONE | null | ### System Info
I used a [script](https://github.com/huggingface/transformers/blob/v4.33.0/examples/pytorch/language-modeling/run_clm.py) to continue pre-training the llama2 model. In the second epoch, the loss began to explode, so I chose to reload the checkpoint to continue training, but the loss changes were comp... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26218/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26218/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26217 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26217/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26217/comments | https://api.github.com/repos/huggingface/transformers/issues/26217/events | https://github.com/huggingface/transformers/pull/26217 | 1,900,975,656 | PR_kwDOCUB6oc5aklAn | 26,217 | Fix ConversationalPipeline tests | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,695 | 1,695 | 1,695 | MEMBER | null | This PR fixes the failing conversation pipeline tests in the CI. The causes were:
1) `BlenderBotSmall` was missing a `default_chat_template`
2) The old `Conversation` object distinguished between processed and unprocessed user inputs. The new object doesn't! This caused a couple of tests that were expecting the old... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26217/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26217/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26217",
"html_url": "https://github.com/huggingface/transformers/pull/26217",
"diff_url": "https://github.com/huggingface/transformers/pull/26217.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26217.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26216 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26216/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26216/comments | https://api.github.com/repos/huggingface/transformers/issues/26216/events | https://github.com/huggingface/transformers/issues/26216 | 1,900,669,543 | I_kwDOCUB6oc5xSepn | 26,216 | Some MarianMT models broken and output garbage | {
"login": "fergusq",
"id": 3512480,
"node_id": "MDQ6VXNlcjM1MTI0ODA=",
"avatar_url": "https://avatars.githubusercontent.com/u/3512480?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fergusq",
"html_url": "https://github.com/fergusq",
"followers_url": "https://api.github.com/users/fergusq/... | [
{
"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 | [] | [
"I can confirm that the bug exists even after reinstalling the models and updating transformers to 4.33.2.",
"Hey! As I answered on the issue that was opened [here](https://github.com/Helsinki-NLP/Tatoeba-Challenge/issues/35), the Helsinki team should merge the PR we opened to fix the models on the hub! ",
"In ... | 1,695 | 1,702 | null | NONE | null | ### System Info
- `transformers` version: 4.30.2
- Platform: macOS-13.4.1-arm64-arm-64bit
- Python version: 3.11.4
- Huggingface_hub version: 0.16.3
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.1.0.dev20230413 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): n... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26216/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26216/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26215 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26215/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26215/comments | https://api.github.com/repos/huggingface/transformers/issues/26215/events | https://github.com/huggingface/transformers/pull/26215 | 1,900,537,603 | PR_kwDOCUB6oc5ajE40 | 26,215 | Fix Error not captured in PR doctesting | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Error should have been reported in the console of https://app.circleci.com/pipelines/github/huggingface/transformers/72920/workflows/33795bcf-6b08-4c2f-b040-aa54bb44b12f/jobs/921247/steps, but it is not.\r\n\r\n(The artifact has `err... | 1,695 | 1,695 | 1,695 | COLLABORATOR | null | # What does this PR do?
In https://app.circleci.com/pipelines/github/huggingface/transformers/72920/workflows/33795bcf-6b08-4c2f-b040-aa54bb44b12f/jobs/921247/artifacts,
we have `errors.txt` but not `failures_short.txt`. But we only checked the file `failures_short.txt`, therefore the error is not detected, and ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26215/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26215/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26215",
"html_url": "https://github.com/huggingface/transformers/pull/26215",
"diff_url": "https://github.com/huggingface/transformers/pull/26215.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26215.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26214 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26214/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26214/comments | https://api.github.com/repos/huggingface/transformers/issues/26214/events | https://github.com/huggingface/transformers/issues/26214 | 1,900,526,619 | I_kwDOCUB6oc5xR7wb | 26,214 | Custom positional embeddings for whisper | {
"login": "bcl213124314",
"id": 145325557,
"node_id": "U_kgDOCKl99Q",
"avatar_url": "https://avatars.githubusercontent.com/u/145325557?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bcl213124314",
"html_url": "https://github.com/bcl213124314",
"followers_url": "https://api.github.com/use... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"You should have a look at #25744 😉 This is not planned ",
"Thanks for the link. Sorry for not searching enough.",
"No worries 🤗 ",
"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\nPleas... | 1,695 | 1,698 | 1,698 | NONE | null | ### Feature request
Add the ability to pass custom positional encodings from the generate() call of the ConditionalGeneration model down to the forward() of the WhisperEncoder.
### Motivation
Currently the processor pads the audio input to 3000 mel frames (30 s). Encoding all 3000 frames is the main computational co... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26214/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26214/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26213 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26213/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26213/comments | https://api.github.com/repos/huggingface/transformers/issues/26213/events | https://github.com/huggingface/transformers/pull/26213 | 1,900,472,939 | PR_kwDOCUB6oc5ai26T | 26,213 | Remove `utils/documentation_tests.txt` | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,695 | 1,695 | 1,695 | COLLABORATOR | null | # What does this PR do?
This file is already removed in #25680 (we decided to use `no_doctested.txt` to explicitly exclude some files - all others should be doctested).
However, #24085 added it back (which was a mistake of not having on top of the latest main at that time). This PR just removes this file again. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26213/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26213/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26213",
"html_url": "https://github.com/huggingface/transformers/pull/26213",
"diff_url": "https://github.com/huggingface/transformers/pull/26213.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26213.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26212 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26212/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26212/comments | https://api.github.com/repos/huggingface/transformers/issues/26212/events | https://github.com/huggingface/transformers/pull/26212 | 1,900,434,938 | PR_kwDOCUB6oc5aiurq | 26,212 | No doctest for `convert_bros_to_pytorch.py` | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,695 | 1,695 | 1,695 | COLLABORATOR | null | # What does this PR do?
No need to doctest this file. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26212/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26212/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26212",
"html_url": "https://github.com/huggingface/transformers/pull/26212",
"diff_url": "https://github.com/huggingface/transformers/pull/26212.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26212.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26211 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26211/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26211/comments | https://api.github.com/repos/huggingface/transformers/issues/26211/events | https://github.com/huggingface/transformers/pull/26211 | 1,900,415,873 | PR_kwDOCUB6oc5aiqhl | 26,211 | Do not warn about unexpected decoder weights when loading T5EncoderModel and LongT5EncoderModel | {
"login": "fleonce",
"id": 8986525,
"node_id": "MDQ6VXNlcjg5ODY1MjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/8986525?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fleonce",
"html_url": "https://github.com/fleonce",
"followers_url": "https://api.github.com/users/fleonce/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26211). All of your documentation changes will be reflected on that endpoint.",
"Thank you for the follow-up question!\r\nThe problem can be reproduced when the log level for the whole library has been set to INFO:\r\n```py... | 1,695 | 1,695 | 1,695 | CONTRIBUTOR | null | # What does this PR do?
Adds `[r"decoder"]` to both `T5EncoderModel` and `LongT5EncoderModel`, as both models do not have any decoder layers and loading pretrained model checkpoints like `t5-small` will give warnings about keys found in the checkpoint but not in the model itself. To prevent this issue, `r"decoder"` ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26211/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26211/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26211",
"html_url": "https://github.com/huggingface/transformers/pull/26211",
"diff_url": "https://github.com/huggingface/transformers/pull/26211.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26211.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26210 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26210/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26210/comments | https://api.github.com/repos/huggingface/transformers/issues/26210/events | https://github.com/huggingface/transformers/issues/26210 | 1,900,374,303 | I_kwDOCUB6oc5xRWkf | 26,210 | ❓ Questions to google/reformer-enwik8, hidden_state is independent to the context? | {
"login": "shipengAlan",
"id": 9625832,
"node_id": "MDQ6VXNlcjk2MjU4MzI=",
"avatar_url": "https://avatars.githubusercontent.com/u/9625832?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shipengAlan",
"html_url": "https://github.com/shipengAlan",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"This depends on whether or not the model uses `bidirectional attention` or `causal` attention. \r\nThis is not general and rather model specific. Usually decoders use `causal` attention while encoder `bidirectional`. Try setting `is_decoder = False` 😉 ",
"Thank you so much, Arthur @ArthurZucker\r\nAs your sugg... | 1,695 | 1,698 | 1,698 | NONE | null | ### Background
Based on char-level model reformer, I want to embed a text into embedding as one of downstream feature.
Like Bert, we usually use the hidden state at text embedding at [CLS] position.
So a natural idea is to use the first/last position's hidden_state as the embedding of the sentence.
But I found ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26210/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26210/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26209 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26209/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26209/comments | https://api.github.com/repos/huggingface/transformers/issues/26209/events | https://github.com/huggingface/transformers/issues/26209 | 1,900,326,185 | I_kwDOCUB6oc5xRK0p | 26,209 | minimum learning rate should be allowed to set in lr schedulers | {
"login": "annahung31",
"id": 39179888,
"node_id": "MDQ6VXNlcjM5MTc5ODg4",
"avatar_url": "https://avatars.githubusercontent.com/u/39179888?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/annahung31",
"html_url": "https://github.com/annahung31",
"followers_url": "https://api.github.com/use... | [
{
"id": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request",
"name": "Feature request",
"color": "FBCA04",
"default": false,
"description": "Request for a new feature"
}
] | open | false | null | [] | [
"Is the following not pretty much what you are looking for:\r\n```python \r\n min_lr_ratio (`float`, *optional*, defaults to 0):\r\n The final learning rate at the end of the linear decay will be `init_lr * min_lr_ratio`.\r\n```\r\n",
"Yes, it can work for me. This argument is in `optimization_t... | 1,695 | 1,707 | null | NONE | null | ### Feature request
In current lr schedulers provided in `optimization.py`, the minimum learning rate is always `0.0`.
We could add one more input parameter like "min_lr" to let user defind the minimum learning rate.
Take `_get_linear_schedule_with_warmup_lr_lambda` as an example:
Original:
```
def _get_li... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26209/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/26209/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26208 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26208/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26208/comments | https://api.github.com/repos/huggingface/transformers/issues/26208/events | https://github.com/huggingface/transformers/pull/26208 | 1,899,985,886 | PR_kwDOCUB6oc5ahMyV | 26,208 | Add Russian localization for README | {
"login": "qweme32",
"id": 99718350,
"node_id": "U_kgDOBfGUzg",
"avatar_url": "https://avatars.githubusercontent.com/u/99718350?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/qweme32",
"html_url": "https://github.com/qweme32",
"followers_url": "https://api.github.com/users/qweme32/follow... | [] | closed | false | null | [] | [
"cc @stevhliu ",
"awesome ",
"any comments?",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26208). All of your documentation changes will be reflected on that endpoint.",
"thx, added @stevhliu "
] | 1,694 | 1,695 | 1,695 | CONTRIBUTOR | null | # What does this PR do?
Add Russian localization for README.
## 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/CONTRIBUTING.md#start-cont... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26208/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26208/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26208",
"html_url": "https://github.com/huggingface/transformers/pull/26208",
"diff_url": "https://github.com/huggingface/transformers/pull/26208.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26208.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26207 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26207/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26207/comments | https://api.github.com/repos/huggingface/transformers/issues/26207/events | https://github.com/huggingface/transformers/issues/26207 | 1,899,975,518 | I_kwDOCUB6oc5xP1Ne | 26,207 | From the first step, loss is always 0.0 and evel_loss becomes NaN. | {
"login": "50516017",
"id": 23068536,
"node_id": "MDQ6VXNlcjIzMDY4NTM2",
"avatar_url": "https://avatars.githubusercontent.com/u/23068536?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/50516017",
"html_url": "https://github.com/50516017",
"followers_url": "https://api.github.com/users/505... | [] | closed | false | null | [] | [
"Hi @50516017 \r\nThanks for the issue! \r\nYou can't perform pure fine-tuning on 8bit/4bit models, please use LoRA adapters that you can easily attach to the model before passing it to `Trainer`:\r\n\r\n```python\r\nfrom peft import LoraConfig\r\n\r\n\r\nmodel_name = \"rinna/japanese-gpt-neox-3.6b-instruction-ppo\... | 1,694 | 1,695 | 1,695 | NONE | null | ### System Info
- `transformers` version: 4.34.0.dev0
- Platform: Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35
- Python version: 3.10.12
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.3
- Accelerate version: 0.20.3
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26207/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26207/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26206 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26206/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26206/comments | https://api.github.com/repos/huggingface/transformers/issues/26206/events | https://github.com/huggingface/transformers/pull/26206 | 1,899,900,152 | PR_kwDOCUB6oc5ag7tj | 26,206 | [docs] Fix model reference in zero shot image classification example | {
"login": "Aleksandar1932",
"id": 29300910,
"node_id": "MDQ6VXNlcjI5MzAwOTEw",
"avatar_url": "https://avatars.githubusercontent.com/u/29300910?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Aleksandar1932",
"html_url": "https://github.com/Aleksandar1932",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26206). All of your documentation changes will be reflected on that endpoint."
] | 1,694 | 1,695 | 1,695 | CONTRIBUTOR | null | # What does this PR do?
This PR fixes a typo in the docs, more specifically the model reference, since it it defined as `detector` and later referenced as predictor which is not defined. Settled on `detector`, since on example in other locale (`docs/source/ko/tasks/zero_shot_object_detection.md`) is `detector`.
#... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26206/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/26206/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26206",
"html_url": "https://github.com/huggingface/transformers/pull/26206",
"diff_url": "https://github.com/huggingface/transformers/pull/26206.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26206.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26205 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26205/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26205/comments | https://api.github.com/repos/huggingface/transformers/issues/26205/events | https://github.com/huggingface/transformers/issues/26205 | 1,899,855,350 | I_kwDOCUB6oc5xPX32 | 26,205 | Custom training for LayoutLMv3 for document answering task | {
"login": "NevilleMthw",
"id": 18580821,
"node_id": "MDQ6VXNlcjE4NTgwODIx",
"avatar_url": "https://avatars.githubusercontent.com/u/18580821?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NevilleMthw",
"html_url": "https://github.com/NevilleMthw",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"See my demo notebook here: https://github.com/NielsRogge/Transformers-Tutorials/blob/master/LayoutLMv2/DocVQA/Fine_tuning_LayoutLMv2ForQuestionAnswering_on_DocVQA.ipynb.\r\n\r\nIt's equivalent for LayoutLMv3, just make sure to prepare the data in the right format",
"This issue has been automatically marked as st... | 1,694 | 1,698 | 1,698 | NONE | null | ### System Info
- `transformers` version: 4.32.0
- Platform: Linux-6.2.0-32-generic-x86_64-with-glibc2.35
- Python version: 3.11.4
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.3
- Accelerate version: not installed
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1 (False)
- Tensorfl... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26205/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26205/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26204 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26204/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26204/comments | https://api.github.com/repos/huggingface/transformers/issues/26204/events | https://github.com/huggingface/transformers/issues/26204 | 1,899,849,869 | I_kwDOCUB6oc5xPWiN | 26,204 | Running Phi1.0 on a Mac M2 | {
"login": "erlebach",
"id": 324708,
"node_id": "MDQ6VXNlcjMyNDcwOA==",
"avatar_url": "https://avatars.githubusercontent.com/u/324708?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/erlebach",
"html_url": "https://github.com/erlebach",
"followers_url": "https://api.github.com/users/erlebac... | [] | closed | false | null | [] | [
"Hey! The error suggest that you are running the model in half precision (torch.float16) but layer norm is not supported. You should either try in `bfloat16` or just float32`",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed ... | 1,694 | 1,700 | 1,700 | NONE | null | ### System Info
transformers-cli env
Copy-and-paste the text below in your GitHub issue and FILL OUT the two last points.
- `transformers` version: 4.33.2
- Platform: macOS-13.5.2-arm64-arm-64bit
- Python version: 3.10.10
- Huggingface_hub version: 0.17.1
- Safetensors version: 0.3.3
- Accelerate version: 0... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26204/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26204/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26203 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26203/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26203/comments | https://api.github.com/repos/huggingface/transformers/issues/26203/events | https://github.com/huggingface/transformers/issues/26203 | 1,899,839,567 | I_kwDOCUB6oc5xPUBP | 26,203 | RuntimeError: Caught RuntimeError in replica 0 on device 0 | {
"login": "ArnaudHureaux",
"id": 51860563,
"node_id": "MDQ6VXNlcjUxODYwNTYz",
"avatar_url": "https://avatars.githubusercontent.com/u/51860563?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArnaudHureaux",
"html_url": "https://github.com/ArnaudHureaux",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Hey, could you provide the full traceback? 🤗 next time would be great if you can format the code to make it easier to read! \r\ncc @younesbelkada if you know what is going on here.",
"Hi @ArnaudHureaux \r\nThanks for the issue, in order to help you, can you share the full traceback please? ",
"> Hey, could yo... | 1,694 | 1,695 | 1,695 | NONE | null | ### System Info
transformers version -> 4.33
python version -> 3.10.6
I try to finetune this huggingface model : NousResearch/Llama-2-70b-chat-hf
With this huggingface dataset : mlabonne/guanaco-llama2-1k
None of those previous answers helped me :
https://github.com/huggingface/transformers/issues/23754 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26203/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26203/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26202 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26202/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26202/comments | https://api.github.com/repos/huggingface/transformers/issues/26202/events | https://github.com/huggingface/transformers/issues/26202 | 1,899,730,235 | I_kwDOCUB6oc5xO5U7 | 26,202 | Large Language Models as Optimizers | {
"login": "rajveer43",
"id": 64583161,
"node_id": "MDQ6VXNlcjY0NTgzMTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/64583161?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rajveer43",
"html_url": "https://github.com/rajveer43",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"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,694 | 1,702 | 1,702 | CONTRIBUTOR | null | ### Feature request
Optimization is ubiquitous. While derivative-based algorithms have been powerful tools for various problems, the absence of gradient imposes challenges on many real-world applications. In this work, we propose Optimization by PROmpting (OPRO), a simple and effective approach to leverage large lan... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26202/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/26202/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26201 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26201/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26201/comments | https://api.github.com/repos/huggingface/transformers/issues/26201/events | https://github.com/huggingface/transformers/pull/26201 | 1,899,660,607 | PR_kwDOCUB6oc5agOTA | 26,201 | Fix tokenizer truncation | {
"login": "ranchlai",
"id": 5043767,
"node_id": "MDQ6VXNlcjUwNDM3Njc=",
"avatar_url": "https://avatars.githubusercontent.com/u/5043767?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ranchlai",
"html_url": "https://github.com/ranchlai",
"followers_url": "https://api.github.com/users/ranch... | [] | closed | false | null | [] | [
"Hi, @ArthurZucker Sorry for late reply. \r\n\r\nPlease check the following code if you could. For`\"meta-llama/Llama-2-7b-chat-hf\"` , this PR makes slow tokenizer the same as fast version. The fast version is \"more correct\" as it truncates to 1 as requested.\r\n\r\nBut for `bert-base-cased`, fast and slow ar... | 1,694 | 1,699 | 1,699 | CONTRIBUTOR | null | # This PR fixes a tokenizer truncation bug.
Setting max_length=0 or 1 leads to the following problem that should be fixed:
```python
from transformers import AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("meta-llama/Llama-2-7b-chat-hf", use_fast=False)
text = "hello world hello world"
tokens = to... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26201/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26201/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26201",
"html_url": "https://github.com/huggingface/transformers/pull/26201",
"diff_url": "https://github.com/huggingface/transformers/pull/26201.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26201.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26200 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26200/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26200/comments | https://api.github.com/repos/huggingface/transformers/issues/26200/events | https://github.com/huggingface/transformers/pull/26200 | 1,899,435,812 | PR_kwDOCUB6oc5afjnH | 26,200 | 🌐 [i18n-KO] Translated `audio_classification.mdx` to Korean | {
"login": "gabrielwithappy",
"id": 102908949,
"node_id": "U_kgDOBiJEFQ",
"avatar_url": "https://avatars.githubusercontent.com/u/102908949?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gabrielwithappy",
"html_url": "https://github.com/gabrielwithappy",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Team PseudoLab, may you please review this PR? @0525hhgus, @kihoon71, @sim-so, @gabrielwithappy, @HanNayeoniee, @wonhyeongseo, @jungnerd",
"@wonhyeongseo \r\nI updated your suggestion!\r\nThank you for your feedback. :-)",
"> 좋은 번역 감사합니다 😀\n> 오디오 관련 용어를 꼼꼼하게 번역해주셔서 수월하게 이해했습니다 👍\n> 아래 리뷰를 남기니, 참고 부탁드립니다!\n\n... | 1,694 | 1,695 | 1,695 | CONTRIBUTOR | null | <!-- PR의 제목은 "🌐 [i18n-KO] Translated `<your_file>.mdx` to Korean" 으로 부탁드립니다 -->
# What does this PR do?
Translated the `audio_classification.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/26200/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/26200/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26200",
"html_url": "https://github.com/huggingface/transformers/pull/26200",
"diff_url": "https://github.com/huggingface/transformers/pull/26200.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26200.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26199 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26199/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26199/comments | https://api.github.com/repos/huggingface/transformers/issues/26199/events | https://github.com/huggingface/transformers/pull/26199 | 1,899,415,940 | PR_kwDOCUB6oc5affxS | 26,199 | Falcon: remove cache reformatting in the modeling code | {
"login": "fxmarty",
"id": 9808326,
"node_id": "MDQ6VXNlcjk4MDgzMjY=",
"avatar_url": "https://avatars.githubusercontent.com/u/9808326?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fxmarty",
"html_url": "https://github.com/fxmarty",
"followers_url": "https://api.github.com/users/fxmarty/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26199). All of your documentation changes will be reflected on that endpoint.",
"Hi @fxmarty, I think refactoring this out of the model code to put it in `prepare_inputs_for_generation` is fine!\r\n\r\nI don't think that sh... | 1,694 | 1,697 | 1,697 | COLLABORATOR | null | When Falcon has been ported to transformers, it appears that methods `_convert_to_rw_cache` and `_convert_cache_to_standard_format` were directly called in the model, which is NOT what is traditionally done in Transformers, with the precedent of Bloom: https://github.com/huggingface/transformers/blob/0a55d9f7376f72ad3f... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26199/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/26199/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26199",
"html_url": "https://github.com/huggingface/transformers/pull/26199",
"diff_url": "https://github.com/huggingface/transformers/pull/26199.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26199.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26198 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26198/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26198/comments | https://api.github.com/repos/huggingface/transformers/issues/26198/events | https://github.com/huggingface/transformers/pull/26198 | 1,899,407,115 | PR_kwDOCUB6oc5afeDK | 26,198 | Update README.md | {
"login": "NinoRisteski",
"id": 95188570,
"node_id": "U_kgDOBax2Wg",
"avatar_url": "https://avatars.githubusercontent.com/u/95188570?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NinoRisteski",
"html_url": "https://github.com/NinoRisteski",
"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_26198). All of your documentation changes will be reflected on that endpoint."
] | 1,694 | 1,695 | 1,695 | CONTRIBUTOR | null | Fixed a few typos
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26198/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26198/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26198",
"html_url": "https://github.com/huggingface/transformers/pull/26198",
"diff_url": "https://github.com/huggingface/transformers/pull/26198.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26198.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26197 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26197/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26197/comments | https://api.github.com/repos/huggingface/transformers/issues/26197/events | https://github.com/huggingface/transformers/pull/26197 | 1,899,402,263 | PR_kwDOCUB6oc5afdF8 | 26,197 | Update add_new_pipeline.md | {
"login": "NinoRisteski",
"id": 95188570,
"node_id": "U_kgDOBax2Wg",
"avatar_url": "https://avatars.githubusercontent.com/u/95188570?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NinoRisteski",
"html_url": "https://github.com/NinoRisteski",
"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_26197). All of your documentation changes will be reflected on that endpoint."
] | 1,694 | 1,695 | 1,695 | CONTRIBUTOR | null | fixed a few typos
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26197/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26197/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26197",
"html_url": "https://github.com/huggingface/transformers/pull/26197",
"diff_url": "https://github.com/huggingface/transformers/pull/26197.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26197.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26196 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26196/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26196/comments | https://api.github.com/repos/huggingface/transformers/issues/26196/events | https://github.com/huggingface/transformers/issues/26196 | 1,899,374,090 | I_kwDOCUB6oc5xNiYK | 26,196 | Unable to process image in pipeline for document question-answering | {
"login": "pythonvijay",
"id": 144582559,
"node_id": "U_kgDOCJ4nnw",
"avatar_url": "https://avatars.githubusercontent.com/u/144582559?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pythonvijay",
"html_url": "https://github.com/pythonvijay",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Not an expert but seems to me that open cv imread() is returning a numpy array (it is if you check the c++ code) and your pipeline expects a file. Have you tried instead to send `Image.open('testing.png')` or just `open('testing.png')` to pipe? something like:\r\n\r\n```\r\nwith open('testimg.png', 'r') as fin:\... | 1,694 | 1,698 | 1,698 | NONE | null | Hi,
I am trying to read an image into google colab and then process it through pipeline() for document Q&A but it seems that my image is not read by pipeline or maybe not in a supported format;
Here is my code
```
from docquery import document, pipeline
from transformers import pipeline
from PIL import Im... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26196/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26196/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26195 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26195/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26195/comments | https://api.github.com/repos/huggingface/transformers/issues/26195/events | https://github.com/huggingface/transformers/issues/26195 | 1,899,328,198 | I_kwDOCUB6oc5xNXLG | 26,195 | Transformers LocalAgent - Error with GPT model, are there any specific limitations for LocalAgent? | {
"login": "gidzr",
"id": 83053994,
"node_id": "MDQ6VXNlcjgzMDUzOTk0",
"avatar_url": "https://avatars.githubusercontent.com/u/83053994?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gidzr",
"html_url": "https://github.com/gidzr",
"followers_url": "https://api.github.com/users/gidzr/follow... | [] | closed | false | null | [] | [
"Hey! as the issue mentions, there seems to be an issue with the tokenized inputs. I'll ping @Rocketknight1 here as I won't have time to look into this",
"Hi @gidzr, the cause here is that GPT-2 simply doesn't have the required sequence length to handle the very long default prompt used by transformers agents. Th... | 1,694 | 1,696 | 1,696 | NONE | null | ### System Info
cpu, latest version transformers, python 3.10
### Who can help?
@ArthurZucker, @younesbelkada and @Narsil
Hey there
I am using the example you provide for LocalAgent at: https://huggingface.co/docs/transformers/main_classes/agent#transformers.LocalAgent
Except I've replaced the example... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26195/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26195/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26194 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26194/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26194/comments | https://api.github.com/repos/huggingface/transformers/issues/26194/events | https://github.com/huggingface/transformers/pull/26194 | 1,899,265,363 | PR_kwDOCUB6oc5afC4W | 26,194 | Extend Trainer to enable Ascend NPU to use the fused Adamw optimizer when training | {
"login": "statelesshz",
"id": 28150734,
"node_id": "MDQ6VXNlcjI4MTUwNzM0",
"avatar_url": "https://avatars.githubusercontent.com/u/28150734?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/statelesshz",
"html_url": "https://github.com/statelesshz",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Rebase my commits to master HEAD to avoid too many merges back from the master.",
"BTW, Is this PR still under review? Any review suggestions? Please let me know if there is anything else that needs to be done.\r\ncc @muellerzr",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transf... | 1,694 | 1,696 | 1,696 | CONTRIBUTOR | null | # What does this PR do?
This PR intends to extend Transformers Trainer Class with NpuFusedAdamw optimizer for model training when using Ascend NPU.
Verified with text-classification task:
```bash
export TASK_NAME=sst2
python run_glue.py \
--model_name_or_path bert-base-cased \
--task_name $TASK_NAME \
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26194/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26194/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26194",
"html_url": "https://github.com/huggingface/transformers/pull/26194",
"diff_url": "https://github.com/huggingface/transformers/pull/26194.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26194.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26193 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26193/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26193/comments | https://api.github.com/repos/huggingface/transformers/issues/26193/events | https://github.com/huggingface/transformers/pull/26193 | 1,899,108,738 | PR_kwDOCUB6oc5aeiYh | 26,193 | Correctly update vocab size in resize_token_embeddings with pad_to_multiple_of!=0 | {
"login": "zrqiao",
"id": 22074748,
"node_id": "MDQ6VXNlcjIyMDc0NzQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/22074748?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zrqiao",
"html_url": "https://github.com/zrqiao",
"followers_url": "https://api.github.com/users/zrqiao/fo... | [] | closed | false | null | [] | [
"Hey ! I think the patch release should have brought the fix! ",
"> Hey ! I think the patch release should have bought the fix!\r\n\r\nThanks!! \r\n"
] | 1,694 | 1,695 | 1,694 | NONE | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26193/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26193/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26193",
"html_url": "https://github.com/huggingface/transformers/pull/26193",
"diff_url": "https://github.com/huggingface/transformers/pull/26193.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26193.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26192 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26192/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26192/comments | https://api.github.com/repos/huggingface/transformers/issues/26192/events | https://github.com/huggingface/transformers/pull/26192 | 1,899,069,690 | PR_kwDOCUB6oc5aeZy4 | 26,192 | custom checkpoint in trainer.py | {
"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 | [] | [
"cc @muellerzr and @pacman100 ",
"I'm pretty sure the naming conventions we are are standardized and immutable for the filenames, so I'm not sure this is a venture we want to go down unless I'm mistaken (cc @ArthurZucker trainer doesn't support custom model names due to integrating with everything else, right?) "... | 1,694 | 1,707 | 1,707 | NONE | null | I was wondering can we do like this? `_custom_save_checkpoint` is that it provides more control and flexibility for customizing how checkpoints are saved. You can define your own naming conventions and include or exclude specific information in the checkpoint. This can be useful if you have specific requirements or wan... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26192/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26192/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26192",
"html_url": "https://github.com/huggingface/transformers/pull/26192",
"diff_url": "https://github.com/huggingface/transformers/pull/26192.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26192.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26191 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26191/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26191/comments | https://api.github.com/repos/huggingface/transformers/issues/26191/events | https://github.com/huggingface/transformers/issues/26191 | 1,899,052,114 | I_kwDOCUB6oc5xMTxS | 26,191 | Allow custom logit warpers | {
"login": "lshamis",
"id": 3943815,
"node_id": "MDQ6VXNlcjM5NDM4MTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/3943815?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lshamis",
"html_url": "https://github.com/lshamis",
"followers_url": "https://api.github.com/users/lshamis/... | [] | closed | false | null | [] | [
"I see the same call in beam sampling and assisted generation. Maybe custom logit warpers can be handled in `generate()` the same way `logits_processor` is used i.e., the caller can pass in a list of custom warpers as an arg `logits_warper` but has to be sure this doesn't collide with any from the config or raise?... | 1,694 | 1,700 | 1,700 | NONE | null | ### Feature request
Currently, when generation sampling, logit warpers are automatically generated from the generation_config.
https://github.com/huggingface/transformers/blob/0a55d9f7376f72ad3ff296d4249840021b03bcc4/src/transformers/generation/utils.py#L1641
which does not support any custom logit warpers
https:/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26191/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26191/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26190 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26190/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26190/comments | https://api.github.com/repos/huggingface/transformers/issues/26190/events | https://github.com/huggingface/transformers/pull/26190 | 1,899,000,534 | PR_kwDOCUB6oc5aeKzh | 26,190 | Improve padding behaviour of `ClapFeatureExtractor` | {
"login": "anmolojha",
"id": 35429956,
"node_id": "MDQ6VXNlcjM1NDI5OTU2",
"avatar_url": "https://avatars.githubusercontent.com/u/35429956?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anmolojha",
"html_url": "https://github.com/anmolojha",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hi @sanchit-gandhi! I need your advice on how can we create this PR without breaking anything. I have implemented what seems like the best way to me. Looking forward to hearing from you. Thanks!",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still n... | 1,694 | 1,707 | 1,707 | NONE | null | # What does this PR do?
Currently, `ClapFeatureExtractor`'s padding behaviour is unintuitive. Specifically,
* It works with any value of argument `padding` without any check.
* It uses non default padding strategy if `padding=True`.
This was discussed in more detail around [this](https://github.com/huggingface/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26190/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26190/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26190",
"html_url": "https://github.com/huggingface/transformers/pull/26190",
"diff_url": "https://github.com/huggingface/transformers/pull/26190.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26190.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26189 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26189/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26189/comments | https://api.github.com/repos/huggingface/transformers/issues/26189/events | https://github.com/huggingface/transformers/issues/26189 | 1,898,896,044 | I_kwDOCUB6oc5xLtqs | 26,189 | Problem with c10d pickle in distributed run | {
"login": "jmzeng",
"id": 5641698,
"node_id": "MDQ6VXNlcjU2NDE2OTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/5641698?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jmzeng",
"html_url": "https://github.com/jmzeng",
"followers_url": "https://api.github.com/users/jmzeng/foll... | [] | closed | false | {
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api.github.com/users/mu... | [
{
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api... | [
"cc @muellerzr as it is related to dataloaders.",
"Same comment as here: https://github.com/huggingface/trl/issues/796#issuecomment-1735049375\r\n\r\nCan you give us some details about your dataset? ",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this ... | 1,694 | 1,702 | 1,702 | NONE | null | ### System Info
- `transformers` version: 4.32.1
- Platform: Linux-5.15.0-83-generic-x86_64-with-glibc2.31
- Python version: 3.10.12
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- Accelerate version: 0.22.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu118 (True)
- Tenso... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26189/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26189/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26188 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26188/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26188/comments | https://api.github.com/repos/huggingface/transformers/issues/26188/events | https://github.com/huggingface/transformers/pull/26188 | 1,898,799,768 | PR_kwDOCUB6oc5adfkb | 26,188 | [Wav2Vec2-Conf / LLaMA] Style fix | {
"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._",
"CI went red on `main`: the permisson model wasn't checked as part of the PR. Needed to rebase to include it: #26228"
] | 1,694 | 1,695 | 1,695 | CONTRIBUTOR | null | # What does this PR do?
Small style fix to stay consistent with the rest of the modelling code: `torch.nn -> nn`
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26188/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26188/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26188",
"html_url": "https://github.com/huggingface/transformers/pull/26188",
"diff_url": "https://github.com/huggingface/transformers/pull/26188.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26188.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26187 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26187/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26187/comments | https://api.github.com/repos/huggingface/transformers/issues/26187/events | https://github.com/huggingface/transformers/pull/26187 | 1,898,650,708 | PR_kwDOCUB6oc5ac_Bt | 26,187 | [FSMT] Fix non-shared weights | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,694 | 1,695 | 1,695 | MEMBER | null | FSMT shares weights across three layers.
The `tie_weights` method wasn't having the intended effect on all three (only on the input and output embeddings), leading to errors when converting the model to safetensors.
See https://huggingface.co/facebook/wmt19-en-de/discussions/7 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26187/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26187/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26187",
"html_url": "https://github.com/huggingface/transformers/pull/26187",
"diff_url": "https://github.com/huggingface/transformers/pull/26187.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26187.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26186 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26186/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26186/comments | https://api.github.com/repos/huggingface/transformers/issues/26186/events | https://github.com/huggingface/transformers/issues/26186 | 1,898,563,666 | I_kwDOCUB6oc5xKchS | 26,186 | FSDP/Accelerate: Training can't be continued from checkpoint with SHARDED_STATE_DICT | {
"login": "jphme",
"id": 2862336,
"node_id": "MDQ6VXNlcjI4NjIzMzY=",
"avatar_url": "https://avatars.githubusercontent.com/u/2862336?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jphme",
"html_url": "https://github.com/jphme",
"followers_url": "https://api.github.com/users/jphme/follower... | [] | closed | false | null | [] | [
"cc @pacman100 ",
"I believe this will be fixed by #26180 will review",
"> I believe this will be fixed by #26180 will review\r\n\r\nmany thanks, very timely and it does indeed solve the issue! Commented on the PR with a follow-up issue but will close this as the specific issue is solved by the PR.",
"I am f... | 1,694 | 1,706 | 1,694 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.34.0.dev0
- Platform: Linux-5.4.0-156-generic-x86_64-with-glibc2.35
- Python version: 3.9.18
- Huggingface_hub version: 0.17.1
- Safetensors version: 0.3.3
- Accelerate version: 0.23.0.dev0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu118 (True)
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26186/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26186/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26185 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26185/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26185/comments | https://api.github.com/repos/huggingface/transformers/issues/26185/events | https://github.com/huggingface/transformers/pull/26185 | 1,898,490,825 | PR_kwDOCUB6oc5acb8L | 26,185 | Chat Template kwargs | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26185). All of your documentation changes will be reflected on that endpoint.",
"That's a fair point! I noticed when I was browsing the Hub that several models had chat templates that needed variable substitutions that don'... | 1,694 | 1,699 | 1,699 | MEMBER | null | This PR adds an extra `chat_template_kwargs` attribute, so that the behaviour of templates can be modified without rewriting the whole thing. I factored out the messy LLaMA default system message stuff in a cleaner way using these, and I'm going to need it for the templates of some other checkpoints on the Hub as well!... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26185/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26185/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26185",
"html_url": "https://github.com/huggingface/transformers/pull/26185",
"diff_url": "https://github.com/huggingface/transformers/pull/26185.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26185.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26184 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26184/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26184/comments | https://api.github.com/repos/huggingface/transformers/issues/26184/events | https://github.com/huggingface/transformers/issues/26184 | 1,898,464,010 | I_kwDOCUB6oc5xKEMK | 26,184 | WhisperTokenizerFast omits language and task tokens | {
"login": "tsobolev",
"id": 28811005,
"node_id": "MDQ6VXNlcjI4ODExMDA1",
"avatar_url": "https://avatars.githubusercontent.com/u/28811005?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tsobolev",
"html_url": "https://github.com/tsobolev",
"followers_url": "https://api.github.com/users/tso... | [] | closed | false | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [
{
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "... | [
"Hey! Thanks for reporting. You need to call the `tokenizer_fast.set_prefix_tokens()` function to make sure the changes are applied. \r\nA fix would be to call this function in the `__init__`, would you like to open a PR for the fix? ",
"cc @sanchit-gandhi if there was a reason not to call this at init time? ",
... | 1,694 | 1,697 | 1,697 | NONE | null | ### System Info
- `transformers` version: 4.34.0.dev0
- Platform: Linux-5.15.120+-x86_64-with-glibc2.31
- Python version: 3.10.12
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.3
- Accelerate version: 0.22.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.0+cpu (False)
- Tensorflow ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26184/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26184/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26183 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26183/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26183/comments | https://api.github.com/repos/huggingface/transformers/issues/26183/events | https://github.com/huggingface/transformers/pull/26183 | 1,898,285,597 | PR_kwDOCUB6oc5abu0- | 26,183 | moved `ctrl` to `Salesforce/ctrl` | {
"login": "julien-c",
"id": 326577,
"node_id": "MDQ6VXNlcjMyNjU3Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/julien-c",
"html_url": "https://github.com/julien-c",
"followers_url": "https://api.github.com/users/julien-... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Taking a look at and fixing the failures"
] | 1,694 | 1,695 | 1,695 | MEMBER | null | redirects should theoretically work, but still updating those repo references for clarity
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26183/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26183/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26183",
"html_url": "https://github.com/huggingface/transformers/pull/26183",
"diff_url": "https://github.com/huggingface/transformers/pull/26183.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26183.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26182 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26182/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26182/comments | https://api.github.com/repos/huggingface/transformers/issues/26182/events | https://github.com/huggingface/transformers/pull/26182 | 1,898,250,150 | PR_kwDOCUB6oc5abnMs | 26,182 | Porting the torchaudio kaldi fbank implementation to audio_utils | {
"login": "ylacombe",
"id": 52246514,
"node_id": "MDQ6VXNlcjUyMjQ2NTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/52246514?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ylacombe",
"html_url": "https://github.com/ylacombe",
"followers_url": "https://api.github.com/users/yla... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"I've applied your suggestions @sanchit-gandhi and corrected the `use_torchaudio_version` naming to `triangularize_in_mel_space` with a more appropriate description, thanks for the review!\r\n\r\n@ArthurZucker, would it be possible to... | 1,694 | 1,695 | 1,695 | COLLABORATOR | null | # What does this PR do?
> [Kaldi](https://kaldi-asr.org/doc/) is a toolkit for speech recognition, intended for use by speech recognition researchers and professionals.
Its [torchaudio `fbank` implementation](https://pytorch.org/audio/stable/compliance.kaldi.html) is sometimes used in the library, notably in the... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26182/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26182/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26182",
"html_url": "https://github.com/huggingface/transformers/pull/26182",
"diff_url": "https://github.com/huggingface/transformers/pull/26182.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26182.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26181 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26181/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26181/comments | https://api.github.com/repos/huggingface/transformers/issues/26181/events | https://github.com/huggingface/transformers/issues/26181 | 1,898,058,044 | I_kwDOCUB6oc5xIhE8 | 26,181 | Bug report of quantizing Falcon40b using GPTQConfig | {
"login": "SantiDianaClibrain",
"id": 138574271,
"node_id": "U_kgDOCEJ5vw",
"avatar_url": "https://avatars.githubusercontent.com/u/138574271?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SantiDianaClibrain",
"html_url": "https://github.com/SantiDianaClibrain",
"followers_url": "https://... | [] | closed | false | null | [] | [
"Hi @SantiDianaClibrain , thanks for reporting. I am unable to reproduce the error on my side. Which version of optimum and transformers are you using ? Does the script work by just changing the model to a llama model ? Make sure to not name your file to gptq.py. It will lead to import error. ",
"Hey @SunMarc. Th... | 1,694 | 1,694 | 1,694 | NONE | null | ### System Info
I am receiving an error while trying to quantize a falcon-type model using GPTQConfig.
**System information**
- `transformers` version: 4.31.1
- Python version: 3.11.5
- Huggingface_hub version: 0.15.1
- Accelerate version: 0.21.0
**Who can help?**
@SunMarc and @younesbelkada
### Who ca... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26181/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26181/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26180 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26180/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26180/comments | https://api.github.com/repos/huggingface/transformers/issues/26180/events | https://github.com/huggingface/transformers/pull/26180 | 1,897,926,597 | PR_kwDOCUB6oc5aag9G | 26,180 | FSDP tests and checkpointing fixes | {
"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._",
"Just a short feedback, when trying to resume from a checkpoint with SHARDED_STATE_DICT (see #26186 for setup/details) with this PR, i get a Cuda OOM error, full stacktrace below. \r\n\r\n<details>\r\n<summary>Full Stacktrace</summary... | 1,694 | 1,695 | 1,695 | CONTRIBUTOR | null | # What does this PR do?
1. Fixes certain bugs with checkpointing when using FSDP
2. Adds tests for FSDP integration in Trainer.
3. Different combination runs to check resuming from checkpoints work as expected.
Below we will run the different combinations of FSDP `SHARDING_STRATEGY` and `STATE_DICT_TYPE` for the ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26180/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26180/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26180",
"html_url": "https://github.com/huggingface/transformers/pull/26180",
"diff_url": "https://github.com/huggingface/transformers/pull/26180.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26180.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26179 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26179/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26179/comments | https://api.github.com/repos/huggingface/transformers/issues/26179/events | https://github.com/huggingface/transformers/issues/26179 | 1,897,870,583 | I_kwDOCUB6oc5xHzT3 | 26,179 | KeyError: <class 'transformers.models.falcon.configuration_falcon.FalconConfig'>` | {
"login": "ishaansharma",
"id": 8963395,
"node_id": "MDQ6VXNlcjg5NjMzOTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/8963395?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ishaansharma",
"html_url": "https://github.com/ishaansharma",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"Hey! Could you share the ` tokenizer_config.json` or ` tokenizer.json` files? ",
"This is the tokenizer_config.json content : \r\n\r\n```\r\n{\r\n \"add_prefix_space\": false,\r\n \"additional_special_tokens\": [\r\n \">>TITLE<<\",\r\n \">>ABSTRACT<<\",\r\n \">>INTRODUCTION<<\",\r\n \">>SUMMARY<<... | 1,694 | 1,695 | 1,695 | NONE | null | ### System Info
- `transformers` version: 4.34.0.dev0
- Platform: Linux-6.2.0-31-generic-x86_64-with-glibc2.17
- Python version: 3.8.16
- Huggingface_hub version: 0.17.1
- Safetensors version: 0.3.3
- Accelerate version: 0.22.0
- Accelerate config: - compute_environment: LOCAL_MACHINE
- distributed_type: NO... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26179/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26179/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26178 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26178/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26178/comments | https://api.github.com/repos/huggingface/transformers/issues/26178/events | https://github.com/huggingface/transformers/pull/26178 | 1,897,812,853 | PR_kwDOCUB6oc5aaI20 | 26,178 | support megatron-lm plugin in training | {
"login": "xiaojunjie",
"id": 9473836,
"node_id": "MDQ6VXNlcjk0NzM4MzY=",
"avatar_url": "https://avatars.githubusercontent.com/u/9473836?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xiaojunjie",
"html_url": "https://github.com/xiaojunjie",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,694 | 1,702 | 1,698 | NONE | null | # What does this PR do?
Q: How to train models in trainer.py with megatron_lm_plugin?
I think there are 3 main steps that need to be done:
- support megatron-lm plugin in trainer of transformers.
- give compatible api for transformers in accelerate.
- deveplot a tool to convert checkpoint in Megatron
this pr ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26178/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26178/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26178",
"html_url": "https://github.com/huggingface/transformers/pull/26178",
"diff_url": "https://github.com/huggingface/transformers/pull/26178.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26178.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26177 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26177/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26177/comments | https://api.github.com/repos/huggingface/transformers/issues/26177/events | https://github.com/huggingface/transformers/pull/26177 | 1,897,775,996 | PR_kwDOCUB6oc5aaA0Z | 26,177 | [DINOv2] Convert more checkpoints | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks !"
] | 1,694 | 1,696 | 1,696 | CONTRIBUTOR | null | # What does this PR do?
This PR converts the DINOv2 checkpoints of image classification on ImageNet-1k ([source](https://github.com/facebookresearch/dinov2#pretrained-heads---image-classification)).
It also improves the doc test for `Dinov2ForImageClassification`.
Fixes #26167 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26177/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26177/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26177",
"html_url": "https://github.com/huggingface/transformers/pull/26177",
"diff_url": "https://github.com/huggingface/transformers/pull/26177.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26177.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26176 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26176/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26176/comments | https://api.github.com/repos/huggingface/transformers/issues/26176/events | https://github.com/huggingface/transformers/pull/26176 | 1,897,673,607 | PR_kwDOCUB6oc5aZq7h | 26,176 | Add Auto Device Map option for BERT Models | {
"login": "tanaymeh",
"id": 26519539,
"node_id": "MDQ6VXNlcjI2NTE5NTM5",
"avatar_url": "https://avatars.githubusercontent.com/u/26519539?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tanaymeh",
"html_url": "https://github.com/tanaymeh",
"followers_url": "https://api.github.com/users/tan... | [] | closed | false | null | [] | [
"@younesbelkada, Sure! I am travelling to London this weekend and early next week so after that I will be able to push other changes and fix this.\r\n\r\nThanks for taking time and reviewing this, I will mark the PR to be \"Ready\" once I am done making changes. Cheers!",
"Hi @younesbelkada, I am facing a rather ... | 1,694 | 1,708 | 1,702 | CONTRIBUTOR | null | # What does this PR do?
This PR adds the `'device_map': "auto"` functionality for BERT Models for ease in multi-GPU training.
Fixes #25296
## Who can review?
@younesbelkada | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26176/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26176/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26176",
"html_url": "https://github.com/huggingface/transformers/pull/26176",
"diff_url": "https://github.com/huggingface/transformers/pull/26176.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26176.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26175 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26175/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26175/comments | https://api.github.com/repos/huggingface/transformers/issues/26175/events | https://github.com/huggingface/transformers/pull/26175 | 1,897,623,648 | PR_kwDOCUB6oc5aZhJZ | 26,175 | Fix no_grad when using AdaFactor out of transformers. | {
"login": "richarddwang",
"id": 17963619,
"node_id": "MDQ6VXNlcjE3OTYzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/17963619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/richarddwang",
"html_url": "https://github.com/richarddwang",
"followers_url": "https://api.github.c... | [] | 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,694 | 1,698 | 1,698 | NONE | null | When using `transformers.optimization.AdaFactor` with my own code not using `Trainer`, autograd will say there is no grad to backprop.
I believe it might work well with `Trainer`, but this simple and small fix makes it more useful. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26175/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26175/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26175",
"html_url": "https://github.com/huggingface/transformers/pull/26175",
"diff_url": "https://github.com/huggingface/transformers/pull/26175.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26175.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26174 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26174/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26174/comments | https://api.github.com/repos/huggingface/transformers/issues/26174/events | https://github.com/huggingface/transformers/issues/26174 | 1,897,559,482 | I_kwDOCUB6oc5xGnW6 | 26,174 | Wrong shape of hidden_states and attentions when generating | {
"login": "wywyWang",
"id": 37433002,
"node_id": "MDQ6VXNlcjM3NDMzMDAy",
"avatar_url": "https://avatars.githubusercontent.com/u/37433002?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wywyWang",
"html_url": "https://github.com/wywyWang",
"followers_url": "https://api.github.com/users/wyw... | [] | closed | false | null | [] | [
"Hey @wywyWang, I'm not sure the implementation is wrong. The documentation says the following for `attentions`: \r\n\r\n> Tuple (one element for each generated token) of tuples (one element for each layer of the decoder) of torch.FloatTensor of shape (batch_size, num_heads, generated_length, sequence_length).\r\n\... | 1,694 | 1,700 | 1,700 | NONE | null | ### System Info
- `transformers` version: 4.33.0
- Platform: Windows-10-10.0.22621-SP0
- Python version: 3.10.12
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.3
- Accelerate version: 0.22.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1 (False)
### Who can help?
@stevhl... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26174/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26174/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26173 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26173/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26173/comments | https://api.github.com/repos/huggingface/transformers/issues/26173/events | https://github.com/huggingface/transformers/issues/26173 | 1,897,556,205 | I_kwDOCUB6oc5xGmjt | 26,173 | `Some weights of GPT2LMHeadModel were not initialized` when specifying `device_map=torch.device("cpu")` | {
"login": "samuela",
"id": 226872,
"node_id": "MDQ6VXNlcjIyNjg3Mg==",
"avatar_url": "https://avatars.githubusercontent.com/u/226872?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/samuela",
"html_url": "https://github.com/samuela",
"followers_url": "https://api.github.com/users/samuela/fo... | [] | closed | false | null | [] | [
"When we look at how GPT-2 is pretrained, we find it consists of a stack of decoders and an LM head (a linear layer and softmax) on top of this stack. When GPT-2 is saved as a pretrained model, typically only the weights for the decoders are saved.\r\n\r\nSo, when we initialize a model like `GPT2LMHeadModel`, which... | 1,694 | 1,694 | 1,694 | NONE | null | ### System Info
Running
```py
AutoModelForCausalLM.from_pretrained("gpt2")
```
works for me without issue.
Running
```py
AutoModelForCausalLM.from_pretrained("gpt2", device_map=torch.device("cpu"))
```
which to should presumably do the exact same thing, gives me a warning:
```
Some weights of GPT2LMHead... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26173/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26173/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26172 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26172/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26172/comments | https://api.github.com/repos/huggingface/transformers/issues/26172/events | https://github.com/huggingface/transformers/pull/26172 | 1,897,454,004 | PR_kwDOCUB6oc5aY9fI | 26,172 | Add FastViT model | {
"login": "JorgeAV-ai",
"id": 32791438,
"node_id": "MDQ6VXNlcjMyNzkxNDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/32791438?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JorgeAV-ai",
"html_url": "https://github.com/JorgeAV-ai",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"cc @rafaelpadilla 😉 to keep your eyes on this! ",
"Small ping here, sorry if this is a bad time for pinging you, i am going to collect some of the doubts that have arisen during this days applying the model structure:\r\n\r\n1. This model is characterized by having a different training-test infrastructure, are ... | 1,694 | 1,702 | 1,702 | NONE | null | # What does this PR do?
Fixes #25526
I have seen that the PR is still open and still no PR has been submitted during these weeks so I have decided to open mine once I finish the model structure + testing
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26172/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/26172/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26172",
"html_url": "https://github.com/huggingface/transformers/pull/26172",
"diff_url": "https://github.com/huggingface/transformers/pull/26172.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26172.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26171 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26171/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26171/comments | https://api.github.com/repos/huggingface/transformers/issues/26171/events | https://github.com/huggingface/transformers/issues/26171 | 1,897,323,604 | I_kwDOCUB6oc5xFtxU | 26,171 | Training model from checkpoint with adamw_torch_fused | {
"login": "bhperry",
"id": 11621797,
"node_id": "MDQ6VXNlcjExNjIxNzk3",
"avatar_url": "https://avatars.githubusercontent.com/u/11621797?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bhperry",
"html_url": "https://github.com/bhperry",
"followers_url": "https://api.github.com/users/bhperr... | [] | closed | false | null | [] | [
"This thread seems potentially relevant https://discuss.pytorch.org/t/loading-a-model-runtimeerror-expected-all-tensors-to-be-on-the-same-device-but-found-at-least-two-devices-cuda-0-and-cpu/143897\r\n\r\nGuessing there's just something missing when re-loading the fused optimizer.",
"I'm pretty sure this is expec... | 1,694 | 1,699 | 1,699 | NONE | null | ### System Info
- `transformers` version: 4.33.1
- Platform: Linux-5.4.253-167.359.amzn2.x86_64-x86_64-with-glibc2.35
- Python version: 3.9.18
- Huggingface_hub version: 0.17.1
- Safetensors version: 0.3.3
- Accelerate version: 0.22.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu117 (True)
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26171/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/26171/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26170 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26170/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26170/comments | https://api.github.com/repos/huggingface/transformers/issues/26170/events | https://github.com/huggingface/transformers/pull/26170 | 1,897,283,373 | PR_kwDOCUB6oc5aYXtW | 26,170 | Add Phi-1 and Phi-1_5 | {
"login": "susnato",
"id": 56069179,
"node_id": "MDQ6VXNlcjU2MDY5MTc5",
"avatar_url": "https://avatars.githubusercontent.com/u/56069179?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/susnato",
"html_url": "https://github.com/susnato",
"followers_url": "https://api.github.com/users/susnat... | [] | closed | false | null | [] | [
"Hey @susnato, thanks for opening your PR! Let us know if we can help in any way.\r\n\r\nAlso cc @gugarosa and @sgunasekar as you've been doing impressive maintenance work on your models :hugs: ",
"Hi @LysandreJik, this PR is ready for review.\r\nPlease refer to this [colab notebook](https://colab.research.google... | 1,694 | 1,703 | 1,699 | 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/26170/reactions",
"total_count": 3,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 3,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26170/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26170",
"html_url": "https://github.com/huggingface/transformers/pull/26170",
"diff_url": "https://github.com/huggingface/transformers/pull/26170.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26170.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26169 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26169/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26169/comments | https://api.github.com/repos/huggingface/transformers/issues/26169/events | https://github.com/huggingface/transformers/issues/26169 | 1,897,196,488 | I_kwDOCUB6oc5xFOvI | 26,169 | Segmentation Fault when trying to load HuggingFace Model | {
"login": "y12uc231",
"id": 5621640,
"node_id": "MDQ6VXNlcjU2MjE2NDA=",
"avatar_url": "https://avatars.githubusercontent.com/u/5621640?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/y12uc231",
"html_url": "https://github.com/y12uc231",
"followers_url": "https://api.github.com/users/y12uc... | [] | closed | false | null | [] | [
"Hey! I cant reproduce this, you should try to re-install python this does not seem to have anything to do with transformers",
"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... | 1,694 | 1,698 | 1,698 | NONE | null | ### System Info
```
Python 3.9.12 (main, Apr 5 2022, 01:53:17)
[Clang 12.0.0 ] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from transformers import AutoModel
>>> model = AutoModel.from_pretrained("gpt2")
zsh: segmentation fault python
```
I am usi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26169/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26169/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26168 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26168/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26168/comments | https://api.github.com/repos/huggingface/transformers/issues/26168/events | https://github.com/huggingface/transformers/pull/26168 | 1,896,932,172 | PR_kwDOCUB6oc5aXMmD | 26,168 | Tweaks to Chat Templates docs | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,694 | 1,694 | 1,694 | MEMBER | null | A few small fixes for the Chat Templates docs that I noticed after merging the PR! | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26168/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26168/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26168",
"html_url": "https://github.com/huggingface/transformers/pull/26168",
"diff_url": "https://github.com/huggingface/transformers/pull/26168.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26168.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26167 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26167/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26167/comments | https://api.github.com/repos/huggingface/transformers/issues/26167/events | https://github.com/huggingface/transformers/issues/26167 | 1,896,906,733 | I_kwDOCUB6oc5xEH_t | 26,167 | Fail loading pretrained weights for Dinov2ForImageClassification model | {
"login": "ofirshifman",
"id": 39139239,
"node_id": "MDQ6VXNlcjM5MTM5MjM5",
"avatar_url": "https://avatars.githubusercontent.com/u/39139239?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ofirshifman",
"html_url": "https://github.com/ofirshifman",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"cc @NielsRogge and @amyeroberts ",
"Hi @ofirshifman,\r\n\r\nThanks for your interest in DINOv2. Note that the error is expected, given that [facebook/dinov2-base](https://huggingface.co/facebook/dinov2-base) is only the base Transformer without any head on top, useful for feature extraction. However Meta just re... | 1,694 | 1,696 | 1,696 | NONE | null | ### System Info
both on:
transformers 4.32.0
transformers 4.34.0.dev0
### Who can help?
_No response_
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [X] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26167/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26167/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26166 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26166/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26166/comments | https://api.github.com/repos/huggingface/transformers/issues/26166/events | https://github.com/huggingface/transformers/pull/26166 | 1,896,868,216 | PR_kwDOCUB6oc5aW-s_ | 26,166 | refactor: add min to block size | {
"login": "pphuc25",
"id": 81808312,
"node_id": "MDQ6VXNlcjgxODA4MzEy",
"avatar_url": "https://avatars.githubusercontent.com/u/81808312?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pphuc25",
"html_url": "https://github.com/pphuc25",
"followers_url": "https://api.github.com/users/pphuc2... | [] | closed | false | null | [] | [
"This is just a mistake when I make a pull request, the main pull request of this is in #26069 ",
"Reviewed directly on the PR linked!"
] | 1,694 | 1,695 | 1,694 | CONTRIBUTOR | null | Hi,
Referring to #26069 and incorporating the recommendation of @sanchit-gandhi, I am submitting this pull request (PR) to include a minimum value constraint on the block_size parameter. This change aims to prevent potential errors from occurring.
I would like to cc @sanchit-gandhi to review my PR, and thank you so m... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26166/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26166/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26166",
"html_url": "https://github.com/huggingface/transformers/pull/26166",
"diff_url": "https://github.com/huggingface/transformers/pull/26166.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26166.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26165 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26165/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26165/comments | https://api.github.com/repos/huggingface/transformers/issues/26165/events | https://github.com/huggingface/transformers/issues/26165 | 1,896,803,452 | I_kwDOCUB6oc5xDux8 | 26,165 | Error with load_in_4bit argument when loading model | {
"login": "matsuobasho",
"id": 13874772,
"node_id": "MDQ6VXNlcjEzODc0Nzcy",
"avatar_url": "https://avatars.githubusercontent.com/u/13874772?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/matsuobasho",
"html_url": "https://github.com/matsuobasho",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Hi @matsuobasho , I can't reproduce the error after switching to your setup. Please check which one of these conditions fails: `is_accelerate_available()` and `is_bitsandbytes_available()`. You can import them with \r\n```py\r\nfrom transformers.utils import is_accelerate_available, is_bitsandbytes_available\r\n``... | 1,694 | 1,694 | 1,694 | NONE | null | ### System Info
OS: Windows 10 64-bit
Python version: 3.9.6
Transformers: 4.33.1 (imported with `pipenv install transformers[torch]`)
Accelerate: 0.22.0
BitsandBytes: 0.41.1
Environment manager: pipenv
### Who can help?
@SunMarc @younesbelkada
### Information
- [ ] The official example scripts
- [X] My ow... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26165/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26165/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26164 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26164/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26164/comments | https://api.github.com/repos/huggingface/transformers/issues/26164/events | https://github.com/huggingface/transformers/pull/26164 | 1,896,647,285 | PR_kwDOCUB6oc5aWOym | 26,164 | [Whisper] Check length of prompt + max new tokens | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,694 | 1,694 | 1,694 | CONTRIBUTOR | null | # What does this PR do?
Fixes #25422: adds a check for the combined length of prompt + max new tokens. If this total exceeds the model's max length (`max_target_positions`), we throw an error.
cc @connor-henderson @Helene-Maxcici | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26164/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26164/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26164",
"html_url": "https://github.com/huggingface/transformers/pull/26164",
"diff_url": "https://github.com/huggingface/transformers/pull/26164.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26164.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26163 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26163/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26163/comments | https://api.github.com/repos/huggingface/transformers/issues/26163/events | https://github.com/huggingface/transformers/pull/26163 | 1,896,608,762 | PR_kwDOCUB6oc5aWGav | 26,163 | add bf16 mixed precision support for NPU | {
"login": "statelesshz",
"id": 28150734,
"node_id": "MDQ6VXNlcjI4MTUwNzM0",
"avatar_url": "https://avatars.githubusercontent.com/u/28150734?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/statelesshz",
"html_url": "https://github.com/statelesshz",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26163). All of your documentation changes will be reflected on that endpoint.",
"@muellerzr sorry for bothering you. This PR is ready to be merged :D."
] | 1,694 | 1,696 | 1,695 | CONTRIBUTOR | null | # What does this PR do?
Accelerate already provides NPU support for mixed precision training using bf16. See https://github.com/huggingface/accelerate/pull/1949. This PR makes it available on Transformers 🤗
Verified on text classification example using the following script:
```
export TASK_NAME=mrpc
python ru... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26163/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26163/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26163",
"html_url": "https://github.com/huggingface/transformers/pull/26163",
"diff_url": "https://github.com/huggingface/transformers/pull/26163.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26163.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26162 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26162/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26162/comments | https://api.github.com/repos/huggingface/transformers/issues/26162/events | https://github.com/huggingface/transformers/pull/26162 | 1,896,556,334 | PR_kwDOCUB6oc5aV7Sp | 26,162 | Remove unnecessary unsqueeze - squeeze in rotary positional embedding | {
"login": "fxmarty",
"id": 9808326,
"node_id": "MDQ6VXNlcjk4MDgzMjY=",
"avatar_url": "https://avatars.githubusercontent.com/u/9808326?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fxmarty",
"html_url": "https://github.com/fxmarty",
"followers_url": "https://api.github.com/users/fxmarty/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"FYI @gante if there is anything we are missing here? ",
"There's the same unsqueeze - squeeze in falcon. Maybe I am misunderstanding something in rotary positional embedding.\r\n\r\n---\r\nEdit:\r\n\r\nThis test fails on this branc... | 1,694 | 1,697 | 1,696 | COLLABORATOR | null | As per title, removes unnecessary operations in the model initialization and forward.
Fixes https://github.com/pytorch/pytorch/issues/109292 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26162/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26162/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26162",
"html_url": "https://github.com/huggingface/transformers/pull/26162",
"diff_url": "https://github.com/huggingface/transformers/pull/26162.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26162.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26161 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26161/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26161/comments | https://api.github.com/repos/huggingface/transformers/issues/26161/events | https://github.com/huggingface/transformers/pull/26161 | 1,896,326,153 | PR_kwDOCUB6oc5aVI_S | 26,161 | Translated the accelerate.md file of the documentation to Chinese | {
"login": "liteli1987gmail",
"id": 59245973,
"node_id": "MDQ6VXNlcjU5MjQ1OTcz",
"avatar_url": "https://avatars.githubusercontent.com/u/59245973?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/liteli1987gmail",
"html_url": "https://github.com/liteli1987gmail",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26161). All of your documentation changes will be reflected on that endpoint.",
"Hi @liteli1987gmail, hope you don't mind me committing Arthur's suggestion for you so we can merge this PR! Thanks again for the translation :... | 1,694 | 1,697 | 1,697 | CONTRIBUTOR | null | What does this PR do?
🍅Add zh (Chinese) translation accelerate.md
😊Add accelerate to _toctree.yml
- issue Transformers documentation translation to Chinese (Simplified) #20095
Who can review?
Documentation: @stevhliu and @MKhalusova
Anyone in the community is free to review the PR once the tests have pas... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26161/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26161/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26161",
"html_url": "https://github.com/huggingface/transformers/pull/26161",
"diff_url": "https://github.com/huggingface/transformers/pull/26161.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26161.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26160 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26160/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26160/comments | https://api.github.com/repos/huggingface/transformers/issues/26160/events | https://github.com/huggingface/transformers/issues/26160 | 1,896,267,196 | I_kwDOCUB6oc5xBr28 | 26,160 | Trainer of AutoModelForSequenceClassification is saving the wrong score module (or trained parameters are in the wrong module) | {
"login": "koen-dejonghe",
"id": 2901242,
"node_id": "MDQ6VXNlcjI5MDEyNDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/2901242?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/koen-dejonghe",
"html_url": "https://github.com/koen-dejonghe",
"followers_url": "https://api.github.... | [
{
"id": 5616426447,
"node_id": "LA_kwDOCUB6oc8AAAABTsPdzw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/solved",
"name": "solved",
"color": "B1D6DC",
"default": false,
"description": ""
}
] | open | false | null | [] | [
"Looks interesting, I am doing something similar with 0.17.2 , I noticed that the linear layers doesn't change, did you suffer from something like that",
"I have the same issues. `Peft` splits `score` into `original_module (no grad)` and `default (grad=true)`. Every checkpoint only `default` adapter layer is save... | 1,694 | 1,708 | null | NONE | null | ### System Info
- `transformers` version: 4.33.1
- Platform: Linux-3.10.0-1160.71.1.el7.x86_64-x86_64-with-glibc2.35
- Python version: 3.10.13
- Huggingface_hub version: 0.17.1
- Safetensors version: 0.3.3
- Accelerate version: 0.22.0
- Accelerate config: - compute_environment: LOCAL_MACHINE
- dist... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26160/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/26160/timeline | reopened | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26159 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26159/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26159/comments | https://api.github.com/repos/huggingface/transformers/issues/26159/events | https://github.com/huggingface/transformers/issues/26159 | 1,895,788,365 | I_kwDOCUB6oc5w_29N | 26,159 | Bug report in resume training using Trainer and FSDP | {
"login": "Yuanhy1997",
"id": 43648608,
"node_id": "MDQ6VXNlcjQzNjQ4NjA4",
"avatar_url": "https://avatars.githubusercontent.com/u/43648608?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Yuanhy1997",
"html_url": "https://github.com/Yuanhy1997",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hey! Could you share a reproducer here? (even if it is the same) \r\n",
"Sorry, I cannot share the log because I am using the machines in a company. But I am using the 4.33.0 version transformers and the up-to-date accelerator. The training is a distributed training on 4 nodes with 8 gpus on each. I am using the... | 1,694 | 1,695 | 1,695 | NONE | null | @pacman100 I'm also running into a similar error with the latest main branch:
```
File "/home/hyen/.conda/envs/cross/lib/python3.10/site-packages/torch/distributed/fsdp/fully_sharded_data_parallel.py", line 608, in set_state_dict_type
state_dict_config_type = _state_dict_type_to_config[state_dict_type]
KeyErr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26159/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/26159/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26158 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26158/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26158/comments | https://api.github.com/repos/huggingface/transformers/issues/26158/events | https://github.com/huggingface/transformers/pull/26158 | 1,895,410,419 | PR_kwDOCUB6oc5aSEKk | 26,158 | Llama128k support | {
"login": "AndreSlavescu",
"id": 51034490,
"node_id": "MDQ6VXNlcjUxMDM0NDkw",
"avatar_url": "https://avatars.githubusercontent.com/u/51034490?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AndreSlavescu",
"html_url": "https://github.com/AndreSlavescu",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [] | 1,694 | 1,694 | 1,694 | NONE | null | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26158/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26158/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26158",
"html_url": "https://github.com/huggingface/transformers/pull/26158",
"diff_url": "https://github.com/huggingface/transformers/pull/26158.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26158.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26157 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26157/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26157/comments | https://api.github.com/repos/huggingface/transformers/issues/26157/events | https://github.com/huggingface/transformers/issues/26157 | 1,895,401,540 | I_kwDOCUB6oc5w-YhE | 26,157 | FSDP Model loading with accelerate results in crash (OOM) | {
"login": "jphme",
"id": 2862336,
"node_id": "MDQ6VXNlcjI4NjIzMzY=",
"avatar_url": "https://avatars.githubusercontent.com/u/2862336?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jphme",
"html_url": "https://github.com/jphme",
"followers_url": "https://api.github.com/users/jphme/follower... | [] | closed | false | null | [] | [
"Hello, can you share the training code? Please make sure that torch distributed process group is already initialized before loading the pretrained model. When using Trainer, make sure the object of `TrainingArguments` is created before loading the pretrained model as it initializes the torch-distributed process gr... | 1,694 | 1,694 | 1,694 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.34.0.dev0
- Platform: Linux-5.4.0-156-generic-x86_64-with-glibc2.35
- Python version: 3.9.18
- Huggingface_hub version: 0.17.1
- Safetensors version: 0.3.3
- Accelerate version: 0.23.0.dev0
- Accelerate config: https://github.com/pacman100/DHS-LLM-Workshop/blob/main/c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26157/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26157/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26156 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26156/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26156/comments | https://api.github.com/repos/huggingface/transformers/issues/26156/events | https://github.com/huggingface/transformers/issues/26156 | 1,895,397,834 | I_kwDOCUB6oc5w-XnK | 26,156 | Number of tokens mismatch for CodeLlama-34b-hf | {
"login": "irenedea",
"id": 14367635,
"node_id": "MDQ6VXNlcjE0MzY3NjM1",
"avatar_url": "https://avatars.githubusercontent.com/u/14367635?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/irenedea",
"html_url": "https://github.com/irenedea",
"followers_url": "https://api.github.com/users/ire... | [] | closed | false | null | [] | [
"cc @ArthurZucker maybe you know what is going on here?",
"Hey! This model does not support `infilling`, but the correct tokenizer was not pushed to the hub. I'll do that asap.\r\nAlso your expectation that `len(tokenizer)` == `config.vocab_size` is not necessarily correct. Some models have unused embedding (if ... | 1,694 | 1,696 | 1,696 | NONE | null | ### System Info
- huggingface_hub version: 0.16.4
- Platform: macOS-13.5-arm64-arm-64bit
- Python version: 3.11.5
- Running in iPython ?: No
- Running in notebook ?: No
- Running in Google Colab ?: No
- Token path ?: /Users/irene.dea/.cache/huggingface/token
- Has saved token ?: False
- Configured git credenti... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26156/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26156/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26155 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26155/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26155/comments | https://api.github.com/repos/huggingface/transformers/issues/26155/events | https://github.com/huggingface/transformers/pull/26155 | 1,895,362,188 | PR_kwDOCUB6oc5aR599 | 26,155 | Update docs to explain disabling callbacks using report_to | {
"login": "nebrelbug",
"id": 25597854,
"node_id": "MDQ6VXNlcjI1NTk3ODU0",
"avatar_url": "https://avatars.githubusercontent.com/u/25597854?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nebrelbug",
"html_url": "https://github.com/nebrelbug",
"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_26155). All of your documentation changes will be reflected on that endpoint.",
"@muellerzr sure! Just pushed that change."
] | 1,694 | 1,697 | 1,697 | CONTRIBUTOR | null | # What does this PR do?
Fixes #26036. I added clarification to the Callback documentation page explaining how to "turn off" default callbacks using `TrainerArguments.report_to`.
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Di... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26155/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26155/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26155",
"html_url": "https://github.com/huggingface/transformers/pull/26155",
"diff_url": "https://github.com/huggingface/transformers/pull/26155.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26155.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26154 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26154/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26154/comments | https://api.github.com/repos/huggingface/transformers/issues/26154/events | https://github.com/huggingface/transformers/issues/26154 | 1,895,352,367 | I_kwDOCUB6oc5w-Mgv | 26,154 | IdeficsProcessor: Changing `image_size` will result in `RuntimeError` | {
"login": "xhluca",
"id": 21180505,
"node_id": "MDQ6VXNlcjIxMTgwNTA1",
"avatar_url": "https://avatars.githubusercontent.com/u/21180505?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xhluca",
"html_url": "https://github.com/xhluca",
"followers_url": "https://api.github.com/users/xhluca/fo... | [] | closed | false | null | [] | [
"Could you have a look into this @leot13 ? related to what you've been working on",
"Yes this is being solved in this [PR](https://github.com/huggingface/transformers/pull/26029). \r\nYou should be allowed to interpolate the embeddings. However the model was trained with a fixed image size of 224x224, so it's not... | 1,694 | 1,694 | 1,694 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.33.0
- Platform: Linux-5.15.120+-x86_64-with-glibc2.35
- Python version: 3.10.12
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.3
- Accelerate version: 0.22.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.0 (True)
- Tensorflow version (G... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26154/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26154/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26153 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26153/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26153/comments | https://api.github.com/repos/huggingface/transformers/issues/26153/events | https://github.com/huggingface/transformers/issues/26153 | 1,895,308,925 | I_kwDOCUB6oc5w-B59 | 26,153 | BitsAndBytes | {
"login": "Shikamaru5",
"id": 86502093,
"node_id": "MDQ6VXNlcjg2NTAyMDkz",
"avatar_url": "https://avatars.githubusercontent.com/u/86502093?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Shikamaru5",
"html_url": "https://github.com/Shikamaru5",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hey 🤗 thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discuss.huggingface.co/) instead? I'm sure the community will be of help!\r\nYou can also ping @younesbelkada there. \r\nThanks!",
"Ok sounds good thanks, I just ... | 1,694 | 1,694 | 1,694 | NONE | null | I'm trying to run my model with:
bnb_config = BitsAndBytesConfig(
load_in_4bit=True,
bnb_4bit_quant_type="nf4",
bnb_4bit_compute_dtype=torch.float16,
)
Trouble is when I run it I get an error about some modules are dispatched on the CPU or the ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26153/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26153/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26152 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26152/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26152/comments | https://api.github.com/repos/huggingface/transformers/issues/26152/events | https://github.com/huggingface/transformers/pull/26152 | 1,895,222,521 | PR_kwDOCUB6oc5aRbm7 | 26,152 | refactor decay_parameters production into its own function | {
"login": "shijie-wu",
"id": 2987758,
"node_id": "MDQ6VXNlcjI5ODc3NTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2987758?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shijie-wu",
"html_url": "https://github.com/shijie-wu",
"followers_url": "https://api.github.com/users/sh... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26152). All of your documentation changes will be reflected on that endpoint.",
"Hey sorry for the late reply, I'll have look"
] | 1,694 | 1,695 | 1,695 | CONTRIBUTOR | null | # What does this PR do?
Fixes #26145
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#start-contributing-pull-requests... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26152/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26152/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26152",
"html_url": "https://github.com/huggingface/transformers/pull/26152",
"diff_url": "https://github.com/huggingface/transformers/pull/26152.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26152.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26151 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26151/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26151/comments | https://api.github.com/repos/huggingface/transformers/issues/26151/events | https://github.com/huggingface/transformers/pull/26151 | 1,895,197,203 | PR_kwDOCUB6oc5aRWGi | 26,151 | Create the return value on device to avoid unnecessary copying from CPU | {
"login": "mksit",
"id": 25057334,
"node_id": "MDQ6VXNlcjI1MDU3MzM0",
"avatar_url": "https://avatars.githubusercontent.com/u/25057334?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mksit",
"html_url": "https://github.com/mksit",
"followers_url": "https://api.github.com/users/mksit/follow... | [] | closed | false | null | [] | [
"I am sorry that I did not explain clearly. The tensor is created on `device=hidden_states.device`, but the current creation method has caused non-negligible overheads due to the data copying in my program, which can be seen in the following trace.\r\n\r\n,)` introduces an unnecessary data copy from the CPU. I have changed it to create the return tensor on the device to avoid potential performance issues.
Fixes # (issue)
## Before submitting
- [ ] This PR fixes a typo or i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26151/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/26151/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26151",
"html_url": "https://github.com/huggingface/transformers/pull/26151",
"diff_url": "https://github.com/huggingface/transformers/pull/26151.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26151.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26150 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26150/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26150/comments | https://api.github.com/repos/huggingface/transformers/issues/26150/events | https://github.com/huggingface/transformers/pull/26150 | 1,894,936,278 | PR_kwDOCUB6oc5aQctX | 26,150 | cache umt5 bias computation | {
"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... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | open | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26150). All of your documentation changes will be reflected on that endpoint.",
"This is great @ArthurZucker! My new results are:\r\n\r\n```\r\nComparing to facebook/mbart-large-50-many-to-one-mmt: (for pseed, higher is slo... | 1,694 | 1,704 | null | COLLABORATOR | null | # What does this PR do?
Should fix #26144, by caching the relative bias and only returning the one that is required for the current computation. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26150/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26150/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26150",
"html_url": "https://github.com/huggingface/transformers/pull/26150",
"diff_url": "https://github.com/huggingface/transformers/pull/26150.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26150.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26149 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26149/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26149/comments | https://api.github.com/repos/huggingface/transformers/issues/26149/events | https://github.com/huggingface/transformers/pull/26149 | 1,894,810,529 | PR_kwDOCUB6oc5aQBbd | 26,149 | [Whisper] Allow basic text normalization | {
"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._",
"Gently pinging @ArthurZucker since this one might have slipped through the net!",
"I don't agree with using one argument! See the original comment for the rationales for using two arguments: https://github.com/huggingface/transform... | 1,694 | 1,696 | 1,696 | CONTRIBUTOR | null | # What does this PR do?
Supersedes #20707. This PR adds the option of performing **basic** text normalisation, which is used for multilingual decoding. Rather than replacing English text normalisation altogether, we add it as an alternative option. The rationale for this is:
1. Users running a multilingual checkpoi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26149/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26149/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26149",
"html_url": "https://github.com/huggingface/transformers/pull/26149",
"diff_url": "https://github.com/huggingface/transformers/pull/26149.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26149.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26148 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26148/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26148/comments | https://api.github.com/repos/huggingface/transformers/issues/26148/events | https://github.com/huggingface/transformers/issues/26148 | 1,894,785,281 | I_kwDOCUB6oc5w8CEB | 26,148 | Deepspeed optimizer initalization fails (AttributeError: 'DummyOptim' object has no attribute 'step') | {
"login": "jphme",
"id": 2862336,
"node_id": "MDQ6VXNlcjI4NjIzMzY=",
"avatar_url": "https://avatars.githubusercontent.com/u/2862336?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jphme",
"html_url": "https://github.com/jphme",
"followers_url": "https://api.github.com/users/jphme/follower... | [] | closed | false | null | [] | [
"so how to solve it\r\n",
"Hello, I did the following and things work as expected:\r\n\r\n1. vim ds_config_issue_26148.json\r\n```\r\n{\r\n \"zero_optimization\": {\r\n \"stage\": 2,\r\n \"contiguous_gradients\": true,\r\n \"offload_optimizer\": {\r\n \"device\": \"cpu\",\r\n ... | 1,694 | 1,703 | 1,698 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.34.0.dev0
- Platform: Linux-5.4.0-156-generic-x86_64-with-glibc2.35
- Python version: 3.9.18
- Huggingface_hub version: 0.17.1
- Safetensors version: 0.3.3
- Accelerate version: 0.23.0.dev0
- Accelerate config: yes
- PyTorch version (GPU?): 2.0.1+cu118 (True)
- Te... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26148/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/26148/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26147 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26147/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26147/comments | https://api.github.com/repos/huggingface/transformers/issues/26147/events | https://github.com/huggingface/transformers/pull/26147 | 1,894,720,271 | PR_kwDOCUB6oc5aPtw1 | 26,147 | Generate: ignore warning when `generation_config.max_length` is set to `None` | {
"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 | [] | [] | 1,694 | 1,694 | 1,694 | MEMBER | null | # What does this PR do?
As raised and suggested by our fellow @BramVanroy, ignores the warning complaining about both `max_new_tokens` and `max_length` being set when `generation_config.max_length is None`
This tackles needless warnings when users set the generation config like (e.g.):
```
gen_config = Generati... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26147/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26147/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26147",
"html_url": "https://github.com/huggingface/transformers/pull/26147",
"diff_url": "https://github.com/huggingface/transformers/pull/26147.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26147.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26146 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26146/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26146/comments | https://api.github.com/repos/huggingface/transformers/issues/26146/events | https://github.com/huggingface/transformers/pull/26146 | 1,894,710,011 | PR_kwDOCUB6oc5aPrfA | 26,146 | [TTA Pipeline] Test MusicGen and VITS | {
"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 | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [
{
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.githu... | [
"_The documentation is not available anymore as the PR was closed or merged._",
"In order to make pipeline tests (those with tiny models) work, the tiny model should be in the file `tests/utils/tiny_model_summary.json`.\r\n\r\nSo far `MusicgenForConditionalGeneration` is on the Hub but not in this file. Same for ... | 1,694 | 1,695 | 1,694 | CONTRIBUTOR | null | # What does this PR do?
Add tiny-random pipeline tests for MusicGen and VITS | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26146/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26146/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26146",
"html_url": "https://github.com/huggingface/transformers/pull/26146",
"diff_url": "https://github.com/huggingface/transformers/pull/26146.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26146.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26145 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26145/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26145/comments | https://api.github.com/repos/huggingface/transformers/issues/26145/events | https://github.com/huggingface/transformers/issues/26145 | 1,894,642,468 | I_kwDOCUB6oc5w7fMk | 26,145 | allow easier user customizable `decay_parameters` in trainer | {
"login": "shijie-wu",
"id": 2987758,
"node_id": "MDQ6VXNlcjI5ODc3NTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2987758?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shijie-wu",
"html_url": "https://github.com/shijie-wu",
"followers_url": "https://api.github.com/users/sh... | [
{
"id": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request",
"name": "Feature request",
"color": "FBCA04",
"default": false,
"description": "Request for a new feature"
}
] | closed | false | null | [] | [
"cc @muellerzr if you think this should be done? ",
"This *feels* like it's okay to me, but I'd need to see what the full implementation will look like @shijie-wu if you want to take a stab at it :) "
] | 1,694 | 1,695 | 1,695 | CONTRIBUTOR | null | ### Feature request
allow easier user customizable `decay_parameters` in trainer
### Motivation
https://github.com/huggingface/transformers/blob/32ec7345f2d752c294ddf5aff495b657c9cd9d3b/src/transformers/trainer.py#L964-L965
Currently to modify `decay_parameters` for weight decay, user need to inherit and implemen... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26145/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26145/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26144 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26144/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26144/comments | https://api.github.com/repos/huggingface/transformers/issues/26144/events | https://github.com/huggingface/transformers/issues/26144 | 1,894,550,415 | I_kwDOCUB6oc5w7IuP | 26,144 | UMT5 incredibly slow in generating | {
"login": "BramVanroy",
"id": 2779410,
"node_id": "MDQ6VXNlcjI3Nzk0MTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2779410?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BramVanroy",
"html_url": "https://github.com/BramVanroy",
"followers_url": "https://api.github.com/users... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | open | false | null | [] | [
"Hey Thanks for reporting I'll investigate! \r\nNot sure why you would need to run 100 iterations of the `generate` method this way, but for one generation:\r\n- umt5: \r\n```python\r\n>>> start_time = time.time();model.generate(**encoded, generation_config=gen_config);print(time.time()-start_time)\r\n1.51455879211... | 1,694 | 1,704 | null | COLLABORATOR | null | ### System Info
- `transformers` version: 4.33.1
- Platform: Linux-5.14.0-284.25.1.el9_2.x86_64-x86_64-with-glibc2.34
- Python version: 3.11.4
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.1
- Accelerate version: 0.22.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu117 (Tr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26144/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26144/timeline | reopened | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26143 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26143/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26143/comments | https://api.github.com/repos/huggingface/transformers/issues/26143/events | https://github.com/huggingface/transformers/issues/26143 | 1,894,546,554 | I_kwDOCUB6oc5w7Hx6 | 26,143 | storing & logging gradient norm in trainer | {
"login": "shijie-wu",
"id": 2987758,
"node_id": "MDQ6VXNlcjI5ODc3NTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2987758?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shijie-wu",
"html_url": "https://github.com/shijie-wu",
"followers_url": "https://api.github.com/users/sh... | [
{
"id": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request",
"name": "Feature request",
"color": "FBCA04",
"default": false,
"description": "Request for a new feature"
}
] | closed | false | null | [] | [] | 1,694 | 1,708 | 1,708 | CONTRIBUTOR | null | ### Feature request
store and log gradient norm in trainer
### Motivation
Gradient norm is an important metric but currently the gradient norm is discarded during clipping.
### Your contribution
I checked and all of the following grad_norm_clip functions return the gradient norm. We can get gradient nor... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26143/reactions",
"total_count": 10,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 10,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26143/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26142 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26142/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26142/comments | https://api.github.com/repos/huggingface/transformers/issues/26142/events | https://github.com/huggingface/transformers/pull/26142 | 1,894,538,248 | PR_kwDOCUB6oc5aPF1N | 26,142 | [docs] last hidden state vs hidden_states[-1] | {
"login": "MKhalusova",
"id": 1065417,
"node_id": "MDQ6VXNlcjEwNjU0MTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/1065417?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MKhalusova",
"html_url": "https://github.com/MKhalusova",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,694 | 1,694 | 1,694 | CONTRIBUTOR | null | Intuitively one may think that `output.hidden_states[-1]` (returned when `output_hidden_states` is set to `True`) should match the `output.last_hidden_states` exactly. However, this is not always the case. Models like CLIP, ClipSeg, GroupVit, OWLViT, and X-CLIP apply `layernorm` before returning the `last_hidden_states... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26142/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26142/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26142",
"html_url": "https://github.com/huggingface/transformers/pull/26142",
"diff_url": "https://github.com/huggingface/transformers/pull/26142.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26142.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26141 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26141/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26141/comments | https://api.github.com/repos/huggingface/transformers/issues/26141/events | https://github.com/huggingface/transformers/issues/26141 | 1,894,521,838 | I_kwDOCUB6oc5w7Bvu | 26,141 | Training Loss Sudden Spike After 8 Hours of pre-training a BERT Model | {
"login": "M98M",
"id": 29666386,
"node_id": "MDQ6VXNlcjI5NjY2Mzg2",
"avatar_url": "https://avatars.githubusercontent.com/u/29666386?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/M98M",
"html_url": "https://github.com/M98M",
"followers_url": "https://api.github.com/users/M98M/followers"... | [] | closed | false | null | [] | [
"Hey 🤗 thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discuss.huggingface.co/) instead? I'm sure the community will be of help!\r\n\r\nThanks!",
"Hello, could you try a lower learning rate as you have decreased the b... | 1,694 | 1,700 | 1,698 | NONE | null | ### System Info
os: windows server 2019
gpu: A100 40Gb
RAM: 128 GB
python 3.10.11
transformers 4.31.0
pytorch 2.0.1+cu118
### Who can help?
@muellerz
@pacman100
### Information
- [x] The official example scripts
- [ ] My own modified scripts
### Tasks
- [X] An officially supported task in the `exa... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26141/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26141/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26140 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26140/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26140/comments | https://api.github.com/repos/huggingface/transformers/issues/26140/events | https://github.com/huggingface/transformers/issues/26140 | 1,894,439,872 | I_kwDOCUB6oc5w6tvA | 26,140 | Sharded Weight Files Not Uploaded by `_push_from_checkpoint` function in DeepSpeed ZeRO Stage 3 Training | {
"login": "e-mon",
"id": 2805136,
"node_id": "MDQ6VXNlcjI4MDUxMzY=",
"avatar_url": "https://avatars.githubusercontent.com/u/2805136?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/e-mon",
"html_url": "https://github.com/e-mon",
"followers_url": "https://api.github.com/users/e-mon/follower... | [
{
"id": 2659267025,
"node_id": "MDU6TGFiZWwyNjU5MjY3MDI1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/DeepSpeed",
"name": "DeepSpeed",
"color": "4D34F7",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"Yes, you are correct. Currently, the sharded weights aren't being copied to the main output directory and as such not being uploaded to the Hub. It would be great if you could submit a PR resolving it.",
"Hello @ArthurZucker, this is not limited to DeepSpeed, even when doing normal training with say DDP, if the ... | 1,694 | 1,705 | 1,705 | NONE | null | ### System Info
- `transformers` version: 4.33.1
- Platform: Linux-4.18.0-372.9.1.el8.x86_64-x86_64-with-glibc2.28
- Python version: 3.10.10
- Huggingface_hub version: 0.17.1
- Safetensors version: 0.3.3
- Accelerate version: 0.22.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu117 (False)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26140/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26140/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26139 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26139/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26139/comments | https://api.github.com/repos/huggingface/transformers/issues/26139/events | https://github.com/huggingface/transformers/pull/26139 | 1,894,274,652 | PR_kwDOCUB6oc5aOMCT | 26,139 | optimize VRAM for calculating pos_bias in LayoutLM v2, v3 | {
"login": "NormXU",
"id": 33339685,
"node_id": "MDQ6VXNlcjMzMzM5Njg1",
"avatar_url": "https://avatars.githubusercontent.com/u/33339685?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NormXU",
"html_url": "https://github.com/NormXU",
"followers_url": "https://api.github.com/users/NormXU/fo... | [] | closed | false | null | [] | [
"Hey! Thanks for opening a PR, pinging @rafaelpadilla for a review here 😉 ",
"@rafaelpadilla I've reformatted the codes. It's ready to be merged.",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26139). All of your documentation changes will be reflected on that endp... | 1,694 | 1,695 | 1,695 | CONTRIBUTOR | null | # What does this PR do?
The current implementation of calculating 1d_pos_bias/2d_pos_bias in LayoutLMv2, v3 is VRAM-consuming due to the large one-hot matrix.
Considering the idea of 1d_pos_bias/2d_pos_bias is to categorize all relative positions into several buckets, assign each position id to a specific bucket... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26139/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26139/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26139",
"html_url": "https://github.com/huggingface/transformers/pull/26139",
"diff_url": "https://github.com/huggingface/transformers/pull/26139.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26139.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26138 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26138/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26138/comments | https://api.github.com/repos/huggingface/transformers/issues/26138/events | https://github.com/huggingface/transformers/pull/26138 | 1,894,233,570 | PR_kwDOCUB6oc5aODBy | 26,138 | add japanese documentation | {
"login": "rajveer43",
"id": 64583161,
"node_id": "MDQ6VXNlcjY0NTgzMTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/64583161?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rajveer43",
"html_url": "https://github.com/rajveer43",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"cc @younesbelkada @stevhliu ",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26138). All of your documentation changes will be reflected on that endpoint.",
"@stevhliu I have added documentation for preprocessing.md as well kindly review it and added language code f... | 1,694 | 1,697 | 1,697 | CONTRIBUTOR | null | part of #18413
# 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, ple... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26138/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26138/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26138",
"html_url": "https://github.com/huggingface/transformers/pull/26138",
"diff_url": "https://github.com/huggingface/transformers/pull/26138.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26138.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26137 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26137/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26137/comments | https://api.github.com/repos/huggingface/transformers/issues/26137/events | https://github.com/huggingface/transformers/pull/26137 | 1,894,194,211 | PR_kwDOCUB6oc5aN6Vt | 26,137 | Falcon: batched 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._",
"@ArthurZucker woops, sorry, there are still tests to fix, I will ping you again when they are fixed!",
"@ArthurZucker ready now",
"> Let's be careful with padding as we have been getting a lot of issues regarding this!\r\n\r\n@Ar... | 1,694 | 1,694 | 1,694 | MEMBER | null | # What does this PR do?
This PR does three things:
1. Fixes the minimum float number added to the attention mask, in the positions the attention mask is `0`. In some numerical precisions, the numerical attention mask was getting `-inf`, which wrecked downstream computations.
2. Adds the `position_ids` input to Fal... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26137/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26137/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26137",
"html_url": "https://github.com/huggingface/transformers/pull/26137",
"diff_url": "https://github.com/huggingface/transformers/pull/26137.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26137.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26136 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26136/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26136/comments | https://api.github.com/repos/huggingface/transformers/issues/26136/events | https://github.com/huggingface/transformers/pull/26136 | 1,894,142,293 | PR_kwDOCUB6oc5aNu71 | 26,136 | [MusicGen] Add sampling rate to config | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,694 | 1,694 | 1,694 | CONTRIBUTOR | null | # What does this PR do?
Adds sampling rate attribute to the parent model config. We get the sampling rate from the EnCodec sub-model config. Adding this attribute brings consistency with the other TTA models in the lib, where the output sampling rate is accessible directly through the top-level config (https://githu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26136/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26136/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26136",
"html_url": "https://github.com/huggingface/transformers/pull/26136",
"diff_url": "https://github.com/huggingface/transformers/pull/26136.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26136.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26135 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26135/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26135/comments | https://api.github.com/repos/huggingface/transformers/issues/26135/events | https://github.com/huggingface/transformers/pull/26135 | 1,894,080,284 | PR_kwDOCUB6oc5aNhVI | 26,135 | Flex xpu bug fix | {
"login": "abhilash1910",
"id": 30946547,
"node_id": "MDQ6VXNlcjMwOTQ2NTQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/30946547?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/abhilash1910",
"html_url": "https://github.com/abhilash1910",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26135). All of your documentation changes will be reflected on that endpoint.",
"@muellerzr Could you confirm if this fix is OK and if there's anywhere else that needs to be updated?"
] | 1,694 | 1,694 | 1,694 | CONTRIBUTOR | null | # What does this PR do?
For some Flex Intel XPUs there is support for fp16 mp ; hence this exception should not be raise if fp16 is provided as mp dtype .
cc @muellerzr @amyeroberts | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26135/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26135/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26135",
"html_url": "https://github.com/huggingface/transformers/pull/26135",
"diff_url": "https://github.com/huggingface/transformers/pull/26135.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26135.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26134 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26134/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26134/comments | https://api.github.com/repos/huggingface/transformers/issues/26134/events | https://github.com/huggingface/transformers/pull/26134 | 1,894,016,772 | PR_kwDOCUB6oc5aNTt5 | 26,134 | [`RWKV`] Final fix RWMV 4bit | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks for the review, I added a test that should be applicable to other checkpoints as well, as they use the same arch"
] | 1,694 | 1,694 | 1,694 | CONTRIBUTOR | null | # What does this PR do?
Fixes https://github.com/huggingface/transformers/issues/23848
Double quantization was not working properly for RWKV models as stated in the PR above - leading to an error. This PR proposed a global fix for RWKV models so that they can be ran in 4bit bitsandbytes without any problem.
Th... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26134/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/26134/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26134",
"html_url": "https://github.com/huggingface/transformers/pull/26134",
"diff_url": "https://github.com/huggingface/transformers/pull/26134.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26134.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26133 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26133/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26133/comments | https://api.github.com/repos/huggingface/transformers/issues/26133/events | https://github.com/huggingface/transformers/issues/26133 | 1,894,015,256 | I_kwDOCUB6oc5w5GEY | 26,133 | Getting equivalence between torchvision and image transforms when normalizing without rescaling | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"@NielsRogge This is happening because the dtype of the images when calling the torch and image_transforms `normalize` aren't the same. If you cast the dtype to float32, then you'll get the equivalent behaviour: \r\n\r\n```py\r\npixel_values = normalize(np.array(image).astype(np.float32), mean=(123.675, 116.28, 103... | 1,694 | 1,694 | 1,694 | CONTRIBUTOR | null | ### System Info
Torchvision version 0.14.0
Transformers version 4.27.0.dev0
### Reproduction
Trying to have equivalent performance for the following (relevant for #26092):
```
from transformers.image_transforms import normalize
from PIL import Image
import requests
import numpy as np
import torch
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26133/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26133/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26132 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26132/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26132/comments | https://api.github.com/repos/huggingface/transformers/issues/26132/events | https://github.com/huggingface/transformers/pull/26132 | 1,893,977,604 | PR_kwDOCUB6oc5aNLQr | 26,132 | [`core`] fix 4bit `num_parameters` | {
"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,694 | 1,694 | 1,694 | CONTRIBUTOR | null | # What does this PR do?
Fixes https://github.com/huggingface/transformers/issues/25978
For 4bit models, the parameters are stored under `bnb.Param4bit` class, that uses `torch.uint8` tensors to store the 4bit weights. However, since the uint8 precision is in 8bit, half of its storage is used. To give a more concr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26132/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/26132/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26132",
"html_url": "https://github.com/huggingface/transformers/pull/26132",
"diff_url": "https://github.com/huggingface/transformers/pull/26132.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26132.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26131 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26131/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26131/comments | https://api.github.com/repos/huggingface/transformers/issues/26131/events | https://github.com/huggingface/transformers/issues/26131 | 1,893,965,086 | I_kwDOCUB6oc5w450e | 26,131 | The "padding" parameter of tokenizer doesn't seem to work | {
"login": "a815063199",
"id": 37767445,
"node_id": "MDQ6VXNlcjM3NzY3NDQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/37767445?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/a815063199",
"html_url": "https://github.com/a815063199",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi @a815063199, thanks for raising this issue! \r\n\r\nYou need to pass `padding=\"max_length\"` to pad to the max length specified. With `padding=True` the tokenizer pads to the max sequence length in the batch. There's more information in the docs here: https://huggingface.co/docs/transformers/pad_truncation",
... | 1,694 | 1,694 | 1,694 | NONE | null | ### System Info
- `transformers` version: 4.33.0
- Platform: Linux-4.15.0-206-generic-x86_64-with-glibc2.35
- Python version: 3.10.6
- Huggingface_hub version: 0.16.4
- Safetensors version: 0.3.3
- Accelerate version: not installed
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu117 (True)
-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26131/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26131/timeline | completed | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.