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/26831 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26831/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26831/comments | https://api.github.com/repos/huggingface/transformers/issues/26831/events | https://github.com/huggingface/transformers/pull/26831 | 1,944,858,788 | PR_kwDOCUB6oc5c4XGM | 26,831 | Support custom scheduler in deepspeed training | {
"login": "VeryLazyBoy",
"id": 18899212,
"node_id": "MDQ6VXNlcjE4ODk5MjEy",
"avatar_url": "https://avatars.githubusercontent.com/u/18899212?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/VeryLazyBoy",
"html_url": "https://github.com/VeryLazyBoy",
"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_26831). All of your documentation changes will be reflected on that endpoint.",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please... | 1,697 | 1,707 | 1,707 | CONTRIBUTOR | null | # What does this PR do?
PR https://github.com/huggingface/transformers/pull/25863 adds support for using HF built-in scheduler with deepspeed optimizer. This PR goes a step further by enabling users to use custom schedulers with deepspeed optimizer. It achieves this by utilizing the `trainer.create_scheduler` functi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26831/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26831/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26831",
"html_url": "https://github.com/huggingface/transformers/pull/26831",
"diff_url": "https://github.com/huggingface/transformers/pull/26831.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26831.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26830 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26830/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26830/comments | https://api.github.com/repos/huggingface/transformers/issues/26830/events | https://github.com/huggingface/transformers/issues/26830 | 1,944,686,359 | I_kwDOCUB6oc5z6Y8X | 26,830 | Possible error in text classification example code for multi-label classification | {
"login": "subhalingamd",
"id": 48081462,
"node_id": "MDQ6VXNlcjQ4MDgxNDYy",
"avatar_url": "https://avatars.githubusercontent.com/u/48081462?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/subhalingamd",
"html_url": "https://github.com/subhalingamd",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"True yes, this seems to be a good point - cc @ranchlai who added this script",
"Indeed. This will cause higher precision and lower recall in multi-label classification. Thanks @subhalingamd for pointing out. I can give a quick fix. what do you think? @younesbelkada ",
"That would be great @ranchlai ! Thanks a ... | 1,697 | 1,698 | 1,698 | NONE | null | ### System Info
N/A *(system config independent)*
### Who can help?
@ArthurZucker and @younesbelkada
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [X] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26830/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26830/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26829 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26829/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26829/comments | https://api.github.com/repos/huggingface/transformers/issues/26829/events | https://github.com/huggingface/transformers/issues/26829 | 1,944,646,282 | I_kwDOCUB6oc5z6PKK | 26,829 | use_safetensors doesn't work for Falcon models? | {
"login": "RonanKMcGovern",
"id": 78278410,
"node_id": "MDQ6VXNlcjc4Mjc4NDEw",
"avatar_url": "https://avatars.githubusercontent.com/u/78278410?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/RonanKMcGovern",
"html_url": "https://github.com/RonanKMcGovern",
"followers_url": "https://api.gi... | [] | closed | false | {
"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... | [
{
"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"... | [
"Hi @RonanKMcGovern \r\nThanks for the issue\r\nI tried to reproduce but the `Trelis/falcon-7b-chat-llama-style-adapters` does not exists on the Hub (or it is private), would it be possible to make that repo public or push random weights on the Hub? 🙏 ",
"Thanks! Public now @younesbelkada ",
"OK thanks! WIll t... | 1,697 | 1,700 | 1,700 | NONE | null | ### System Info
System Information
Operating System: Linux
OS Version: 5.4.0-155-generic
Machine: x86_64
Processor: x86_64
Python Environment
Python Version: 3.10.6 (main, May 29 2023, 11:10:38) [GCC 11.3.0]
Executable: /usr/bin/python
CUDA & Hardware Information
CUDA Available: True
CUDA Version: 11.8
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26829/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26829/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26828 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26828/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26828/comments | https://api.github.com/repos/huggingface/transformers/issues/26828/events | https://github.com/huggingface/transformers/pull/26828 | 1,944,498,357 | PR_kwDOCUB6oc5c3I_9 | 26,828 | Added Telugu [te] translations | {
"login": "hakunamatata1997",
"id": 24734119,
"node_id": "MDQ6VXNlcjI0NzM0MTE5",
"avatar_url": "https://avatars.githubusercontent.com/u/24734119?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hakunamatata1997",
"html_url": "https://github.com/hakunamatata1997",
"followers_url": "https://... | [] | closed | false | null | [] | [
"Hey! feel free to ping @stevhliu for a review once this is ready! ",
"@stevhliu It's ready for initial PR",
"@stevhliu Done!",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26828). All of your documentation changes will be reflected on that endpoint."
] | 1,697 | 1,698 | 1,697 | 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/26828/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26828/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26828",
"html_url": "https://github.com/huggingface/transformers/pull/26828",
"diff_url": "https://github.com/huggingface/transformers/pull/26828.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26828.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26827 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26827/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26827/comments | https://api.github.com/repos/huggingface/transformers/issues/26827/events | https://github.com/huggingface/transformers/issues/26827 | 1,944,336,867 | I_kwDOCUB6oc5z5Dnj | 26,827 | Scheduler num_warmup_steps and num_training_steps | {
"login": "KwangryeolPark",
"id": 48284967,
"node_id": "MDQ6VXNlcjQ4Mjg0OTY3",
"avatar_url": "https://avatars.githubusercontent.com/u/48284967?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/KwangryeolPark",
"html_url": "https://github.com/KwangryeolPark",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"Hey! Thanks for reporting, it would be great if you can isolate the bug by creating a very small reproducer with a dummy model for example! This way we can be sure that indeed the problem is from the lr scheduler on multi GPU and not the custom training loop / dataset / model 🤗 ",
"> Hey! Thanks for reporting, ... | 1,697 | 1,700 | 1,700 | NONE | null | ### System Info
transformers: 4.34.0
Ubuntu
torch:2.1
2 * RTX3090 GPUs
t5-small, translation on wmt14 en -> de task
metric: bleu every 1,000 training iteration.
### Who can help?
@ArthurZucker
I'm runing run_translation_no_trainer.py code and using 2 GPUs with accelerate package provided in the code.
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26827/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26827/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26826 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26826/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26826/comments | https://api.github.com/repos/huggingface/transformers/issues/26826/events | https://github.com/huggingface/transformers/issues/26826 | 1,944,311,180 | I_kwDOCUB6oc5z49WM | 26,826 | Pipelines should yield results incrementally even when their input is a list | {
"login": "uyhcire",
"id": 27897696,
"node_id": "MDQ6VXNlcjI3ODk3Njk2",
"avatar_url": "https://avatars.githubusercontent.com/u/27897696?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/uyhcire",
"html_url": "https://github.com/uyhcire",
"followers_url": "https://api.github.com/users/uyhcir... | [] | closed | false | null | [] | [
"Makes sense to me, however this changes the default behaviour, and does not take into account batching, which is what's recommended if you are running with a lot of inputs. \r\nAlso depending on the pipeline this might already be implemented ! \r\nI am not sure how @Narsil feels about it ? (he is off for now but t... | 1,697 | 1,700 | 1,700 | NONE | null | ### System Info
- `transformers` version: 4.34.0
- Platform: Linux-5.15.120+-x86_64-with-glibc2.35
- Python version: 3.10.12
- Huggingface_hub version: 0.17.3
- Safetensors version: 0.4.0
- Accelerate version: not installed
- Accelerate config: not found
- PyTorch version (GPU?): 2.0.1+cu118 (False)
- Tensor... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26826/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26826/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26825 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26825/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26825/comments | https://api.github.com/repos/huggingface/transformers/issues/26825/events | https://github.com/huggingface/transformers/issues/26825 | 1,944,079,616 | I_kwDOCUB6oc5z4E0A | 26,825 | RuntimeError: Failed to import transformers.data.data_collator | {
"login": "Soumyajyotidutta",
"id": 47978486,
"node_id": "MDQ6VXNlcjQ3OTc4NDg2",
"avatar_url": "https://avatars.githubusercontent.com/u/47978486?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Soumyajyotidutta",
"html_url": "https://github.com/Soumyajyotidutta",
"followers_url": "https://... | [] | closed | false | null | [] | [] | 1,697 | 1,697 | 1,697 | NONE | null | ### System Info

### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26825/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26825/timeline | not_planned | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26824 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26824/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26824/comments | https://api.github.com/repos/huggingface/transformers/issues/26824/events | https://github.com/huggingface/transformers/pull/26824 | 1,944,017,497 | PR_kwDOCUB6oc5c1h9o | 26,824 | adding smaller or equal rather than greater | {
"login": "MostHumble",
"id": 56939432,
"node_id": "MDQ6VXNlcjU2OTM5NDMy",
"avatar_url": "https://avatars.githubusercontent.com/u/56939432?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MostHumble",
"html_url": "https://github.com/MostHumble",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"`num_beam_groups` has to be smaller than `num_beams`, thus if `num_beam_groups > num_beams` the error should be thrown -- I believe the original code is correct :)"
] | 1,697 | 1,698 | 1,698 | NONE | null | according to description : "`num_beam_groups` has to be an integer smaller or equal than `num_beams` and `num_beams` has to be"
f" divisible by `num_beam_groups`, but is {num_beam_groups} with `num_beams` being {num_beams}."
## Before submitting
- [ X] This PR fixes a typo or improves the... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26824/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26824/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26824",
"html_url": "https://github.com/huggingface/transformers/pull/26824",
"diff_url": "https://github.com/huggingface/transformers/pull/26824.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26824.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26823 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26823/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26823/comments | https://api.github.com/repos/huggingface/transformers/issues/26823/events | https://github.com/huggingface/transformers/issues/26823 | 1,943,986,864 | I_kwDOCUB6oc5z3uKw | 26,823 | Segmentation fault when initializing training arguments with imported tensorflow | {
"login": "zeionara",
"id": 22661961,
"node_id": "MDQ6VXNlcjIyNjYxOTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/22661961?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zeionara",
"html_url": "https://github.com/zeionara",
"followers_url": "https://api.github.com/users/zei... | [] | closed | false | null | [] | [
"cc @Rocketknight1 as this might be a TF issue ",
"Hi @zeionara, I ran that code here on TF 2.14 and did not get a segfault. Can you try replacing `TrainingArguments` with `TFTrainingArguments` to see if the issue persists? The `TrainingArguments` class is usually used for Torch examples, and might do some torch ... | 1,697 | 1,702 | 1,702 | NONE | null | ### System Info
- `transformers` version: 4.34.0
- Platform: Linux-6.2.0-33-generic-x86_64-with-glibc2.35
- Python version: 3.11.5
- Huggingface_hub version: 0.17.3
- Safetensors version: 0.3.2
- Accelerate version: 0.23.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.1.0 (True)
- Tensorflow ve... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26823/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26823/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26822 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26822/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26822/comments | https://api.github.com/repos/huggingface/transformers/issues/26822/events | https://github.com/huggingface/transformers/pull/26822 | 1,943,972,084 | PR_kwDOCUB6oc5c1ZA_ | 26,822 | [OWL-ViT, OWLv2] Add resources | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,697 | 1,697 | 1,697 | CONTRIBUTOR | null | # What does this PR do?
This PR improves the docs of OWL-ViT and OWLv2 by including a figure as well as a link to demo notebooks. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26822/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26822/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26822",
"html_url": "https://github.com/huggingface/transformers/pull/26822",
"diff_url": "https://github.com/huggingface/transformers/pull/26822.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26822.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26821 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26821/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26821/comments | https://api.github.com/repos/huggingface/transformers/issues/26821/events | https://github.com/huggingface/transformers/pull/26821 | 1,943,933,852 | PR_kwDOCUB6oc5c1Rje | 26,821 | [docstring] Fix docstrings for `CodeGenConfig`, `CodeGenTokenizer`, `CodeGenTokenizerFast` | {
"login": "daniilgaltsev",
"id": 75201860,
"node_id": "MDQ6VXNlcjc1MjAxODYw",
"avatar_url": "https://avatars.githubusercontent.com/u/75201860?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/daniilgaltsev",
"html_url": "https://github.com/daniilgaltsev",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"@ydshieh Hi, can you review this?",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26821). All of your documentation changes will be reflected on that endpoint."
] | 1,697 | 1,698 | 1,697 | CONTRIBUTOR | null | # What does this PR do?
Fixes the docstrings for CodeGen following #26638
## 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... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26821/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26821/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26821",
"html_url": "https://github.com/huggingface/transformers/pull/26821",
"diff_url": "https://github.com/huggingface/transformers/pull/26821.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26821.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26820 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26820/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26820/comments | https://api.github.com/repos/huggingface/transformers/issues/26820/events | https://github.com/huggingface/transformers/pull/26820 | 1,943,916,390 | PR_kwDOCUB6oc5c1OFL | 26,820 | [docstring] Fix bert generation tokenizer | {
"login": "przemL",
"id": 24912415,
"node_id": "MDQ6VXNlcjI0OTEyNDE1",
"avatar_url": "https://avatars.githubusercontent.com/u/24912415?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/przemL",
"html_url": "https://github.com/przemL",
"followers_url": "https://api.github.com/users/przemL/fo... | [] | closed | false | null | [] | [
"@ydshieh Could you please review the PR?\r\nThank you.",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26820). All of your documentation changes will be reflected on that endpoint."
] | 1,697 | 1,697 | 1,697 | CONTRIBUTOR | null | # What does this PR do?
Fix docstring for bert generation tokenizer.
## 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#st... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26820/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26820/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26820",
"html_url": "https://github.com/huggingface/transformers/pull/26820",
"diff_url": "https://github.com/huggingface/transformers/pull/26820.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26820.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26819 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26819/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26819/comments | https://api.github.com/repos/huggingface/transformers/issues/26819/events | https://github.com/huggingface/transformers/pull/26819 | 1,943,902,671 | PR_kwDOCUB6oc5c1LXS | 26,819 | [docstring] Fix docstring for bert generation tokenizer | {
"login": "przemL",
"id": 24912415,
"node_id": "MDQ6VXNlcjI0OTEyNDE1",
"avatar_url": "https://avatars.githubusercontent.com/u/24912415?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/przemL",
"html_url": "https://github.com/przemL",
"followers_url": "https://api.github.com/users/przemL/fo... | [] | closed | false | null | [] | [] | 1,697 | 1,697 | 1,697 | CONTRIBUTOR | null | # What does this PR do?
It fixes docstring for bert generation tokenizer.
## 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.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26819/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26819/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26819",
"html_url": "https://github.com/huggingface/transformers/pull/26819",
"diff_url": "https://github.com/huggingface/transformers/pull/26819.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26819.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26818 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26818/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26818/comments | https://api.github.com/repos/huggingface/transformers/issues/26818/events | https://github.com/huggingface/transformers/issues/26818 | 1,943,817,421 | I_kwDOCUB6oc5z3EzN | 26,818 | Distributed predictions are generated repeatedly | {
"login": "Sakurakdx",
"id": 48399040,
"node_id": "MDQ6VXNlcjQ4Mzk5MDQw",
"avatar_url": "https://avatars.githubusercontent.com/u/48399040?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Sakurakdx",
"html_url": "https://github.com/Sakurakdx",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"cc @SunMarc if you have some time have a look! ",
"Hi @Sakurakdx, were you able to fix the issue ? If not, could you provide a minimal reproducer ? It will help me a lot to debug the issue I see that you are using your own trainer. Does this issue also happen on HF Trainer ? Thanks. ",
"@SunMarc, I didn't actu... | 1,697 | 1,708 | 1,708 | NONE | null | ### System Info
- `transformers` version: 4.35.0.dev0
- Platform: Linux-5.4.143.bsk.8-amd64-x86_64-with-glibc2.28
- Python version: 3.10.13
- Huggingface_hub version: 0.17.3
- Safetensors version: 0.4.0
- Accelerate version: 0.23.0
- Accelerate config: - compute_environment: LOCAL_MACHINE
- distribut... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26818/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26818/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26817 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26817/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26817/comments | https://api.github.com/repos/huggingface/transformers/issues/26817/events | https://github.com/huggingface/transformers/issues/26817 | 1,943,812,394 | I_kwDOCUB6oc5z3Dkq | 26,817 | Possible bug for DPRContextEncoderTokenizer | {
"login": "Hannibal046",
"id": 38466901,
"node_id": "MDQ6VXNlcjM4NDY2OTAx",
"avatar_url": "https://avatars.githubusercontent.com/u/38466901?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Hannibal046",
"html_url": "https://github.com/Hannibal046",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"@lhoestq Could you please check this?",
"Also, I found another mismatched point where original DPR would pad to `max length`(256) and insert an `[SEP]` token at the end:\r\nhttps://github.com/facebookresearch/DPR/blob/a31212dc0a54dfa85d8bfa01e1669f149ac832b7/dpr/models/hf_models.py#L310-L315",
"Hello, would yo... | 1,697 | 1,700 | 1,700 | NONE | null | ### System Info
- `transformers` version: 4.34.0
- Platform: Linux-4.15.0-213-generic-x86_64-with-glibc2.27
- Python version: 3.9.18
- Huggingface_hub version: 0.17.3
- Safetensors version: 0.4.0
- Accelerate version: 0.23.0
- Accelerate config: - compute_environment: LOCAL_MACHINE
- distributed_type... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26817/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/26817/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26816 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26816/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26816/comments | https://api.github.com/repos/huggingface/transformers/issues/26816/events | https://github.com/huggingface/transformers/issues/26816 | 1,943,801,770 | I_kwDOCUB6oc5z3A-q | 26,816 | problem on finetuning llama and baichuan with new version transformers | {
"login": "gxy-gxy",
"id": 57594446,
"node_id": "MDQ6VXNlcjU3NTk0NDQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/57594446?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gxy-gxy",
"html_url": "https://github.com/gxy-gxy",
"followers_url": "https://api.github.com/users/gxy-gx... | [] | closed | false | null | [] | [
"I also observed this phenomenon when I tried to fine-tune baichuan model.\r\nhere is the loss curve trained with transformers 4.32:\r\n\r\n\r\nthis is the loss curve trained with transformers 4.28:\r\n![image]... | 1,697 | 1,703 | 1,703 | NONE | null | When I tried to finetune llama model with sharegpt dataset, I got these loss curves:

