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/23094 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23094/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23094/comments | https://api.github.com/repos/huggingface/transformers/issues/23094/events | https://github.com/huggingface/transformers/pull/23094 | 1,691,553,781 | PR_kwDOCUB6oc5PipK9 | 23,094 | Bump flask from 2.0.3 to 2.3.2 in /examples/research_projects/decision_transformer | {
"login": "dependabot[bot]",
"id": 49699333,
"node_id": "MDM6Qm90NDk2OTkzMzM=",
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dependabot%5Bbot%5D",
"html_url": "https://github.com/apps/dependabot",
"followers_url": "https://a... | [
{
"id": 1905493434,
"node_id": "MDU6TGFiZWwxOTA1NDkzNDM0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/dependencies",
"name": "dependencies",
"color": "0366d6",
"default": false,
"description": "Pull requests that update a dependency file"
}
] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,682 | 1,682 | 1,682 | CONTRIBUTOR | null | Bumps [flask](https://github.com/pallets/flask) from 2.0.3 to 2.3.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/pallets/flask/releases">flask's releases</a>.</em></p>
<blockquote>
<h2>2.3.2</h2>
<p>This is a security fix release for the 2.3.x release branch.</p>
<ul>
<li>... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23094/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23094/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23094",
"html_url": "https://github.com/huggingface/transformers/pull/23094",
"diff_url": "https://github.com/huggingface/transformers/pull/23094.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23094.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23093 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23093/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23093/comments | https://api.github.com/repos/huggingface/transformers/issues/23093/events | https://github.com/huggingface/transformers/pull/23093 | 1,691,493,634 | PR_kwDOCUB6oc5PibuY | 23,093 | Merge type hints from microsoft/python-type-stubs | {
"login": "Avasam",
"id": 1350584,
"node_id": "MDQ6VXNlcjEzNTA1ODQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/1350584?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Avasam",
"html_url": "https://github.com/Avasam",
"followers_url": "https://api.github.com/users/Avasam/foll... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_23093). All of your documentation changes will be reflected on that endpoint.",
"> the tokenizers imported for Fnet, T5 or Pegasus are wrong\r\n\r\nI copied exactly what I obtained from runtime inspection (see image below).... | 1,682 | 1,686 | 1,685 | NONE | null | # What does this PR do?
Merge type definitions from https://github.com/microsoft/python-type-stubs/tree/main/transformers-stubs so it can be removed from Pylance.
This is also work towards #16059
I cross-checked the types with what I got at runtime.
I also ran `pyright --pythonversion=3.7` on both files to sanit... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23093/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23093/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23093",
"html_url": "https://github.com/huggingface/transformers/pull/23093",
"diff_url": "https://github.com/huggingface/transformers/pull/23093.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23093.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23092 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23092/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23092/comments | https://api.github.com/repos/huggingface/transformers/issues/23092/events | https://github.com/huggingface/transformers/issues/23092 | 1,691,332,305 | I_kwDOCUB6oc5kz67R | 23,092 | Simplifying Output from Text Classification Pipelines | {
"login": "907Resident",
"id": 12258706,
"node_id": "MDQ6VXNlcjEyMjU4NzA2",
"avatar_url": "https://avatars.githubusercontent.com/u/12258706?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/907Resident",
"html_url": "https://github.com/907Resident",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"This is also something we cannot change without breaking the code of many many users :-)",
"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 [con... | 1,682 | 1,688 | 1,688 | NONE | null | ### Feature request
> This feature request references the content discussed in a [HF thread](https://discuss.huggingface.co/t/i-have-trained-my-classifier-now-how-do-i-do-predictions/3625).
I was just wondering if there is a particular reason why the output of the `pipe` shown above is a double list?
For instanc... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23092/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23092/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23091 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23091/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23091/comments | https://api.github.com/repos/huggingface/transformers/issues/23091/events | https://github.com/huggingface/transformers/pull/23091 | 1,691,311,902 | PR_kwDOCUB6oc5Phykd | 23,091 | DETR: changing position_embedding and key_value_position_embedding args | {
"login": "Lorenzobattistela",
"id": 70359945,
"node_id": "MDQ6VXNlcjcwMzU5OTQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/70359945?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Lorenzobattistela",
"html_url": "https://github.com/Lorenzobattistela",
"followers_url": "https... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_23091). All of your documentation changes will be reflected on that endpoint.",
"Hi,\r\n\r\nI dont know if this issue is still up.\r\n\r\nI believe you need to change the names of the files mentioned in the fixup too. Since... | 1,682 | 1,688 | 1,688 | CONTRIBUTOR | null |
# What does this PR do?
This PR refers to #19833 , and it just update some variables/docstrings names. Quoting the Issue, the paper mentions that the `position_embeddings` argument of the cross-attention layer are these input embeddings called `object queries`. And the `key_value_position_embeddings` is refered to... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23091/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23091/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23091",
"html_url": "https://github.com/huggingface/transformers/pull/23091",
"diff_url": "https://github.com/huggingface/transformers/pull/23091.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23091.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23090 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23090/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23090/comments | https://api.github.com/repos/huggingface/transformers/issues/23090/events | https://github.com/huggingface/transformers/issues/23090 | 1,691,215,342 | I_kwDOCUB6oc5kzeXu | 23,090 | ConvNextV2 weight not initialized | {
"login": "IMvision12",
"id": 88665786,
"node_id": "MDQ6VXNlcjg4NjY1Nzg2",
"avatar_url": "https://avatars.githubusercontent.com/u/88665786?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/IMvision12",
"html_url": "https://github.com/IMvision12",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi @IMvision12, thanks for opening the issue! This doesn't effect the output logits significantly but we pinpointed the issue and will fix it shortly."
] | 1,682 | 1,683 | 1,683 | CONTRIBUTOR | null | ### System Info
kaggle NoteBook:
- `transformers` version: 4.27.4
- Platform: Linux-5.15.90+-x86_64-with-debian-bullseye-sid
- Python version: 3.7.12
- Huggingface_hub version: 0.13.3
- PyTorch version (GPU?): 1.13.0+cpu (False)
- Tensorflow version (GPU?): 2.11.0 (False)
- Flax version (CPU?/GPU?/TPU?): 0.6.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23090/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23090/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23089 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23089/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23089/comments | https://api.github.com/repos/huggingface/transformers/issues/23089/events | https://github.com/huggingface/transformers/pull/23089 | 1,691,126,522 | PR_kwDOCUB6oc5PhJo6 | 23,089 | [WIP] Add GC ViT model | {
"login": "JorgeAV-ai",
"id": 32791438,
"node_id": "MDQ6VXNlcjMyNzkxNDM4",
"avatar_url": "https://avatars.githubusercontent.com/u/32791438?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JorgeAV-ai",
"html_url": "https://github.com/JorgeAV-ai",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_23089). 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,682 | 1,688 | 1,688 | NONE | null | # What does this PR do?
Adds to the Transformers library the GC ViT model. _still a work in progress, everything but the docs_
I did not find any PR related to this model architecture and i am really surprised, so instead of adding a new _Issue_, i will add here the information related to the model.
### Open sou... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23089/reactions",
"total_count": 2,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23089/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23089",
"html_url": "https://github.com/huggingface/transformers/pull/23089",
"diff_url": "https://github.com/huggingface/transformers/pull/23089.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23089.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23088 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23088/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23088/comments | https://api.github.com/repos/huggingface/transformers/issues/23088/events | https://github.com/huggingface/transformers/pull/23088 | 1,691,126,256 | PR_kwDOCUB6oc5PhJk5 | 23,088 | Generate: work around PT `multinomial` sampling 0 probability tokens | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"As discussed internally, this is a regression on the PyTorch side for 2.0, so this should be fixed by PyTorch and not by us adding some overload to `generate`.",
"(closing because of the comment above)"
] | 1,682 | 1,684 | 1,682 | MEMBER | null | # What does this PR do?
Fixes #22979
As raised in [this `transformers` issue](https://github.com/huggingface/transformers/issues/22979) and [this `pytorch` issue](https://github.com/pytorch/pytorch/issues/48841), `multinomial` can erroneously pick `0` probability tokens. According to the reports and my own obser... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23088/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23088/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23088",
"html_url": "https://github.com/huggingface/transformers/pull/23088",
"diff_url": "https://github.com/huggingface/transformers/pull/23088.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23088.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23087 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23087/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23087/comments | https://api.github.com/repos/huggingface/transformers/issues/23087/events | https://github.com/huggingface/transformers/issues/23087 | 1,691,008,728 | I_kwDOCUB6oc5kyr7Y | 23,087 | RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation: [torch.cuda.LongTensor [1, 128]] is at version 3; expected version 2 instead. Hint: the backtrace further above shows the operation that failed to compute its gradient. The variable in question was changed in t... | {
"login": "jordane95",
"id": 69186130,
"node_id": "MDQ6VXNlcjY5MTg2MTMw",
"avatar_url": "https://avatars.githubusercontent.com/u/69186130?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jordane95",
"html_url": "https://github.com/jordane95",
"followers_url": "https://api.github.com/users/... | [
{
"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 | [] | [
"Hey! \r\nGiven how big the reproduction script is, I'm gonna say this is probably related to the way you are wrapping the use of transformers models, and would recommend you to ask on the [forum](https://discuss.huggingface.co/) to see if anyone in the community can help you with this! \r\nI won't have time to div... | 1,682 | 1,707 | 1,692 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.25.1
- Platform: Linux-5.13.0-27-generic-x86_64-with-debian-bullseye-sid
- Python version: 3.7.15
- Huggingface_hub version: 0.11.1
- PyTorch version (GPU?): 1.10.1+cu113 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not instal... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23087/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23087/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23086 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23086/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23086/comments | https://api.github.com/repos/huggingface/transformers/issues/23086/events | https://github.com/huggingface/transformers/issues/23086 | 1,690,900,444 | I_kwDOCUB6oc5kyRfc | 23,086 | VideoMAEForVideoClassification does not support `device_map='auto'` yet. | {
"login": "MichaelRipa",
"id": 51883134,
"node_id": "MDQ6VXNlcjUxODgzMTM0",
"avatar_url": "https://avatars.githubusercontent.com/u/51883134?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MichaelRipa",
"html_url": "https://github.com/MichaelRipa",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"cc @alaradirik and @amyeroberts ",
"Hi I would like give an update about this question: the questions was solved by manually setting device_map in accelerate.\r\n/\r\nHi, thanks for the commitment. I tested with this change, but there is still a bug which made me very confusing: \r\n```python\r\nRuntimeError: CU... | 1,682 | 1,695 | 1,695 | CONTRIBUTOR | null | ### Feature request
Support for `device_map = 'auto'` so that the VideoMAE models can be run with Int8 mixed precision. For reproducibility, here is what I get when I run the command in a collab notebook (w/ GPU) with accelerate and bitsandbytes installed:
```
from transformers import AutoModelForVideoClassificati... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23086/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23086/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23085 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23085/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23085/comments | https://api.github.com/repos/huggingface/transformers/issues/23085/events | https://github.com/huggingface/transformers/pull/23085 | 1,690,800,787 | PR_kwDOCUB6oc5PgEk5 | 23,085 | Depricate xpu_backend for ddp_backend | {
"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": 2107554019,
"node_id": "MDU6TGFiZWwyMTA3NTU0MDE5",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Distributed%20Training%20/%20Models",
"name": "Distributed Training / Models",
"color": "fef2c0",
"default": false,
"description": ""
},
{
"id": 2155169... | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,682 | 1,682 | 1,682 | CONTRIBUTOR | null | # What does this PR do?
This PR depricates the `xpu_backend` training argument for a new `ddp_backend` argument that can be passed to the `AcceleratorState` directly when desired/appropriate.
Fixes # (issue)
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other che... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23085/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23085/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23085",
"html_url": "https://github.com/huggingface/transformers/pull/23085",
"diff_url": "https://github.com/huggingface/transformers/pull/23085.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23085.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23084 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23084/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23084/comments | https://api.github.com/repos/huggingface/transformers/issues/23084/events | https://github.com/huggingface/transformers/issues/23084 | 1,690,666,445 | I_kwDOCUB6oc5kxYXN | 23,084 | A potential bug here found in `BeamSearchScorer.process` | {
"login": "ZachVec",
"id": 75198239,
"node_id": "MDQ6VXNlcjc1MTk4MjM5",
"avatar_url": "https://avatars.githubusercontent.com/u/75198239?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ZachVec",
"html_url": "https://github.com/ZachVec",
"followers_url": "https://api.github.com/users/ZachVe... | [] | closed | false | null | [] | [
"Hey @ZachVec -- I believe you are correct, the implementation is incorrect for batch size > 1. I'll open a PR to fix it :)",
"Should be fixed now 🤗 "
] | 1,682 | 1,683 | 1,683 | NONE | null | ### System Info
System doesn't matter.
### Who can help?
@gante
### 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)
##... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23084/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23084/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23083 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23083/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23083/comments | https://api.github.com/repos/huggingface/transformers/issues/23083/events | https://github.com/huggingface/transformers/pull/23083 | 1,690,629,784 | PR_kwDOCUB6oc5PfgN- | 23,083 | Fix string syntax error in logger warning message (additional comma) | {
"login": "xwen99",
"id": 48824317,
"node_id": "MDQ6VXNlcjQ4ODI0MzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/48824317?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xwen99",
"html_url": "https://github.com/xwen99",
"followers_url": "https://api.github.com/users/xwen99/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,682 | 1,682 | 1,682 | 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/23083/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23083/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23083",
"html_url": "https://github.com/huggingface/transformers/pull/23083",
"diff_url": "https://github.com/huggingface/transformers/pull/23083.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23083.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23082 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23082/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23082/comments | https://api.github.com/repos/huggingface/transformers/issues/23082/events | https://github.com/huggingface/transformers/pull/23082 | 1,690,572,310 | PR_kwDOCUB6oc5PfTvN | 23,082 | Add support for beam search's num_return_sequencs flag in flax | {
"login": "mayankagarwals",
"id": 39498938,
"node_id": "MDQ6VXNlcjM5NDk4OTM4",
"avatar_url": "https://avatars.githubusercontent.com/u/39498938?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mayankagarwals",
"html_url": "https://github.com/mayankagarwals",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"CC @gianlucadetommaso and @gante ",
"_The documentation is not available anymore as the PR was closed or merged._",
"@mayankagarwals to make our CI green, you will likely need to rebase with `main`, then run `make fixup`, then commit. \r\n\r\nAlso, tag the PR as ready when you're ready for a final check from a... | 1,682 | 1,683 | 1,683 | CONTRIBUTOR | null | Fixes part of https://github.com/huggingface/transformers/issues/22696 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23082/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23082/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23082",
"html_url": "https://github.com/huggingface/transformers/pull/23082",
"diff_url": "https://github.com/huggingface/transformers/pull/23082.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23082.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23081 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23081/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23081/comments | https://api.github.com/repos/huggingface/transformers/issues/23081/events | https://github.com/huggingface/transformers/issues/23081 | 1,690,552,268 | I_kwDOCUB6oc5kw8fM | 23,081 | GPTNeoXAttention does not deal with odd numbers of attention heads | {
"login": "peter-sk",
"id": 6168908,
"node_id": "MDQ6VXNlcjYxNjg5MDg=",
"avatar_url": "https://avatars.githubusercontent.com/u/6168908?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/peter-sk",
"html_url": "https://github.com/peter-sk",
"followers_url": "https://api.github.com/users/peter... | [] | closed | false | null | [] | [
"Hey! Thanks for reporting!Feel free to open a PR that raises and error when the hidden size is not divisible by the number of heads. This indeed should not happen. (Can probably be checked in the config)"
] | 1,682 | 1,687 | 1,687 | CONTRIBUTOR | null | ### System Info
transformers 4.29, HEAD
Linux (not relevant, reproducible on e.g. Mac OS)
python 3.10.11 (not relevant, reproducible on e.g. python 3.9.13)
### Who can help?
@ArthurZucker
@younesbelkada
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [X] An offici... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23081/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23081/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23080 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23080/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23080/comments | https://api.github.com/repos/huggingface/transformers/issues/23080/events | https://github.com/huggingface/transformers/pull/23080 | 1,690,173,705 | PR_kwDOCUB6oc5Pd8yv | 23,080 | Fix grammar error in summarization pipeline | {
"login": "SKaplanOfficial",
"id": 7865925,
"node_id": "MDQ6VXNlcjc4NjU5MjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7865925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SKaplanOfficial",
"html_url": "https://github.com/SKaplanOfficial",
"followers_url": "https://api.g... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thank you very much ! "
] | 1,682 | 1,682 | 1,682 | CONTRIBUTOR | null | # What does this PR do?
Fixes a minor grammar error I noticed while using the summarization pipeline.
## 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/transf... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23080/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23080/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23080",
"html_url": "https://github.com/huggingface/transformers/pull/23080",
"diff_url": "https://github.com/huggingface/transformers/pull/23080.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23080.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23079 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23079/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23079/comments | https://api.github.com/repos/huggingface/transformers/issues/23079/events | https://github.com/huggingface/transformers/issues/23079 | 1,690,066,113 | I_kwDOCUB6oc5kvFzB | 23,079 | Trainer doesn't run `compute_metrics` when a `torch.compile` model is passed. | {
"login": "davidgilbertson",
"id": 4443482,
"node_id": "MDQ6VXNlcjQ0NDM0ODI=",
"avatar_url": "https://avatars.githubusercontent.com/u/4443482?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/davidgilbertson",
"html_url": "https://github.com/davidgilbertson",
"followers_url": "https://api.g... | [] | closed | false | null | [] | [
"Another thing I just discovered, it also doesn't complete `save_pretrained()` correctly. Is saves _something_, but there isn't a `config.json` file in there. I'm guessing it's the line in `_save()` starting with `if not isinstance(self.model, PreTrainedModel)...`\r\n\r\nAgain, I know now I can do `torch_compile`, ... | 1,682 | 1,686 | 1,686 | NONE | null | ### System Info
- `transformers` version: 4.28.1
- Platform: Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.31
- Python version: 3.10.8
- Huggingface_hub version: 0.12.1
- Safetensors version: not installed
- PyTorch version (GPU?): 2.0.0+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23079/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23079/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23078 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23078/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23078/comments | https://api.github.com/repos/huggingface/transformers/issues/23078/events | https://github.com/huggingface/transformers/pull/23078 | 1,690,047,505 | PR_kwDOCUB6oc5Pdizg | 23,078 | Fix `convnext` __init__ | {
"login": "IMvision12",
"id": 88665786,
"node_id": "MDQ6VXNlcjg4NjY1Nzg2",
"avatar_url": "https://avatars.githubusercontent.com/u/88665786?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/IMvision12",
"html_url": "https://github.com/IMvision12",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,682 | 1,683 | 1,682 | CONTRIBUTOR | null | # What does this PR do
Fix
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23078/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23078/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23078",
"html_url": "https://github.com/huggingface/transformers/pull/23078",
"diff_url": "https://github.com/huggingface/transformers/pull/23078.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23078.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23077 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23077/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23077/comments | https://api.github.com/repos/huggingface/transformers/issues/23077/events | https://github.com/huggingface/transformers/issues/23077 | 1,690,019,033 | I_kwDOCUB6oc5ku6TZ | 23,077 | [i18n-<languageCode>] Translating docs to <languageName> | {
"login": "johnihsususjd",
"id": 132223428,
"node_id": "U_kgDOB-GRxA",
"avatar_url": "https://avatars.githubusercontent.com/u/132223428?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/johnihsususjd",
"html_url": "https://github.com/johnihsususjd",
"followers_url": "https://api.github.com/... | [
{
"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,682 | 1,682 | 1,682 | 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 <languageName>-speaking community 🌐 (currently 0 out of 267 complete)
Who would want to translate? Please follow the 🤗 [TRANSLATING guide](https://github.com/hug... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23077/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23077/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23076 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23076/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23076/comments | https://api.github.com/repos/huggingface/transformers/issues/23076/events | https://github.com/huggingface/transformers/issues/23076 | 1,689,949,984 | I_kwDOCUB6oc5kupcg | 23,076 | Unable to compare versions for numpy>=1.17: need=1.17 found=None. | {
"login": "Hanochhu",
"id": 52187558,
"node_id": "MDQ6VXNlcjUyMTg3NTU4",
"avatar_url": "https://avatars.githubusercontent.com/u/52187558?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Hanochhu",
"html_url": "https://github.com/Hanochhu",
"followers_url": "https://api.github.com/users/Han... | [] | closed | false | null | [] | [
"Updating transformers to the latest version should fix the problem. \r\nYou can run:\r\n`pip install --upgrade transformers`\r\nto update Transformers to the latest version.",
"> I have tried conda update transformers , but when it finished ,there is no error and the version didn't change. still is 4.18.0. \r\n... | 1,682 | 1,699 | 1,683 | NONE | null | ### System Info
Ubuntu 18.04.6
transformers version : 4.18.0
pytorch version : 2.0.0
numpy version : 1.24.3
conda env
### Who can help?
@sgugger
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [X] An officially supported task in the `examples` folder (such... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23076/reactions",
"total_count": 3,
"+1": 3,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23076/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23075 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23075/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23075/comments | https://api.github.com/repos/huggingface/transformers/issues/23075/events | https://github.com/huggingface/transformers/pull/23075 | 1,689,924,961 | PR_kwDOCUB6oc5PdKeT | 23,075 | Fix check for backword_pos | {
"login": "winglian",
"id": 381258,
"node_id": "MDQ6VXNlcjM4MTI1OA==",
"avatar_url": "https://avatars.githubusercontent.com/u/381258?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/winglian",
"html_url": "https://github.com/winglian",
"followers_url": "https://api.github.com/users/winglia... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"cc @pacman100 "
] | 1,682 | 1,683 | 1,683 | CONTRIBUTOR | null | # What does this PR do?
This fixes what I believe the original intention of this line should have been. @raghavanone ??
original PR here: https://github.com/huggingface/transformers/pull/21237
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to ap... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23075/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23075/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23075",
"html_url": "https://github.com/huggingface/transformers/pull/23075",
"diff_url": "https://github.com/huggingface/transformers/pull/23075.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23075.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23074 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23074/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23074/comments | https://api.github.com/repos/huggingface/transformers/issues/23074/events | https://github.com/huggingface/transformers/issues/23074 | 1,689,884,690 | I_kwDOCUB6oc5kuZgS | 23,074 | How to use BartEncoder and BartDecoder | {
"login": "ryliu68",
"id": 23697666,
"node_id": "MDQ6VXNlcjIzNjk3NjY2",
"avatar_url": "https://avatars.githubusercontent.com/u/23697666?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ryliu68",
"html_url": "https://github.com/ryliu68",
"followers_url": "https://api.github.com/users/ryliu6... | [] | closed | false | null | [] | [
"@LRY0111 Even though BART is a Sequence to Sequence Transformer trained with a Denoising Autoencoder objective, it has been trained to reconstruct the original text. So I don't think you can use BART to represent \"A\" as \"z\" using the base model.\r\nYou can find more information in the model docs [here](https:/... | 1,682 | 1,686 | 1,686 | NONE | null | ### System Info
I'm a CVer, I want to use Bart as Auto-Encoder in CV task.
Here I have a question, how to use BartEncoder to encode **A** to **z**, and then how to decode **z** to "A"?
I need an example code; please help me, than you very much.
Maybe like this two?
one:
```
model = BartForConditionalGene... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23074/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23074/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23073 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23073/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23073/comments | https://api.github.com/repos/huggingface/transformers/issues/23073/events | https://github.com/huggingface/transformers/pull/23073 | 1,689,883,472 | PR_kwDOCUB6oc5PdCei | 23,073 | Added type hints for `Graphormer` pytorch version | {
"login": "dewasahu2003",
"id": 95997298,
"node_id": "U_kgDOBbjNcg",
"avatar_url": "https://avatars.githubusercontent.com/u/95997298?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dewasahu2003",
"html_url": "https://github.com/dewasahu2003",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"This looks pretty good! Is there a reason to use `Union[torch.Tensor, torch.LongTensor]` instead of just `torch.LongTensor`?",
"@Rocketknight1 Hi 👋\r\n- `Union[torch.Tensor, torch.LongTensor]` is used because the file had a lot of... | 1,682 | 1,684 | 1,684 | CONTRIBUTOR | null | @Rocketknight1 👋
- I added type hint for `graphormer` pytorch
- checked formatting with black and ruff
if some checks on ci/cd do not, please do comment and correct | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23073/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23073/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23073",
"html_url": "https://github.com/huggingface/transformers/pull/23073",
"diff_url": "https://github.com/huggingface/transformers/pull/23073.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23073.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23072 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23072/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23072/comments | https://api.github.com/repos/huggingface/transformers/issues/23072/events | https://github.com/huggingface/transformers/issues/23072 | 1,689,666,073 | I_kwDOCUB6oc5ktkIZ | 23,072 | Register a custom tokenizer with AutoTokenizer | {
"login": "rahular",
"id": 1104544,
"node_id": "MDQ6VXNlcjExMDQ1NDQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/1104544?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rahular",
"html_url": "https://github.com/rahular",
"followers_url": "https://api.github.com/users/rahular/... | [] | closed | false | null | [] | [
"You can have a look at the [documentation here](https://huggingface.co/docs/transformers/custom_models) but this is already supported. Just do `CustomTokenizer.register_for_auto_class()` like for the models.",
"Duh! I was doing this for the models but didn't make the connection to the tokenizer. Thanks @sgugger!... | 1,682 | 1,707 | 1,682 | CONTRIBUTOR | null | ### System Info
(Possible duplicate: #10256)
I have written a custom tokenizer that builds on top of `BertTokenizer` (returns one extra list of ids that will later be embedded in a custom model). I have pushed it to Hub as well. Now, how can I allow others to use it? The code for the tokenizer is uploaded to Hub al... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23072/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23072/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23071 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23071/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23071/comments | https://api.github.com/repos/huggingface/transformers/issues/23071/events | https://github.com/huggingface/transformers/pull/23071 | 1,689,651,874 | PR_kwDOCUB6oc5PcXIA | 23,071 | added type hints for blip_text pytorch model | {
"login": "iamarunbrahma",
"id": 6504730,
"node_id": "MDQ6VXNlcjY1MDQ3MzA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6504730?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/iamarunbrahma",
"html_url": "https://github.com/iamarunbrahma",
"followers_url": "https://api.github.... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,682 | 1,683 | 1,683 | CONTRIBUTOR | null | # What does this PR do?
Added type hints for blip_text pytorch model as tasked in https://github.com/huggingface/transformers/issues/16059
@Rocketknight1 Could you review this? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23071/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23071/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23071",
"html_url": "https://github.com/huggingface/transformers/pull/23071",
"diff_url": "https://github.com/huggingface/transformers/pull/23071.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23071.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23070 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23070/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23070/comments | https://api.github.com/repos/huggingface/transformers/issues/23070/events | https://github.com/huggingface/transformers/issues/23070 | 1,689,631,597 | I_kwDOCUB6oc5ktbtt | 23,070 | KeyError: 'eval_loss' (LLaMA finetuning) | {
"login": "coen22",
"id": 6968825,
"node_id": "MDQ6VXNlcjY5Njg4MjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6968825?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/coen22",
"html_url": "https://github.com/coen22",
"followers_url": "https://api.github.com/users/coen22/foll... | [] | closed | false | null | [] | [
"Not certain, but this may be related to #22885.",
"> Not certain, but this may be related to #22885.\r\n\r\nThanks for the reference, however the proposed workaround (`label_names=[\"labels\"]`) did not work.\r\n\r\n",
"Please post a reproducer we can execute.",
"This issue has been automatically marked as s... | 1,682 | 1,696 | 1,686 | NONE | null | ### System Info
- `transformers` version: 4.28.1
- Platform: Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35
- Python version: 3.10.6
- Huggingface_hub version: 0.13.3
- Safetensors version: 0.3.0
- PyTorch version (GPU?): 2.0.0+cu117 (True)
- Jax version: not installed
- JaxLib version: not ins... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23070/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23070/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23069 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23069/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23069/comments | https://api.github.com/repos/huggingface/transformers/issues/23069/events | https://github.com/huggingface/transformers/issues/23069 | 1,689,608,828 | I_kwDOCUB6oc5ktWJ8 | 23,069 | convert_data2vec_audio_original_pytorch_checkpoint_to_pytorch.py works for data2vec 1.0 checkpoint but not data2vec 2.0 | {
"login": "alanrice",
"id": 11898,
"node_id": "MDQ6VXNlcjExODk4",
"avatar_url": "https://avatars.githubusercontent.com/u/11898?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alanrice",
"html_url": "https://github.com/alanrice",
"followers_url": "https://api.github.com/users/alanrice/foll... | [] | closed | false | null | [] | [
"Getting beyond the key error by either commenting [lines 212-213](https://github.com/huggingface/transformers/blob/849367ccf741d8c58aa88ccfe1d52d8636eaf2b7/src/transformers/models/data2vec/convert_data2vec_audio_original_pytorch_checkpoint_to_pytorch.py#L212C50-L213 ) or changing the keys to `modality_encoders.AUD... | 1,682 | 1,686 | 1,686 | NONE | null | ### System Info
- `transformers` version: 4.21.3
- Platform: Linux-5.4.0-122-generic-x86_64-with-glibc2.31
- Python version: 3.9.16
- Huggingface_hub version: 0.12.0
- PyTorch version (GPU?): 1.13.1+cu116 (True)
- Tensorflow version (GPU?): 2.9.2 (True)
- Flax version (CPU?/GPU?/TPU?): 0.6.3 (gpu)
- Jax versi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23069/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23069/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23068 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23068/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23068/comments | https://api.github.com/repos/huggingface/transformers/issues/23068/events | https://github.com/huggingface/transformers/pull/23068 | 1,689,604,580 | PR_kwDOCUB6oc5PcOOn | 23,068 | 🌐 [i18n-KO] Translated `tasks/zero_shot_object_detection.mdx` to Korean | {
"login": "HanNayeoniee",
"id": 33839093,
"node_id": "MDQ6VXNlcjMzODM5MDkz",
"avatar_url": "https://avatars.githubusercontent.com/u/33839093?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HanNayeoniee",
"html_url": "https://github.com/HanNayeoniee",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Can you solve the conflicts so we can merge this PR?",
"> Can you solve the conflicts so we can merge this PR?\r\n\r\ntoctree file of this branch causes a conflict because it's different from the new version. \r\nAs shown in [[doc... | 1,682 | 1,684 | 1,684 | CONTRIBUTOR | null | <!-- PR의 제목은 "🌐 [i18n-KO] Translated `<your_file>.mdx` to Korean" 으로 부탁드립니다 -->
# What does this PR do?
Translated the `tasks/zero_shot_object_detection.mdx` file of the documentation to Korean.
Thank you in advance for your review.
Part of https://github.com/huggingface/transformers/issues/20179
<!-- 메인 이슈에... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23068/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/23068/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23068",
"html_url": "https://github.com/huggingface/transformers/pull/23068",
"diff_url": "https://github.com/huggingface/transformers/pull/23068.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23068.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23067 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23067/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23067/comments | https://api.github.com/repos/huggingface/transformers/issues/23067/events | https://github.com/huggingface/transformers/pull/23067 | 1,689,603,118 | PR_kwDOCUB6oc5PcN9Z | 23,067 | added type hints in graphormer | {
"login": "dewasahu2003",
"id": 95997298,
"node_id": "U_kgDOBbjNcg",
"avatar_url": "https://avatars.githubusercontent.com/u/95997298?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dewasahu2003",
"html_url": "https://github.com/dewasahu2003",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_23067). All of your documentation changes will be reflected on that endpoint."
] | 1,682 | 1,682 | 1,682 | CONTRIBUTOR | null | @Rocketknight1 I added type hints for `Graphormers` for pytorch as described in [issue #16059 ](https://github.com/huggingface/transformers/issues/16059)
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23067/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23067/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23067",
"html_url": "https://github.com/huggingface/transformers/pull/23067",
"diff_url": "https://github.com/huggingface/transformers/pull/23067.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23067.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23066 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23066/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23066/comments | https://api.github.com/repos/huggingface/transformers/issues/23066/events | https://github.com/huggingface/transformers/pull/23066 | 1,689,581,890 | PR_kwDOCUB6oc5PcKA_ | 23,066 | Update setup.py | {
"login": "ice-black",
"id": 55835551,
"node_id": "MDQ6VXNlcjU1ODM1NTUx",
"avatar_url": "https://avatars.githubusercontent.com/u/55835551?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ice-black",
"html_url": "https://github.com/ice-black",
"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_23066). All of your documentation changes will be reflected on that endpoint."
] | 1,682 | 1,682 | 1,682 | 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/23066/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23066/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23066",
"html_url": "https://github.com/huggingface/transformers/pull/23066",
"diff_url": "https://github.com/huggingface/transformers/pull/23066.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23066.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23065 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23065/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23065/comments | https://api.github.com/repos/huggingface/transformers/issues/23065/events | https://github.com/huggingface/transformers/pull/23065 | 1,689,573,480 | PR_kwDOCUB6oc5PcIcE | 23,065 | 🌐 [i18n-KO] Translated `tasks/zero_shot_image_classification.mdx` to Korean | {
"login": "HanNayeoniee",
"id": 33839093,
"node_id": "MDQ6VXNlcjMzODM5MDkz",
"avatar_url": "https://avatars.githubusercontent.com/u/33839093?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HanNayeoniee",
"html_url": "https://github.com/HanNayeoniee",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"LGTM! :-) "
] | 1,682 | 1,683 | 1,682 | CONTRIBUTOR | null | <!-- PR의 제목은 "🌐 [i18n-KO] Translated `<your_file>.mdx` to Korean" 으로 부탁드립니다 -->
# What does this PR do?
Translated the `tasks/zero_shot_image_classification.mdx` file of the documentation to Korean.
Thank you in advance for your review.
Part of https://github.com/huggingface/transformers/issues/20179
<!-- 메인... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23065/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23065/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23065",
"html_url": "https://github.com/huggingface/transformers/pull/23065",
"diff_url": "https://github.com/huggingface/transformers/pull/23065.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23065.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23064 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23064/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23064/comments | https://api.github.com/repos/huggingface/transformers/issues/23064/events | https://github.com/huggingface/transformers/pull/23064 | 1,689,566,422 | PR_kwDOCUB6oc5PcHHL | 23,064 | 🌐 [i18n-KO] docs: ko: Translate `multiple_choice.mdx` | {
"login": "gabrielwithappy",
"id": 102908949,
"node_id": "U_kgDOBiJEFQ",
"avatar_url": "https://avatars.githubusercontent.com/u/102908949?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gabrielwithappy",
"html_url": "https://github.com/gabrielwithappy",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Team PseudoLab, may you please review this PR? @0525hhgus, @KIHOON71, @sim-so, @gabrielwithappy, @HanNayeoniee, @wonhyeongseo, @jungnerd",
"@sgugger, @ArthurZucker, @eunseojo \r\nMay you please review this PR?"
] | 1,682 | 1,683 | 1,683 | CONTRIBUTOR | null | <!-- PR의 제목은 "🌐 [i18n-KO] Translated `<your_file>.mdx` to Korean" 으로 부탁드립니다 -->
# What does this PR do?
Translated the `multiple_choice.mdx` file of the documentation to Korean.
Thank you in advance for your review.
Part of https://github.com/huggingface/transformers/issues/20179
<!-- 메인 이슈에 기록이 남아요! 가짜연구소 리... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23064/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23064/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23064",
"html_url": "https://github.com/huggingface/transformers/pull/23064",
"diff_url": "https://github.com/huggingface/transformers/pull/23064.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23064.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23063 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23063/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23063/comments | https://api.github.com/repos/huggingface/transformers/issues/23063/events | https://github.com/huggingface/transformers/pull/23063 | 1,689,547,949 | PR_kwDOCUB6oc5PcDng | 23,063 | Flamingo Implementation | {
"login": "king159",
"id": 35168738,
"node_id": "MDQ6VXNlcjM1MTY4NzM4",
"avatar_url": "https://avatars.githubusercontent.com/u/35168738?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/king159",
"html_url": "https://github.com/king159",
"followers_url": "https://api.github.com/users/king15... | [] | closed | false | null | [] | [
"Respect! Openflamingo needs be built with huggingface transformers for more efficient training and inference.\r\n\r\nWe have already adapted it in our [Otter model](https://github.com/Luodian/Otter) (an instruction tuned model based on flamingo). We uploaded a converted openflamingo-9b weights at [luodian/openflam... | 1,682 | 1,690 | 1,690 | NONE | null | # What does this PR do?
Implementation of Flamingo models (https://arxiv.org/abs/2204.14198). Model weights trained by Open Flamingo team can be downloaded [here](https://huggingface.co/openflamingo/OpenFlamingo-9B). Weight conversion script is included.
Weights conversion can be run via:
``` python
python src/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23063/reactions",
"total_count": 3,
"+1": 3,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23063/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23063",
"html_url": "https://github.com/huggingface/transformers/pull/23063",
"diff_url": "https://github.com/huggingface/transformers/pull/23063.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23063.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23062 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23062/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23062/comments | https://api.github.com/repos/huggingface/transformers/issues/23062/events | https://github.com/huggingface/transformers/issues/23062 | 1,689,474,580 | I_kwDOCUB6oc5ks1YU | 23,062 | [docs] broken link in `torchscript.mdx` | {
"login": "sim-so",
"id": 96299403,
"node_id": "U_kgDOBb1piw",
"avatar_url": "https://avatars.githubusercontent.com/u/96299403?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sim-so",
"html_url": "https://github.com/sim-so",
"followers_url": "https://api.github.com/users/sim-so/followers"... | [] | closed | false | null | [] | [
"Thanks for catching this! Would you like to open a PR with your fix? 🤗",
"Hello, @stevhliu !\r\nI opened PR #23060 for translating the document to Korean as well as fixing the issue.\r\nPlease let me know if it would be better to open another PR for the fix separately."
] | 1,682 | 1,683 | 1,683 | CONTRIBUTOR | null | ### Description
Broken `serialization#using-torchscript-in-python` should be `torchscript#using-torchscript-in-python`, in line number 201 of `torchscript.mdx`.
### Document / language
`torchscript.mdx` / en, kr
### Suggestion
As is:
```
### Converting a model for AWS Neuron
Convert a model for AWS NEURON usi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23062/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23062/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23061 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23061/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23061/comments | https://api.github.com/repos/huggingface/transformers/issues/23061/events | https://github.com/huggingface/transformers/pull/23061 | 1,689,438,075 | PR_kwDOCUB6oc5PbtWn | 23,061 | num_noise_spans should be <= num_items #22246 | {
"login": "alexcpn",
"id": 1157251,
"node_id": "MDQ6VXNlcjExNTcyNTE=",
"avatar_url": "https://avatars.githubusercontent.com/u/1157251?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alexcpn",
"html_url": "https://github.com/alexcpn",
"followers_url": "https://api.github.com/users/alexcpn/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_23061). All of your documentation changes will be reflected on that endpoint."
] | 1,682 | 1,682 | 1,682 | CONTRIBUTOR | null | Clone of https://github.com/huggingface/transformers/pull/22938 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23061/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23061/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23061",
"html_url": "https://github.com/huggingface/transformers/pull/23061",
"diff_url": "https://github.com/huggingface/transformers/pull/23061.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23061.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23060 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23060/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23060/comments | https://api.github.com/repos/huggingface/transformers/issues/23060/events | https://github.com/huggingface/transformers/pull/23060 | 1,689,287,866 | PR_kwDOCUB6oc5PbOB8 | 23,060 | 🌐 [i18n-KO] Translated `torchscript.mdx` to Korean | {
"login": "sim-so",
"id": 96299403,
"node_id": "U_kgDOBb1piw",
"avatar_url": "https://avatars.githubusercontent.com/u/96299403?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sim-so",
"html_url": "https://github.com/sim-so",
"followers_url": "https://api.github.com/users/sim-so/followers"... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Could you review this PR? 😃 \r\n@sgugger, @ArthurZucker, @eunseojo"
] | 1,682 | 1,685 | 1,683 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23060/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23060/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23060",
"html_url": "https://github.com/huggingface/transformers/pull/23060",
"diff_url": "https://github.com/huggingface/transformers/pull/23060.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23060.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23059 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23059/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23059/comments | https://api.github.com/repos/huggingface/transformers/issues/23059/events | https://github.com/huggingface/transformers/pull/23059 | 1,689,287,824 | PR_kwDOCUB6oc5PbOBb | 23,059 | GPTNeoXForQuestionAnswering | {
"login": "peter-sk",
"id": 6168908,
"node_id": "MDQ6VXNlcjYxNjg5MDg=",
"avatar_url": "https://avatars.githubusercontent.com/u/6168908?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/peter-sk",
"html_url": "https://github.com/peter-sk",
"followers_url": "https://api.github.com/users/peter... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@sgugger @younesbelkada as Arthur is on holdiays 👍 ",
"@younesbelkada @amyeroberts this one is ready for review :-)"
] | 1,682 | 1,683 | 1,683 | CONTRIBUTOR | null | # What does this PR do?
Adds GPTNeoXForQuestionAnswering.
Includes #23030 and #23057.
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [X] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/mai... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23059/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23059/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23059",
"html_url": "https://github.com/huggingface/transformers/pull/23059",
"diff_url": "https://github.com/huggingface/transformers/pull/23059.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23059.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23058 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23058/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23058/comments | https://api.github.com/repos/huggingface/transformers/issues/23058/events | https://github.com/huggingface/transformers/issues/23058 | 1,689,284,485 | I_kwDOCUB6oc5ksG-F | 23,058 | OneFormer processor does not return correctly formatted class_labels tensors | {
"login": "rbavery",
"id": 22258697,
"node_id": "MDQ6VXNlcjIyMjU4Njk3",
"avatar_url": "https://avatars.githubusercontent.com/u/22258697?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rbavery",
"html_url": "https://github.com/rbavery",
"followers_url": "https://api.github.com/users/rbaver... | [] | closed | false | null | [] | [
"Hi,\r\n\r\nI'd recommend taking a look at the MaskFormer/Mask2Former notebooks regarding fine-tuning on custom data: https://github.com/NielsRogge/Transformers-Tutorials/tree/master/MaskFormer. As the API of OneFormer is identical, except that it has one additional `task_inputs` input which you need to prepare as ... | 1,682 | 1,697 | 1,697 | NONE | null | ### System Info
- `transformers` version: 4.29.0.dev0
- Platform: Linux-5.19.0-41-generic-x86_64-with-glibc2.35
- Python version: 3.10.10
- Huggingface_hub version: 0.14.1
- Safetensors version: 0.3.1
- PyTorch version (GPU?): 2.0.0+cu117 (True)
- Tensorflow version (GPU?): 2.11.1 (False)
- Flax version (CPU?... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23058/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23058/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23057 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23057/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23057/comments | https://api.github.com/repos/huggingface/transformers/issues/23057/events | https://github.com/huggingface/transformers/pull/23057 | 1,689,277,696 | PR_kwDOCUB6oc5PbL_f | 23,057 | GPTNeoForQuestionAnswering | {
"login": "peter-sk",
"id": 6168908,
"node_id": "MDQ6VXNlcjYxNjg5MDg=",
"avatar_url": "https://avatars.githubusercontent.com/u/6168908?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/peter-sk",
"html_url": "https://github.com/peter-sk",
"followers_url": "https://api.github.com/users/peter... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"One more to go (for now).",
"@sgugger @younesbelkada - as Arthur is on holdiays 👍 ",
"@younesbelkada \r\nI merged with main to isolate the GPT Neo specific parts. Now everything seems to work fine.",
"rebased - let's see whet... | 1,682 | 1,683 | 1,683 | CONTRIBUTOR | null | # What does this PR do?
Adds QA support for GPT Neo.
Includes PR #23030.
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [X] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTIN... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23057/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23057/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23057",
"html_url": "https://github.com/huggingface/transformers/pull/23057",
"diff_url": "https://github.com/huggingface/transformers/pull/23057.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23057.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23056 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23056/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23056/comments | https://api.github.com/repos/huggingface/transformers/issues/23056/events | https://github.com/huggingface/transformers/pull/23056 | 1,689,259,947 | PR_kwDOCUB6oc5PbIKm | 23,056 | fix random attention for pytorch's bigbird/pegasus_bigbird | {
"login": "Bearnardd",
"id": 43574448,
"node_id": "MDQ6VXNlcjQzNTc0NDQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/43574448?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Bearnardd",
"html_url": "https://github.com/Bearnardd",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hi @Bearnardd Thank you for the PR.\r\n\r\nI have one question: why `def _bigbird_block_rand_mask_with_head` is not modified for this pytorch BigBird file ..?",
"Hi @sanchit-gandhi! I have removed the static method as I think it is... | 1,682 | 1,683 | 1,683 | CONTRIBUTOR | null | Fixes # (issue)
https://github.com/huggingface/transformers/issues/23055
# What does this PR do?
Add control over usage of random attention of `BigBird` based on current mode (training/eval)
## Who can review?
@sanchit-gandhi @ydshieh
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23056/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23056/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23056",
"html_url": "https://github.com/huggingface/transformers/pull/23056",
"diff_url": "https://github.com/huggingface/transformers/pull/23056.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23056.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23055 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23055/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23055/comments | https://api.github.com/repos/huggingface/transformers/issues/23055/events | https://github.com/huggingface/transformers/issues/23055 | 1,689,258,082 | I_kwDOCUB6oc5ksAhi | 23,055 | Pytorch BigBird random attention | {
"login": "Bearnardd",
"id": 43574448,
"node_id": "MDQ6VXNlcjQzNTc0NDQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/43574448?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Bearnardd",
"html_url": "https://github.com/Bearnardd",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hi @sanchit-gandhi @ydshieh! I have opened [PR](https://github.com/huggingface/transformers/pull/23056) that fixes failing tests. I am wondering if the changes in the PR are okay (usage of random attention based on current mode) or do we want to have some more control over usage of random attention e.g. add `deter... | 1,682 | 1,685 | 1,685 | CONTRIBUTOR | null | ### Reproduction
`Pytorch->Flax` and `Flax->Pytorch` equivalence tests were failing. At the moment they are skipped by https://github.com/huggingface/transformers/pull/23040
### Expected behavior
During working on https://github.com/huggingface/transformers/pull/21023 I have found out that there is a bug in py... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23055/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23055/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23054 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23054/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23054/comments | https://api.github.com/repos/huggingface/transformers/issues/23054/events | https://github.com/huggingface/transformers/issues/23054 | 1,689,237,766 | I_kwDOCUB6oc5kr7kG | 23,054 | Pipeline(summarization) code example and documentation needs updating | {
"login": "TomBerton",
"id": 9907572,
"node_id": "MDQ6VXNlcjk5MDc1NzI=",
"avatar_url": "https://avatars.githubusercontent.com/u/9907572?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TomBerton",
"html_url": "https://github.com/TomBerton",
"followers_url": "https://api.github.com/users/To... | [] | closed | false | null | [] | [
"1. I beg to differ. Examples are meant to be simple to read, Having a real long form text just hinders readability imo.\r\n\r\n2.\r\n`min_length` and `max_length` are specified here: https://huggingface.co/docs/transformers/v4.28.1/en/main_classes/text_generation#transformers.GenerationMixin.greedy_search.max_len... | 1,682 | 1,686 | 1,686 | NONE | null | ### System Info
Using Google Colab on Mac OS Ventura 13.2.1
Chrome Version 112.0.5615.137 (Official Build) (x86_64)
Using the install command.
`!pip install transformers`
Which downloads the following:
<img width="1264" alt="Screenshot 2023-04-28 at 5 53 25 PM" src="https://user-images.githubusercontent.com/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23054/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23054/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23053 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23053/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23053/comments | https://api.github.com/repos/huggingface/transformers/issues/23053/events | https://github.com/huggingface/transformers/issues/23053 | 1,689,230,660 | I_kwDOCUB6oc5kr51E | 23,053 | Passing a str Enum to `from_pretrained` gives OSError | {
"login": "rsmith49",
"id": 17658617,
"node_id": "MDQ6VXNlcjE3NjU4NjE3",
"avatar_url": "https://avatars.githubusercontent.com/u/17658617?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rsmith49",
"html_url": "https://github.com/rsmith49",
"followers_url": "https://api.github.com/users/rsm... | [] | closed | false | null | [] | [
"I'm not sure why you think this should be supported. `str(Tmp.BERT)` is `'Tmp.BERT'`, which is not a valid identifier to pass to `from_pretrained`. You need to pass `Tmp.BERT.value`.",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be a... | 1,682 | 1,686 | 1,686 | NONE | null | ### System Info
Python version 3.8
`transformers==4.28.1`
Ubuntu
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [X] My own task or dataset (give de... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23053/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23053/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23052 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23052/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23052/comments | https://api.github.com/repos/huggingface/transformers/issues/23052/events | https://github.com/huggingface/transformers/pull/23052 | 1,689,051,708 | PR_kwDOCUB6oc5PaaWk | 23,052 | Generate: prepare assisted generation for release | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,682 | 1,682 | 1,682 | MEMBER | null | # What does this PR do?
This PR makes a few final adjustments to assisted generation before its release, including:
1. Merge previously named step 7 [the forward pass after matching with assistant tokens] into step 6 [slicing variables based on the number of matches] -- the variables are already computed in step 3 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23052/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23052/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23052",
"html_url": "https://github.com/huggingface/transformers/pull/23052",
"diff_url": "https://github.com/huggingface/transformers/pull/23052.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23052.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23051 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23051/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23051/comments | https://api.github.com/repos/huggingface/transformers/issues/23051/events | https://github.com/huggingface/transformers/pull/23051 | 1,688,863,668 | PR_kwDOCUB6oc5PZxfj | 23,051 | Fixed default config for `Pix2Struct` model to set `Pix2StructTextModel` to `is_decoder=True` | {
"login": "gbarello-uipath",
"id": 48561156,
"node_id": "MDQ6VXNlcjQ4NTYxMTU2",
"avatar_url": "https://avatars.githubusercontent.com/u/48561156?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gbarello-uipath",
"html_url": "https://github.com/gbarello-uipath",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Just updated all pix2struct checkpoints that are under `google` org! Thanks again @gbarello-uipath for flagging this",
"Shouldn't the matcha and deplot checkpoints be updated as well?",
"Good point, will update them now",
"Just... | 1,682 | 1,683 | 1,683 | CONTRIBUTOR | null | Previously, the `Pix2StructTextModel` was configured with `is_decoder=False` by default causing the attention mask used for self-attention to be non-causal and causing fine-tuning to fail.
As a fix, this PR adds `is_decoder=True` default kwarg to the `Pix2StructTextConfig` class in order to correctly configure the t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23051/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23051/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23051",
"html_url": "https://github.com/huggingface/transformers/pull/23051",
"diff_url": "https://github.com/huggingface/transformers/pull/23051.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23051.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23050 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23050/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23050/comments | https://api.github.com/repos/huggingface/transformers/issues/23050/events | https://github.com/huggingface/transformers/issues/23050 | 1,688,575,885 | I_kwDOCUB6oc5kpZ-N | 23,050 | [New model] 🐸TTS advanced Text-to-Speech | {
"login": "jozefchutka",
"id": 750041,
"node_id": "MDQ6VXNlcjc1MDA0MQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/750041?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jozefchutka",
"html_url": "https://github.com/jozefchutka",
"followers_url": "https://api.github.com/user... | [
{
"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 | [] | [
"Hi @jozefchutka I would like to work on this issue, I see multiple models under [Implemented Models](https://github.com/coqui-ai/TTS/tree/dev#implemented-models) on your link, do you have any recommendation about which one to start first?",
"Hi @susnato , thanks for looking into this. I hope to eventually run TT... | 1,682 | 1,696 | null | NONE | null | ### Model description
🐸TTS is a library for advanced Text-to-Speech generation. It's built on the latest research, was designed to achieve the best trade-off among ease-of-training, speed and quality. 🐸TTS comes with pretrained models, tools for measuring dataset quality and already used in 20+ languages for product... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23050/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23050/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23049 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23049/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23049/comments | https://api.github.com/repos/huggingface/transformers/issues/23049/events | https://github.com/huggingface/transformers/pull/23049 | 1,688,512,672 | PR_kwDOCUB6oc5PYleV | 23,049 | [docs] Doc TOC updates | {
"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,682 | 1,682 | 1,682 | CONTRIBUTOR | null | This PR restructures TOC for the documentation. All the previous links remain working (except the two pages that have been removed: migration guide and converting from TF).
Here's the scope of the restructure:
a) TOC is sorted from “beginner” topics to more advanced making it easier to know where an answer to a que... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23049/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23049/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23049",
"html_url": "https://github.com/huggingface/transformers/pull/23049",
"diff_url": "https://github.com/huggingface/transformers/pull/23049.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23049.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23048 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23048/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23048/comments | https://api.github.com/repos/huggingface/transformers/issues/23048/events | https://github.com/huggingface/transformers/pull/23048 | 1,688,490,081 | PR_kwDOCUB6oc5PYgh2 | 23,048 | 🌐 [i18n-KO] Translated `tasks/image_classification.mdx` to Korean | {
"login": "0525hhgus",
"id": 47289574,
"node_id": "MDQ6VXNlcjQ3Mjg5NTc0",
"avatar_url": "https://avatars.githubusercontent.com/u/47289574?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/0525hhgus",
"html_url": "https://github.com/0525hhgus",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"May you please review this PR? 😄 \r\n@sgugger, @ArthurZucker, @eunseojo "
] | 1,682 | 1,682 | 1,682 | CONTRIBUTOR | null | <!-- PR의 제목은 "🌐 [i18n-KO] Translated `<your_file>.mdx` to Korean" 으로 부탁드립니다 -->
# What does this PR do?
Translated the `tasks/image_classification.mdx` file of the documentation to Korean.
Thank you in advance for your review 😄
Part of https://github.com/huggingface/transformers/issues/20179
<!-- 메인 이슈에 기록이... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23048/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23048/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23048",
"html_url": "https://github.com/huggingface/transformers/pull/23048",
"diff_url": "https://github.com/huggingface/transformers/pull/23048.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23048.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23047 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23047/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23047/comments | https://api.github.com/repos/huggingface/transformers/issues/23047/events | https://github.com/huggingface/transformers/issues/23047 | 1,688,244,366 | I_kwDOCUB6oc5koJCO | 23,047 | FLAVA: module 'torch.distributed.nn.functional' has no attribute 'all_gather_with_backprop' | {
"login": "amariucaitheodor",
"id": 32778667,
"node_id": "MDQ6VXNlcjMyNzc4NjY3",
"avatar_url": "https://avatars.githubusercontent.com/u/32778667?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amariucaitheodor",
"html_url": "https://github.com/amariucaitheodor",
"followers_url": "https://... | [] | closed | false | null | [] | [
"cc @younesbelkada and @amyeroberts ",
"Hi @amariucaitheodor \r\nThis sounds like being the correct fix in my opinion. I can't find that method either on the PT documentation, and I guess we never flagged that issue as not many users have run the model in a distributed mode..\r\nWould you mind opening a PR for t... | 1,682 | 1,683 | 1,683 | NONE | null | https://github.com/huggingface/transformers/blob/a0e733283930bdb9ae2b1afdc53ec5f2daefb033/src/transformers/models/flava/modeling_flava.py#L1696
The following error is thrown when running FLAVA with PyTorch 2.0 and `global_backprop_contrastive=True`: `AttributeError: module 'torch.distributed.nn.functional' has no at... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23047/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/23047/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23046 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23046/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23046/comments | https://api.github.com/repos/huggingface/transformers/issues/23046/events | https://github.com/huggingface/transformers/pull/23046 | 1,688,222,606 | PR_kwDOCUB6oc5PXmko | 23,046 | [Doctest] Add new checks | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Will add all the files to the IGNORE_DOC_NON_TESTED",
"Mostly the intent is to make sure new models that are added to the library are doctested (while currently the reviewer has to make sure it is added, but we usually forget)",
... | 1,682 | 1,687 | 1,687 | COLLABORATOR | null | # What does this PR do?
Checks to make sure that the examples in any `doc/en/...` are tested
Checks to make sure that any model or config examples are also nightly tested | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23046/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23046/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23046",
"html_url": "https://github.com/huggingface/transformers/pull/23046",
"diff_url": "https://github.com/huggingface/transformers/pull/23046.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23046.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23045 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23045/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23045/comments | https://api.github.com/repos/huggingface/transformers/issues/23045/events | https://github.com/huggingface/transformers/pull/23045 | 1,688,120,939 | PR_kwDOCUB6oc5PXQ5U | 23,045 | Cuda rng_state_all is used when saving in distributed mode so same should also be used when loading | {
"login": "ShivamShrirao",
"id": 37087513,
"node_id": "MDQ6VXNlcjM3MDg3NTEz",
"avatar_url": "https://avatars.githubusercontent.com/u/37087513?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ShivamShrirao",
"html_url": "https://github.com/ShivamShrirao",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,682 | 1,682 | 1,682 | CONTRIBUTOR | null | When saving in distributed mode this snippet uses `torch.cuda.random.get_rng_state_all()`.
https://github.com/huggingface/transformers/blob/a0e733283930bdb9ae2b1afdc53ec5f2daefb033/src/transformers/trainer.py#L2417-L2421
But while loading `torch.cuda.random.set_rng_state_all()` is not being used for distributed c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23045/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23045/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23045",
"html_url": "https://github.com/huggingface/transformers/pull/23045",
"diff_url": "https://github.com/huggingface/transformers/pull/23045.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23045.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23044 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23044/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23044/comments | https://api.github.com/repos/huggingface/transformers/issues/23044/events | https://github.com/huggingface/transformers/issues/23044 | 1,688,118,376 | I_kwDOCUB6oc5knqRo | 23,044 | The 3D attention mask in the LongFormer is wrong | {
"login": "syiswell",
"id": 51729891,
"node_id": "MDQ6VXNlcjUxNzI5ODkx",
"avatar_url": "https://avatars.githubusercontent.com/u/51729891?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/syiswell",
"html_url": "https://github.com/syiswell",
"followers_url": "https://api.github.com/users/syi... | [] | 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,682 | 1,685 | 1,685 | NONE | null | ### Feature request
I used a 3d attention mask in the LongFormer, but also failed. I find that the code
attention_mask = nn.functional.pad(
attention_mask, (0, padding_len), value=0
) # no attention on the padding tokens
in line 1626 in modeling_longformer may not support the 3D attention mask. Please correct me... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23044/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23044/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23043 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23043/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23043/comments | https://api.github.com/repos/huggingface/transformers/issues/23043/events | https://github.com/huggingface/transformers/pull/23043 | 1,688,101,184 | PR_kwDOCUB6oc5PXMq5 | 23,043 | extend the test files | {
"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._",
"I need to check if the new test files exist before adding them to the list. Will update later ",
"> I have already given my thoughts a thousand times on how such failures should be fixed, but since I'm being ignored again...\r\n\r\... | 1,682 | 1,682 | 1,682 | COLLABORATOR | null | # What does this PR do?
Extend the test files in cross test CI job.
In #21023, flax bigbird modeling file is changed and the flax test file skips the pt/flax tests. However, the test fetcher is not designed to take into account the corresponding pytorch test file, and we have test failure in `main` on `nightly` r... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23043/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23043/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23043",
"html_url": "https://github.com/huggingface/transformers/pull/23043",
"diff_url": "https://github.com/huggingface/transformers/pull/23043.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23043.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23042 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23042/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23042/comments | https://api.github.com/repos/huggingface/transformers/issues/23042/events | https://github.com/huggingface/transformers/issues/23042 | 1,688,042,727 | I_kwDOCUB6oc5knXzn | 23,042 | Using `inputs_embeds` for generation gives an incorrect warning | {
"login": "zrthxn",
"id": 35369637,
"node_id": "MDQ6VXNlcjM1MzY5NjM3",
"avatar_url": "https://avatars.githubusercontent.com/u/35369637?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zrthxn",
"html_url": "https://github.com/zrthxn",
"followers_url": "https://api.github.com/users/zrthxn/fo... | [] | closed | false | null | [] | [
"cc @gante ",
"Hey @zrthxn 👋 Splitting my reply in two parts, the warning and the generation from input embeds.\r\n\r\nWarning: agreed, it should check e.g. whether the input tensor has 3 or more dims (and don't emit the warning it that case). Would you like to open a PR to fix it? :) (I think the same issue is... | 1,682 | 1,688 | 1,683 | CONTRIBUTOR | null | I'm trying to use the `inputs_embeds` parameter to run the LLaMA model. This is part of my code.
```python
# INPUT = ...embedding of a sequence, ensuring that there are no pad tokens
output_sequences = LLaMA.generate(
inputs_embeds=INPUT.to(device)
pad_token_id=tokenizer.pad_token_id,
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23042/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23042/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23041 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23041/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23041/comments | https://api.github.com/repos/huggingface/transformers/issues/23041/events | https://github.com/huggingface/transformers/issues/23041 | 1,688,025,727 | I_kwDOCUB6oc5knTp_ | 23,041 | Hugging Face - Time Series Transformer Error | {
"login": "modiparv",
"id": 93371014,
"node_id": "U_kgDOBZC6hg",
"avatar_url": "https://avatars.githubusercontent.com/u/93371014?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/modiparv",
"html_url": "https://github.com/modiparv",
"followers_url": "https://api.github.com/users/modiparv/fo... | [] | closed | false | null | [] | [
"\r\n",
"cc @kashif ",
"@modiparv I believe you have configured the model with `num_static_categorical_features=0` and yet you are feeding the model static categorical covariates as the `static_categor... | 1,682 | 1,685 | 1,685 | NONE | null | ---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
/tmp/ipykernel_27/4172075850.py in <module>
8 static_real_features=batch1["static_real_features"],
9 future_values=batch1["future_values"],
---... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23041/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23041/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23040 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23040/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23040/comments | https://api.github.com/repos/huggingface/transformers/issues/23040/events | https://github.com/huggingface/transformers/pull/23040 | 1,688,018,572 | PR_kwDOCUB6oc5PW7OQ | 23,040 | Skip pt/flax equivalence tests in pytorch `bigbird` test file | {
"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 | [] | [
"cc @Bearnardd",
"_The documentation is not available anymore as the PR was closed or merged._",
"Good catch @ydshieh! I will fix pytorch's big bird implementation today/tomorrow.",
"@Bearnardd Thank you 🤗 . Luckily, there is no `TFBigBirdModel` 😆 "
] | 1,682 | 1,682 | 1,682 | COLLABORATOR | null | # What does this PR do?
#21023 fixed random attention issue in Flax bigbird model, and skipped the pt/flax equivalence tests in flax bigbird test file with
```txt
reason="Current Pytorch implementation has bug with random attention -> it always uses it not matter if we are in eval/train mode"
```
We need to ski... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23040/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23040/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23040",
"html_url": "https://github.com/huggingface/transformers/pull/23040",
"diff_url": "https://github.com/huggingface/transformers/pull/23040.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23040.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23039 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23039/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23039/comments | https://api.github.com/repos/huggingface/transformers/issues/23039/events | https://github.com/huggingface/transformers/pull/23039 | 1,687,898,388 | PR_kwDOCUB6oc5PWhgx | 23,039 | Fix model parallelism for `BridgeTower` | {
"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,682 | 1,682 | 1,682 | COLLABORATOR | null | # What does this PR do?
Make `BridgeTower` work with model parallelism. The test `test_model_parallelism` is still skipped as tiny version hits edge cases.
With larger values of `hidden_size`, `num_hidden_layers` etc., it works now while failed before. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23039/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23039/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23039",
"html_url": "https://github.com/huggingface/transformers/pull/23039",
"diff_url": "https://github.com/huggingface/transformers/pull/23039.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23039.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23038 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23038/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23038/comments | https://api.github.com/repos/huggingface/transformers/issues/23038/events | https://github.com/huggingface/transformers/pull/23038 | 1,687,890,202 | PR_kwDOCUB6oc5PWfxz | 23,038 | Update trainer_utils.py | {
"login": "mzamini92",
"id": 32536264,
"node_id": "MDQ6VXNlcjMyNTM2MjY0",
"avatar_url": "https://avatars.githubusercontent.com/u/32536264?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mzamini92",
"html_url": "https://github.com/mzamini92",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_23038). All of your documentation changes will be reflected on that endpoint.",
"cc @muellerzr ",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to... | 1,682 | 1,687 | 1,687 | NONE | null | This modified version of the function includes a check for whether the output of function has a learning rate scheduler that needs to be updated based on the current batch size. If so, it updates the `num_batches` attribute of the scheduler to ensure that the learning rate is adjusted correctly.
# What does this PR ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23038/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23038/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23038",
"html_url": "https://github.com/huggingface/transformers/pull/23038",
"diff_url": "https://github.com/huggingface/transformers/pull/23038.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23038.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23037 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23037/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23037/comments | https://api.github.com/repos/huggingface/transformers/issues/23037/events | https://github.com/huggingface/transformers/pull/23037 | 1,687,786,901 | PR_kwDOCUB6oc5PWKRt | 23,037 | Add LTG-BERT model | {
"login": "davda54",
"id": 937184,
"node_id": "MDQ6VXNlcjkzNzE4NA==",
"avatar_url": "https://avatars.githubusercontent.com/u/937184?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/davda54",
"html_url": "https://github.com/davda54",
"followers_url": "https://api.github.com/users/davda54/fo... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_23037). All of your documentation changes will be reflected on that endpoint.",
"Hey! Great that you want to share this model 🔥 Would you be open to put ot on the hub following [this tutorial](https://huggingface.co/docs/t... | 1,682 | 1,686 | 1,685 | NONE | null | # LTG-BERT
This pull request adds the custom LTG-BERT model into the repository. This optimized LM architecture was introduced [in this paper](https://arxiv.org/abs/2303.09859) and is currently also used by a new generation of Norwegian LMs. The architecture features multiple improvements to the standard transformer... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23037/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23037/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23037",
"html_url": "https://github.com/huggingface/transformers/pull/23037",
"diff_url": "https://github.com/huggingface/transformers/pull/23037.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23037.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23036 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23036/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23036/comments | https://api.github.com/repos/huggingface/transformers/issues/23036/events | https://github.com/huggingface/transformers/issues/23036 | 1,687,615,988 | I_kwDOCUB6oc5klvn0 | 23,036 | [New model] Bark for realistic text-to-speech | {
"login": "xenova",
"id": 26504141,
"node_id": "MDQ6VXNlcjI2NTA0MTQx",
"avatar_url": "https://avatars.githubusercontent.com/u/26504141?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xenova",
"html_url": "https://github.com/xenova",
"followers_url": "https://api.github.com/users/xenova/fo... | [
{
"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 | [] | [
"Hello, if no one else is working on this, I would love to take a look and try to add this model to HuggingFace! ",
"https://github.com/huggingface/transformers/pull/23375",
"see https://github.com/huggingface/transformers/pull/24086"
] | 1,682 | 1,689 | 1,689 | CONTRIBUTOR | null | ### Model description
As stated in their [README](https://github.com/suno-ai/bark/blob/main/README.md):
> Bark is a transformer-based text-to-audio model created by [Suno](https://suno.ai/). Bark can generate highly realistic, multilingual speech as well as other audio - including music, background noise and simp... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23036/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23036/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23035 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23035/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23035/comments | https://api.github.com/repos/huggingface/transformers/issues/23035/events | https://github.com/huggingface/transformers/pull/23035 | 1,687,607,284 | PR_kwDOCUB6oc5PVkW9 | 23,035 | Save the tokenizer and image preprocessor after training a model with the contrastive image-text example | {
"login": "regisss",
"id": 15324346,
"node_id": "MDQ6VXNlcjE1MzI0MzQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/15324346?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/regisss",
"html_url": "https://github.com/regisss",
"followers_url": "https://api.github.com/users/regiss... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@sgugger All tests passed, so I think this one can be merged :slightly_smiling_face: "
] | 1,682 | 1,683 | 1,683 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23035/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23035/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23035",
"html_url": "https://github.com/huggingface/transformers/pull/23035",
"diff_url": "https://github.com/huggingface/transformers/pull/23035.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23035.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23034 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23034/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23034/comments | https://api.github.com/repos/huggingface/transformers/issues/23034/events | https://github.com/huggingface/transformers/issues/23034 | 1,687,481,650 | I_kwDOCUB6oc5klO0y | 23,034 | Cannot resume FSDP optimizer state | {
"login": "qywu",
"id": 18195478,
"node_id": "MDQ6VXNlcjE4MTk1NDc4",
"avatar_url": "https://avatars.githubusercontent.com/u/18195478?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/qywu",
"html_url": "https://github.com/qywu",
"followers_url": "https://api.github.com/users/qywu/followers"... | [] | closed | false | null | [] | [
"cc @pacman100 ",
"Hello @qywu, indeed, that seems to be the case, as you already have the fix, it would be great if you could raise the PR with the fixes, Thank you!"
] | 1,682 | 1,683 | 1,683 | CONTRIBUTOR | null | This line does not save optimizer state correctly when using FSDP.
https://github.com/huggingface/transformers/blob/88399476c3892435395618ed37993176dbb0de73/src/transformers/trainer.py#L2383
It should use FSDP's full_optim_state_dict to collect optimizer states from different processes.
```python
FSDP.full_opti... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23034/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23034/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23033 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23033/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23033/comments | https://api.github.com/repos/huggingface/transformers/issues/23033/events | https://github.com/huggingface/transformers/issues/23033 | 1,687,442,354 | I_kwDOCUB6oc5klFOy | 23,033 | Trainer defaults to NCCL backend for ddp on windows | {
"login": "btrude",
"id": 26334169,
"node_id": "MDQ6VXNlcjI2MzM0MTY5",
"avatar_url": "https://avatars.githubusercontent.com/u/26334169?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/btrude",
"html_url": "https://github.com/btrude",
"followers_url": "https://api.github.com/users/btrude/fo... | [] | closed | false | null | [] | [
"On main `xpu_backend` (soon to be renamed to `ddp_backend`) lets you pick up the backend you want.",
"Excellent, thank you!"
] | 1,682 | 1,682 | 1,682 | NONE | null | ### System Info
- `transformers` version: 4.28.1
- Platform: Windows-10-10.0.19044-SP0
- Python version: 3.10.10
- Huggingface_hub version: 0.13.3
- Safetensors version: not installed
- PyTorch version (GPU?): 2.0.0+cu118 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23033/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23033/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23032 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23032/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23032/comments | https://api.github.com/repos/huggingface/transformers/issues/23032/events | https://github.com/huggingface/transformers/pull/23032 | 1,687,192,303 | PR_kwDOCUB6oc5PUKR4 | 23,032 | Fix CLAP link across all READMEs | {
"login": "ehsanmok",
"id": 6980212,
"node_id": "MDQ6VXNlcjY5ODAyMTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/6980212?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ehsanmok",
"html_url": "https://github.com/ehsanmok",
"followers_url": "https://api.github.com/users/ehsan... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"I'm getting\r\n\r\n```\r\nTraceback (most recent call last):\r\n File \"/Users/ehsan/workspace/transformers/utils/check_task_guides.py\", line 58, in <module>\r\n \"asr.mdx\": transformers_module.models.auto.modeling_auto.MODEL_F... | 1,682 | 1,682 | 1,682 | CONTRIBUTOR | null | # What does this PR do?
Fixes CLAP link across all READMEs
## 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-contri... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23032/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23032/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23032",
"html_url": "https://github.com/huggingface/transformers/pull/23032",
"diff_url": "https://github.com/huggingface/transformers/pull/23032.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23032.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23031 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23031/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23031/comments | https://api.github.com/repos/huggingface/transformers/issues/23031/events | https://github.com/huggingface/transformers/pull/23031 | 1,687,079,905 | PR_kwDOCUB6oc5PTyYY | 23,031 | Add methods to update and verify out_features out_indices | {
"login": "amyeroberts",
"id": 22614925,
"node_id": "MDQ6VXNlcjIyNjE0OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amyeroberts",
"html_url": "https://github.com/amyeroberts",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@ydshieh @sgugger I've updated with the setter tip - all looks a lot tidier! Let me know if the changes are OK. \r\n\r\nIn the spirit of not doing things magically, when setting the `out_features` and `out_indices` should I have a `... | 1,682 | 1,683 | 1,683 | COLLABORATOR | null | # What does this PR do?
`out_features` and `out_indices` are two parameters which control the behaviour of a backbone. `out_indices` was recently [added as a config argument](https://github.com/huggingface/transformers/pull/22493) for the future addition of timm backbones (otherwise the timm backbone requires loadin... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23031/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23031/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23031",
"html_url": "https://github.com/huggingface/transformers/pull/23031",
"diff_url": "https://github.com/huggingface/transformers/pull/23031.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23031.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23030 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23030/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23030/comments | https://api.github.com/repos/huggingface/transformers/issues/23030/events | https://github.com/huggingface/transformers/pull/23030 | 1,687,045,621 | PR_kwDOCUB6oc5PTq95 | 23,030 | GPT2ForQuestionAnswering | {
"login": "peter-sk",
"id": 6168908,
"node_id": "MDQ6VXNlcjYxNjg5MDg=",
"avatar_url": "https://avatars.githubusercontent.com/u/6168908?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/peter-sk",
"html_url": "https://github.com/peter-sk",
"followers_url": "https://api.github.com/users/peter... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@ArthurZucker @sgugger @younesbelkada The next one is ready for review.\r\n\r\nThis is a bit funny. The tests are fine, and it runs great on one of my 4x V100 machines. But on another machine, I get this funny error:\r\n\r\n/home/jps... | 1,682 | 1,683 | 1,683 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23030/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23030/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23030",
"html_url": "https://github.com/huggingface/transformers/pull/23030",
"diff_url": "https://github.com/huggingface/transformers/pull/23030.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23030.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23029 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23029/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23029/comments | https://api.github.com/repos/huggingface/transformers/issues/23029/events | https://github.com/huggingface/transformers/pull/23029 | 1,687,009,577 | PR_kwDOCUB6oc5PTjMY | 23,029 | Update `BridgeTowerModelTester` | {
"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._",
"Remark: with lager model (but not too large), we get\r\n\r\n```bash\r\nFAILED tests/models/bridgetower/test_modeling_bridgetower.py::BridgeTowerModelTest::test_model_parallelism - RuntimeError: Expected all tensors to be on the same ... | 1,682 | 1,682 | 1,682 | COLLABORATOR | null | # What does this PR do?
Update `BridgeTowerModelTester` to use small values for config.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23029/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23029/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23029",
"html_url": "https://github.com/huggingface/transformers/pull/23029",
"diff_url": "https://github.com/huggingface/transformers/pull/23029.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23029.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23028 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23028/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23028/comments | https://api.github.com/repos/huggingface/transformers/issues/23028/events | https://github.com/huggingface/transformers/pull/23028 | 1,686,879,175 | PR_kwDOCUB6oc5PTGrd | 23,028 | [MEGA] nit size test | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,682 | 1,682 | 1,682 | COLLABORATOR | null | # What does this PR do?
Adresses #23025, the input_shape should be tested, not input ids because it might be None. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23028/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23028/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23028",
"html_url": "https://github.com/huggingface/transformers/pull/23028",
"diff_url": "https://github.com/huggingface/transformers/pull/23028.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23028.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23027 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23027/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23027/comments | https://api.github.com/repos/huggingface/transformers/issues/23027/events | https://github.com/huggingface/transformers/pull/23027 | 1,686,822,704 | PR_kwDOCUB6oc5PS6SJ | 23,027 | remove tee | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Example test that does not have tee: https://app.circleci.com/pipelines/github/huggingface/transformers/63142/workflows/4754f622-1e12-40bb-be2f-0dcb363a216b/jobs/778648/steps?invite=true#step-111-6582 \n\n",
"CI outputs without tee: \r\n
- [x] Grammar Check (맞춤법 검사)
- [x] Review or Add new terms to glossary (용어 확인 및 추가)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23026/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/23026/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23026",
"html_url": "https://github.com/huggingface/transformers/pull/23026",
"diff_url": "https://github.com/huggingface/transformers/pull/23026.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23026.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23025 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23025/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23025/comments | https://api.github.com/repos/huggingface/transformers/issues/23025/events | https://github.com/huggingface/transformers/issues/23025 | 1,686,602,572 | I_kwDOCUB6oc5kh4NM | 23,025 | MegaModel not usable with chunking if input_embeds are used instead of input_ids | {
"login": "jganitzer",
"id": 88656546,
"node_id": "MDQ6VXNlcjg4NjU2NTQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/88656546?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jganitzer",
"html_url": "https://github.com/jganitzer",
"followers_url": "https://api.github.com/users/... | [] | closed | false | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [
{
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "... | [
"Good catch, the error is pretty straightforward, we should check with either size. "
] | 1,682 | 1,682 | 1,682 | NONE | null | ### System Info
When input_embeds are used instead of input_ids then input_ids = None.
Therefore this error happens in modeling_mega.py:
-> 1544 if self.config.use_chunking and (input_ids.size(1) > self.config.chunk_size):
1545 print(input_ids.size(1))
1546 if input_ids.size(1) % self.config.chun... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23025/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23025/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23024 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23024/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23024/comments | https://api.github.com/repos/huggingface/transformers/issues/23024/events | https://github.com/huggingface/transformers/pull/23024 | 1,686,525,366 | PR_kwDOCUB6oc5PR5UC | 23,024 | 🚨🚨🚨 [`Blip`] remove labels masking | {
"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,682 | 1,682 | 1,682 | CONTRIBUTOR | null | # What does this PR do?
Addresses https://github.com/huggingface/transformers/pull/23004#issuecomment-1523776082
This PR aims to harmonize the training procedure for most of recent additions in `transformers`. It should be users' responsibility to fill_mask the padding tokens of the labels with the correct value.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23024/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23024/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23024",
"html_url": "https://github.com/huggingface/transformers/pull/23024",
"diff_url": "https://github.com/huggingface/transformers/pull/23024.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23024.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23023 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23023/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23023/comments | https://api.github.com/repos/huggingface/transformers/issues/23023/events | https://github.com/huggingface/transformers/pull/23023 | 1,686,451,944 | PR_kwDOCUB6oc5PRpoS | 23,023 | [`Pix2Struct`] Fix pix2struct doctest | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,682 | 1,682 | 1,682 | CONTRIBUTOR | null | # What does this PR do?
Fixes Pix2Struct doctest
Link to failing job: https://github.com/huggingface/transformers/actions/runs/4815336726/jobs/8573921590
With https://github.com/huggingface/transformers/pull/23004 being merged, the label smoothing of the loss function has been removed. Therefore the expected val... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23023/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23023/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23023",
"html_url": "https://github.com/huggingface/transformers/pull/23023",
"diff_url": "https://github.com/huggingface/transformers/pull/23023.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23023.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23022 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23022/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23022/comments | https://api.github.com/repos/huggingface/transformers/issues/23022/events | https://github.com/huggingface/transformers/pull/23022 | 1,686,421,542 | PR_kwDOCUB6oc5PRjHx | 23,022 | Fix the expected error in `test_offline_mode_pipeline_exception` | {
"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._",
"This is extremely weird. The error is issued [here](https://github.com/huggingface/transformers/blob/9435cc6670b7b8656b33e8ff28d3bbe9bafbca9d/src/transformers/pipelines/__init__.py#L430) and is only on one line.",
"Yeah, but this i... | 1,682 | 1,682 | 1,682 | COLLABORATOR | null | # What does this PR do?
The expected error becomes `RuntimeError: You cannot infer task automatically within `pipeline` when using \noffline mode\n` since April 18, i.e. with 2 extra `\n`. It's not very clear where this change comes from, probably just the format thing from the `subprocess`.
Strangely, if I run t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23022/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23022/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23022",
"html_url": "https://github.com/huggingface/transformers/pull/23022",
"diff_url": "https://github.com/huggingface/transformers/pull/23022.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23022.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23021 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23021/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23021/comments | https://api.github.com/repos/huggingface/transformers/issues/23021/events | https://github.com/huggingface/transformers/pull/23021 | 1,686,406,584 | PR_kwDOCUB6oc5PRf-x | 23,021 | Adding XLA support for greedy sampling | {
"login": "aashiqmuhamed",
"id": 17514579,
"node_id": "MDQ6VXNlcjE3NTE0NTc5",
"avatar_url": "https://avatars.githubusercontent.com/u/17514579?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aashiqmuhamed",
"html_url": "https://github.com/aashiqmuhamed",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_23021). All of your documentation changes will be reflected on that endpoint.",
"Hey @aashiqmuhamed! In general the PR looks positive, but before diving deeper, let us (`transformers` team) have a discussion about adding th... | 1,682 | 1,685 | 1,685 | CONTRIBUTOR | null | # What does this PR do?
This CR enables greedy sampling in model.generate on XLA devices such as Trainium and TPU. This addresses issues such as https://github.com/huggingface/transformers/issues/18661 and https://github.com/huggingface/transformers/issues/12322.
The implementation is inspired by the correspond... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23021/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23021/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23021",
"html_url": "https://github.com/huggingface/transformers/pull/23021",
"diff_url": "https://github.com/huggingface/transformers/pull/23021.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23021.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23020 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23020/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23020/comments | https://api.github.com/repos/huggingface/transformers/issues/23020/events | https://github.com/huggingface/transformers/pull/23020 | 1,686,378,319 | PR_kwDOCUB6oc5PRZ4h | 23,020 | added type hints for blip_text model | {
"login": "iamarunbrahma",
"id": 6504730,
"node_id": "MDQ6VXNlcjY1MDQ3MzA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6504730?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/iamarunbrahma",
"html_url": "https://github.com/iamarunbrahma",
"followers_url": "https://api.github.... | [] | closed | false | null | [] | [
"Error logs suggest that to use ```pip install \"black[jupyter]\"``` but unable to understand what to do after that. @Rocketknight1 could you suggest how to fix test failures?",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_23020). All of your documentation changes wil... | 1,682 | 1,682 | 1,682 | CONTRIBUTOR | null | # What does this PR do?
Added type hints for ```blip_text``` pytorch model as tasked in #16059
@Rocketknight1 Could you review this? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23020/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23020/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23020",
"html_url": "https://github.com/huggingface/transformers/pull/23020",
"diff_url": "https://github.com/huggingface/transformers/pull/23020.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23020.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23019 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23019/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23019/comments | https://api.github.com/repos/huggingface/transformers/issues/23019/events | https://github.com/huggingface/transformers/issues/23019 | 1,686,366,821 | I_kwDOCUB6oc5kg-pl | 23,019 | Error in get embedding_size. | {
"login": "enze5088",
"id": 14285786,
"node_id": "MDQ6VXNlcjE0Mjg1Nzg2",
"avatar_url": "https://avatars.githubusercontent.com/u/14285786?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/enze5088",
"html_url": "https://github.com/enze5088",
"followers_url": "https://api.github.com/users/enz... | [] | closed | false | null | [] | [
"cc @stas00 ",
"With zero-3 outside of fwd/bwd logic where this is done automatically you need to manually gather the sharded model's weights that you need. \r\n\r\nPlease see:\r\nhttps://huggingface.co/docs/transformers/main/main_classes/deepspeed#gathering-parameters\r\n\r\nAnd you will find several examples in... | 1,682 | 1,683 | 1,683 | CONTRIBUTOR | null | ### System Info
- transformers version: 4.28.1
- deepspeed 0.8.3
In [examples](https://github.com/huggingface/transformers/tree/main/examples)/[pytorch](https://github.com/huggingface/transformers/tree/main/examples/pytorch)/[language-modeling](https://github.com/huggingface/transformers/tree/main/examples/pytorch... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23019/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23019/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23018 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23018/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23018/comments | https://api.github.com/repos/huggingface/transformers/issues/23018/events | https://github.com/huggingface/transformers/issues/23018 | 1,686,193,365 | I_kwDOCUB6oc5kgUTV | 23,018 | Parameter at index 195 has been marked as ready twice. | {
"login": "skye95git",
"id": 41561936,
"node_id": "MDQ6VXNlcjQxNTYxOTM2",
"avatar_url": "https://avatars.githubusercontent.com/u/41561936?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/skye95git",
"html_url": "https://github.com/skye95git",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"There is little we can do to help without seeing a full reproducer.",
"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]... | 1,682 | 1,699 | 1,685 | NONE | null | ### System Info
- `transformers` version: 4.28.0
- Platform: Linux-5.4.0-122-generic-x86_64-with-glibc2.31
- Python version: 3.9.12
- Huggingface_hub version: 0.13.4
- Safetensors version: not installed
- PyTorch version (GPU?): 1.13.1+cu117 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23018/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23018/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23017 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23017/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23017/comments | https://api.github.com/repos/huggingface/transformers/issues/23017/events | https://github.com/huggingface/transformers/issues/23017 | 1,686,150,972 | I_kwDOCUB6oc5kgJ88 | 23,017 | model generate with different batch size but get different results | {
"login": "Alwin4Zhang",
"id": 33918902,
"node_id": "MDQ6VXNlcjMzOTE4OTAy",
"avatar_url": "https://avatars.githubusercontent.com/u/33918902?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Alwin4Zhang",
"html_url": "https://github.com/Alwin4Zhang",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"cc @gante",
"> cc @gante\r\n\r\nthks to reply.I find some things about this stranger phenomenon.When doing generation,the second time it started to be different.The pic below is the beam_new_tokens results when using `batch size = 1` and `batch_size = 2`.\r\n\r\n<img width=\"1975\" alt=\"image\" src=\"https://us... | 1,682 | 1,690 | 1,685 | NONE | null | ### System Info
I'm using MT5ForConditionalGeneration by transformers to generate summaries,but when I use the arguments below,I will get different results when using beam search + do_sample + top_k + top_p。Only use beam search or do_sample can not cause this phenomenon。But why?
### Who can help?
_No respo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23017/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23017/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23016 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23016/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23016/comments | https://api.github.com/repos/huggingface/transformers/issues/23016/events | https://github.com/huggingface/transformers/issues/23016 | 1,686,131,551 | I_kwDOCUB6oc5kgFNf | 23,016 | When download model. Error: DefaultCPUAllocator: can't allocate memory: you tried to allocate | {
"login": "af913337456",
"id": 10436277,
"node_id": "MDQ6VXNlcjEwNDM2Mjc3",
"avatar_url": "https://avatars.githubusercontent.com/u/10436277?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/af913337456",
"html_url": "https://github.com/af913337456",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"what's wrong with the code above.",
"This means you do not have enough RAM to load the model, not disk memory. You can try adding `device_map=\"auto\"` to load directly the model on the GPUs if you have any, or `torch_dtype=torch.float16` to save 2x the memory (inference only)."
] | 1,682 | 1,682 | 1,682 | NONE | null | ### System Info
I want to download the GPT4all-J model.
according to this weblink : https://huggingface.co/nomic-ai/gpt4all-j
download code:
```python
from transformers import AutoModelForCausalLM
model = AutoModelForCausalLM.from_pretrained("nomic-ai/gpt4all-j", revision="v1.2-jazzy")
```
it got... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23016/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23016/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23015 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23015/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23015/comments | https://api.github.com/repos/huggingface/transformers/issues/23015/events | https://github.com/huggingface/transformers/issues/23015 | 1,685,580,330 | I_kwDOCUB6oc5kd-oq | 23,015 | Saving prediction for --do_predict and --predict_with_generate in transormers/examples/pytorch/question-answering /run_seq2seq_qa.py | {
"login": "venkatesh-das",
"id": 47103482,
"node_id": "MDQ6VXNlcjQ3MTAzNDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/47103482?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/venkatesh-das",
"html_url": "https://github.com/venkatesh-das",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Do you want to open a PR with those changes?",
"Yeah Sure I can do that.",
"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 guid... | 1,682 | 1,685 | 1,685 | NONE | null | ### Feature request
The feature for saving predictions for `--do_predict` and `--predict_with_generate` was not functional for `run_seq2seq_qa.py` module.
Missing code file -> `transformers/examples/pytorch/question-answering/trainer_seq2seq_qa.py`
Image of the section of code which should handle this.
![hugging_fa... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23015/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23015/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23014 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23014/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23014/comments | https://api.github.com/repos/huggingface/transformers/issues/23014/events | https://github.com/huggingface/transformers/pull/23014 | 1,685,460,569 | PR_kwDOCUB6oc5POTcR | 23,014 | 🚨🚨🚨 Use default ignore index in Luke | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,682 | 1,682 | 1,682 | COLLABORATOR | null | # What does this PR do?
As discussed in #22981, the `ignore_index` for Luke should be the same as all models in Transformers, even if it does not match the original authors implementation.
This is breaking but needed to align all models to have the same API.
Fixes #22981 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23014/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/23014/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23014",
"html_url": "https://github.com/huggingface/transformers/pull/23014",
"diff_url": "https://github.com/huggingface/transformers/pull/23014.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23014.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23013 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23013/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23013/comments | https://api.github.com/repos/huggingface/transformers/issues/23013/events | https://github.com/huggingface/transformers/pull/23013 | 1,685,335,884 | PR_kwDOCUB6oc5PN4wo | 23,013 | Upgrading sentencepiece modeling file (for proto > 4 support). | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Can you push an empty commit with \"[all-test]\" in the message? I'd like to see if there is a problem with an older version of protobuf (CI should be on < 4).",
"I remember we said we should check if the protobuf version is instal... | 1,682 | 1,682 | 1,682 | CONTRIBUTOR | null | # What does this PR do?
Upgrades the file.
Taken from `google/sentencepiece` directly.
Should prevent "Downgrade the protobuf package".
<!--
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 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23013/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23013/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23013",
"html_url": "https://github.com/huggingface/transformers/pull/23013",
"diff_url": "https://github.com/huggingface/transformers/pull/23013.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23013.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23012 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23012/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23012/comments | https://api.github.com/repos/huggingface/transformers/issues/23012/events | https://github.com/huggingface/transformers/pull/23012 | 1,685,264,313 | PR_kwDOCUB6oc5PNpis | 23,012 | 🌐 [i18n-KO] Translated `tasks/question_answering.mdx` to Korean | {
"login": "jungnerd",
"id": 46880056,
"node_id": "MDQ6VXNlcjQ2ODgwMDU2",
"avatar_url": "https://avatars.githubusercontent.com/u/46880056?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jungnerd",
"html_url": "https://github.com/jungnerd",
"followers_url": "https://api.github.com/users/jun... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"May you please review this PR? 😄\r\n@sgugger, @ArthurZucker, @eunseojo"
] | 1,682 | 1,683 | 1,682 | CONTRIBUTOR | null | <!-- PR의 제목은 "🌐 [i18n-KO] Translated `<your_file>.mdx` to Korean" 으로 부탁드립니다 -->
# What does this PR do?
Translated the `tasks/question_answering.mdx` file of the documentation to Korean.
Thank you in advance for your review.
Part of https://github.com/huggingface/transformers/issues/20179
<!-- 메인 이슈에 기록이 남아요... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23012/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/23012/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23012",
"html_url": "https://github.com/huggingface/transformers/pull/23012",
"diff_url": "https://github.com/huggingface/transformers/pull/23012.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23012.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23011 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23011/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23011/comments | https://api.github.com/repos/huggingface/transformers/issues/23011/events | https://github.com/huggingface/transformers/pull/23011 | 1,685,215,795 | PR_kwDOCUB6oc5PNfLD | 23,011 | Remove a failing ONNX test | {
"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,682 | 1,682 | 1,682 | COLLABORATOR | null | # What does this PR do?
Same as in #22660, but for `swin` after the recent PR #22893 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23011/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23011/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23011",
"html_url": "https://github.com/huggingface/transformers/pull/23011",
"diff_url": "https://github.com/huggingface/transformers/pull/23011.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23011.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23010 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23010/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23010/comments | https://api.github.com/repos/huggingface/transformers/issues/23010/events | https://github.com/huggingface/transformers/pull/23010 | 1,685,207,965 | PR_kwDOCUB6oc5PNde6 | 23,010 | Add Trainer support for ReduceLROnPlateau | {
"login": "pie3636",
"id": 9118775,
"node_id": "MDQ6VXNlcjkxMTg3NzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/9118775?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pie3636",
"html_url": "https://github.com/pie3636",
"followers_url": "https://api.github.com/users/pie3636/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks for the review! I believe this should do it. There isn't much in the way of default arguments, but `ReduceLROnPlateau` is quite different from other schedulers in the first place.",
"Hi @pie3636 and @sgugger , \r\nThanks for... | 1,682 | 1,699 | 1,682 | CONTRIBUTOR | null | # What does this PR do?
This PR solves #16503 by adding support to pytorch's [ReduceLROnPlateau](https://pytorch.org/docs/stable/generated/torch.optim.lr_scheduler.ReduceLROnPlateau.html) to `Trainer`.
It does so by adding a new `REDUCE_ON_PLATEAU` field to `SchedulerType` and a new `reduce_lr_on_plateau_args` pa... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23010/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23010/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23010",
"html_url": "https://github.com/huggingface/transformers/pull/23010",
"diff_url": "https://github.com/huggingface/transformers/pull/23010.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23010.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23009 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23009/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23009/comments | https://api.github.com/repos/huggingface/transformers/issues/23009/events | https://github.com/huggingface/transformers/issues/23009 | 1,685,154,484 | I_kwDOCUB6oc5kcWq0 | 23,009 | whisper identified the wrong language | {
"login": "LYPinASR",
"id": 112866899,
"node_id": "U_kgDOBro2Uw",
"avatar_url": "https://avatars.githubusercontent.com/u/112866899?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LYPinASR",
"html_url": "https://github.com/LYPinASR",
"followers_url": "https://api.github.com/users/LYPinASR/... | [] | closed | false | null | [] | [
"Hi there. Questions like this are better suited on the [forums](https://discuss.huggingface.co/) or a discussion on the model page as we keep issues for bugs and feature requests only.",
"If you use pipeline, you should add option like \r\ngenerate_kwargs = {\"task\":\"transcribe\", \"language\":\"<|fr|>\"}\r\n\... | 1,682 | 1,685 | 1,685 | NONE | null | ### Feature request
When I follow the example of long-form transcription for whisper-large with Korean, the result is English. But after finetuning the whisper-large model with some Korean data, the checkpoint can output Korean. I also test other model size, but all the models output English.
I was confused about it... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23009/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23009/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23008 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23008/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23008/comments | https://api.github.com/repos/huggingface/transformers/issues/23008/events | https://github.com/huggingface/transformers/pull/23008 | 1,685,018,030 | PR_kwDOCUB6oc5PM0ob | 23,008 | 🌐 [i18n-KO] Translated `multilingual.mdx` to Korean | {
"login": "HanNayeoniee",
"id": 33839093,
"node_id": "MDQ6VXNlcjMzODM5MDkz",
"avatar_url": "https://avatars.githubusercontent.com/u/33839093?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HanNayeoniee",
"html_url": "https://github.com/HanNayeoniee",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,682 | 1,682 | 1,682 | CONTRIBUTOR | null | <!-- PR의 제목은 "🌐 [i18n-KO] Translated `<your_file>.mdx` to Korean" 으로 부탁드립니다 -->
# What does this PR do?
Translated the `multilingual.mdx` file of the documentation to Korean.
Thank you in advance for your review.
Part of https://github.com/huggingface/transformers/issues/20179
<!-- 메인 이슈에 기록이 남아요! 가짜연구소 리포를 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23008/reactions",
"total_count": 3,
"+1": 3,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23008/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23008",
"html_url": "https://github.com/huggingface/transformers/pull/23008",
"diff_url": "https://github.com/huggingface/transformers/pull/23008.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23008.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23007 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23007/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23007/comments | https://api.github.com/repos/huggingface/transformers/issues/23007/events | https://github.com/huggingface/transformers/pull/23007 | 1,684,996,477 | PR_kwDOCUB6oc5PMv6s | 23,007 | Update test_beam_constraints.py | {
"login": "mzamini92",
"id": 32536264,
"node_id": "MDQ6VXNlcjMyNTM2MjY0",
"avatar_url": "https://avatars.githubusercontent.com/u/32536264?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mzamini92",
"html_url": "https://github.com/mzamini92",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,682 | 1,682 | 1,682 | NONE | null | # What does this PR do?
The advantage of using `assertEqual` over `==` is that it provides more informative error messages in case of a failure. For example, if you use `assertEqual(a, b)` and the assertion fails, the error message will include the values of a and b as well as the test name and line number. This mak... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23007/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23007/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23007",
"html_url": "https://github.com/huggingface/transformers/pull/23007",
"diff_url": "https://github.com/huggingface/transformers/pull/23007.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23007.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23006 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23006/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23006/comments | https://api.github.com/repos/huggingface/transformers/issues/23006/events | https://github.com/huggingface/transformers/pull/23006 | 1,684,951,719 | PR_kwDOCUB6oc5PMmOT | 23,006 | [`PEFT`] Add HFTracer support for PEFT | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"I'm not against the auto-formatting changes, but could we have them in a separate PR please? This is polluting the diff here."
] | 1,682 | 1,682 | 1,682 | CONTRIBUTOR | null | # What does this PR do?
For more context, PiPPy is a library for an out-of-the-box Pipeline Parallelism for torch models. PiPPY heavily relies on HF tracer under the hood.
Some interest has grown to support PiPPy for PEFT models: https://github.com/huggingface/peft/issues/194#issuecomment-1496767740 but it appeare... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23006/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23006/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23006",
"html_url": "https://github.com/huggingface/transformers/pull/23006",
"diff_url": "https://github.com/huggingface/transformers/pull/23006.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23006.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23005 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23005/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23005/comments | https://api.github.com/repos/huggingface/transformers/issues/23005/events | https://github.com/huggingface/transformers/issues/23005 | 1,684,735,929 | I_kwDOCUB6oc5kawe5 | 23,005 | Pycharm Debug Mode Errors | {
"login": "taeyeopl",
"id": 50736858,
"node_id": "MDQ6VXNlcjUwNzM2ODU4",
"avatar_url": "https://avatars.githubusercontent.com/u/50736858?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/taeyeopl",
"html_url": "https://github.com/taeyeopl",
"followers_url": "https://api.github.com/users/tae... | [] | closed | false | null | [] | [
"There is nothing in that traceback that is linked to the Transformers package. It is all in stable-dreamfusion.",
"Thanks, I will recheck it!"
] | 1,682 | 1,682 | 1,682 | NONE | null | ### System Info
I am using Pycham debug mode, and It has no problem in transformers==4.24.0, but after version 4.24.0, it get below errors during debug mode due to transformers. The code works without debug mode but only gets a problem during debug modes due to the transformer library when the version is above 4.24.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23005/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23005/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23004 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23004/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23004/comments | https://api.github.com/repos/huggingface/transformers/issues/23004/events | https://github.com/huggingface/transformers/pull/23004 | 1,684,714,313 | PR_kwDOCUB6oc5PLy-S | 23,004 | 🚨🚨🚨 [`Pix2Struct`] Attempts to fix training issues 🚨🚨🚨 | {
"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._",
"For me it's the same thing as what we discussed with Luke yesterday. It's important to have a consistent API so 100% for:\r\n- leaving label_smoothing out of the loss computation by default (users can compute the loss themselves by n... | 1,682 | 1,684 | 1,682 | CONTRIBUTOR | null | # What does this PR do?
This PR attempts to partially fix: https://github.com/huggingface/transformers/issues/22903 for better user experience when training `Pix2Struct`.
As stated in the aformentioned issue, some users are having hard times to train pix2struct, for many reasons, some of them being:
- Force addi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23004/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/23004/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23004",
"html_url": "https://github.com/huggingface/transformers/pull/23004",
"diff_url": "https://github.com/huggingface/transformers/pull/23004.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23004.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23003 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23003/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23003/comments | https://api.github.com/repos/huggingface/transformers/issues/23003/events | https://github.com/huggingface/transformers/issues/23003 | 1,684,681,229 | I_kwDOCUB6oc5kajIN | 23,003 | PipelineChunkIterator does not provide the correct length | {
"login": "adrianeboyd",
"id": 5794899,
"node_id": "MDQ6VXNlcjU3OTQ4OTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/5794899?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/adrianeboyd",
"html_url": "https://github.com/adrianeboyd",
"followers_url": "https://api.github.com/us... | [] | 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,682 | 1,699 | 1,685 | NONE | null | ### System Info
- `transformers` version: 4.28.1
- PyTorch version (GPU?): 2.0.0+cu117 (True)
### Who can help?
@Narsil
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own ta... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23003/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23003/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23002 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23002/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23002/comments | https://api.github.com/repos/huggingface/transformers/issues/23002/events | https://github.com/huggingface/transformers/pull/23002 | 1,684,534,650 | PR_kwDOCUB6oc5PLL9v | 23,002 | added GPTNeoXForTokenClassification | {
"login": "peter-sk",
"id": 6168908,
"node_id": "MDQ6VXNlcjYxNjg5MDg=",
"avatar_url": "https://avatars.githubusercontent.com/u/6168908?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/peter-sk",
"html_url": "https://github.com/peter-sk",
"followers_url": "https://api.github.com/users/peter... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Ready for review, @ArthurZucker and @younesbelkada 👍 "
] | 1,682 | 1,682 | 1,682 | CONTRIBUTOR | null | # What does this PR do?
It adds the class GPTNeoXForTokenClassification, which allows using GPT NeoX models for token classification tasks. The implementation follows the one for other models (such as GPT2 and GPT Neo) closely and simply adds a linear layer after the hidden states.
## Before submitting
- [ ] Thi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23002/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23002/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/23002",
"html_url": "https://github.com/huggingface/transformers/pull/23002",
"diff_url": "https://github.com/huggingface/transformers/pull/23002.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/23002.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/23001 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23001/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23001/comments | https://api.github.com/repos/huggingface/transformers/issues/23001/events | https://github.com/huggingface/transformers/issues/23001 | 1,684,455,361 | I_kwDOCUB6oc5kZr_B | 23,001 | `return_overflowing_tokens` has different behavior between slow tokenizer and fast tokenizer | {
"login": "BuxianChen",
"id": 30834226,
"node_id": "MDQ6VXNlcjMwODM0MjI2",
"avatar_url": "https://avatars.githubusercontent.com/u/30834226?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BuxianChen",
"html_url": "https://github.com/BuxianChen",
"followers_url": "https://api.github.com/use... | [
{
"id": 1834056635,
"node_id": "MDU6TGFiZWwxODM0MDU2NjM1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Core:%20Tokenization",
"name": "Core: Tokenization",
"color": "FF4446",
"default": false,
"description": "Internals of the library; Tokenization."
}
] | closed | false | null | [] | [
"cc @ArthurZucker but I think the overflowing tokens is specifically a feature of our fast tokenizers, so it's completely normal that you don't ahve it in the slow ones.",
"Hey! Thanks for reporting this. No it seems that the `return_overflowing_tokens` logic is implemented in the base class, so might be interest... | 1,682 | 1,692 | 1,692 | NONE | null | ### System Info
- `transformers` version: 4.28.1
- Platform: Linux-5.10.147+-x86_64-with-glibc2.31
- Python version: 3.9.16
- Huggingface_hub version: 0.14.1
- Safetensors version: not installed
- PyTorch version (GPU?): 2.0.0+cu118 (False)
- Tensorflow version (GPU?): 2.12.0 (False)
- Flax version (CPU?/GPU?/T... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23001/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23001/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/23000 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/23000/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/23000/comments | https://api.github.com/repos/huggingface/transformers/issues/23000/events | https://github.com/huggingface/transformers/issues/23000 | 1,684,437,734 | I_kwDOCUB6oc5kZnrm | 23,000 | Possible bug in BlipForQuestionAnswering loss computation due to redundant right-shift | {
"login": "verityw",
"id": 39648931,
"node_id": "MDQ6VXNlcjM5NjQ4OTMx",
"avatar_url": "https://avatars.githubusercontent.com/u/39648931?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/verityw",
"html_url": "https://github.com/verityw",
"followers_url": "https://api.github.com/users/verity... | [] | closed | false | null | [] | [
"cc @younesbelkada I think the thread above is correct, either:\r\n* `input_ids` and `labels` are the same but then one needs to shift the `logits` when computing the loss. Examples of models that do this are GPT-2, GPT-J, etc\r\n* you shift the `input_ids` (actually `decoder_input_ids` in case of a decoder) before... | 1,682 | 1,684 | 1,684 | NONE | null | ### System Info
- `transformers` version: 4.28.1
- Platform: Linux-5.15.0-69-generic-x86_64-with-glibc2.29
- Python version: 3.8.10
- Huggingface_hub version: 0.14.0
- Safetensors version: not installed
- PyTorch version (GPU?): 1.10.1+cu111 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax versio... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/23000/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/23000/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22999 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22999/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22999/comments | https://api.github.com/repos/huggingface/transformers/issues/22999/events | https://github.com/huggingface/transformers/issues/22999 | 1,684,342,609 | I_kwDOCUB6oc5kZQdR | 22,999 | Help on Firewalled installation | {
"login": "SupreethRao99",
"id": 55043035,
"node_id": "MDQ6VXNlcjU1MDQzMDM1",
"avatar_url": "https://avatars.githubusercontent.com/u/55043035?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SupreethRao99",
"html_url": "https://github.com/SupreethRao99",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"That is not possible. You can only use models from the Hub or locally downloaded.",
"Thanks @sgugger ",
"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 ... | 1,682 | 1,685 | 1,685 | NONE | null | Hello,
I would like to install huggingface in a firewalled environment. I have a Git-lfs repository with all my models stored, I would like to use them with the transformers libraries' `.from_pretrained()` feature, I referred to this (https://github.com/huggingface/huggingface_hub/tree/main/src/huggingface_hub) to s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22999/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22999/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/22998 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22998/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22998/comments | https://api.github.com/repos/huggingface/transformers/issues/22998/events | https://github.com/huggingface/transformers/pull/22998 | 1,683,898,396 | PR_kwDOCUB6oc5PJF99 | 22,998 | Fix typo in mega.mdx | {
"login": "dleve123",
"id": 1561546,
"node_id": "MDQ6VXNlcjE1NjE1NDY=",
"avatar_url": "https://avatars.githubusercontent.com/u/1561546?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dleve123",
"html_url": "https://github.com/dleve123",
"followers_url": "https://api.github.com/users/dleve... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,682 | 1,682 | 1,682 | CONTRIBUTOR | null | # What does this PR do?
Fixes a typo in the Mega documentation.
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [ ] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#start-c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22998/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22998/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22998",
"html_url": "https://github.com/huggingface/transformers/pull/22998",
"diff_url": "https://github.com/huggingface/transformers/pull/22998.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22998.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22997 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22997/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22997/comments | https://api.github.com/repos/huggingface/transformers/issues/22997/events | https://github.com/huggingface/transformers/pull/22997 | 1,683,895,371 | PR_kwDOCUB6oc5PJFUp | 22,997 | Add Missing tokenization test [electra] | {
"login": "IMvision12",
"id": 88665786,
"node_id": "MDQ6VXNlcjg4NjY1Nzg2",
"avatar_url": "https://avatars.githubusercontent.com/u/88665786?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/IMvision12",
"html_url": "https://github.com/IMvision12",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks a lot for your PR! @ArthurZucker could you review?",
"@sgugger Any updates, is there something wrong?",
"@sgugger Done!!",
"Thanks for contributing 🔥 \r\n"
] | 1,682 | 1,684 | 1,684 | CONTRIBUTOR | null | # What does this PR do?
Added tokenization test for electra | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22997/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22997/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22997",
"html_url": "https://github.com/huggingface/transformers/pull/22997",
"diff_url": "https://github.com/huggingface/transformers/pull/22997.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22997.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22996 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22996/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22996/comments | https://api.github.com/repos/huggingface/transformers/issues/22996/events | https://github.com/huggingface/transformers/pull/22996 | 1,683,693,633 | PR_kwDOCUB6oc5PIZHL | 22,996 | Make `_test_xla_generate` less flaky | {
"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,682 | 1,682 | 1,682 | COLLABORATOR | null | # What does this PR do?
Make `_test_xla_generate` less flaky by relaxing the condition:
- if number of examples < 10: be strict, no difference is allowed
- otherwise, only fail the test if there are more than 10% of examples give different outputs between XLA and non-XLA versions.
Since this test is slow (gener... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22996/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22996/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22996",
"html_url": "https://github.com/huggingface/transformers/pull/22996",
"diff_url": "https://github.com/huggingface/transformers/pull/22996.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22996.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/22995 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/22995/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/22995/comments | https://api.github.com/repos/huggingface/transformers/issues/22995/events | https://github.com/huggingface/transformers/pull/22995 | 1,683,632,088 | PR_kwDOCUB6oc5PILh- | 22,995 | Added tokenizer kwargs for fill mask pipeline | {
"login": "sajeedmehrab",
"id": 65396882,
"node_id": "MDQ6VXNlcjY1Mzk2ODgy",
"avatar_url": "https://avatars.githubusercontent.com/u/65396882?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sajeedmehrab",
"html_url": "https://github.com/sajeedmehrab",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"cc @Narsil ",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_22995). All of your documentation changes will be reflected on that endpoint.",
"Can we refactor in order to do :\r\n\r\n```python\r\n output = fill_mask_pipeline(\"Text to predict <mask>\", tokenizer_kwarg... | 1,682 | 1,685 | 1,685 | NONE | null | Added tokenizer kwargs for the fill mask pipeline, which enables to truncate/pad/specify max length etc for the tokenizer. Pipeline can be used as follows following the edit:
`from transformers import pipeline`
`fill_mask_pipeline = pipeline(`
` 'fill-mask', `
` model=model, `
` tokenizer=tokenizer, `
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/22995/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/22995/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/22995",
"html_url": "https://github.com/huggingface/transformers/pull/22995",
"diff_url": "https://github.com/huggingface/transformers/pull/22995.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/22995.patch",
"merged_at... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.