the green loss curve is trained with transformers 4.33.2 version and the orange loss curve is trained with transformers 4.28.1... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26816/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26816/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26815 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26815/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26815/comments | https://api.github.com/repos/huggingface/transformers/issues/26815/events | https://github.com/huggingface/transformers/issues/26815 | 1,943,797,624 | I_kwDOCUB6oc5z2_94 | 26,815 | Trainer for devided model | {
"login": "yeonju7kim",
"id": 95571735,
"node_id": "U_kgDOBbJPFw",
"avatar_url": "https://avatars.githubusercontent.com/u/95571735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yeonju7kim",
"html_url": "https://github.com/yeonju7kim",
"followers_url": "https://api.github.com/users/yeonj... | [] | closed | false | null | [] | [
"cc @muellerzr ",
"No, you cannot use the big model inference API to do training in this way (hence training in the name). You can use methods like DeepSpeed or FSDP to split the work between multiple GPUs or perform offloading during training, which the trainer already supports.",
"This issue has been automati... | 1,697 | 1,702 | 1,702 | NONE | null | ### Feature request
Trainer class settings for divided model.
If I use trainer.predict, it loads the model on the device in the code of the trainer package.
It's hard to separately load the model manually.
I think it'll be better to implement to avoid loading the model twice.
### Motivation
https://huggingfac... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26815/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26815/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26814 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26814/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26814/comments | https://api.github.com/repos/huggingface/transformers/issues/26814/events | https://github.com/huggingface/transformers/issues/26814 | 1,943,680,181 | I_kwDOCUB6oc5z2jS1 | 26,814 | Loading tokenized dataset stucks for multi-gpu but works for multi-node single-gpu on some computing nodes | {
"login": "BiEchi",
"id": 60613238,
"node_id": "MDQ6VXNlcjYwNjEzMjM4",
"avatar_url": "https://avatars.githubusercontent.com/u/60613238?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BiEchi",
"html_url": "https://github.com/BiEchi",
"followers_url": "https://api.github.com/users/BiEchi/fo... | [] | closed | false | null | [] | [
"Hey! Thanks for reporting. \r\nI am not really sure we can debug this for you, but if you are looking for tips on how to debug this I would recommend you to ask this on [the forum](https://discuss.huggingface.co/)! 🤗 ",
"I've solved it by prepending a NCCL environment varaible to disable the p2p communication. ... | 1,697 | 1,697 | 1,697 | NONE | null | ### System Info
[2023-10-14 20:15:10,690] [INFO] [real_accelerator.py:158:get_accelerator] Setting ds_accelerator to cuda (auto detect)
Copy-and-paste the text below in your GitHub issue and FILL OUT the two last points.
- `transformers` version: 4.32.0.dev0
- Platform: Linux-3.10.0-1160.31.1.el7.x86_64-x86_6... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26814/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/26814/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26813 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26813/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26813/comments | https://api.github.com/repos/huggingface/transformers/issues/26813/events | https://github.com/huggingface/transformers/issues/26813 | 1,943,632,517 | I_kwDOCUB6oc5z2XqF | 26,813 | Port Jax weights to PyTorch | {
"login": "jxiw",
"id": 16102460,
"node_id": "MDQ6VXNlcjE2MTAyNDYw",
"avatar_url": "https://avatars.githubusercontent.com/u/16102460?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jxiw",
"html_url": "https://github.com/jxiw",
"followers_url": "https://api.github.com/users/jxiw/followers"... | [] | closed | false | null | [] | [
"Hey! This is most probably because the weights for this are shared with the embedding layer. Would recommend you to dive in the code and check for `tied_weigth_keys` or if the config has `tie_word_embedding` attribute 😉 \r\nSome [info on the forum](https://discuss.huggingface.co/t/what-is-the-tie-word-embeddings... | 1,697 | 1,702 | 1,697 | NONE | null | I have a question when convert JAX weights to torch weights.
I follow this to convert the weights.
https://github.com/huggingface/transformers/blob/main/src/transformers/modeling_flax_pytorch_utils.py#L331-L441
However, there are two parameters that i cannot find in JAX weights [‘cls.predictions.decoder.bias’, ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26813/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26813/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26812 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26812/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26812/comments | https://api.github.com/repos/huggingface/transformers/issues/26812/events | https://github.com/huggingface/transformers/pull/26812 | 1,943,631,286 | PR_kwDOCUB6oc5c0TUc | 26,812 | Add PvT-v2 Model | {
"login": "FoamoftheSea",
"id": 50897218,
"node_id": "MDQ6VXNlcjUwODk3MjE4",
"avatar_url": "https://avatars.githubusercontent.com/u/50897218?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/FoamoftheSea",
"html_url": "https://github.com/FoamoftheSea",
"followers_url": "https://api.github.c... | [] | open | false | null | [] | [
"FYI @rafaelpadilla ",
"@FoamoftheSea - awesome work! Let us know when you're ready for review. \r\n\r\nFor the code quality checks, running `make fixup` and pushing the changes should resolve them. ",
"@amyeroberts - Thanks! Let me try that and do one final sweep over things, then I will get back to you short... | 1,697 | 1,708 | null | CONTRIBUTOR | null | ## Description
- **Motivation** - The PvT is a useful backbone for computer vision tasks, but only the outdated v1 is available in Hugging Face.
- **What this PR Does** - Full integration of PvT-v2 model (works with AutoModel and AutoBackbone).
- **Notes** - Like the original implementation, the config allows for us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26812/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26812/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26812",
"html_url": "https://github.com/huggingface/transformers/pull/26812",
"diff_url": "https://github.com/huggingface/transformers/pull/26812.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26812.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26811 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26811/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26811/comments | https://api.github.com/repos/huggingface/transformers/issues/26811/events | https://github.com/huggingface/transformers/pull/26811 | 1,943,543,850 | PR_kwDOCUB6oc5c0BdT | 26,811 | Add function that can get models by prefix | {
"login": "Ujcgjlm",
"id": 48871356,
"node_id": "MDQ6VXNlcjQ4ODcxMzU2",
"avatar_url": "https://avatars.githubusercontent.com/u/48871356?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Ujcgjlm",
"html_url": "https://github.com/Ujcgjlm",
"followers_url": "https://api.github.com/users/Ujcgjl... | [] | closed | false | null | [] | [
"Hey! Feel free to ping me or @ydshieh for a review when this is ready! ",
"> Hey! Feel free to ping me or @ydshieh for a review when this is ready!\r\n\r\nI apologize for not responding. It's done",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this sti... | 1,697 | 1,701 | 1,701 | NONE | null | A useful feature has been added:
A function can retrieve models with a matching prefix in a particular module
Reduced cyclomatic complexity of the existing function: get_all_auto_configured_models | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26811/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26811/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26811",
"html_url": "https://github.com/huggingface/transformers/pull/26811",
"diff_url": "https://github.com/huggingface/transformers/pull/26811.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26811.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26810 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26810/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26810/comments | https://api.github.com/repos/huggingface/transformers/issues/26810/events | https://github.com/huggingface/transformers/pull/26810 | 1,943,470,884 | PR_kwDOCUB6oc5czzfS | 26,810 | Fixed typos | {
"login": "Zhreyu",
"id": 96978606,
"node_id": "U_kgDOBcfGrg",
"avatar_url": "https://avatars.githubusercontent.com/u/96978606?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Zhreyu",
"html_url": "https://github.com/Zhreyu",
"followers_url": "https://api.github.com/users/Zhreyu/followers"... | [] | closed | false | null | [] | [] | 1,697 | 1,697 | 1,697 | CONTRIBUTOR | null | e.g. > e.g.,
image image > image
Numpy > NumPy
cropping image image files > cropping image files
Log-Mel Spectrogram features, feature extraction from > generate Log-Mel Spectrogram features, feature extraction from | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26810/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26810/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26810",
"html_url": "https://github.com/huggingface/transformers/pull/26810",
"diff_url": "https://github.com/huggingface/transformers/pull/26810.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26810.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26809 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26809/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26809/comments | https://api.github.com/repos/huggingface/transformers/issues/26809/events | https://github.com/huggingface/transformers/issues/26809 | 1,943,428,097 | I_kwDOCUB6oc5z1lwB | 26,809 | Add Mistral Models to Flax | {
"login": "kiansierra",
"id": 47116198,
"node_id": "MDQ6VXNlcjQ3MTE2MTk4",
"avatar_url": "https://avatars.githubusercontent.com/u/47116198?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kiansierra",
"html_url": "https://github.com/kiansierra",
"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"
}
] | closed | false | null | [] | [
"I think this could be interesting! Feel free to open a PR and ping @sanchit-gandhi 😉 ",
"Hey @kiansierra - there's already a PR for Flax LLaMA that is pretty much ready to be merged: https://github.com/huggingface/transformers/pull/24587 Feel free to check it out!\r\n\r\nBut we'd love contributions for other LL... | 1,697 | 1,701 | 1,701 | CONTRIBUTOR | null | ### Feature request
I would like to implement the ~~Llama~~ Mistral model in flax
### Motivation
I've been trying to get familiar with jax and as such I started migrating the llama model, and I think I am at a point where both models are quite comparable in outcome
### Your contribution
Yes I could submi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26809/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26809/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26808 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26808/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26808/comments | https://api.github.com/repos/huggingface/transformers/issues/26808/events | https://github.com/huggingface/transformers/pull/26808 | 1,943,388,911 | PR_kwDOCUB6oc5czkEP | 26,808 | Update activations.py | {
"login": "sheetalneeraj",
"id": 42382485,
"node_id": "MDQ6VXNlcjQyMzgyNDg1",
"avatar_url": "https://avatars.githubusercontent.com/u/42382485?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sheetalneeraj",
"html_url": "https://github.com/sheetalneeraj",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [] | 1,697 | 1,697 | 1,697 | NONE | null |
# What does this PR do?
Code Simplification by removing redundant checks and using more concise syntax.
Avoiding Redundant Instantiations by directly using the classes rather than instantiating them in separate variables.
Consistent Variable Naming
<!--
Congratulations! You've made it this far! You're not... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26808/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26808/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26808",
"html_url": "https://github.com/huggingface/transformers/pull/26808",
"diff_url": "https://github.com/huggingface/transformers/pull/26808.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26808.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26807 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26807/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26807/comments | https://api.github.com/repos/huggingface/transformers/issues/26807/events | https://github.com/huggingface/transformers/issues/26807 | 1,943,280,315 | I_kwDOCUB6oc5z1Bq7 | 26,807 | Getting error "TypeError: 'NoneType' object is not callable" while using pretrained model checkpoints in TFAutoModelForQuestionAnswering | {
"login": "pksX01",
"id": 26363494,
"node_id": "MDQ6VXNlcjI2MzYzNDk0",
"avatar_url": "https://avatars.githubusercontent.com/u/26363494?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pksX01",
"html_url": "https://github.com/pksX01",
"followers_url": "https://api.github.com/users/pksX01/fo... | [] | closed | false | null | [] | [
"Hey! As you mention that this works on colab, I would recommend you to make sure your mac install of tensorflow is compatible. Running this on my M1 works as expected. I used `pip install tensforflow-macos tensorflow-metal` ",
"This issue has been automatically marked as stale because it has not had recent activ... | 1,697 | 1,700 | 1,700 | NONE | null | ### System Info
- `transformers` version: 4.34.0
- Platform: macOS-14.0-arm64-arm-64bit
- Python version: 3.10.12
- Huggingface_hub version: 0.17.3
- Safetensors version: 0.4.0
- Accelerate version: not installed
- Accelerate config: not found
- PyTorch version (GPU?): 2.1.0 (False)
- Tensorflow version (GPU... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26807/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26807/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26806 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26806/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26806/comments | https://api.github.com/repos/huggingface/transformers/issues/26806/events | https://github.com/huggingface/transformers/issues/26806 | 1,943,250,045 | I_kwDOCUB6oc5z06R9 | 26,806 | BLIP2 inference error: Expected all tensors to be on the same device, but found at least two devices, cuda:7 and cuda:2 | {
"login": "YongLD",
"id": 33275244,
"node_id": "MDQ6VXNlcjMzMjc1MjQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/33275244?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/YongLD",
"html_url": "https://github.com/YongLD",
"followers_url": "https://api.github.com/users/YongLD/fo... | [] | closed | false | null | [] | [
"pinging @SunMarc and @younesbelkada as well! ",
"Hi @YongLD, please make sure to have the latest version of transformers. We fixed a similar issue to this one in the [past](https://github.com/huggingface/transformers/pull/25735). On my side, I'm able to run on 2 GPUs. LMK how it goes. If it doesn't work, please ... | 1,697 | 1,700 | 1,700 | NONE | null | ### System Info
**Describe the bug**
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:7 and cuda:2.
**Screenshots**
```shell
Traceback (most recent call last):
File "/home/cike/ldy/ner/test-blip2-1.py", line 18, in <module>
out = model.generate(**inputs)
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26806/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/26806/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26805 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26805/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26805/comments | https://api.github.com/repos/huggingface/transformers/issues/26805/events | https://github.com/huggingface/transformers/pull/26805 | 1,943,221,589 | PR_kwDOCUB6oc5czH6v | 26,805 | Added Typing | {
"login": "Siddhesh-Agarwal",
"id": 68057995,
"node_id": "MDQ6VXNlcjY4MDU3OTk1",
"avatar_url": "https://avatars.githubusercontent.com/u/68057995?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Siddhesh-Agarwal",
"html_url": "https://github.com/Siddhesh-Agarwal",
"followers_url": "https://... | [] | closed | false | null | [] | [
"Thanks for the review. I'll do the necessary changes.",
"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://githu... | 1,697 | 1,701 | 1,701 | NONE | null | # What does this PR do?
- Added Typing
- Fixes #26745
## 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-contribut... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26805/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26805/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26805",
"html_url": "https://github.com/huggingface/transformers/pull/26805",
"diff_url": "https://github.com/huggingface/transformers/pull/26805.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26805.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26804 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26804/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26804/comments | https://api.github.com/repos/huggingface/transformers/issues/26804/events | https://github.com/huggingface/transformers/issues/26804 | 1,943,184,140 | I_kwDOCUB6oc5z0qMM | 26,804 | transformers.onnx support mistral | {
"login": "xiaoyaolangzhi",
"id": 15037766,
"node_id": "MDQ6VXNlcjE1MDM3NzY2",
"avatar_url": "https://avatars.githubusercontent.com/u/15037766?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xiaoyaolangzhi",
"html_url": "https://github.com/xiaoyaolangzhi",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"Hey! I think you should ask this on the Optimum repo where the onnx conversio should already be supported no @fxmarty ",
"Thank you @xiaoyaolangzhi. As indicated in the documentation (https://huggingface.co/docs/transformers/v4.34.0/en/serialization#export-to-onnx), the ONNX export through transformers.onnx has ... | 1,697 | 1,707 | 1,697 | NONE | null | ### Feature request
mistral is not supported yet
### Motivation
*
### Your contribution
* | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26804/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/26804/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26803 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26803/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26803/comments | https://api.github.com/repos/huggingface/transformers/issues/26803/events | https://github.com/huggingface/transformers/issues/26803 | 1,943,109,278 | I_kwDOCUB6oc5z0X6e | 26,803 | [i18n-zh] Translating docs to Chinese (Simplified) | {
"login": "jiaqiw09",
"id": 60021713,
"node_id": "MDQ6VXNlcjYwMDIxNzEz",
"avatar_url": "https://avatars.githubusercontent.com/u/60021713?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jiaqiw09",
"html_url": "https://github.com/jiaqiw09",
"followers_url": "https://api.github.com/users/jia... | [
{
"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 | [] | [
"**Here is a simple summary of finished works**\r\n\r\n- _it's just a simple summary, thansk all contributors translating these docs. You can check the file to see who did the work._\r\n- _I list those files for everyone who want to do translation work. It may not follow PRs in time. So just double check before sta... | 1,697 | 1,699 | null | CONTRIBUTOR | null | <!--
Note: Please search to see if an issue already exists for the language you are trying to translate.
-->
Hi!
Let's bring the documentation to all the <languageName>-speaking community 🌐 (currently 0 out of 267 complete)
Who would want to translate? Please follow the 🤗 [TRANSLATING guide](https://github... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26803/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/26803/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26802 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26802/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26802/comments | https://api.github.com/repos/huggingface/transformers/issues/26802/events | https://github.com/huggingface/transformers/issues/26802 | 1,943,026,864 | I_kwDOCUB6oc5z0Dyw | 26,802 | [Feature Request] We might need a function to change the sampler used in trainer dataloader | {
"login": "dumpmemory",
"id": 64742282,
"node_id": "MDQ6VXNlcjY0NzQyMjgy",
"avatar_url": "https://avatars.githubusercontent.com/u/64742282?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dumpmemory",
"html_url": "https://github.com/dumpmemory",
"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 | [] | [] | 1,697 | 1,697 | null | CONTRIBUTOR | null | ### Feature request
we need a function to custom the sampler used in trainer dataloader.
### Motivation
for sometimes, we might want to use https://github.com/imoneoi/multipack_sampler/blob/master/multipack_sampler.py#L94 for efficient reasoning
another example is DoReMi paper, we might also change the sample di... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26802/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/26802/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26801 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26801/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26801/comments | https://api.github.com/repos/huggingface/transformers/issues/26801/events | https://github.com/huggingface/transformers/issues/26801 | 1,943,003,736 | I_kwDOCUB6oc5zz-JY | 26,801 | Assertion Error during Text Generation (model inference): assert quant_state is not None | {
"login": "akjindal53244",
"id": 5215386,
"node_id": "MDQ6VXNlcjUyMTUzODY=",
"avatar_url": "https://avatars.githubusercontent.com/u/5215386?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/akjindal53244",
"html_url": "https://github.com/akjindal53244",
"followers_url": "https://api.github.... | [] | closed | false | null | [] | [
"cc @younesbelkada and @SunMarc ",
"I verified that it doesn't fail, if I remove `quantization_config` parameter while calling `AutoModelForCausalLM.from_pretrained()` to load the model.\r\nSpecifically: \r\n\r\n- `model = AutoModelForCausalLM.from_pretrained(model_id, device_map=\"{\"\": \"cpu\"}\")` works \r\n-... | 1,697 | 1,701 | 1,701 | NONE | null | ### System Info
(tempPy39) minimalist@minimalist-pc:~$ transformers-cli env
Copy-and-paste the text below in your GitHub issue and FILL OUT the two last points.
- `transformers` version: 4.35.0.dev0
- Platform: Linux-5.15.0-86-generic-x86_64-with-glibc2.31
- Python version: 3.9.18
- Huggingface_hub version:... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26801/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26801/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26800 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26800/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26800/comments | https://api.github.com/repos/huggingface/transformers/issues/26800/events | https://github.com/huggingface/transformers/pull/26800 | 1,942,730,140 | PR_kwDOCUB6oc5cx0xb | 26,800 | fix: when window_size is passes as array | {
"login": "dotneet",
"id": 370602,
"node_id": "MDQ6VXNlcjM3MDYwMg==",
"avatar_url": "https://avatars.githubusercontent.com/u/370602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dotneet",
"html_url": "https://github.com/dotneet",
"followers_url": "https://api.github.com/users/dotneet/fo... | [] | closed | false | null | [] | [
"@ArthurZucker \r\nThanks for the reply.\r\n\r\nSee the existing code here.\r\nhttps://github.com/huggingface/transformers/blob/21dc5859421cf0d7d82d374b10f533611745a8c5/src/transformers/models/swinv2/modeling_swinv2.py#L437\r\n\r\nOriginally, window_size was obviously an implementation that could be passed as an ar... | 1,697 | 1,697 | 1,697 | CONTRIBUTOR | null | # What does this PR do?
The window_size should have been implemented to allow separate values for height and width, but it was not working. This fixes that problem.
<!--
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 wit... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26800/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26800/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26800",
"html_url": "https://github.com/huggingface/transformers/pull/26800",
"diff_url": "https://github.com/huggingface/transformers/pull/26800.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26800.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26799 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26799/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26799/comments | https://api.github.com/repos/huggingface/transformers/issues/26799/events | https://github.com/huggingface/transformers/pull/26799 | 1,942,665,484 | PR_kwDOCUB6oc5cxoWc | 26,799 | Add Japanese translation | {
"login": "shinshin86",
"id": 8216064,
"node_id": "MDQ6VXNlcjgyMTYwNjQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/8216064?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shinshin86",
"html_url": "https://github.com/shinshin86",
"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_26799). All of your documentation changes will be reflected on that endpoint."
] | 1,697 | 1,697 | 1,697 | CONTRIBUTOR | null | # What does this PR do?
Hello!
I found a description in `README_ja.md` that is not translated into Japanese.
Therefore, I am only translated the relevant sections.
Thank you!
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the re... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26799/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26799/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26799",
"html_url": "https://github.com/huggingface/transformers/pull/26799",
"diff_url": "https://github.com/huggingface/transformers/pull/26799.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26799.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26798 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26798/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26798/comments | https://api.github.com/repos/huggingface/transformers/issues/26798/events | https://github.com/huggingface/transformers/pull/26798 | 1,942,636,455 | PR_kwDOCUB6oc5cxh-v | 26,798 | Enable split_batches through TrainingArguments | {
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api.github.com/users/mu... | [
{
"id": 2155169140,
"node_id": "MDU6TGFiZWwyMTU1MTY5MTQw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/trainer",
"name": "trainer",
"color": "2ef289",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,697 | 1,698 | 1,698 | CONTRIBUTOR | null | # What does this PR do?
This PR passes `split_batches` in the `TrainingArguments` to the `Accelerator()`, the same way that `dispatch_batches` is currently done.
In the future we should consider whether we want to make a dataclass with the args for `Accelerator` that a user can pass instead. (Or a raw Accelerator... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26798/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26798/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26798",
"html_url": "https://github.com/huggingface/transformers/pull/26798",
"diff_url": "https://github.com/huggingface/transformers/pull/26798.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26798.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26797 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26797/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26797/comments | https://api.github.com/repos/huggingface/transformers/issues/26797/events | https://github.com/huggingface/transformers/issues/26797 | 1,942,597,033 | I_kwDOCUB6oc5zya2p | 26,797 | Streaming text output from a pipeline. | {
"login": "lukolszewski",
"id": 43611481,
"node_id": "MDQ6VXNlcjQzNjExNDgx",
"avatar_url": "https://avatars.githubusercontent.com/u/43611481?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lukolszewski",
"html_url": "https://github.com/lukolszewski",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Hey! Would recommend you to read [this section](https://huggingface.co/docs/transformers/generation_strategies#streaming) of the documentation about streaming when generating, I think it should help! ",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this s... | 1,697 | 1,700 | 1,700 | NONE | null | ### Feature request
Implement a way to obtain streaming text output from a pipeline. One token at a time.
### Motivation
To be able to see the response as it is being generated instead of having to wait for the entire thing.
### Your contribution
I can test it if it gets implemented. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26797/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26797/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26796 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26796/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26796/comments | https://api.github.com/repos/huggingface/transformers/issues/26796/events | https://github.com/huggingface/transformers/issues/26796 | 1,942,562,098 | I_kwDOCUB6oc5zySUy | 26,796 | (False?) warning about weight_g/weight_v missing on WeightNorm on PyTorch | {
"login": "sterlind",
"id": 55418321,
"node_id": "MDQ6VXNlcjU1NDE4MzIx",
"avatar_url": "https://avatars.githubusercontent.com/u/55418321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sterlind",
"html_url": "https://github.com/sterlind",
"followers_url": "https://api.github.com/users/ste... | [] | open | false | null | [] | [
"Hey @sterlind - sorry for the delay in getting back to you! You are indeed correct in that the warning shouldn't be triggered. The state dict is copied correctly with the PyTorch weight norm refactoring, but the warning thrown in `from_pretrained` since this hasn't yet been updated. I'll open a PR to fix this!",
... | 1,697 | 1,706 | null | NONE | null | ### System Info
- `transformers` version: 4.34.0
- Platform: Linux-5.15.90.2-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.23.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.2.0.dev20... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26796/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/26796/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26795 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26795/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26795/comments | https://api.github.com/repos/huggingface/transformers/issues/26795/events | https://github.com/huggingface/transformers/pull/26795 | 1,942,200,457 | PR_kwDOCUB6oc5cwLAg | 26,795 | Conversation pipeline fixes | {
"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._",
"Also cc @lewtun - now you should actually be able to just use this pipeline in the docstrings instead of needing to do it manually in the docstrings with `text-generation` and `apply_chat_template`!"
] | 1,697 | 1,697 | 1,697 | MEMBER | null | This PR makes a couple of fixes to `ConversationalPipeline` to make it a lot easier to use:
- Inputs can now just be conversations in standard list-of-dicts format. I think the `Conversation` class is quite hard for users to discover, and this is a lot more intuitive.
- We no longer read `max_length` because very f... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26795/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26795/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26795",
"html_url": "https://github.com/huggingface/transformers/pull/26795",
"diff_url": "https://github.com/huggingface/transformers/pull/26795.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26795.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26794 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26794/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26794/comments | https://api.github.com/repos/huggingface/transformers/issues/26794/events | https://github.com/huggingface/transformers/issues/26794 | 1,942,164,704 | I_kwDOCUB6oc5zwxTg | 26,794 | [i18n-<kan>] Translating docs to <Kannada> | {
"login": "praj-pawar",
"id": 99607337,
"node_id": "U_kgDOBe_jKQ",
"avatar_url": "https://avatars.githubusercontent.com/u/99607337?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/praj-pawar",
"html_url": "https://github.com/praj-pawar",
"followers_url": "https://api.github.com/users/praj-... | [
{
"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! I'd like to translate the index.md file first."
] | 1,697 | 1,697 | null | NONE | null | <!--
Note: Please search to see if an issue already exists for the language you are trying to translate.
-->
Hi!
Let's bring the documentation to all the <Kannada>-speaking community 🌐 (currently 0 out of 267 complete)
Who would want to translate? Please follow the 🤗 [TRANSLATING guide](https://github.com/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26794/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26794/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26793 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26793/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26793/comments | https://api.github.com/repos/huggingface/transformers/issues/26793/events | https://github.com/huggingface/transformers/issues/26793 | 1,942,026,700 | I_kwDOCUB6oc5zwPnM | 26,793 | Failing to load 'Llama-2-70b-chat-hf' in transformers.LlamaForCausalLM | {
"login": "mmc31",
"id": 7207683,
"node_id": "MDQ6VXNlcjcyMDc2ODM=",
"avatar_url": "https://avatars.githubusercontent.com/u/7207683?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mmc31",
"html_url": "https://github.com/mmc31",
"followers_url": "https://api.github.com/users/mmc31/follower... | [] | closed | false | null | [] | [
"I should also mention that this works fine for 7b and 13b",
"cc @SunMarc as well!",
"hi @mmc31 \r\nOut of curiosity does the issue still persists with the latest transformers and accelerate?\r\n\r\n```bash\r\npip install -U accelerate transformers\r\n```",
"Still the same error. Now i have:\r\ntransformers._... | 1,697 | 1,705 | 1,705 | NONE | null | ### System Info
Ubuntu 22.04
Python 3.9.18
torch.__version__ = '2.0.1+cu117'
transformers.__version__ = '4.31.0'
dowloaded files from here:
https://huggingface.co/meta-llama/Llama-2-70b-chat-hf/tree/main
run this:
```
import torch
from transformers import LlamaForCausalLM
base_model = "Llama-2-70b-chat... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26793/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26793/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26792 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26792/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26792/comments | https://api.github.com/repos/huggingface/transformers/issues/26792/events | https://github.com/huggingface/transformers/pull/26792 | 1,941,960,537 | PR_kwDOCUB6oc5cvWf- | 26,792 | Remove ambiguous `padding_mask` and instead use a 2D->4D Attn Mask Mapper | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> Thank you! I am happy with it, just wondering whether changing the `attention_mask` input from being 4D to 2D in `LlamaDecoderLayer` & `LlamaAttention` is considered a breaking change or not.\r\n\r\nTo me they are internal classes ... | 1,697 | 1,698 | 1,698 | MEMBER | null | # What does this PR do?
For models that have Flash Attention 2 (FA2) implemented we currently pass both `padding_mask` and `attention_mask` to the respective vanilla attention class, *e.g.* `LlamaAttention` and to the FA2 class, *e.g.* `LlamaFlashAttention2`.
**However**, `padding_mask` is **not** used for `Llama... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26792/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26792/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26792",
"html_url": "https://github.com/huggingface/transformers/pull/26792",
"diff_url": "https://github.com/huggingface/transformers/pull/26792.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26792.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26791 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26791/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26791/comments | https://api.github.com/repos/huggingface/transformers/issues/26791/events | https://github.com/huggingface/transformers/pull/26791 | 1,941,858,121 | PR_kwDOCUB6oc5cu_qt | 26,791 | [docs] Performance docs refactor p.2 | {
"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,697 | 1,698 | 1,698 | CONTRIBUTOR | null | This PR continues performance docs refactor in the transformers docs. It focuses mainly on the "Efficient Training on Multiple GPUs" doc and contains the following changes:
* Improves clarity and readability
* Adds links to Accelerate where relevant
* Removes a duplicated chunk of content
* Resolves some formatting... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26791/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26791/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26791",
"html_url": "https://github.com/huggingface/transformers/pull/26791",
"diff_url": "https://github.com/huggingface/transformers/pull/26791.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26791.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26790 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26790/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26790/comments | https://api.github.com/repos/huggingface/transformers/issues/26790/events | https://github.com/huggingface/transformers/issues/26790 | 1,941,774,786 | I_kwDOCUB6oc5zvSHC | 26,790 | I want to convert DINOv2 model to onnx, but error occur. | {
"login": "PeterKim1",
"id": 57930520,
"node_id": "MDQ6VXNlcjU3OTMwNTIw",
"avatar_url": "https://avatars.githubusercontent.com/u/57930520?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PeterKim1",
"html_url": "https://github.com/PeterKim1",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Check This! \r\n\r\nhttps://github.com/facebookresearch/dinov2/issues/19"
] | 1,697 | 1,697 | 1,697 | NONE | null | Hi.
Thanks for your great works.
I want to use DINOv2 for segmentation task, so I try to use DINOv2 in HF, transformers.
I use https://github.com/NielsRogge/Transformers-Tutorials/blob/master/DINOv2/Train_a_linear_classifier_on_top_of_DINOv2_for_semantic_segmentation.ipynb <- this ipynb notebook.
If you ru... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26790/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26790/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26789 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26789/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26789/comments | https://api.github.com/repos/huggingface/transformers/issues/26789/events | https://github.com/huggingface/transformers/pull/26789 | 1,941,674,712 | PR_kwDOCUB6oc5cuXb- | 26,789 | [`Flava`] Fix flava doc | {
"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,697 | 1,697 | 1,697 | CONTRIBUTOR | null | # What does this PR do?
Fixes: https://github.com/huggingface/transformers/issues/26078
In fact the current flava docstring fails, running:
```bash
pytest --doctest-modules src/transformers/models/flava/modeling_flava.py::transformers.models.flava.modeling_flava.FlavaModel.forward
```
Leads to a failure. ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26789/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26789/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26789",
"html_url": "https://github.com/huggingface/transformers/pull/26789",
"diff_url": "https://github.com/huggingface/transformers/pull/26789.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26789.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26788 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26788/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26788/comments | https://api.github.com/repos/huggingface/transformers/issues/26788/events | https://github.com/huggingface/transformers/pull/26788 | 1,941,590,124 | PR_kwDOCUB6oc5cuE9G | 26,788 | Llama tokenizer: remove space in template comment | {
"login": "pcuenca",
"id": 1177582,
"node_id": "MDQ6VXNlcjExNzc1ODI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1177582?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pcuenca",
"html_url": "https://github.com/pcuenca",
"followers_url": "https://api.github.com/users/pcuenca/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Our template gives identical results as llama 2's original tokenization, I just double-checked by comparing the tokens using a three-turn conversation. The code has always been correct, there's no space between the `eos`/`bos` tokens... | 1,697 | 1,697 | 1,697 | MEMBER | null | I think the space between the eos and bos tokens is not present in the actual template output. I'm using this documentation as a reference for everyone asking about prompting, so would like to clarify whether there's a space or not :)
# What does this PR do?
<!--
Congratulations! You've made it this far! You're ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26788/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26788/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26788",
"html_url": "https://github.com/huggingface/transformers/pull/26788",
"diff_url": "https://github.com/huggingface/transformers/pull/26788.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26788.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26787 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26787/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26787/comments | https://api.github.com/repos/huggingface/transformers/issues/26787/events | https://github.com/huggingface/transformers/issues/26787 | 1,941,565,705 | I_kwDOCUB6oc5zufEJ | 26,787 | [i18n-<hi>] Translating docs to <Hindi> | {
"login": "hakunamatata1997",
"id": 24734119,
"node_id": "MDQ6VXNlcjI0NzM0MTE5",
"avatar_url": "https://avatars.githubusercontent.com/u/24734119?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hakunamatata1997",
"html_url": "https://github.com/hakunamatata1997",
"followers_url": "https://... | [
{
"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 | [] | [
"@hakunamatata1997 assign this issue to me ",
"hey i am willing to work on translating [index.md](https://github.com/huggingface/transformers/blob/main/docs/source/en/index.md)",
"I am interested to translate the pipeline_tutorial.md. Please assign it to me.\r\n",
"@shubhusion @ciaokitty @AaryaBalwadkar for... | 1,697 | 1,697 | null | CONTRIBUTOR | null | <!--
Note: Please search to see if an issue already exists for the language you are trying to translate.
-->
Hi!
Let's bring the documentation to all the <languageName>-speaking community 🌐 (currently 0 out of 267 complete)
Who would want to translate? Please follow the 🤗 [TRANSLATING guide](https://github... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26787/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/26787/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26786 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26786/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26786/comments | https://api.github.com/repos/huggingface/transformers/issues/26786/events | https://github.com/huggingface/transformers/issues/26786 | 1,941,550,709 | I_kwDOCUB6oc5zubZ1 | 26,786 | [i18n-<te>] Translating docs to <Telugu> | {
"login": "hakunamatata1997",
"id": 24734119,
"node_id": "MDQ6VXNlcjI0NzM0MTE5",
"avatar_url": "https://avatars.githubusercontent.com/u/24734119?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hakunamatata1997",
"html_url": "https://github.com/hakunamatata1997",
"followers_url": "https://... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | closed | false | null | [] | [] | 1,697 | 1,697 | 1,697 | CONTRIBUTOR | null | <!--
Note: Please search to see if an issue already exists for the language you are trying to translate.
-->
Hi!
Let's bring the documentation to all the <languageName>-speaking community 🌐 (currently 0 out of 267 complete)
Who would want to translate? Please follow the 🤗 [TRANSLATING guide](https://github... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26786/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26786/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26785 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26785/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26785/comments | https://api.github.com/repos/huggingface/transformers/issues/26785/events | https://github.com/huggingface/transformers/pull/26785 | 1,941,549,812 | PR_kwDOCUB6oc5ct8Ft | 26,785 | [`core`] Fix fa-2 import | {
"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._",
"Can confirm on my end that installing an old version of FA now does not lead to an error! Merging !"
] | 1,697 | 1,697 | 1,697 | CONTRIBUTOR | null | # What does this PR do?
Fixes: https://github.com/huggingface/transformers/issues/26778
For users that have FA-1 installed in their environment importing some modules will lead to errors, making `transformers` unusable. This PR fixes this issue by changing `is_flash_attn_available()` to `is_flash_attn_2_availabl... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26785/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26785/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26785",
"html_url": "https://github.com/huggingface/transformers/pull/26785",
"diff_url": "https://github.com/huggingface/transformers/pull/26785.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26785.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26784 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26784/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26784/comments | https://api.github.com/repos/huggingface/transformers/issues/26784/events | https://github.com/huggingface/transformers/pull/26784 | 1,941,501,197 | PR_kwDOCUB6oc5ctxm7 | 26,784 | Update logits_process.py docstrings to clarify penalty and reward cases (attempt #2) | {
"login": "larekrow",
"id": 127832774,
"node_id": "U_kgDOB56Sxg",
"avatar_url": "https://avatars.githubusercontent.com/u/127832774?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/larekrow",
"html_url": "https://github.com/larekrow",
"followers_url": "https://api.github.com/users/larekrow/... | [] | closed | false | null | [] | [
"Could you run `make fixup` to pass the failing test",
"Hey @ArthurZucker, I tried to run `make fixup` but encountered an error in `repo-consistency`. \r\n\r\n```\r\nTraceback (most recent call last):\r\n File \"/home/users/user/temp/transformers/utils/update_metadata.py\", line 337, in <module>\r\n check_pip... | 1,697 | 1,697 | 1,697 | CONTRIBUTOR | null | This PR fixes point 3 of https://github.com/huggingface/transformers/issues/25970 by clarifying the penalty and reward cases for RepetitionPenaltyLogitsProcessor and EncoderRepetitionPenaltyLogitsProcessor within the docstrings.
PR https://github.com/huggingface/transformers/pull/26129 was the original copy, but I h... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26784/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26784/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26784",
"html_url": "https://github.com/huggingface/transformers/pull/26784",
"diff_url": "https://github.com/huggingface/transformers/pull/26784.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26784.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26783 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26783/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26783/comments | https://api.github.com/repos/huggingface/transformers/issues/26783/events | https://github.com/huggingface/transformers/issues/26783 | 1,941,354,106 | I_kwDOCUB6oc5ztrZ6 | 26,783 | Inconsistent input signatures for gpt2-medium tensorflow | {
"login": "Spycsh",
"id": 39623753,
"node_id": "MDQ6VXNlcjM5NjIzNzUz",
"avatar_url": "https://avatars.githubusercontent.com/u/39623753?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Spycsh",
"html_url": "https://github.com/Spycsh",
"followers_url": "https://api.github.com/users/Spycsh/fo... | [] | closed | false | null | [] | [
"Hi @Spycsh, this was caused by a refactor in our TF input signatures, where they're now autodetected in almost all cases. As a result, GPT2 got `token_type_ids` in its input signature because the model does actually support them as an input. However, it's easy to save with a different signature if required!\r\n\r\... | 1,697 | 1,698 | 1,697 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.33.0.dev0
- Platform: Linux-5.16.0-rc8-intel-next-01534-g53cb5f883cf7-x86_64-with-glibc2.10
- Python version: 3.8.0
- Huggingface_hub version: 0.17.1
- Safetensors version: 0.3.3
- Accelerate version: not installed
- Accelerate config: not found
- PyTorch version (GPU... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26783/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26783/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26782 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26782/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26782/comments | https://api.github.com/repos/huggingface/transformers/issues/26782/events | https://github.com/huggingface/transformers/pull/26782 | 1,941,348,984 | PR_kwDOCUB6oc5ctQlH | 26,782 | [docstring] Fix docstring for `RwkvConfig` | {
"login": "Bojun-Feng",
"id": 102875484,
"node_id": "U_kgDOBiHBXA",
"avatar_url": "https://avatars.githubusercontent.com/u/102875484?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Bojun-Feng",
"html_url": "https://github.com/Bojun-Feng",
"followers_url": "https://api.github.com/users/Boj... | [] | closed | false | null | [] | [
"> Spuer clean, thank you @Bojun-Feng again!\r\n> \r\n> (Could you remove the Draft status - I think it's ready to be merged?)\r\n\r\nOf course!",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26782). All of your documentation changes will be reflected on that endpoint... | 1,697 | 1,697 | 1,697 | 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/26782/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26782/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26782",
"html_url": "https://github.com/huggingface/transformers/pull/26782",
"diff_url": "https://github.com/huggingface/transformers/pull/26782.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26782.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26781 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26781/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26781/comments | https://api.github.com/repos/huggingface/transformers/issues/26781/events | https://github.com/huggingface/transformers/issues/26781 | 1,941,261,569 | I_kwDOCUB6oc5ztU0B | 26,781 | MaskCLIP | {
"login": "sushmanthreddy",
"id": 73489688,
"node_id": "MDQ6VXNlcjczNDg5Njg4",
"avatar_url": "https://avatars.githubusercontent.com/u/73489688?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sushmanthreddy",
"html_url": "https://github.com/sushmanthreddy",
"followers_url": "https://api.gi... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | open | false | null | [] | [
"I would like to work on this issue ."
] | 1,697 | 1,697 | null | CONTRIBUTOR | null | ### Model description
MaskCLIP represents a transformative step in the realm of open-vocabulary universal image segmentation. Built upon the robust foundation of pre-trained CLIP models, it negates the need for additional finetuning or distillation. The core of MaskCLIP is its innovative Transformer-based MaskCLIP V... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26781/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26781/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26780 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26780/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26780/comments | https://api.github.com/repos/huggingface/transformers/issues/26780/events | https://github.com/huggingface/transformers/issues/26780 | 1,941,232,771 | I_kwDOCUB6oc5ztNyD | 26,780 | CoaT | {
"login": "sushmanthreddy",
"id": 73489688,
"node_id": "MDQ6VXNlcjczNDg5Njg4",
"avatar_url": "https://avatars.githubusercontent.com/u/73489688?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sushmanthreddy",
"html_url": "https://github.com/sushmanthreddy",
"followers_url": "https://api.gi... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | closed | false | null | [] | [] | 1,697 | 1,697 | 1,697 | CONTRIBUTOR | null | ### Model description
Co-scale conv-attentional image Transformers (CoaT), a Transformer-based image classifier equipped with co-scale and conv-attentional mechanisms. First, the co-scale mechanism maintains the integrity of Transformers’ encoder branches at individual scales, while allowing representations learned at... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26780/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26780/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26779 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26779/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26779/comments | https://api.github.com/repos/huggingface/transformers/issues/26779/events | https://github.com/huggingface/transformers/pull/26779 | 1,941,171,174 | PR_kwDOCUB6oc5csqMr | 26,779 | Update expect outputs of `IdeficsProcessorTest.test_tokenizer_padding` | {
"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,697 | 1,697 | 1,697 | COLLABORATOR | null | # What does this PR do?
There is a change on this Hub repo.
https://huggingface.co/HuggingFaceM4/tiny-random-idefics/commit/cb18d7776a2e725eb20a2b9f8addf0991b9194b6
that is used for testing.
cc @leot13: you and @ArthurZucker knows better than me on this | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26779/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26779/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26779",
"html_url": "https://github.com/huggingface/transformers/pull/26779",
"diff_url": "https://github.com/huggingface/transformers/pull/26779.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26779.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26778 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26778/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26778/comments | https://api.github.com/repos/huggingface/transformers/issues/26778/events | https://github.com/huggingface/transformers/issues/26778 | 1,941,168,833 | I_kwDOCUB6oc5zs-LB | 26,778 | Many things are not importable in an environment with flash attention v1 installed | {
"login": "dakinggg",
"id": 43149077,
"node_id": "MDQ6VXNlcjQzMTQ5MDc3",
"avatar_url": "https://avatars.githubusercontent.com/u/43149077?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dakinggg",
"html_url": "https://github.com/dakinggg",
"followers_url": "https://api.github.com/users/dak... | [] | closed | false | null | [] | [
"Hi @dakinggg \r\nThanks for reporting, https://github.com/huggingface/transformers/pull/26785 should hopefully resolve the issue"
] | 1,697 | 1,697 | 1,697 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.34.0
- Platform: Linux-5.4.0-148-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.21.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.1.0+cu121 (True)
- Tenso... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26778/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/26778/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26777 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26777/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26777/comments | https://api.github.com/repos/huggingface/transformers/issues/26777/events | https://github.com/huggingface/transformers/issues/26777 | 1,941,157,458 | I_kwDOCUB6oc5zs7ZS | 26,777 | Custom tokenizer no longer compatible with transformers 4.34 | {
"login": "dakinggg",
"id": 43149077,
"node_id": "MDQ6VXNlcjQzMTQ5MDc3",
"avatar_url": "https://avatars.githubusercontent.com/u/43149077?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dakinggg",
"html_url": "https://github.com/dakinggg",
"followers_url": "https://api.github.com/users/dak... | [] | closed | false | null | [] | [
"There's pretty much nothing we can do here, this custom model needs to be updated. The break is expected, mostly put the call to super.__init__() at the end of the __init__",
"Yeah understood this is a custom tokenizer. Thanks for the fix suggestion! Passing along to replit.",
"This issue has been automaticall... | 1,697 | 1,700 | 1,700 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.34.0
- Platform: macOS-13.5-arm64-arm-64bit
- Python version: 3.10.12
- Huggingface_hub version: 0.17.3
- Safetensors version: 0.4.0
- Accelerate version: 0.20.3
- Accelerate config: not found
- PyTorch version (GPU?): 2.1.0 (False)
- Tensorflow version (GPU?): not ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26777/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26777/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26776 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26776/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26776/comments | https://api.github.com/repos/huggingface/transformers/issues/26776/events | https://github.com/huggingface/transformers/issues/26776 | 1,941,155,203 | I_kwDOCUB6oc5zs62D | 26,776 | Cannot save Adafactor optimizer when using Trainer with accelerate and fsdp | {
"login": "scinerd68",
"id": 62432739,
"node_id": "MDQ6VXNlcjYyNDMyNzM5",
"avatar_url": "https://avatars.githubusercontent.com/u/62432739?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/scinerd68",
"html_url": "https://github.com/scinerd68",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"It seems that this will only be an issue when `fsdp_use_orig_params` is set to `true`, I was able to run the script when it is set to `false`"
] | 1,697 | 1,697 | 1,697 | NONE | null | ### System Info
version:
pytorch==2.0.1
transformers==4.34.0
accelerate==0.23.0
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26776/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26776/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26775 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26775/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26775/comments | https://api.github.com/repos/huggingface/transformers/issues/26775/events | https://github.com/huggingface/transformers/issues/26775 | 1,941,145,107 | I_kwDOCUB6oc5zs4YT | 26,775 | bos_token does not persist through save_pretrained in 4.34 | {
"login": "dakinggg",
"id": 43149077,
"node_id": "MDQ6VXNlcjQzMTQ5MDc3",
"avatar_url": "https://avatars.githubusercontent.com/u/43149077?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dakinggg",
"html_url": "https://github.com/dakinggg",
"followers_url": "https://api.github.com/users/dak... | [] | closed | false | null | [] | [
"Thanks will be fixed by #26570 "
] | 1,697 | 1,697 | 1,697 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.34.0
- Platform: macOS-13.5-arm64-arm-64bit
- Python version: 3.10.12
- Huggingface_hub version: 0.17.3
- Safetensors version: 0.4.0
- Accelerate version: 0.20.3
- Accelerate config: not found
- PyTorch version (GPU?): 2.1.0 (False)
- Tensorflow version (GPU?): no... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26775/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26775/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26774 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26774/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26774/comments | https://api.github.com/repos/huggingface/transformers/issues/26774/events | https://github.com/huggingface/transformers/pull/26774 | 1,941,140,150 | PR_kwDOCUB6oc5csjkL | 26,774 | deprecate function `get_default_device` in `tools/base.py` | {
"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_26774). All of your documentation changes will be reflected on that endpoint.",
"this PR is ready to be merged :) @muellerzr @ArthurZucker ",
"cc @amyeroberts "
] | 1,697 | 1,698 | 1,698 | 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/26774/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26774/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26774",
"html_url": "https://github.com/huggingface/transformers/pull/26774",
"diff_url": "https://github.com/huggingface/transformers/pull/26774.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26774.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26773 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26773/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26773/comments | https://api.github.com/repos/huggingface/transformers/issues/26773/events | https://github.com/huggingface/transformers/issues/26773 | 1,941,136,116 | I_kwDOCUB6oc5zs2L0 | 26,773 | Saving and loading a tokenizer does not produce an identical tokenizer in 4.34 | {
"login": "dakinggg",
"id": 43149077,
"node_id": "MDQ6VXNlcjQzMTQ5MDc3",
"avatar_url": "https://avatars.githubusercontent.com/u/43149077?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dakinggg",
"html_url": "https://github.com/dakinggg",
"followers_url": "https://api.github.com/users/dak... | [] | closed | false | null | [] | [
"@ArthurZucker ",
"Hey! Also fixed in #26570 THanks for reporting! "
] | 1,697 | 1,697 | 1,697 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.34.0
- Platform: macOS-13.5-arm64-arm-64bit
- Python version: 3.10.12
- Huggingface_hub version: 0.17.3
- Safetensors version: 0.4.0
- Accelerate version: 0.20.3
- Accelerate config: not found
- PyTorch version (GPU?): 2.1.0 (False)
- Tensorflow version (GPU?): no... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26773/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26773/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26772 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26772/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26772/comments | https://api.github.com/repos/huggingface/transformers/issues/26772/events | https://github.com/huggingface/transformers/issues/26772 | 1,941,123,386 | I_kwDOCUB6oc5zszE6 | 26,772 | Adding new special tokens does not seem to work properly in 4.34 | {
"login": "dakinggg",
"id": 43149077,
"node_id": "MDQ6VXNlcjQzMTQ5MDc3",
"avatar_url": "https://avatars.githubusercontent.com/u/43149077?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dakinggg",
"html_url": "https://github.com/dakinggg",
"followers_url": "https://api.github.com/users/dak... | [] | closed | false | null | [] | [
"@ArthurZucker ",
"Hey, this is expected for a fast tokenizer because you are not changing the `processor` . You need to run `llamat.update_post_processor()` before to make sure this is taken into account. \r\nInitializing the tokenizer would be the best way to have the expected results for fast tokenizers\r\n",
... | 1,697 | 1,697 | 1,697 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.34.0
- Platform: macOS-13.5-arm64-arm-64bit
- Python version: 3.10.12
- Huggingface_hub version: 0.17.3
- Safetensors version: 0.4.0
- Accelerate version: 0.20.3
- Accelerate config: not found
- PyTorch version (GPU?): 2.1.0 (False)
- Tensorflow version (GPU?): no... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26772/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26772/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26771 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26771/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26771/comments | https://api.github.com/repos/huggingface/transformers/issues/26771/events | https://github.com/huggingface/transformers/pull/26771 | 1,940,792,024 | PR_kwDOCUB6oc5crWYJ | 26,771 | [docstring] Fix docstring for CanineConfig | {
"login": "Sparty",
"id": 3923604,
"node_id": "MDQ6VXNlcjM5MjM2MDQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/3923604?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Sparty",
"html_url": "https://github.com/Sparty",
"followers_url": "https://api.github.com/users/Sparty/foll... | [] | closed | false | null | [] | [
"Nice it works for you now @Sparty . One minor change and we are ready to go 🚀 ",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26771). All of your documentation changes will be reflected on that endpoint."
] | 1,697 | 1,697 | 1,697 | 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/26771/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26771/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26771",
"html_url": "https://github.com/huggingface/transformers/pull/26771",
"diff_url": "https://github.com/huggingface/transformers/pull/26771.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26771.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26770 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26770/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26770/comments | https://api.github.com/repos/huggingface/transformers/issues/26770/events | https://github.com/huggingface/transformers/pull/26770 | 1,940,648,601 | PR_kwDOCUB6oc5cq2nI | 26,770 | Fix Falcon generation test | {
"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,697 | 1,697 | 1,697 | MEMBER | null | One of the Falcon tests was broken by the shift to using in-library checkpoints. The reason is that the Falcon tokenizer now correctly doesn't return `token_type_ids`, since Falcon doesn't use that input. The test was discarding that key, but this is no longer necessary. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26770/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26770/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26770",
"html_url": "https://github.com/huggingface/transformers/pull/26770",
"diff_url": "https://github.com/huggingface/transformers/pull/26770.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26770.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26769 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26769/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26769/comments | https://api.github.com/repos/huggingface/transformers/issues/26769/events | https://github.com/huggingface/transformers/pull/26769 | 1,940,585,682 | PR_kwDOCUB6oc5cqodY | 26,769 | translation brazilian portuguese | {
"login": "alvarorichard",
"id": 88117897,
"node_id": "MDQ6VXNlcjg4MTE3ODk3",
"avatar_url": "https://avatars.githubusercontent.com/u/88117897?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alvarorichard",
"html_url": "https://github.com/alvarorichard",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"I have already applied the suggested changes",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26769). All of your documentation changes will be reflected on that endpoint."
] | 1,697 | 1,697 | 1,697 | CONTRIBUTOR | null | Hello, I would like to add the Brazilian Portuguese translation to the README.md. I translated it as faithfully and comprehensibly as possible to the original. I only did the translation, without adding anything else besides that. I kindly ask you to consider this contribution and review it for approval.
@stevhliu and... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26769/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26769/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26769",
"html_url": "https://github.com/huggingface/transformers/pull/26769",
"diff_url": "https://github.com/huggingface/transformers/pull/26769.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26769.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26768 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26768/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26768/comments | https://api.github.com/repos/huggingface/transformers/issues/26768/events | https://github.com/huggingface/transformers/issues/26768 | 1,940,576,360 | I_kwDOCUB6oc5zqtho | 26,768 | special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained. | {
"login": "twers1",
"id": 102418053,
"node_id": "U_kgDOBhrGhQ",
"avatar_url": "https://avatars.githubusercontent.com/u/102418053?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/twers1",
"html_url": "https://github.com/twers1",
"followers_url": "https://api.github.com/users/twers1/follower... | [] | closed | false | null | [] | [
"Actually this should not be trigger as the tokens that are added are added at the beginning of the vocab. Thanks for reporting!",
"> Actually this should not be trigger as the tokens that are added are added at the beginning of the vocab. Thanks for reporting!\r\n\r\nhow can I get an answer from artificial intel... | 1,697 | 1,697 | 1,697 | NONE | null | 
i have a python code:
```
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
device = 'cpu'
model = AutoModelForCausalLM.from_pretrained("mistralai/Mistral-7B-Instruct-v0.1")... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26768/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26768/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26767 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26767/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26767/comments | https://api.github.com/repos/huggingface/transformers/issues/26767/events | https://github.com/huggingface/transformers/issues/26767 | 1,940,508,868 | I_kwDOCUB6oc5zqdDE | 26,767 | `QuantAct` in `IntSoftmax` receives integer value | {
"login": "mbekmyrz",
"id": 46756692,
"node_id": "MDQ6VXNlcjQ2NzU2Njky",
"avatar_url": "https://avatars.githubusercontent.com/u/46756692?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mbekmyrz",
"html_url": "https://github.com/mbekmyrz",
"followers_url": "https://api.github.com/users/mbe... | [] | closed | false | null | [] | [
"Hey can I contribute to this issue can you tell me what all techstack I need and how should I start",
"Sure! Feel free to open a PR for a fix! ",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this threa... | 1,697 | 1,700 | 1,700 | NONE | null | **Problem/Question:**
`IntSoftmax` class has `QuantAct`:
https://github.com/huggingface/transformers/blob/fc63914399b6f60512c720959f9182b02ae4a45c/src/transformers/models/ibert/quant_modules.py#L379-L380
and it is called in `IntSoftmax.forward()` by passing `exp_int` which is integer:
https://github.com/huggi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26767/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26767/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26766 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26766/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26766/comments | https://api.github.com/repos/huggingface/transformers/issues/26766/events | https://github.com/huggingface/transformers/issues/26766 | 1,940,453,692 | I_kwDOCUB6oc5zqPk8 | 26,766 | `use_default_system_prompt` broken | {
"login": "AjayP13",
"id": 5404177,
"node_id": "MDQ6VXNlcjU0MDQxNzc=",
"avatar_url": "https://avatars.githubusercontent.com/u/5404177?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AjayP13",
"html_url": "https://github.com/AjayP13",
"followers_url": "https://api.github.com/users/AjayP13/... | [] | closed | false | null | [] | [
"@Rocketknight1 - This seems to stem from a commit pushed to `meta-llama/Llama-2-7b-chat-hf` on HuggingFace Hub: https://huggingface.co/meta-llama/Llama-2-7b-chat-hf/commit/af6df14e494ef16d69ec55e9a016e900a2dde1c8\r\n\r\nWas this intentional?",
"@ajayp13 Yes, this was intentional! After testing between us and Met... | 1,697 | 1,697 | 1,697 | CONTRIBUTOR | null | ### System Info
- Python 3.11.4
- 4.34.0
### Who can help?
@younesbelkada @ArthurZucker
### Information
- [ ] The official example scripts
- [x] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [x] My own task or dataset (give details belo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26766/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26766/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26765 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26765/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26765/comments | https://api.github.com/repos/huggingface/transformers/issues/26765/events | https://github.com/huggingface/transformers/pull/26765 | 1,940,364,466 | PR_kwDOCUB6oc5cp3eB | 26,765 | Disable default system prompt for LLaMA | {
"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._",
"Just opened #26766, I see this is intentional at request of Meta. @Rocketknight1 was any reason given for removing the system prompt? Should no system prompt be used? Can it be replaced with a different system prompt if one still nee... | 1,697 | 1,697 | 1,697 | MEMBER | null | Disable the system prompt by default in LLaMA, as requested by Meta.
Note that I've already pushed chat templates to the repos, so this change should mostly already be in effect! I'm just changing it in the library too for consistency. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26765/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26765/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26765",
"html_url": "https://github.com/huggingface/transformers/pull/26765",
"diff_url": "https://github.com/huggingface/transformers/pull/26765.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26765.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26764 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26764/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26764/comments | https://api.github.com/repos/huggingface/transformers/issues/26764/events | https://github.com/huggingface/transformers/pull/26764 | 1,940,263,281 | PR_kwDOCUB6oc5cpg6G | 26,764 | Skip `TrainerIntegrationFSDP::test_basic_run_with_cpu_offload` if `torch < 2.1` | {
"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,697 | 1,697 | 1,697 | COLLABORATOR | null | # What does this PR do?
Skip `TrainerIntegrationFSDP::test_basic_run_with_cpu_offload` if `torch < 2.1` as this takes 4 hours on `torch 2.0`. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26764/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26764/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26764",
"html_url": "https://github.com/huggingface/transformers/pull/26764",
"diff_url": "https://github.com/huggingface/transformers/pull/26764.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26764.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26763 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26763/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26763/comments | https://api.github.com/repos/huggingface/transformers/issues/26763/events | https://github.com/huggingface/transformers/pull/26763 | 1,940,091,241 | PR_kwDOCUB6oc5co7EJ | 26,763 | Don't close ClearML Task when training is complete | {
"login": "johnml1135",
"id": 13733556,
"node_id": "MDQ6VXNlcjEzNzMzNTU2",
"avatar_url": "https://avatars.githubusercontent.com/u/13733556?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/johnml1135",
"html_url": "https://github.com/johnml1135",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"cc @skinan for first review - as integrations are maintained by the contributors who added them ",
"@johnml1135 Am I correct in understanding this PR can be closed as the issue was resolved in #26614 ? ",
"Yes - it should be resolved now.",
"@johnml1135 Thanks for confirming! "
] | 1,697 | 1,702 | 1,702 | NONE | null | This is to fix https://github.com/huggingface/transformers/issues/26762. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26763/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26763/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26763",
"html_url": "https://github.com/huggingface/transformers/pull/26763",
"diff_url": "https://github.com/huggingface/transformers/pull/26763.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26763.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26762 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26762/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26762/comments | https://api.github.com/repos/huggingface/transformers/issues/26762/events | https://github.com/huggingface/transformers/issues/26762 | 1,940,089,999 | I_kwDOCUB6oc5zo2yP | 26,762 | ClearML task closes when done training - unnecessary and causes issues | {
"login": "johnml1135",
"id": 13733556,
"node_id": "MDQ6VXNlcjEzNzMzNTU2",
"avatar_url": "https://avatars.githubusercontent.com/u/13733556?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/johnml1135",
"html_url": "https://github.com/johnml1135",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi @johnml1135 ! I think that the task should indeed close if it was created by the callback class. If you don't want it to close, just initialize the task externally, i.e. call `Task.init` before creating the callback instance. In this case, the task will not close on when the training ends.",
"I do initialize ... | 1,697 | 1,700 | 1,700 | NONE | null | ### System Info
When a python script ends, it automatically closes the task. After training, some people (me included) may want to do more for the task, including inferencing on the model. Therefore, always automatically closing the task on training completion, while sounding nice, is not needed and causes issues.
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26762/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26762/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26761 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26761/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26761/comments | https://api.github.com/repos/huggingface/transformers/issues/26761/events | https://github.com/huggingface/transformers/pull/26761 | 1,940,075,470 | PR_kwDOCUB6oc5co3rB | 26,761 | 🚨🚨🚨 [`Quantization`] Store the original dtype in the config as a private attribute 🚨🚨🚨 | {
"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,697 | 1,697 | 1,697 | CONTRIBUTOR | null | # What does this PR do?
First step of an alternative design of https://github.com/huggingface/transformers/pull/26560
For quantized models, instead of introducing a complex logic of retrieving the original weights dtype, I propose to simply add a private attribute `_quantization_original_dtype` in the config obj... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26761/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26761/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26761",
"html_url": "https://github.com/huggingface/transformers/pull/26761",
"diff_url": "https://github.com/huggingface/transformers/pull/26761.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26761.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26760 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26760/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26760/comments | https://api.github.com/repos/huggingface/transformers/issues/26760/events | https://github.com/huggingface/transformers/pull/26760 | 1,940,002,044 | PR_kwDOCUB6oc5conxU | 26,760 | Fix `PerceiverModelIntegrationTest::test_inference_masked_lm` | {
"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,697 | 1,697 | 1,697 | COLLABORATOR | null | # What does this PR do?
The PR #23909 changed the result of `vocab_size` of
```
tokenizer = PerceiverTokenizer.from_pretrained("deepmind/language-perceiver")
```
from `262` to `256`, but the logit has shape `[1, 2048, 262]`.
Let's use `len` here.
## To reproduce:
```
from transformers import Perceiv... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26760/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26760/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26760",
"html_url": "https://github.com/huggingface/transformers/pull/26760",
"diff_url": "https://github.com/huggingface/transformers/pull/26760.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26760.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26759 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26759/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26759/comments | https://api.github.com/repos/huggingface/transformers/issues/26759/events | https://github.com/huggingface/transformers/issues/26759 | 1,939,799,021 | I_kwDOCUB6oc5znvvt | 26,759 | KeyError: 'mistral' | {
"login": "andysingal",
"id": 20493493,
"node_id": "MDQ6VXNlcjIwNDkzNDkz",
"avatar_url": "https://avatars.githubusercontent.com/u/20493493?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/andysingal",
"html_url": "https://github.com/andysingal",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi @andysingal \r\nThanks for the issue, can you share with us which transformers version are you using?\r\nCan you try to use the latest transformers version?\r\n\r\n```bash\r\npip install -U transformers\r\n```",
"I had the same error.\r\n`pip install -U transformers` \r\nsolved it. thanks\r\n",
"Thanks alot... | 1,697 | 1,702 | 1,697 | NONE | null | ### System Info
RTX 3090
### Who can help?
@younesbelkada @Arthur
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)
### Reproduction
`... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26759/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26759/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26758 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26758/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26758/comments | https://api.github.com/repos/huggingface/transformers/issues/26758/events | https://github.com/huggingface/transformers/issues/26758 | 1,939,722,738 | I_kwDOCUB6oc5zndHy | 26,758 | transformers DataCollatorWithPadding should have an option to specify the attributes which require padding. | {
"login": "varadhbhatnagar",
"id": 20443618,
"node_id": "MDQ6VXNlcjIwNDQzNjE4",
"avatar_url": "https://avatars.githubusercontent.com/u/20443618?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/varadhbhatnagar",
"html_url": "https://github.com/varadhbhatnagar",
"followers_url": "https://api... | [
{
"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 | [] | [
"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,697 | 1,700 | 1,700 | NONE | null | ### Feature request
Currently there is no way to specify the attributes which require padding in transformers [DataCollatorWithPadding](https://github.com/huggingface/transformers/blob/v4.34.0/src/transformers/data/data_collator.py#L215).
### Motivation
Two instances from our data may be of this format:
```
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26758/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26758/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26757 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26757/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26757/comments | https://api.github.com/repos/huggingface/transformers/issues/26757/events | https://github.com/huggingface/transformers/issues/26757 | 1,939,698,438 | I_kwDOCUB6oc5znXMG | 26,757 | transformers DefaultDataCollator does not work with 'str' type data | {
"login": "varadhbhatnagar",
"id": 20443618,
"node_id": "MDQ6VXNlcjIwNDQzNjE4",
"avatar_url": "https://avatars.githubusercontent.com/u/20443618?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/varadhbhatnagar",
"html_url": "https://github.com/varadhbhatnagar",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,697 | 1,700 | 1,700 | NONE | null | ### System Info
- `transformers` version: 4.33.3
- Platform: Linux-4.18.0-477.10.1.el8_8.x86_64-x86_64-with-glibc2.28
- Python version: 3.11.3
- Huggingface_hub version: 0.17.3
- Safetensors version: 0.3.1
- Accelerate version: 0.21.0
- Accelerate config: - compute_environment: LOCAL_MACHINE
- distri... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26757/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26757/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26756 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26756/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26756/comments | https://api.github.com/repos/huggingface/transformers/issues/26756/events | https://github.com/huggingface/transformers/pull/26756 | 1,939,670,099 | PR_kwDOCUB6oc5cneyo | 26,756 | chore: fix typos | {
"login": "afuetterer",
"id": 35225576,
"node_id": "MDQ6VXNlcjM1MjI1NTc2",
"avatar_url": "https://avatars.githubusercontent.com/u/35225576?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/afuetterer",
"html_url": "https://github.com/afuetterer",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26756). All of your documentation changes will be reflected on that endpoint."
] | 1,697 | 1,697 | 1,697 | 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/26756/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26756/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26756",
"html_url": "https://github.com/huggingface/transformers/pull/26756",
"diff_url": "https://github.com/huggingface/transformers/pull/26756.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26756.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26755 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26755/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26755/comments | https://api.github.com/repos/huggingface/transformers/issues/26755/events | https://github.com/huggingface/transformers/issues/26755 | 1,939,639,517 | I_kwDOCUB6oc5znIzd | 26,755 | [Bug] TypeError: forward() got an unexpected keyword argument 'padding_mask' | {
"login": "SingL3",
"id": 20473466,
"node_id": "MDQ6VXNlcjIwNDczNDY2",
"avatar_url": "https://avatars.githubusercontent.com/u/20473466?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SingL3",
"html_url": "https://github.com/SingL3",
"followers_url": "https://api.github.com/users/SingL3/fo... | [] | closed | false | null | [] | [
"The issue is that the codebase you are using has [monkey patched in a different `forward` function in the `LlamaAttention` module](https://github.com/pacman100/DHS-LLM-Workshop/blob/main/chat_assistant/training/llama_flash_attn_monkey_patch.py) <-- see the link. The monkey patched `forward` was valid in 4.33 but n... | 1,697 | 1,699 | 1,697 | NONE | null | ### System Info
Copy-and-paste the text below in your GitHub issue and FILL OUT the two last points.
- `transformers` version: 4.34.0
- Platform: Linux-4.18.0-425.3.1.el8.x86_64-x86_64-with-glibc2.31
- Python version: 3.9.18
- Huggingface_hub version: 0.17.3
- Safetensors version: 0.4.0
- Accelerate version:... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26755/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/26755/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26754 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26754/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26754/comments | https://api.github.com/repos/huggingface/transformers/issues/26754/events | https://github.com/huggingface/transformers/pull/26754 | 1,939,622,477 | PR_kwDOCUB6oc5cnUX9 | 26,754 | Fix `MistralIntegrationTest` OOM | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,697 | 1,697 | 1,697 | COLLABORATOR | null | # What does this PR do?
Fix `MistralIntegrationTest` OOM | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26754/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26754/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26754",
"html_url": "https://github.com/huggingface/transformers/pull/26754",
"diff_url": "https://github.com/huggingface/transformers/pull/26754.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26754.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26753 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26753/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26753/comments | https://api.github.com/repos/huggingface/transformers/issues/26753/events | https://github.com/huggingface/transformers/pull/26753 | 1,939,513,422 | PR_kwDOCUB6oc5cm8q5 | 26,753 | Create transformer.py | {
"login": "vibhorjoshi",
"id": 105739194,
"node_id": "U_kgDOBk1zug",
"avatar_url": "https://avatars.githubusercontent.com/u/105739194?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vibhorjoshi",
"html_url": "https://github.com/vibhorjoshi",
"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,697 | 1,702 | 1,702 | 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/26753/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26753/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26753",
"html_url": "https://github.com/huggingface/transformers/pull/26753",
"diff_url": "https://github.com/huggingface/transformers/pull/26753.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26753.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26752 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26752/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26752/comments | https://api.github.com/repos/huggingface/transformers/issues/26752/events | https://github.com/huggingface/transformers/pull/26752 | 1,939,467,574 | PR_kwDOCUB6oc5cmyvX | 26,752 | Add a default decoder_attention_mask for EncoderDecoderModel during training | {
"login": "hackyon",
"id": 1557853,
"node_id": "MDQ6VXNlcjE1NTc4NTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/1557853?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hackyon",
"html_url": "https://github.com/hackyon",
"followers_url": "https://api.github.com/users/hackyon/... | [] | closed | false | null | [] | [
"Yup, training will be affected without this change if we followed the new recommended way of training EncoderDecoderModel (just passing in labels without specifying decoder_input_ids). I've updated the description.\r\n\r\nWe would show a warning. Although there is no crash, the training would be flawed since we wo... | 1,697 | 1,704 | 1,698 | CONTRIBUTOR | null | # What does this PR do?
Add a default decoder_attention_mask for EncoderDecoderModel during training. Since we are already creating the default decoder_input_ids from the labels, we should also create a default decoder_attention_mask to go with it.
Before this fix, the user was shown a warning message ("we strong... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26752/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26752/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26752",
"html_url": "https://github.com/huggingface/transformers/pull/26752",
"diff_url": "https://github.com/huggingface/transformers/pull/26752.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26752.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26751 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26751/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26751/comments | https://api.github.com/repos/huggingface/transformers/issues/26751/events | https://github.com/huggingface/transformers/pull/26751 | 1,939,440,508 | PR_kwDOCUB6oc5cms7f | 26,751 | Add many missing spaces in adjacent strings | {
"login": "tomaarsen",
"id": 37621491,
"node_id": "MDQ6VXNlcjM3NjIxNDkx",
"avatar_url": "https://avatars.githubusercontent.com/u/37621491?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tomaarsen",
"html_url": "https://github.com/tomaarsen",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"CI error is superfluous, merging!",
"Awesome! Thanks for getting to this so quickly, these kinds of PRs can become a merge conflict mess if they're left for too long.",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26751). All of your documentation changes will be r... | 1,697 | 1,697 | 1,697 | MEMBER | null | Hello!
# What does this PR do?
This PR resolves numerous occurrences of the following:
```python
raise ValueError(
"`training_args.block_size` needs to be a multiple of the global train/eval batch size."
f"Got {training_args.block_size}, {train_batch_size} and {eval_batch_size} r... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26751/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26751/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26751",
"html_url": "https://github.com/huggingface/transformers/pull/26751",
"diff_url": "https://github.com/huggingface/transformers/pull/26751.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26751.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26750 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26750/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26750/comments | https://api.github.com/repos/huggingface/transformers/issues/26750/events | https://github.com/huggingface/transformers/pull/26750 | 1,939,423,238 | PR_kwDOCUB6oc5cmpF3 | 26,750 | Fix `PersimmonIntegrationTest` OOM | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"Finally get it to work completely by also using `torch.cuda.empty_cache` and `gc.collect`",
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,697 | 1,697 | 1,697 | COLLABORATOR | null | # What does this PR do?
Fix `PersimmonIntegrationTest` OOM: just use 8-bit | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26750/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26750/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26750",
"html_url": "https://github.com/huggingface/transformers/pull/26750",
"diff_url": "https://github.com/huggingface/transformers/pull/26750.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26750.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26749 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26749/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26749/comments | https://api.github.com/repos/huggingface/transformers/issues/26749/events | https://github.com/huggingface/transformers/pull/26749 | 1,939,400,419 | PR_kwDOCUB6oc5cmkLl | 26,749 | [integration] Update Ray Tune integration for Ray 2.7 (continuation) | {
"login": "krfricke",
"id": 14904111,
"node_id": "MDQ6VXNlcjE0OTA0MTEx",
"avatar_url": "https://avatars.githubusercontent.com/u/14904111?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/krfricke",
"html_url": "https://github.com/krfricke",
"followers_url": "https://api.github.com/users/krf... | [] | closed | false | null | [] | [] | 1,697 | 1,699 | 1,699 | CONTRIBUTOR | null | # What does this PR do?
WIP addition to #26499 (I don't have write rights there and @justinvyu is currently out of office).
Opening here as draft PR to run CI - we can either switch to this PR if CI succeeds or merge my updates into #26499.
<!--
Congratulations! You've made it this far! You're not quite done ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26749/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26749/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26749",
"html_url": "https://github.com/huggingface/transformers/pull/26749",
"diff_url": "https://github.com/huggingface/transformers/pull/26749.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26749.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26748 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26748/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26748/comments | https://api.github.com/repos/huggingface/transformers/issues/26748/events | https://github.com/huggingface/transformers/pull/26748 | 1,939,389,173 | PR_kwDOCUB6oc5cmhty | 26,748 | use isinstance instead of type comparison | {
"login": "kashif",
"id": 8100,
"node_id": "MDQ6VXNlcjgxMDA=",
"avatar_url": "https://avatars.githubusercontent.com/u/8100?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kashif",
"html_url": "https://github.com/kashif",
"followers_url": "https://api.github.com/users/kashif/followers",
... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26748). All of your documentation changes will be reflected on that endpoint.",
"@amyeroberts thanks! so I relaxed the `ruff` version as with these changes the latest `ruff` runs without raising any issues... but yes i un-d... | 1,697 | 1,700 | 1,700 | CONTRIBUTOR | null | # What does this PR do?
Fix for E721 errors which are annoying when doing `make style` with a newer `ruff` | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26748/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26748/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26748",
"html_url": "https://github.com/huggingface/transformers/pull/26748",
"diff_url": "https://github.com/huggingface/transformers/pull/26748.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26748.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26747 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26747/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26747/comments | https://api.github.com/repos/huggingface/transformers/issues/26747/events | https://github.com/huggingface/transformers/pull/26747 | 1,939,311,828 | PR_kwDOCUB6oc5cmQ0N | 26,747 | Translating `en/internal` folder docs to Japanese 🇯🇵 | {
"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 | [] | [
" @stevhliu and @MKhalusova",
"@stevhliu the docbuilder broke due to a misspelled file name.",
"@stevhliu it should pass the tests now. approve the workflow",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26747). All of your documentation changes will be reflected ... | 1,697 | 1,697 | 1,697 | CONTRIBUTOR | null | # What does this PR do?
Add japanese translation to `ja/internal`
<!--
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 awesom... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26747/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26747/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26747",
"html_url": "https://github.com/huggingface/transformers/pull/26747",
"diff_url": "https://github.com/huggingface/transformers/pull/26747.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26747.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26746 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26746/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26746/comments | https://api.github.com/repos/huggingface/transformers/issues/26746/events | https://github.com/huggingface/transformers/issues/26746 | 1,939,268,145 | I_kwDOCUB6oc5zluIx | 26,746 | Translating `en/internal` folder docs to Japanese 🇯🇵 | {
"login": "rajveer43",
"id": 64583161,
"node_id": "MDQ6VXNlcjY0NTgzMTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/64583161?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rajveer43",
"html_url": "https://github.com/rajveer43",
"followers_url": "https://api.github.com/users/... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | closed | false | null | [] | [] | 1,697 | 1,697 | 1,697 | CONTRIBUTOR | null | <!--
Note: Please search to see if an issue already exists for the language you are trying to translate.
-->
Hi!
Let's bring the documentation to all the Japanese-speaking community!
Who would want to translate? Please follow the 🤗 [TRANSLATING guide](https://github.com/huggingface/transformers/blob/main/do... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26746/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26746/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26745 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26745/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26745/comments | https://api.github.com/repos/huggingface/transformers/issues/26745/events | https://github.com/huggingface/transformers/issues/26745 | 1,939,141,886 | I_kwDOCUB6oc5zlPT- | 26,745 | Improving Typing | {
"login": "Siddhesh-Agarwal",
"id": 68057995,
"node_id": "MDQ6VXNlcjY4MDU3OTk1",
"avatar_url": "https://avatars.githubusercontent.com/u/68057995?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Siddhesh-Agarwal",
"html_url": "https://github.com/Siddhesh-Agarwal",
"followers_url": "https://... | [] | closed | false | null | [] | [
"We use typings to make the code readable. We're not looking to have our code **_exactly_** typed if it has to come at the expense of readability. If the changes you have in mind adhere to this mindset, then yes, feel free to open a PR.",
"I totally get you, I'll be making some small changes here there (Hope to m... | 1,697 | 1,700 | 1,700 | NONE | null | ### Feature request
I was working on a project using Transformers and came across a few functions that had not been typed completely. Example:
1. [TrainingArguments](https://github.com/huggingface/transformers/blob/e1cec43415e72c9853288d4e9325b734d36dd617/src/transformers/training_args.py#L161)
2. [activations_tf.py... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26745/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26745/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26744 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26744/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26744/comments | https://api.github.com/repos/huggingface/transformers/issues/26744/events | https://github.com/huggingface/transformers/issues/26744 | 1,939,108,872 | I_kwDOCUB6oc5zlHQI | 26,744 | ImportError: cannot import name 'is_npu_available' from 'accelerate.utils' | {
"login": "congchan",
"id": 18083731,
"node_id": "MDQ6VXNlcjE4MDgzNzMx",
"avatar_url": "https://avatars.githubusercontent.com/u/18083731?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/congchan",
"html_url": "https://github.com/congchan",
"followers_url": "https://api.github.com/users/con... | [] | closed | false | null | [] | [
"Hi, peft requires a higher accelerate version, please do `pip install accelerate -U`",
"> Hi, peft requires a higher accelerate version, please do `pip install accelerate -U`\r\n\r\nHi, I need this version because higher accelerate raise another error `ValueError: FSDP requires PyTorch >= 2.0.1`. \r\nYet for har... | 1,697 | 1,697 | 1,697 | NONE | null | ### System Info
transformer version 4.34
accelerate 0.20.3
Actually I never call peft and use npu, not sure why this import is neccecssary.
cc trainer: @muellerzr and @pacman100
```
Traceback (most recent call last):
Traceback (most recent call last):
Traceback (most recent call last):
Traceback (most re... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26744/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26744/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26743 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26743/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26743/comments | https://api.github.com/repos/huggingface/transformers/issues/26743/events | https://github.com/huggingface/transformers/issues/26743 | 1,939,014,104 | I_kwDOCUB6oc5zkwHY | 26,743 | Problem with eos_token_id not being used when add_eos_token=True is used | {
"login": "iliasmiraoui",
"id": 83364633,
"node_id": "MDQ6VXNlcjgzMzY0NjMz",
"avatar_url": "https://avatars.githubusercontent.com/u/83364633?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/iliasmiraoui",
"html_url": "https://github.com/iliasmiraoui",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"That is most probably because `normalized = True` for this added token. Thus the actual token that is known to the underlying fast tokenizer is `'▁<|im_end|>'` which is why the `<|im_end|>` is not recognized and encoded as an unk token. ",
"I think it was fixed !!"
] | 1,697 | 1,697 | 1,697 | NONE | null | ### System Info
transformers==4.35.dev0
I have been playing around with the new Mistral models/finetunes. For training, I believe it is needed to add "add_eos_token=True" on the tokenizer thats being passed to the SFTrainer so that the model still predicts eos_token at the end of the sequence and it's better than i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26743/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/26743/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26742 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26742/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26742/comments | https://api.github.com/repos/huggingface/transformers/issues/26742/events | https://github.com/huggingface/transformers/issues/26742 | 1,938,793,759 | I_kwDOCUB6oc5zj6Uf | 26,742 | [New model] RT-DETR | {
"login": "rafaelpadilla",
"id": 31217453,
"node_id": "MDQ6VXNlcjMxMjE3NDUz",
"avatar_url": "https://avatars.githubusercontent.com/u/31217453?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rafaelpadilla",
"html_url": "https://github.com/rafaelpadilla",
"followers_url": "https://api.githu... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | open | false | null | [] | [
"I'll be working on porting this model."
] | 1,697 | 1,697 | null | CONTRIBUTOR | null | ### Model description
The paper "DETRs Beat YOLOs on Real-time Object Detection" proposes a Real-Time DEtection TRansformer (RT-Detr), a hybrid encoder and a transformer decoder for object detection tasks.
Repo has +380 stars and paper shows improvement in inference speed and AP in comparison with other models, outpe... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26742/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26742/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26741 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26741/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26741/comments | https://api.github.com/repos/huggingface/transformers/issues/26741/events | https://github.com/huggingface/transformers/pull/26741 | 1,938,399,448 | PR_kwDOCUB6oc5cjIgm | 26,741 | Fix backward compatibility of Conversation | {
"login": "wdhorton",
"id": 13503072,
"node_id": "MDQ6VXNlcjEzNTAzMDcy",
"avatar_url": "https://avatars.githubusercontent.com/u/13503072?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wdhorton",
"html_url": "https://github.com/wdhorton",
"followers_url": "https://api.github.com/users/wdh... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_26741). All of your documentation changes will be reflected on that endpoint."
] | 1,697 | 1,697 | 1,697 | CONTRIBUTOR | null |
# What does this PR do?
I ran into a case where an external library was depending on the `new_user_input` field of Conversation. https://github.com/SeldonIO/MLServer/blob/release/1.4.x/runtimes/huggingface/mlserver_huggingface/codecs/utils.py#L37
This field was deprecated as part of the refactor, but if `trans... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26741/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26741/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26741",
"html_url": "https://github.com/huggingface/transformers/pull/26741",
"diff_url": "https://github.com/huggingface/transformers/pull/26741.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26741.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26740 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26740/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26740/comments | https://api.github.com/repos/huggingface/transformers/issues/26740/events | https://github.com/huggingface/transformers/issues/26740 | 1,938,374,531 | I_kwDOCUB6oc5ziT-D | 26,740 | Cross lingual Summarization decode in wrong language | {
"login": "Mehrab-Hossain",
"id": 50637969,
"node_id": "MDQ6VXNlcjUwNjM3OTY5",
"avatar_url": "https://avatars.githubusercontent.com/u/50637969?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Mehrab-Hossain",
"html_url": "https://github.com/Mehrab-Hossain",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,697 | 1,702 | 1,702 | NONE | null | ### System Info
Colab : https://colab.research.google.com/drive/1C1EbkntltNtcVy7MJmRs1xo37pqmC6u7?usp=sharing
### Who can help?
_No response_
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (su... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26740/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26740/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26739 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26739/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26739/comments | https://api.github.com/repos/huggingface/transformers/issues/26739/events | https://github.com/huggingface/transformers/pull/26739 | 1,938,270,075 | PR_kwDOCUB6oc5circL | 26,739 | fix resume_from_checkpoint bug | {
"login": "Jintao-Huang",
"id": 45290347,
"node_id": "MDQ6VXNlcjQ1MjkwMzQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/45290347?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Jintao-Huang",
"html_url": "https://github.com/Jintao-Huang",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Hello, it seems that citest has encountered a timeout error. It doesn't seem to be an error on my end. Can you help me take a look, please?",
"Hi, any chance you can rebuild/rebase from main? I think that will fix your failing tests. Thanks!",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.... | 1,697 | 1,697 | 1,697 | CONTRIBUTOR | null | # What does this PR do?
Fixes bug:
When `resume_from_checkpoint` is set to True, the `state` is imported, which includes `self.state.best_model_checkpoint`. If the best model is still the one corresponding to the model in the resume_from_checkpoint directory when saving the model during training, an exception will... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26739/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26739/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26739",
"html_url": "https://github.com/huggingface/transformers/pull/26739",
"diff_url": "https://github.com/huggingface/transformers/pull/26739.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26739.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26738 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26738/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26738/comments | https://api.github.com/repos/huggingface/transformers/issues/26738/events | https://github.com/huggingface/transformers/issues/26738 | 1,938,260,182 | I_kwDOCUB6oc5zh4DW | 26,738 | Each IBertLayer receives the same `hidden_states_scaling_factor` in `IBertEncoder.forward()` | {
"login": "mbekmyrz",
"id": 46756692,
"node_id": "MDQ6VXNlcjQ2NzU2Njky",
"avatar_url": "https://avatars.githubusercontent.com/u/46756692?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mbekmyrz",
"html_url": "https://github.com/mbekmyrz",
"followers_url": "https://api.github.com/users/mbe... | [] | closed | false | null | [] | [
"cc @kssteven418 as the designer of the model and porter of the code :)",
"thanks @LysandreJik for reply.\r\n\r\nhello @kssteven418, it seems original source code also passes the same scaling factor to each layer:\r\nhttps://github.com/kssteven418/I-BERT/blob/1b09c759d6aeb71312df9c6ef74fa268a87c934e/fairseq/modul... | 1,697 | 1,700 | 1,700 | NONE | null | **Problem/Question:**
Why each layer receives the same `hidden_states_scaling_factor` in `IBertEncoder.forward()`? https://github.com/huggingface/transformers/blob/fc63914399b6f60512c720959f9182b02ae4a45c/src/transformers/models/ibert/modeling_ibert.py#L584-L590
In fact, `layer_output_scaling_factor` is not even pa... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26738/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26738/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26737 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26737/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26737/comments | https://api.github.com/repos/huggingface/transformers/issues/26737/events | https://github.com/huggingface/transformers/pull/26737 | 1,938,217,987 | PR_kwDOCUB6oc5cif29 | 26,737 | Fix doctest for `Blip2ForConditionalGeneration` | {
"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,697 | 1,697 | 1,697 | COLLABORATOR | null | # What does this PR do?
`Blip2ForConditionalGeneration` doctest fails due to OOM. This PR restructures its docstring to make it pass doctesting. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26737/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26737/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26737",
"html_url": "https://github.com/huggingface/transformers/pull/26737",
"diff_url": "https://github.com/huggingface/transformers/pull/26737.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26737.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26736 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26736/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26736/comments | https://api.github.com/repos/huggingface/transformers/issues/26736/events | https://github.com/huggingface/transformers/issues/26736 | 1,938,066,494 | I_kwDOCUB6oc5zhIw- | 26,736 | update readme | {
"login": "Chanchal-D",
"id": 117251667,
"node_id": "U_kgDOBv0eUw",
"avatar_url": "https://avatars.githubusercontent.com/u/117251667?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Chanchal-D",
"html_url": "https://github.com/Chanchal-D",
"followers_url": "https://api.github.com/users/Cha... | [] | closed | false | null | [] | [
"Sorry you felt bored :(\r\nWhat would you remove?",
"There's a lot of extra theory that is of no use, I can make it short and interactive. Plus there are 200+ model architectures that are too long. only the key highlights should be mentioned.",
"For model architectures I get your point, the rest seems pretty ... | 1,697 | 1,700 | 1,700 | NONE | null | ### Feature request
the existing readme is too long. It should contain prerequisites and license.
### Motivation
I felt bored when I found the readme too long.
### Your contribution
I will make the readme more concise and brief in an interactive way. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26736/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26736/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/26735 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26735/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26735/comments | https://api.github.com/repos/huggingface/transformers/issues/26735/events | https://github.com/huggingface/transformers/pull/26735 | 1,937,765,406 | PR_kwDOCUB6oc5cg6iU | 26,735 | Update docker files to use `torch==2.1.0` | {
"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,697 | 1,697 | 1,697 | COLLABORATOR | null | # What does this PR do?
Make daily CI use torch 2.1.0 🤞 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26735/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26735/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26735",
"html_url": "https://github.com/huggingface/transformers/pull/26735",
"diff_url": "https://github.com/huggingface/transformers/pull/26735.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26735.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26734 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26734/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26734/comments | https://api.github.com/repos/huggingface/transformers/issues/26734/events | https://github.com/huggingface/transformers/pull/26734 | 1,937,716,664 | PR_kwDOCUB6oc5cgvm_ | 26,734 | Revert #20715 | {
"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._",
"The import is missing from `src/transformers/utils/__init__.py` as well. Thanks for adding warnings!",
"put them back to `__init__` too",
"Merge as the failing test is irrelevant."
] | 1,697 | 1,697 | 1,697 | COLLABORATOR | null | # What does this PR do?
Fix #25948 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26734/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26734/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26734",
"html_url": "https://github.com/huggingface/transformers/pull/26734",
"diff_url": "https://github.com/huggingface/transformers/pull/26734.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26734.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26733 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26733/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26733/comments | https://api.github.com/repos/huggingface/transformers/issues/26733/events | https://github.com/huggingface/transformers/pull/26733 | 1,937,644,457 | PR_kwDOCUB6oc5cgfkC | 26,733 | Fix checkpoint path in `no_trainer` scripts | {
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api.github.com/users/mu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,697 | 1,697 | 1,697 | CONTRIBUTOR | null | # What does this PR do?
This PR changes the print statement to print the right path in the `no_trainer` scripts when loading in a checkpoint
Fixes # (issue)
Solves https://github.com/huggingface/transformers/issues/25998
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26733/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26733/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/26733",
"html_url": "https://github.com/huggingface/transformers/pull/26733",
"diff_url": "https://github.com/huggingface/transformers/pull/26733.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/26733.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/26732 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/26732/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/26732/comments | https://api.github.com/repos/huggingface/transformers/issues/26732/events | https://github.com/huggingface/transformers/issues/26732 | 1,937,561,069 | I_kwDOCUB6oc5zfNXt | 26,732 | Error while saving checkpoint during training | {
"login": "ghost",
"id": 10137,
"node_id": "MDQ6VXNlcjEwMTM3",
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ghost",
"html_url": "https://github.com/ghost",
"followers_url": "https://api.github.com/users/ghost/followers",
"f... | [] | closed | false | null | [] | [
"Hmmm we have very little visibility in the error due to your log of the error. Would it be possible to have it completely raise so as to have the traceback?\r\n\r\nAlso could you try installing from source to see if your problem is fixed? You can do so with `pip install git+https://github.com/huggingface/transform... | 1,697 | 1,702 | 1,702 | NONE | null | ### System Info
- `transformers` version: 4.34.0
- Platform: Linux-5.4.0-162-generic-x86_64-with-glibc2.29
- Python version: 3.8.10
- Huggingface_hub version: 0.18.0
- Safetensors version: 0.4.0
- Accelerate version: 0.23.0
- Accelerate config: not found
- PyTorch version (GPU?): 2.1.0+cu121 (True)
- Tens... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/26732/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/26732/timeline | completed | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.