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/17271 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17271/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17271/comments | https://api.github.com/repos/huggingface/transformers/issues/17271/events | https://github.com/huggingface/transformers/pull/17271 | 1,236,674,965 | PR_kwDOCUB6oc432q09 | 17,271 | Add TFData2VecVision for semantic segmentation | {
"login": "sayakpaul",
"id": 22957388,
"node_id": "MDQ6VXNlcjIyOTU3Mzg4",
"avatar_url": "https://avatars.githubusercontent.com/u/22957388?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sayakpaul",
"html_url": "https://github.com/sayakpaul",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> Thanks a lot for your PR! Note that on the pyramid pooling class, even if we change the PyTorch class to not subclass `ModuleList` anymore, it will still need to keep the same weight names, otherwise compatibility with any checkpoi... | 1,652 | 1,654 | 1,654 | MEMBER | null | This PR introduces `TFData2VecVisionForSemanticSegmentation` which takes the `TFData2VecVisionMainLayer` and appends the necessary layers for performing semantic segmentation along with loss computation (first one in this line?).
**Notes**
* Thanks to @Rocketknight1 who implemented the adaptive average pooling l... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17271/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17271/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17271",
"html_url": "https://github.com/huggingface/transformers/pull/17271",
"diff_url": "https://github.com/huggingface/transformers/pull/17271.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17271.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17270 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17270/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17270/comments | https://api.github.com/repos/huggingface/transformers/issues/17270/events | https://github.com/huggingface/transformers/pull/17270 | 1,236,674,115 | PR_kwDOCUB6oc432qqR | 17,270 | Fix missing job action button in CI report | {
"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,652 | 1,652 | 1,652 | COLLABORATOR | null | # What does this PR do?
Current CI reports lack the `GitHub Action Job` button, due to the recent changes in workflow files:
- `models/bert` -> `models_bert` (was done in artifact names, but not in the matrix)
- `[single|multi]-gpu-docker` -> `[single|multi]-gpu` (was done in `notification_service.py`, but not i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17270/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17270/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17270",
"html_url": "https://github.com/huggingface/transformers/pull/17270",
"diff_url": "https://github.com/huggingface/transformers/pull/17270.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17270.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17269 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17269/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17269/comments | https://api.github.com/repos/huggingface/transformers/issues/17269/events | https://github.com/huggingface/transformers/pull/17269 | 1,236,663,657 | PR_kwDOCUB6oc432ocP | 17,269 | Use the PR URL in push CI report | {
"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,652 | 1,652 | 1,652 | COLLABORATOR | null | # What does this PR do?
In the push CI report, change the URL from the (merged) commit page to the PR page (if that commit comes from a PR). | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17269/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17269/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17269",
"html_url": "https://github.com/huggingface/transformers/pull/17269",
"diff_url": "https://github.com/huggingface/transformers/pull/17269.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17269.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17268 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17268/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17268/comments | https://api.github.com/repos/huggingface/transformers/issues/17268/events | https://github.com/huggingface/transformers/issues/17268 | 1,236,622,941 | I_kwDOCUB6oc5JtV5d | 17,268 | Swin Transformer V2 | {
"login": "RyanHuangNLP",
"id": 49582480,
"node_id": "MDQ6VXNlcjQ5NTgyNDgw",
"avatar_url": "https://avatars.githubusercontent.com/u/49582480?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/RyanHuangNLP",
"html_url": "https://github.com/RyanHuangNLP",
"followers_url": "https://api.github.c... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
},
{
"id": 1990918270,
"node_id": "MDU6TGFiZWwxOTkwOTE4Mjc... | closed | false | null | [] | [
"Marking this as a good first issue as Swin v2 only adds a couple of small design improvements compared to Swin v1.\r\n\r\nOne could use the [add new-model-like](https://github.com/huggingface/transformers/tree/main/templates/adding_a_new_model#add-new-model-like-command) feature to copy all Swin files, and then im... | 1,652 | 1,658 | 1,658 | NONE | null | ### Model description
[Swin Transformer V2: Scaling Up Capacity and Resolution](https://arxiv.org/pdf/2111.09883.pdf)
repo origin: [Swin Transformer V2](https://github.com/microsoft/Swin-Transformer#updates)
repo timm: [Swin Transformer V2](https://github.com/rwightman/pytorch-image-models/blob/master/timm/model... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17268/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17268/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17267 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17267/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17267/comments | https://api.github.com/repos/huggingface/transformers/issues/17267/events | https://github.com/huggingface/transformers/issues/17267 | 1,236,488,858 | I_kwDOCUB6oc5Js1Ka | 17,267 | ### System Info | {
"login": "SmileyBirdprey011",
"id": 105340574,
"node_id": "U_kgDOBkdeng",
"avatar_url": "https://avatars.githubusercontent.com/u/105340574?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SmileyBirdprey011",
"html_url": "https://github.com/SmileyBirdprey011",
"followers_url": "https://api... | [] | closed | false | null | [] | [] | 1,652 | 1,652 | 1,652 | NONE | null | ### Cursor colour
```shell
I'm running transformers installed directly from `ee393c0`.
```
### Who can help?
@NielsRogge @sgugger
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17267/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17267/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17266 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17266/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17266/comments | https://api.github.com/repos/huggingface/transformers/issues/17266/events | https://github.com/huggingface/transformers/issues/17266 | 1,236,470,127 | I_kwDOCUB6oc5Jswlv | 17,266 | Loading facebook/regnet-y-040 FeatureExtractor fails mysteriously unless pillow is installed | {
"login": "eric-mitchell",
"id": 56408839,
"node_id": "MDQ6VXNlcjU2NDA4ODM5",
"avatar_url": "https://avatars.githubusercontent.com/u/56408839?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eric-mitchell",
"html_url": "https://github.com/eric-mitchell",
"followers_url": "https://api.githu... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | {
"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... | [
{
"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.git... | [
"Will look into this today. There should be a way to indicate the missing dependencies when the object is not found by using our dummy objects."
] | 1,652 | 1,652 | 1,652 | NONE | null | ### System Info
```shell
I'm running transformers installed directly from `ee393c0`.
```
### Who can help?
@NielsRogge @sgugger
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17266/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17266/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17265 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17265/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17265/comments | https://api.github.com/repos/huggingface/transformers/issues/17265/events | https://github.com/huggingface/transformers/issues/17265 | 1,236,380,210 | I_kwDOCUB6oc5Jsaoy | 17,265 | OSError Directory not empty error in Trainer.py on checkpoint replacement | {
"login": "randywreed",
"id": 5059871,
"node_id": "MDQ6VXNlcjUwNTk4NzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/5059871?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/randywreed",
"html_url": "https://github.com/randywreed",
"followers_url": "https://api.github.com/users... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Thanks for the report! That sounds like a reasonable fix. Do you want to make a PR with it?",
"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 [... | 1,652 | 1,658 | 1,655 | NONE | null | ### System Info
```shell
- `transformers` version: 4.20.0.dev0
- Platform: Linux-5.13.0-30-generic-x86_64-with-glibc2.29
- Python version: 3.8.10
- Huggingface_hub version: 0.6.0
- PyTorch version (GPU?): 1.10.1 (True)
- Tensorflow version (GPU?): 2.7.0 (True)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17265/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17265/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17264 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17264/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17264/comments | https://api.github.com/repos/huggingface/transformers/issues/17264/events | https://github.com/huggingface/transformers/issues/17264 | 1,236,368,770 | I_kwDOCUB6oc5JsX2C | 17,264 | Problem with Adding LayerNorm after BART's Encoder for Summarization | {
"login": "meetdavidwan",
"id": 86493068,
"node_id": "MDQ6VXNlcjg2NDkzMDY4",
"avatar_url": "https://avatars.githubusercontent.com/u/86493068?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/meetdavidwan",
"html_url": "https://github.com/meetdavidwan",
"followers_url": "https://api.github.c... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"From what I can see, here the weights of self_attn, and feed forward layers are randomly initialised, as your code changes the model structure, these weights won't bee loaded from pre-trained model. Which could explain this. Also `self.encoder` already performs attention, why do you add another attention layer aft... | 1,652 | 1,652 | 1,652 | NONE | null | ### System Info
```shell
- `transformers` version: 4.19.1
- Platform: Linux-5.4.0-109-generic-x86_64-with-glibc2.17
- Python version: 3.8.12
- Huggingface_hub version: 0.2.1
- PyTorch version (GPU?): 1.11.0+cu113 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not insta... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17264/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17264/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17263 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17263/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17263/comments | https://api.github.com/repos/huggingface/transformers/issues/17263/events | https://github.com/huggingface/transformers/pull/17263 | 1,236,357,408 | PR_kwDOCUB6oc431nt7 | 17,263 | docs(transformers): fix typo | {
"login": "k-zehnder",
"id": 51463990,
"node_id": "MDQ6VXNlcjUxNDYzOTkw",
"avatar_url": "https://avatars.githubusercontent.com/u/51463990?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/k-zehnder",
"html_url": "https://github.com/k-zehnder",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,652 | 1,652 | 1,652 | CONTRIBUTOR | null | [goal] - fix typo transformers docs | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17263/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17263/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17263",
"html_url": "https://github.com/huggingface/transformers/pull/17263",
"diff_url": "https://github.com/huggingface/transformers/pull/17263.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17263.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17262 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17262/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17262/comments | https://api.github.com/repos/huggingface/transformers/issues/17262/events | https://github.com/huggingface/transformers/pull/17262 | 1,236,321,146 | PR_kwDOCUB6oc431gz3 | 17,262 | Spanish translation of the files sagemaker.mdx and image_classification.mdx | {
"login": "SimplyJuanjo",
"id": 87780148,
"node_id": "MDQ6VXNlcjg3NzgwMTQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/87780148?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SimplyJuanjo",
"html_url": "https://github.com/SimplyJuanjo",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks for your contribution!",
"Muchas gracias @SimplyJuanjo for the PR! 🤗 Please let me know if you wish to translate another one. "
] | 1,652 | 1,653 | 1,653 | CONTRIBUTOR | null | # What does this PR do?
Adds the Spanish version of [sagemaker.mdx](https://github.com/huggingface/transformers/blob/master/docs/source/en/sagemaker.mdx) and [image_classification.mdx](https://github.com/huggingface/transformers/blob/main/docs/source/en/tasks/image_classification.mdx) to [transformers/docs/source/es... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17262/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17262/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17262",
"html_url": "https://github.com/huggingface/transformers/pull/17262",
"diff_url": "https://github.com/huggingface/transformers/pull/17262.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17262.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17261 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17261/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17261/comments | https://api.github.com/repos/huggingface/transformers/issues/17261/events | https://github.com/huggingface/transformers/pull/17261 | 1,236,274,732 | PR_kwDOCUB6oc431YKM | 17,261 | TF - Fix convnext classification example | {
"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,652 | 1,652 | 1,652 | MEMBER | null | # What does this PR do?
Fixes what probably was copy-paste mistake. As visible [here](https://huggingface.co/docs/transformers/main/en/model_doc/convnext#transformers.TFConvNextForImageClassification.call.example) -- the example doesn't run atm, it does with the fix. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17261/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17261/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17261",
"html_url": "https://github.com/huggingface/transformers/pull/17261",
"diff_url": "https://github.com/huggingface/transformers/pull/17261.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17261.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17260 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17260/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17260/comments | https://api.github.com/repos/huggingface/transformers/issues/17260/events | https://github.com/huggingface/transformers/issues/17260 | 1,236,209,726 | I_kwDOCUB6oc5JrxA- | 17,260 | Missing of token_type_ids parameter in OPTForCausalLM.forward | {
"login": "Tuan-Lee-23",
"id": 43035837,
"node_id": "MDQ6VXNlcjQzMDM1ODM3",
"avatar_url": "https://avatars.githubusercontent.com/u/43035837?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Tuan-Lee-23",
"html_url": "https://github.com/Tuan-Lee-23",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Hello @Tuan-Lee-23!\r\n\r\n@patrickvonplaten, @younesbelkada or @ArthurZucker can give more details, but we aim to follow the original implementation as closely as possible. The original implementation does not leverage token type IDs and nor do the checkpoints, so there was no need to implement them for OPT.\r\n\... | 1,652 | 1,652 | 1,652 | NONE | null | ### Feature request
According to OPT's [document](https://huggingface.co/docs/transformers/model_doc/opt#transformers.OPTForCausalLM)
the OPTForCausalLM's forward method is missing a parameter `token_type_ids`.
I notice that other GPT variants almost have the `token_type_ids` in their forward method
Please upgrad... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17260/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17260/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17259 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17259/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17259/comments | https://api.github.com/repos/huggingface/transformers/issues/17259/events | https://github.com/huggingface/transformers/issues/17259 | 1,236,202,917 | I_kwDOCUB6oc5JrvWl | 17,259 | TROCR truncating output string | {
"login": "ronin2304",
"id": 105577596,
"node_id": "U_kgDOBkr8fA",
"avatar_url": "https://avatars.githubusercontent.com/u/105577596?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ronin2304",
"html_url": "https://github.com/ronin2304",
"followers_url": "https://api.github.com/users/ronin2... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"The [generate](https://huggingface.co/docs/transformers/main/en/main_classes/text_generation#transformers.generation_utils.GenerationMixin.generate) method provides an argument called `max_length` which specifies the max number of tokens to generate.\r\n\r\nNote that generation stops when the end-of-sequence token... | 1,652 | 1,655 | 1,655 | NONE | null | ### System Info
```shell
- `transformers` version: 4.19.1
- Platform: Windows-10-10.0.19044-SP0
- Python version: 3.8.13
- Huggingface_hub version: 0.5.1
- PyTorch version (GPU?): 1.9.0+cu111 (True)
- Tensorflow version (GPU?): 2.3.1 (True)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17259/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17259/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17258 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17258/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17258/comments | https://api.github.com/repos/huggingface/transformers/issues/17258/events | https://github.com/huggingface/transformers/issues/17258 | 1,236,152,415 | I_kwDOCUB6oc5JrjBf | 17,258 | run_clm.py exits with error -9 on checkpoint restart | {
"login": "randywreed",
"id": 5059871,
"node_id": "MDQ6VXNlcjUwNTk4NzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/5059871?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/randywreed",
"html_url": "https://github.com/randywreed",
"followers_url": "https://api.github.com/users... | [
{
"id": 2659267025,
"node_id": "MDU6TGFiZWwyNjU5MjY3MDI1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/DeepSpeed",
"name": "DeepSpeed",
"color": "4D34F7",
"default": false,
"description": ""
},
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw"... | closed | false | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [
{
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github... | [
"Looks like the error was thrown by DeepSpeed reloading the checkpoint, so maybe your issue would be better suited in their repo? Also cc @stas00 for information.",
"Based on your report I don't think it has anything to do with Deepspeed.\r\n\r\n```\r\n[2022-05-15 00:12:57,785] [INFO] [launch.py:178:sigkill_handl... | 1,652 | 1,653 | 1,653 | NONE | null | ### System Info
```shell
- `transformers` version: 4.20.0.dev0
- Platform: Linux-5.13.0-30-generic-x86_64-with-glibc2.29
- Python version: 3.8.10
- Huggingface_hub version: 0.6.0
- PyTorch version (GPU?): 1.10.1 (True)
- Tensorflow version (GPU?): 2.7.0 (True)
- Flax version (CPU?/GPU?/TPU?): not installed (N... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17258/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17258/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17257 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17257/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17257/comments | https://api.github.com/repos/huggingface/transformers/issues/17257/events | https://github.com/huggingface/transformers/pull/17257 | 1,236,128,159 | PR_kwDOCUB6oc4308md | 17,257 | Improve mismatched sizes management when loading a pretrained model | {
"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._",
"I see that all tests corresponding to mismatched sizes failed. Looking at [test_modeling_common.py](https://github.com/huggingface/transformers/blob/ee393c009a243bbb86fa11d2efa771a1704d85cf/tests/test_modeling_common.py#L2191), I gue... | 1,652 | 1,652 | 1,652 | 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/17257/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17257/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17257",
"html_url": "https://github.com/huggingface/transformers/pull/17257",
"diff_url": "https://github.com/huggingface/transformers/pull/17257.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17257.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17256 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17256/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17256/comments | https://api.github.com/repos/huggingface/transformers/issues/17256/events | https://github.com/huggingface/transformers/issues/17256 | 1,236,104,823 | I_kwDOCUB6oc5JrXZ3 | 17,256 | RAG - ValueError: Columns ['embeddings'] not in the dataset. Current columns in the dataset: ['title', 'text'] | {
"login": "deema-A",
"id": 60605574,
"node_id": "MDQ6VXNlcjYwNjA1NTc0",
"avatar_url": "https://avatars.githubusercontent.com/u/60605574?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/deema-A",
"html_url": "https://github.com/deema-A",
"followers_url": "https://api.github.com/users/deema-... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hi ! The \"embeddings\" column is computed at the line:\r\n\r\nhttps://github.com/huggingface/transformers/blob/95b6bef624bd9dfdfcdfdedd86bb2173f7fb4bfe/examples/research_projects/rag/use_own_knowledge_dataset.py#L88-L93\r\n\r\nCan you make sure this line is run and check that \"embeddings\" is in `dataset.column_... | 1,652 | 1,659 | 1,659 | NONE | null | ### System Info
```shell
Hi,
INFO:__main__:Step 1 - Create the dataset
WARNING:datasets.builder:Using custom data configuration default-3b4ec65e3c3d818f
Downloading and preparing dataset csv/default to /local/data/daa2182/.cache/huggingface/modules/datasets_modules/datasets/csv/default-3b4ec65e3c3d818f/0.0.0/433... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17256/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/17256/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17255 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17255/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17255/comments | https://api.github.com/repos/huggingface/transformers/issues/17255/events | https://github.com/huggingface/transformers/pull/17255 | 1,236,100,688 | PR_kwDOCUB6oc4303he | 17,255 | Added es version of bertology.mdx doc | {
"login": "jQuinRivero",
"id": 55513213,
"node_id": "MDQ6VXNlcjU1NTEzMjEz",
"avatar_url": "https://avatars.githubusercontent.com/u/55513213?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jQuinRivero",
"html_url": "https://github.com/jQuinRivero",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Muchas gracias @jQuinRivero for the PR! 🤗 Please let me know if you wish to translate another one. \r\n\r\n@sgugger LGTM :)"
] | 1,652 | 1,653 | 1,653 | CONTRIBUTOR | null | Fixes #15947
Added spanish version of language_modeling.mdx documentation file.
@omarespejel @sgugger | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17255/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17255/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17255",
"html_url": "https://github.com/huggingface/transformers/pull/17255",
"diff_url": "https://github.com/huggingface/transformers/pull/17255.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17255.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17254 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17254/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17254/comments | https://api.github.com/repos/huggingface/transformers/issues/17254/events | https://github.com/huggingface/transformers/pull/17254 | 1,236,026,330 | PR_kwDOCUB6oc430qjD | 17,254 | Add fast tokenizer for BARTpho | {
"login": "datquocnguyen",
"id": 2412555,
"node_id": "MDQ6VXNlcjI0MTI1NTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/2412555?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/datquocnguyen",
"html_url": "https://github.com/datquocnguyen",
"followers_url": "https://api.github.... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_17254). All of your documentation changes will be reflected on that endpoint.",
"Following: [https://github.com/huggingface/transformers/pull/13788](https://github.com/huggingface/transformers/pull/13788)\r\nI now add a \"f... | 1,652 | 1,671 | 1,671 | CONTRIBUTOR | null | This PR is to add a "fast" BARTpho tokenizer (backed by HuggingFace's *tokenizers* library).
# 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 t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17254/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/17254/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17254",
"html_url": "https://github.com/huggingface/transformers/pull/17254",
"diff_url": "https://github.com/huggingface/transformers/pull/17254.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17254.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17253 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17253/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17253/comments | https://api.github.com/repos/huggingface/transformers/issues/17253/events | https://github.com/huggingface/transformers/pull/17253 | 1,235,974,967 | PR_kwDOCUB6oc430mSt | 17,253 | Adding CVT Model | {
"login": "AnugunjNaman",
"id": 42839570,
"node_id": "MDQ6VXNlcjQyODM5NTcw",
"avatar_url": "https://avatars.githubusercontent.com/u/42839570?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AnugunjNaman",
"html_url": "https://github.com/AnugunjNaman",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@NielsRogge can you review it and suggest any further changes.\r\nI'm not sure how you want to modify `cls_token` part. Since modifying in `CvtStage` section (stopping the split) will change shape of hidden states (stored in all hidd... | 1,652 | 1,652 | 1,652 | CONTRIBUTOR | null | # What does this PR do?
Add CvT Model for Vision Classification
Fixes #13158
## 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/CONTRIB... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17253/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17253/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17253",
"html_url": "https://github.com/huggingface/transformers/pull/17253",
"diff_url": "https://github.com/huggingface/transformers/pull/17253.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17253.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17252 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17252/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17252/comments | https://api.github.com/repos/huggingface/transformers/issues/17252/events | https://github.com/huggingface/transformers/issues/17252 | 1,235,940,575 | I_kwDOCUB6oc5JqvTf | 17,252 | torch.cuda.amp.autocast not worhing in huggingface nlp models. | {
"login": "HaoKang-Timmy",
"id": 60107867,
"node_id": "MDQ6VXNlcjYwMTA3ODY3",
"avatar_url": "https://avatars.githubusercontent.com/u/60107867?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HaoKang-Timmy",
"html_url": "https://github.com/HaoKang-Timmy",
"followers_url": "https://api.githu... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [] | 1,652 | 1,652 | 1,652 | NONE | null | ### System Info
```shell
Hi, I am trying to finetune my roberta-base model to RTE datasets using fp16.
But it seems `torch.cuda.autocast' does not work in huggingface nlp models. The output of model is `torch.float32` and there is no memory saving.
My code is below
And is there any way of showing a example of tra... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17252/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17252/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17251 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17251/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17251/comments | https://api.github.com/repos/huggingface/transformers/issues/17251/events | https://github.com/huggingface/transformers/issues/17251 | 1,235,765,161 | I_kwDOCUB6oc5JqEep | 17,251 | Support MobileBert model in transformer.onnx package | {
"login": "YUNQIUGUO",
"id": 35738743,
"node_id": "MDQ6VXNlcjM1NzM4NzQz",
"avatar_url": "https://avatars.githubusercontent.com/u/35738743?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/YUNQIUGUO",
"html_url": "https://github.com/YUNQIUGUO",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,652 | 1,657 | 1,656 | NONE | null | ### Feature request
Just wondering would it be possible to support mobilebert in transformer.onnx package? or is there any quick hack that we can try to export the mobilebert model from huggingface to onnx?
Thanks.
The mobile I am trying is : `google/mobilebert-uncased`
And the command : `python -m transform... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17251/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17251/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17250 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17250/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17250/comments | https://api.github.com/repos/huggingface/transformers/issues/17250/events | https://github.com/huggingface/transformers/pull/17250 | 1,235,613,540 | PR_kwDOCUB6oc43zgqi | 17,250 | Automatically sort auto mappings | {
"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,652 | 1,652 | 1,652 | COLLABORATOR | null | # What does this PR do?
This PR introduces a new script to automatically sort all the mappings in the auto modules alphabetically. It fixes/checks it with the usual `make style`/`make quality`/`make fixup` and a new step in the check code quality job of the CI enforces it has properly been applied. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17250/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17250/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17250",
"html_url": "https://github.com/huggingface/transformers/pull/17250",
"diff_url": "https://github.com/huggingface/transformers/pull/17250.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17250.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17249 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17249/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17249/comments | https://api.github.com/repos/huggingface/transformers/issues/17249/events | https://github.com/huggingface/transformers/pull/17249 | 1,235,581,045 | PR_kwDOCUB6oc43zZ-M | 17,249 | Fix test_model_parallelization | {
"login": "lkm2835",
"id": 30465912,
"node_id": "MDQ6VXNlcjMwNDY1OTEy",
"avatar_url": "https://avatars.githubusercontent.com/u/30465912?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lkm2835",
"html_url": "https://github.com/lkm2835",
"followers_url": "https://api.github.com/users/lkm283... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Change is fine by me! @sgugger @stas00 what do you think? "
] | 1,652 | 1,652 | 1,652 | CONTRIBUTOR | null | # What does this PR do?
When number of gpus is greater than ```len(model.device_map.keys())```, exceptional case happens.
Fixes #17248
## Who can review?
@patrickvonplaten
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17249/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17249/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17249",
"html_url": "https://github.com/huggingface/transformers/pull/17249",
"diff_url": "https://github.com/huggingface/transformers/pull/17249.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17249.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17248 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17248/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17248/comments | https://api.github.com/repos/huggingface/transformers/issues/17248/events | https://github.com/huggingface/transformers/issues/17248 | 1,235,561,413 | I_kwDOCUB6oc5JpSvF | 17,248 | gpt2 model parallelization test failed | {
"login": "lkm2835",
"id": 30465912,
"node_id": "MDQ6VXNlcjMwNDY1OTEy",
"avatar_url": "https://avatars.githubusercontent.com/u/30465912?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lkm2835",
"html_url": "https://github.com/lkm2835",
"followers_url": "https://api.github.com/users/lkm283... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [] | 1,652 | 1,652 | 1,652 | CONTRIBUTOR | null | ### System Info
```shell
- `transformers` version: 4.20.0.dev0
- Platform: Linux-5.13.0-1015-gcp-x86_64-with-glibc2.17
- Python version: 3.8.12
- Huggingface_hub version: 0.4.0
- PyTorch version (GPU?): 1.11.0+cu113 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not insta... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17248/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17248/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17247 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17247/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17247/comments | https://api.github.com/repos/huggingface/transformers/issues/17247/events | https://github.com/huggingface/transformers/pull/17247 | 1,235,549,655 | PR_kwDOCUB6oc43zTrz | 17,247 | Add support for pretraining recurring span selection to Splinter | {
"login": "jvcop",
"id": 4559066,
"node_id": "MDQ6VXNlcjQ1NTkwNjY=",
"avatar_url": "https://avatars.githubusercontent.com/u/4559066?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jvcop",
"html_url": "https://github.com/jvcop",
"followers_url": "https://api.github.com/users/jvcop/follower... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks for reviewing the PR! :) I added the suggested changes.\r\n\r\n@jvcop will add an answer to this https://github.com/huggingface/transformers/pull/17247#discussion_r873691809",
"As far as I can see all comments have been addr... | 1,652 | 1,652 | 1,652 | CONTRIBUTOR | null | This pull request aims to add support for recurring span selection pretraining as proposed by the authors of [Splinter](https://arxiv.org/abs/2101.00438). The pretraining objective differs from the question answering task in a couple of ways:
- There is not a question, but a number of question tokens replacing recur... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17247/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17247/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17247",
"html_url": "https://github.com/huggingface/transformers/pull/17247",
"diff_url": "https://github.com/huggingface/transformers/pull/17247.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17247.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17246 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17246/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17246/comments | https://api.github.com/repos/huggingface/transformers/issues/17246/events | https://github.com/huggingface/transformers/pull/17246 | 1,235,495,173 | PR_kwDOCUB6oc43zIBX | 17,246 | Add PR title to push CI report | {
"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,652 | 1,652 | 1,652 | COLLABORATOR | null | # What does this PR do?
As title. The current effect looks like
<img width="512" alt="Screenshot 2022-05-13 191853" src="https://user-images.githubusercontent.com/2521628/168335363-ddb06fb3-4c3e-40ea-8b3a-2a82e9402c38.png">
I need to figure out a way to add link. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17246/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17246/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17246",
"html_url": "https://github.com/huggingface/transformers/pull/17246",
"diff_url": "https://github.com/huggingface/transformers/pull/17246.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17246.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17245 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17245/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17245/comments | https://api.github.com/repos/huggingface/transformers/issues/17245/events | https://github.com/huggingface/transformers/pull/17245 | 1,235,464,089 | PR_kwDOCUB6oc43zBXg | 17,245 | Add OPT model parallelize | {
"login": "lkm2835",
"id": 30465912,
"node_id": "MDQ6VXNlcjMwNDY1OTEy",
"avatar_url": "https://avatars.githubusercontent.com/u/30465912?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lkm2835",
"html_url": "https://github.com/lkm2835",
"followers_url": "https://api.github.com/users/lkm283... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_17245). All of your documentation changes will be reflected on that endpoint.",
"Hey @lkm2835,\r\n\r\nThanks for your PR - however this way of parallelizing the model is a bit outdated. The recommended way of using the mode... | 1,652 | 1,655 | 1,655 | CONTRIBUTOR | null | # Model Parallelism for OPT
Added ```parallelize``` and ```deparallelize``` methods on ```OPTDecoder```, ```OPTModel``` and ```OPTForCausalLM```.
Referred to ```gpt2``` model parallelize (https://github.com/huggingface/transformers/pull/8696).
Fixes #17240
## Who can review?
Let me know if you need any modi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17245/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17245/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17245",
"html_url": "https://github.com/huggingface/transformers/pull/17245",
"diff_url": "https://github.com/huggingface/transformers/pull/17245.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17245.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17244 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17244/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17244/comments | https://api.github.com/repos/huggingface/transformers/issues/17244/events | https://github.com/huggingface/transformers/issues/17244 | 1,235,443,098 | I_kwDOCUB6oc5Jo12a | 17,244 | Error in Loading the Feature extractor | {
"login": "guneetsk99",
"id": 43180442,
"node_id": "MDQ6VXNlcjQzMTgwNDQy",
"avatar_url": "https://avatars.githubusercontent.com/u/43180442?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/guneetsk99",
"html_url": "https://github.com/guneetsk99",
"followers_url": "https://api.github.com/use... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This is fixed by #17239\r\nWill make a patch for PyPi.",
"Patched on pypi!"
] | 1,652 | 1,652 | 1,652 | NONE | null | ### System Info
```shell
WARNING:tensorflow:From /usr/local/lib/python3.7/dist-packages/transformers/commands/env.py:52: is_gpu_available (from tensorflow.python.framework.test_util) is deprecated and will be removed in a future version.
Instructions for updating:
Use `tf.config.list_physical_devices('GPU')` instead... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17244/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17244/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17243 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17243/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17243/comments | https://api.github.com/repos/huggingface/transformers/issues/17243/events | https://github.com/huggingface/transformers/pull/17243 | 1,235,435,536 | PR_kwDOCUB6oc43y7Rd | 17,243 | install dev. version of accelerate in docker 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 | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,652 | 1,654 | 1,652 | COLLABORATOR | null | # What does this PR do?
With an offline discussion with @muellerzr regarding this CI failure
```
tests/trainer/test_trainer.py::TrainerIntegrationTest::test_auto_batch_size_finder
(line 776) ImportError:
```
I update the docker file in this PR. Will try to build the new docker image once this PR is merged.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17243/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17243/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17243",
"html_url": "https://github.com/huggingface/transformers/pull/17243",
"diff_url": "https://github.com/huggingface/transformers/pull/17243.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17243.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17242 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17242/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17242/comments | https://api.github.com/repos/huggingface/transformers/issues/17242/events | https://github.com/huggingface/transformers/pull/17242 | 1,235,423,381 | PR_kwDOCUB6oc43y4vN | 17,242 | Quick fix for push CI report channel | {
"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,652 | 1,652 | 1,652 | COLLABORATOR | null | # What does this PR do?
As title.
I can definitely use
```
if ci_event == "scheduled":
...
else:
...
```
Let me know if you prefer that approach, @LysandreJik .
(I updated the secret - despite the channel ID might just be the same as before) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17242/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17242/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17242",
"html_url": "https://github.com/huggingface/transformers/pull/17242",
"diff_url": "https://github.com/huggingface/transformers/pull/17242.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17242.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17241 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17241/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17241/comments | https://api.github.com/repos/huggingface/transformers/issues/17241/events | https://github.com/huggingface/transformers/issues/17241 | 1,235,411,070 | I_kwDOCUB6oc5JouB- | 17,241 | Question answering pipeline: error for long text sequences when `max_seq_len` is specified | {
"login": "ATroxler",
"id": 40578555,
"node_id": "MDQ6VXNlcjQwNTc4NTU1",
"avatar_url": "https://avatars.githubusercontent.com/u/40578555?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ATroxler",
"html_url": "https://github.com/ATroxler",
"followers_url": "https://api.github.com/users/ATr... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"I think this is expected, not a bug. The `max_seq_length` of `distilbert` is 512. Set `max_seq_length` to be larger than 512 essentially disable the truncation. When you feed a text than 512 tokens, it will raise this error",
"No, according ot the documentation of `transformers.QuestionAnsweringPipeline.__call__... | 1,652 | 1,652 | 1,652 | NONE | null | ### System Info
```shell
- `transformers` version: 4.17.0
- Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.13
- PyTorch version (GPU?): 1.11.0+cu113 (False)
- Tensorflow version (GPU?): 2.8.0 (False)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17241/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17241/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17240 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17240/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17240/comments | https://api.github.com/repos/huggingface/transformers/issues/17240/events | https://github.com/huggingface/transformers/issues/17240 | 1,235,405,788 | I_kwDOCUB6oc5Josvc | 17,240 | Distributed Support for OPT models in transformers | {
"login": "Mrs-Hudson",
"id": 7013661,
"node_id": "MDQ6VXNlcjcwMTM2NjE=",
"avatar_url": "https://avatars.githubusercontent.com/u/7013661?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Mrs-Hudson",
"html_url": "https://github.com/Mrs-Hudson",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"@patrickvonplaten rasising a feature request for model parallelism for the newly added OPT models. Please triage/comment as you see fit",
"Same answer as in https://github.com/huggingface/transformers/pull/17245#issuecomment-1128064880 here. Think we'll soon have something that works out of the box cc @sgugger... | 1,652 | 1,655 | 1,655 | NONE | null | ### Feature request
Hi
Thanks a lot for adding OPT models to transformers. As of now the 55GB 30B parameter model needs to be loaded into a single GPU, otherwise it t[hrows a CUDA memory error](https://discuss.huggingface.co/t/running-inference-on-opt-30m-on-gpu/17895/2).
It would be great if we could have distrib... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17240/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17240/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17239 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17239/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17239/comments | https://api.github.com/repos/huggingface/transformers/issues/17239/events | https://github.com/huggingface/transformers/pull/17239 | 1,235,401,234 | PR_kwDOCUB6oc43y0H9 | 17,239 | Fix Trainer for Datasets that don't have dict items | {
"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._",
"You're welcome "
] | 1,652 | 1,652 | 1,652 | COLLABORATOR | null | # What does this PR do?
This PR fixes a break in `Trainer` when the dataset items are not dictionaries. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17239/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17239/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17239",
"html_url": "https://github.com/huggingface/transformers/pull/17239",
"diff_url": "https://github.com/huggingface/transformers/pull/17239.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17239.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17238 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17238/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17238/comments | https://api.github.com/repos/huggingface/transformers/issues/17238/events | https://github.com/huggingface/transformers/pull/17238 | 1,235,379,662 | PR_kwDOCUB6oc43yvic | 17,238 | [WIP] Use word_ids to determine if a pre-entity is a subword in TokenClassificationPipeline | {
"login": "barar-primer",
"id": 46694100,
"node_id": "MDQ6VXNlcjQ2Njk0MTAw",
"avatar_url": "https://avatars.githubusercontent.com/u/46694100?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/barar-primer",
"html_url": "https://github.com/barar-primer",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_17238). 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,652 | 1,655 | 1,655 | NONE | null | # What does this PR do?
Currently, `TokenClassificationPipeline` checks an attribute called `continuing_subword_prefix` in order to determine whether it can use the "correct" token aggregation strategy. Otherwise, it uses a backup heuristic which doesn't work well usually. This check works for BERT, but not for XLNet ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17238/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17238/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17238",
"html_url": "https://github.com/huggingface/transformers/pull/17238",
"diff_url": "https://github.com/huggingface/transformers/pull/17238.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17238.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17237 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17237/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17237/comments | https://api.github.com/repos/huggingface/transformers/issues/17237/events | https://github.com/huggingface/transformers/pull/17237 | 1,235,357,074 | PR_kwDOCUB6oc43yqqs | 17,237 | Align logits and labels in OPT | {
"login": "MichelBartels",
"id": 17650521,
"node_id": "MDQ6VXNlcjE3NjUwNTIx",
"avatar_url": "https://avatars.githubusercontent.com/u/17650521?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MichelBartels",
"html_url": "https://github.com/MichelBartels",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"LGTM - this is because we took the model from BART which is an encoder decoder\r\nwdyt @ArthurZucker @patrickvonplaten ?",
"Oh, good find @MichelBartels! We weren't careful enough when reviewing the PR here - we should have aligned... | 1,652 | 1,652 | 1,652 | CONTRIBUTOR | null | # What does this PR do?
For other decoder models, the labels are shifted and the last logit of each sequence is removed so they align when computing the loss. This isn't done for OPT. This PR adds this feature.
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17237/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17237/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17237",
"html_url": "https://github.com/huggingface/transformers/pull/17237",
"diff_url": "https://github.com/huggingface/transformers/pull/17237.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17237.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17236 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17236/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17236/comments | https://api.github.com/repos/huggingface/transformers/issues/17236/events | https://github.com/huggingface/transformers/issues/17236 | 1,235,352,752 | I_kwDOCUB6oc5Jofyw | 17,236 | [Longformer] Issues with "is_index_masked" when using single encoder layer | {
"login": "NVukobrat",
"id": 44512290,
"node_id": "MDQ6VXNlcjQ0NTEyMjkw",
"avatar_url": "https://avatars.githubusercontent.com/u/44512290?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NVukobrat",
"html_url": "https://github.com/NVukobrat",
"followers_url": "https://api.github.com/users/... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [
{
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.githu... | [
"Hey @ydshieh, do you have any news/comments on this issue?",
"Hi @NVukobrat \r\n\r\nAfter looking more closely, here is my thought:\r\n\r\nWhat you suggests could be achieved by adding \r\n```\r\n is_index_masked = attention_mask < 0 \r\n is_index_global_attn = attention_mask > 0 \r\n is_global_attn = is_index_g... | 1,652 | 1,653 | 1,653 | NONE | null | ### System Info
```shell
- `transformers` version: 4.19.0
- Platform: macOS-10.16-x86_64-i386-64bit
- Python version: 3.9.7
- Huggingface_hub version: 0.6.0
- PyTorch version (GPU?): 1.11.0 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version:... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17236/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17236/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17235 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17235/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17235/comments | https://api.github.com/repos/huggingface/transformers/issues/17235/events | https://github.com/huggingface/transformers/pull/17235 | 1,235,336,077 | PR_kwDOCUB6oc43ymUy | 17,235 | fix --gpus option for docker | {
"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,652 | 1,652 | 1,652 | COLLABORATOR | null | # What does this PR do?
Some multi-GPUs tests in scheduled CI workflow file use `--gpus 0`. I think it is an error, and we might test with only 1 GPU for those multi GPUs tests.
This PR fixes it.
**Remark**: It's quite strange that, from the setup job log, we can see 2 GPUs in `nvidia-smi` while we have `opti... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17235/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17235/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17235",
"html_url": "https://github.com/huggingface/transformers/pull/17235",
"diff_url": "https://github.com/huggingface/transformers/pull/17235.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17235.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17234 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17234/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17234/comments | https://api.github.com/repos/huggingface/transformers/issues/17234/events | https://github.com/huggingface/transformers/issues/17234 | 1,235,269,592 | I_kwDOCUB6oc5JoLfY | 17,234 | add FAN model (vision) | {
"login": "johnnv1",
"id": 20444345,
"node_id": "MDQ6VXNlcjIwNDQ0MzQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/20444345?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/johnnv1",
"html_url": "https://github.com/johnnv1",
"followers_url": "https://api.github.com/users/johnnv... | [
{
"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 there, I would like to implement this model @NielsRogge ",
"Hi @NielsRogge.\r\nTo my knowledge there would still be two pending tasks\r\n- [X] Update README.md to include FAN model\r\n- [ ] Migrate Files, weights to NVIDA organization space\r\nPlease let me know what additional tasks you think might be pendin... | 1,652 | 1,669 | null | CONTRIBUTOR | null | ### Model description
Fully attentional networks (FAN) is a family of general-purpose Vision Transformer backbones that are highly robust to unseen natural corruptions in various visual recognition tasks.
### Open source status
- [X] The model implementation is available
- [ ] The model weights are available
### Pr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17234/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17234/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17233 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17233/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17233/comments | https://api.github.com/repos/huggingface/transformers/issues/17233/events | https://github.com/huggingface/transformers/issues/17233 | 1,235,264,279 | I_kwDOCUB6oc5JoKMX | 17,233 | bug in modeling_tf_wav2vec2 | {
"login": "ahmedlone127",
"id": 66001253,
"node_id": "MDQ6VXNlcjY2MDAxMjUz",
"avatar_url": "https://avatars.githubusercontent.com/u/66001253?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ahmedlone127",
"html_url": "https://github.com/ahmedlone127",
"followers_url": "https://api.github.c... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | closed | false | {
"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... | [
{
"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.co... | [
"Hi @ahmedlone127 👋 The error appears because that line does not run without Eager Execution (see below), which is the case for your script. This is a problem on our side, and we will be fixing it 👍 \r\n\r\n: 1.11.0+cu113 (True)
- Tensorflow version (GPU? Yes): 2.8.0 (True)
- Flax version (GPU:Yes): not installed... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17233/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17233/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17232 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17232/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17232/comments | https://api.github.com/repos/huggingface/transformers/issues/17232/events | https://github.com/huggingface/transformers/pull/17232 | 1,235,176,457 | PR_kwDOCUB6oc43yECV | 17,232 | Fix Flava FlavaForPreTrainingIntegrationTest 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 | [] | [
"cc @apsdehal for information :-)",
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,652 | 1,652 | 1,652 | COLLABORATOR | null | # What does this PR do?
Fix Flava CI failure
```
> self.assertAlmostEqual(outputs.loss_info.mmm_text.item(), 1.75533199)
E AssertionError: 1.7553329467773438 != 1.75533199 within 7 places (9.56777343796844e-07 difference)
```
Just change the argument `places` to `4`.
[Job run log](https://github.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17232/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17232/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17232",
"html_url": "https://github.com/huggingface/transformers/pull/17232",
"diff_url": "https://github.com/huggingface/transformers/pull/17232.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17232.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17231 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17231/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17231/comments | https://api.github.com/repos/huggingface/transformers/issues/17231/events | https://github.com/huggingface/transformers/pull/17231 | 1,235,163,700 | PR_kwDOCUB6oc43yBSG | 17,231 | fix retribert's `test_torch_encode_plus_sent_to_model` | {
"login": "SaulLu",
"id": 55560583,
"node_id": "MDQ6VXNlcjU1NTYwNTgz",
"avatar_url": "https://avatars.githubusercontent.com/u/55560583?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SaulLu",
"html_url": "https://github.com/SaulLu",
"followers_url": "https://api.github.com/users/SaulLu/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@ydshieh , this is a good question (which I also asked myself, I should have shared my thoughts on it). \r\n\r\nActually `self.bert_doc` is set to None in the model that is loaded. So, we can't test anything on `self.bert_doc` and `e... | 1,652 | 1,652 | 1,652 | CONTRIBUTOR | null | # What does this PR do?
This PR proposes a fix for the slow test `test_torch_encode_plus_sent_to_model` for RetriBert that failed in the CI daily that ran yesterday.
The error is due to the fact that RetriBert is not a classical model in the sense that the input can be fed to one or two encoders of the model. As ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17231/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17231/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17231",
"html_url": "https://github.com/huggingface/transformers/pull/17231",
"diff_url": "https://github.com/huggingface/transformers/pull/17231.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17231.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17230 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17230/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17230/comments | https://api.github.com/repos/huggingface/transformers/issues/17230/events | https://github.com/huggingface/transformers/issues/17230 | 1,235,076,094 | I_kwDOCUB6oc5JncP- | 17,230 | Add RWKV2 (fast) | {
"login": "leondz",
"id": 121934,
"node_id": "MDQ6VXNlcjEyMTkzNA==",
"avatar_url": "https://avatars.githubusercontent.com/u/121934?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/leondz",
"html_url": "https://github.com/leondz",
"followers_url": "https://api.github.com/users/leondz/follow... | [
{
"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 | [] | [
"-- on second thoughts: it's not immediately clear to me how many people will use this particular model, or how it will perform. What I'd really like to do is implement and develop it on Hub, and see if it's useful/popular there. I spent an amount of time with the docs, and the route to adding new model architectur... | 1,652 | 1,683 | 1,683 | CONTRIBUTOR | null | ### Model description
I would like to implement a new model architecture.
## Short description
RWKV v2 is an "RNN with transformer-level performance, without using attention. Similar to Apple's Attention Free Transformer. All trained models open-source. Inference is very fast (even on CPUs) and might work on cel... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17230/reactions",
"total_count": 31,
"+1": 19,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 12
} | https://api.github.com/repos/huggingface/transformers/issues/17230/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17229 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17229/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17229/comments | https://api.github.com/repos/huggingface/transformers/issues/17229/events | https://github.com/huggingface/transformers/pull/17229 | 1,235,062,194 | PR_kwDOCUB6oc43xrc1 | 17,229 | OPT-fix | {
"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 | [] | [
"Ok let's merge this one first and then I'll rebase mine here: https://github.com/huggingface/transformers/pull/17228",
"@younesbelkada can you also replace:\r\n\r\n```\r\n tokenizer = GPT2Tokenizer.from_pretrained(\"patrickvonplaten/opt_gpt2_tokenizer\")\r\n```\r\n\r\nin the embedding test with \r\n\r\n```\r\n t... | 1,652 | 1,652 | 1,652 | CONTRIBUTOR | null | # What does this PR do?
Quicklly fxing 3 testing issues!
cc @patrickvonplaten @ydshieh
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17229/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17229/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17229",
"html_url": "https://github.com/huggingface/transformers/pull/17229",
"diff_url": "https://github.com/huggingface/transformers/pull/17229.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17229.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17228 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17228/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17228/comments | https://api.github.com/repos/huggingface/transformers/issues/17228/events | https://github.com/huggingface/transformers/pull/17228 | 1,235,032,529 | PR_kwDOCUB6oc43xlJg | 17,228 | OPT - fix docstring and improve tests slighly | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,652 | 1,652 | 1,652 | MEMBER | 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/17228/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17228/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17228",
"html_url": "https://github.com/huggingface/transformers/pull/17228",
"diff_url": "https://github.com/huggingface/transformers/pull/17228.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17228.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17227 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17227/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17227/comments | https://api.github.com/repos/huggingface/transformers/issues/17227/events | https://github.com/huggingface/transformers/pull/17227 | 1,234,871,364 | PR_kwDOCUB6oc43xCvT | 17,227 | Adds support for OPT in Flax and TF. | {
"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 | {
"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": "... | [
"> Thanks for adding those! Without the `TFOPTForCausalLM`, I don't see the point of adding the TF version of OPT since it can't really be used, so would either not add TF yet or make sure this model is added before merging the PR.\r\n\r\nYes I am not done yet! Sorry if I pinged you a bit early",
"@ArthurZucker l... | 1,652 | 1,653 | 1,653 | COLLABORATOR | null | # What does this PR do?
Adds support for OPT in Flax and TF.
Also clean Pytorch code a bit.
## Who can review?
@LysandreJik, @patrickvonplaten, @patil-suraj, @sgugger
Sorry for the two pull requests in a row, pulled from main instead of rebasing and had the entire commit history. Created a new branch to... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17227/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 2,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17227/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17227",
"html_url": "https://github.com/huggingface/transformers/pull/17227",
"diff_url": "https://github.com/huggingface/transformers/pull/17227.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17227.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17226 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17226/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17226/comments | https://api.github.com/repos/huggingface/transformers/issues/17226/events | https://github.com/huggingface/transformers/pull/17226 | 1,234,811,733 | PR_kwDOCUB6oc43w2Wu | 17,226 | Add support for Opt in tf and flax | {
"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 | [] | [
"Closing for a new pull request where history is fixed"
] | 1,652 | 1,652 | 1,652 | COLLABORATOR | null | # What does this PR do?
Adds support for OPT in Flax and TF.
Also clean Pytorch code a bit.
## Who can review?
@LysandreJik, @patrickvonplaten, @patil-suraj, @sgugger
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17226/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17226/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17226",
"html_url": "https://github.com/huggingface/transformers/pull/17226",
"diff_url": "https://github.com/huggingface/transformers/pull/17226.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17226.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17225 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17225/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17225/comments | https://api.github.com/repos/huggingface/transformers/issues/17225/events | https://github.com/huggingface/transformers/pull/17225 | 1,234,779,986 | PR_kwDOCUB6oc43wvue | 17,225 | OPTForCausalLM lm_head input size should be config.word_embed_proj_dim | {
"login": "vfbd",
"id": 89268918,
"node_id": "MDQ6VXNlcjg5MjY4OTE4",
"avatar_url": "https://avatars.githubusercontent.com/u/89268918?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vfbd",
"html_url": "https://github.com/vfbd",
"followers_url": "https://api.github.com/users/vfbd/followers"... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hi!\r\nThanks for pointing out the issue :)\r\n@patrickvonplaten @ArthurZucker Do we have tests with models that doesn't have the same `hidden_dim` and `word_embed_proj_dim` ? Wondering why the tests are still passing",
"For extra... | 1,652 | 1,653 | 1,653 | 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/17225/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17225/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17225",
"html_url": "https://github.com/huggingface/transformers/pull/17225",
"diff_url": "https://github.com/huggingface/transformers/pull/17225.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17225.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17224 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17224/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17224/comments | https://api.github.com/repos/huggingface/transformers/issues/17224/events | https://github.com/huggingface/transformers/issues/17224 | 1,234,647,123 | I_kwDOCUB6oc5JlzhT | 17,224 | ALBEF: Align Before Fuse | {
"login": "ggoggam",
"id": 47265378,
"node_id": "MDQ6VXNlcjQ3MjY1Mzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/47265378?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ggoggam",
"html_url": "https://github.com/ggoggam",
"followers_url": "https://api.github.com/users/ggogga... | [
{
"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 | [] | [
"@jkgrad What is the state of this issue? If no one is working on this, I would like to implement it.",
"Hey @DanielFLevine, we'd love for you to try and contribute that model! \r\n\r\ncc @NielsRogge who can help out once he's back from leave :)",
"@LysandreJik @NielsRogge Great! I've already started looking ov... | 1,652 | 1,699 | null | NONE | null | ### Model description
Align Before Fuse (ALBEF) is a vision-language (VL) model that showed competitive results in numerous VL tasks such as image-text retrieval, visual question answering, visual entailment, and visual grounding.
The authors propose to use text encoder (BERT's first half layers) and image encod... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17224/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17224/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17223 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17223/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17223/comments | https://api.github.com/repos/huggingface/transformers/issues/17223/events | https://github.com/huggingface/transformers/pull/17223 | 1,234,642,885 | PR_kwDOCUB6oc43wTEu | 17,223 | Add type hints for ProphetNet (Pytorch) | {
"login": "jQuinRivero",
"id": 55513213,
"node_id": "MDQ6VXNlcjU1NTEzMjEz",
"avatar_url": "https://avatars.githubusercontent.com/u/55513213?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jQuinRivero",
"html_url": "https://github.com/jQuinRivero",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> This looks good to me now, thank you! Let me know when you're ready and I'll merge it.\r\n\r\nGo ahead! Thanks!"
] | 1,652 | 1,652 | 1,652 | CONTRIBUTOR | null | Adding type hints for forward methods in user-facing class for Pegasus model (PyTorch) as mentioned in #16059
@Rocketknight1
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17223/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17223/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17223",
"html_url": "https://github.com/huggingface/transformers/pull/17223",
"diff_url": "https://github.com/huggingface/transformers/pull/17223.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17223.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17222 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17222/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17222/comments | https://api.github.com/repos/huggingface/transformers/issues/17222/events | https://github.com/huggingface/transformers/issues/17222 | 1,234,576,122 | I_kwDOCUB6oc5JliL6 | 17,222 | (T5) tf.function wrapped model.generate() does not produce the same result as non-wrapped model.generate() | {
"login": "JEF1056",
"id": 22546776,
"node_id": "MDQ6VXNlcjIyNTQ2Nzc2",
"avatar_url": "https://avatars.githubusercontent.com/u/22546776?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JEF1056",
"html_url": "https://github.com/JEF1056",
"followers_url": "https://api.github.com/users/JEF105... | [
{
"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 | {
"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... | [
{
"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.co... | [
"@JEF1056 thank you for pointing it out 👍 I can reproduce the issue with transformers==4.19 and 4.18 (4.17 and older versions do not support the `tf.function` wrapper), with and without input padding.\r\n\r\nI will look into it and let you know of any findings :) In the recent past, we found numerical instabilitie... | 1,652 | 1,659 | 1,659 | NONE | null | ### System Info
```shell
- `transformers` version: 4.19.0
- Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.13
- Huggingface_hub version: 0.6.0
- PyTorch version (GPU?): 1.11.0+cu113 (False)
- Tensorflow version (GPU?): 2.8.0 (False)
- Flax version (CPU?/GPU?/TPU?): not installe... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17222/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17222/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17221 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17221/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17221/comments | https://api.github.com/repos/huggingface/transformers/issues/17221/events | https://github.com/huggingface/transformers/pull/17221 | 1,234,575,519 | PR_kwDOCUB6oc43wFWb | 17,221 | Use word index for determining whether a token is a subword when addi… | {
"login": "timothyjlaurent",
"id": 2000204,
"node_id": "MDQ6VXNlcjIwMDAyMDQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/2000204?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/timothyjlaurent",
"html_url": "https://github.com/timothyjlaurent",
"followers_url": "https://api.g... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_17221). All of your documentation changes will be reflected on that endpoint.",
"@NielsRogge do you have suggestions for making a test case for the fast tokenizer that will split the \"그\" token?\r\n\r\nCould I use the pre... | 1,652 | 1,656 | 1,656 | NONE | null | …ng word labels.
# What does this PR do?
Use repeated word index instead of offset[0] == 0 for assigning pad labels to non-first subwords.
As described in the #17220, words like 그 will be split into 2 subwords both with 0,1 offsets but with the same word index. This PR ensures that this second subword receives t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17221/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17221/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17221",
"html_url": "https://github.com/huggingface/transformers/pull/17221",
"diff_url": "https://github.com/huggingface/transformers/pull/17221.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17221.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17220 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17220/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17220/comments | https://api.github.com/repos/huggingface/transformers/issues/17220/events | https://github.com/huggingface/transformers/issues/17220 | 1,234,542,170 | I_kwDOCUB6oc5JlZ5a | 17,220 | LayoutLMv2 Fast Tokenizer improperly aligns labels for non-first subwords with 0 offsets | {
"login": "timothyjlaurent",
"id": 2000204,
"node_id": "MDQ6VXNlcjIwMDAyMDQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/2000204?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/timothyjlaurent",
"html_url": "https://github.com/timothyjlaurent",
"followers_url": "https://api.g... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"https://github.com/huggingface/transformers/blob/3f936df66287f557c6528912a9a68d7850913b9b/src/transformers/models/layoutlmv2/tokenization_layoutlmv2_fast.py#L599\r\n\r\n",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed plea... | 1,652 | 1,655 | 1,655 | NONE | null | ### System Info
```shell
Copy-and-paste the text below in your GitHub issue and FILL OUT the two last points.
- `transformers` version: 4.16.0
- Platform: macOS-12.3.1-x86_64-i386-64bit
- Python version: 3.8.9
- PyTorch version (GPU?): 1.8.1 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax ver... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17220/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17220/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17219 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17219/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17219/comments | https://api.github.com/repos/huggingface/transformers/issues/17219/events | https://github.com/huggingface/transformers/pull/17219 | 1,234,502,256 | PR_kwDOCUB6oc43v1n4 | 17,219 | Updated checkpoint support for Sagemaker Model Parallel | {
"login": "cavdard",
"id": 44590949,
"node_id": "MDQ6VXNlcjQ0NTkwOTQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/44590949?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cavdard",
"html_url": "https://github.com/cavdard",
"followers_url": "https://api.github.com/users/cavdar... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> Thanks a lot for your PR! I've left some refactoring suggestions to avoid duplicating code.\r\n\r\nThank you very much for reviewing. I updated the PR. ",
"Updated based on you suggestions."
] | 1,652 | 1,652 | 1,652 | 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/17219/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17219/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17219",
"html_url": "https://github.com/huggingface/transformers/pull/17219",
"diff_url": "https://github.com/huggingface/transformers/pull/17219.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17219.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17218 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17218/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17218/comments | https://api.github.com/repos/huggingface/transformers/issues/17218/events | https://github.com/huggingface/transformers/pull/17218 | 1,234,490,728 | PR_kwDOCUB6oc43vzMd | 17,218 | Handle copyright in add-new-model-like | {
"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,652 | 1,652 | 1,652 | COLLABORATOR | null | # What does this PR do?
This makes sure the copyright is switched to the current year when a user uses `transformers-cli add-new-model-like` | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17218/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17218/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17218",
"html_url": "https://github.com/huggingface/transformers/pull/17218",
"diff_url": "https://github.com/huggingface/transformers/pull/17218.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17218.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17217 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17217/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17217/comments | https://api.github.com/repos/huggingface/transformers/issues/17217/events | https://github.com/huggingface/transformers/pull/17217 | 1,234,383,989 | PR_kwDOCUB6oc43vcPw | 17,217 | Black preview | {
"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,652 | 1,652 | 1,652 | COLLABORATOR | null | # What does this PR do?
This PR switches `make style`, `make fixup` and `make quality` to use `black --preview`, which reformats the docstrings (also done by `hf-doc-styler` so nothing new here) as well as all error/logger/warning strings to respect the char limit.
This will avoid the annoying comments from the n... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17217/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17217/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17217",
"html_url": "https://github.com/huggingface/transformers/pull/17217",
"diff_url": "https://github.com/huggingface/transformers/pull/17217.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17217.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17216 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17216/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17216/comments | https://api.github.com/repos/huggingface/transformers/issues/17216/events | https://github.com/huggingface/transformers/pull/17216 | 1,234,255,283 | PR_kwDOCUB6oc43vBAT | 17,216 | Fixed incorrect error message on missing weight file. | {
"login": "123jimin",
"id": 835369,
"node_id": "MDQ6VXNlcjgzNTM2OQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/835369?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/123jimin",
"html_url": "https://github.com/123jimin",
"followers_url": "https://api.github.com/users/123jimi... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,652 | 1,654 | 1,654 | CONTRIBUTOR | null | # What does this PR do?
I just started using Hugging Face Transformers for the first time, and encountered this error.
OSError: Error no file named pytorch_model.bin found in directory (...) but there is a file for Flax weights. Use `from_flax=True` to load this model from those weights.
Indeed, I forgot to ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17216/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17216/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17216",
"html_url": "https://github.com/huggingface/transformers/pull/17216",
"diff_url": "https://github.com/huggingface/transformers/pull/17216.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17216.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17215 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17215/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17215/comments | https://api.github.com/repos/huggingface/transformers/issues/17215/events | https://github.com/huggingface/transformers/issues/17215 | 1,234,040,283 | I_kwDOCUB6oc5JjfXb | 17,215 | -1e9 constants in T5 implementation | {
"login": "marhlder",
"id": 2690031,
"node_id": "MDQ6VXNlcjI2OTAwMzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/2690031?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/marhlder",
"html_url": "https://github.com/marhlder",
"followers_url": "https://api.github.com/users/marhl... | [] | closed | false | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [
{
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.githu... | [
"Probably of interest to @ydshieh "
] | 1,652 | 1,656 | 1,656 | NONE | null | These -1e9 constants are too large for fp16 training
https://github.com/huggingface/transformers/blob/df735d1317994e366ab0edff6c55930e18912b7c/src/transformers/models/t5/modeling_tf_t5.py#L728
https://github.com/huggingface/transformers/blob/df735d1317994e366ab0edff6c55930e18912b7c/src/transformers/models/t5/modeli... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17215/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17215/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17214 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17214/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17214/comments | https://api.github.com/repos/huggingface/transformers/issues/17214/events | https://github.com/huggingface/transformers/issues/17214 | 1,234,014,812 | I_kwDOCUB6oc5JjZJc | 17,214 | Bug of the text-classification in examples | {
"login": "EternalEep",
"id": 20923120,
"node_id": "MDQ6VXNlcjIwOTIzMTIw",
"avatar_url": "https://avatars.githubusercontent.com/u/20923120?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/EternalEep",
"html_url": "https://github.com/EternalEep",
"followers_url": "https://api.github.com/use... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | {
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api.github.com/users/mu... | [
{
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api... | [] | 1,652 | 1,652 | 1,652 | NONE | null | ### System Info
```shell
When I finetuned the text classification model based on the glue no trainer script, I found a bug in our script.
The URL is below:
https://github.com/huggingface/transformers/blob/main/examples/pytorch/text-classification/run_glue_no_trainer.py#L525
When we use the accelerator for multi-G... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17214/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17214/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17213 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17213/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17213/comments | https://api.github.com/repos/huggingface/transformers/issues/17213/events | https://github.com/huggingface/transformers/pull/17213 | 1,233,993,311 | PR_kwDOCUB6oc43uI5c | 17,213 | Add support for Perceiver ONNX export | {
"login": "deutschmn",
"id": 37573274,
"node_id": "MDQ6VXNlcjM3NTczMjc0",
"avatar_url": "https://avatars.githubusercontent.com/u/37573274?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/deutschmn",
"html_url": "https://github.com/deutschmn",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hi, @deutschmn this looks like a good start! :tada: \r\n\r\nMaybe the `preprocessor` check needs to be updated to fit other models' requirements."
] | 1,652 | 1,654 | 1,654 | CONTRIBUTOR | null | # What does this PR do?
As part of #16308, this PR adds support for exporting `Perceiver` to ONNX 🚀
It introduces support for the following features:
- `masked-lm`, e.g. with `python -m transformers.onnx --feature=masked-lm --model=deepmind/language-perceiver export`
- `sequence-classification`, e.g. with `... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17213/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 2,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17213/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17213",
"html_url": "https://github.com/huggingface/transformers/pull/17213",
"diff_url": "https://github.com/huggingface/transformers/pull/17213.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17213.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17212 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17212/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17212/comments | https://api.github.com/repos/huggingface/transformers/issues/17212/events | https://github.com/huggingface/transformers/pull/17212 | 1,233,963,311 | PR_kwDOCUB6oc43uCUK | 17,212 | update BART docs | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,652 | 1,652 | 1,652 | MEMBER | null | # What does this PR do?
Update bart `deocder_attention_mask` docstring.
Fixes #17191 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17212/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17212/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17212",
"html_url": "https://github.com/huggingface/transformers/pull/17212",
"diff_url": "https://github.com/huggingface/transformers/pull/17212.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17212.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17211 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17211/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17211/comments | https://api.github.com/repos/huggingface/transformers/issues/17211/events | https://github.com/huggingface/transformers/issues/17211 | 1,233,915,338 | I_kwDOCUB6oc5JjA3K | 17,211 | CUDA out of memory in Seq2SeqTrainer class | {
"login": "kritika121",
"id": 38664807,
"node_id": "MDQ6VXNlcjM4NjY0ODA3",
"avatar_url": "https://avatars.githubusercontent.com/u/38664807?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kritika121",
"html_url": "https://github.com/kritika121",
"followers_url": "https://api.github.com/use... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hey @kritika121,\r\n\r\nIt seems like you don't have enough GPU memory to run your training. Do you maybe have access to a bigger GPU? Otherwise you can try reducing the batch_size, enabling [gradient_checkpointing](https://huggingface.co/docs/transformers/main/en/performance#gradient-checkpointing) or training in... | 1,652 | 1,652 | 1,652 | NONE | null | ### System Info
```shell
- `transformers` version: 4.11.0
- Platform: Linux-4.14.252-131.483.amzn1.x86_64-x86_64-with-glibc2.9
- Python version: 3.6.13
- PyTorch version (GPU?): 1.10.2+cu102 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax versio... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17211/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17211/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17210 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17210/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17210/comments | https://api.github.com/repos/huggingface/transformers/issues/17210/events | https://github.com/huggingface/transformers/pull/17210 | 1,233,914,424 | PR_kwDOCUB6oc43t38T | 17,210 | Add test to ensure models can take int64 inputs | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"I added small patches to all the models that were failing this test. In all cases, the patch shouldn't break `int32` inputs, since I just cast the dtype of the other operand (which was previously invisibly hardcoded as `tf.int32`) to... | 1,652 | 1,652 | 1,652 | MEMBER | null | Like it says on the tin, this is a test to ensure that our models can take `tf.int64` inputs. I expect this will cause some models to break, in which case this PR will also include patches to ensure that they can take `tf.int64`. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17210/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17210/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17210",
"html_url": "https://github.com/huggingface/transformers/pull/17210",
"diff_url": "https://github.com/huggingface/transformers/pull/17210.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17210.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17209 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17209/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17209/comments | https://api.github.com/repos/huggingface/transformers/issues/17209/events | https://github.com/huggingface/transformers/issues/17209 | 1,233,869,721 | I_kwDOCUB6oc5Ji1uZ | 17,209 | Thanks | {
"login": "adsic2u",
"id": 98673537,
"node_id": "U_kgDOBeGjgQ",
"avatar_url": "https://avatars.githubusercontent.com/u/98673537?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/adsic2u",
"html_url": "https://github.com/adsic2u",
"followers_url": "https://api.github.com/users/adsic2u/follow... | [] | closed | false | null | [] | [
"You're welcome! :hugs: ",
"Thanks again, not quite sure what we're doing ",
"> You're welcome! :hugs: \n\nOnce we were mere men!, now, we are much less!?"
] | 1,652 | 1,657 | 1,652 | NONE | null | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17209/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17209/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17208 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17208/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17208/comments | https://api.github.com/repos/huggingface/transformers/issues/17208/events | https://github.com/huggingface/transformers/issues/17208 | 1,233,824,046 | I_kwDOCUB6oc5Jiqku | 17,208 | Add Visual Question Answering (VQA) pipeline | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [
{
"id": 1990918270,
"node_id": "MDU6TGFiZWwxOTkwOTE4Mjcw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20First%20Issue",
"name": "Good First Issue",
"color": "bbf794",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"Tagging @mishig25 for the widget ",
"Also LXMERT should handle this task, but likely has a very different API.",
"This sounds amazing. Happy to contribute in anyway I can",
"I'd love to pick this up!",
"Hey @sijunhe, I'm just starting out in open-source, but I'd like to help out however I can! ",
"@sabar... | 1,652 | 1,657 | 1,657 | CONTRIBUTOR | null | ### Feature request
We currently have [ViLT](https://huggingface.co/docs/transformers/model_doc/vilt) in the library, which, among other tasks, is capable of performing visual question answering (VQA).
It would be great to have a pipeline for this task, with the following API:
```
from transformers import pip... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17208/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17208/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17207 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17207/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17207/comments | https://api.github.com/repos/huggingface/transformers/issues/17207/events | https://github.com/huggingface/transformers/issues/17207 | 1,233,758,882 | I_kwDOCUB6oc5Jiaqi | 17,207 | Add UL2: Unifying Language Learning Paradigms | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [
{
"id": 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 | [] | [
"cc @stefan-it @peregilk @agemagician @stancld @edugp FYI might be interesting for you as well :-) ",
"Is anyone working on porting UL2 to `transformers` already? If not, I am interested in porting it.",
"Hey @manuelciosici - think @kamalkraj is working on it . Maybe you guys can sync on how to collaborate? :... | 1,652 | 1,674 | 1,655 | CONTRIBUTOR | null | ### Model description
UL2 is a unified framework for pretraining models that are universally effective across datasets and setups. UL2 uses Mixture-of-Denoisers (MoD), a pre-training objective that combines diverse pre-training paradigms together. UL2 introduces a notion of mode switching, wherein downstream fine-tuni... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17207/reactions",
"total_count": 5,
"+1": 4,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/17207/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17206 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17206/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17206/comments | https://api.github.com/repos/huggingface/transformers/issues/17206/events | https://github.com/huggingface/transformers/pull/17206 | 1,233,693,982 | PR_kwDOCUB6oc43tIng | 17,206 | Traced models serialization and torchscripting fix | {
"login": "michaelbenayoun",
"id": 25418079,
"node_id": "MDQ6VXNlcjI1NDE4MDc5",
"avatar_url": "https://avatars.githubusercontent.com/u/25418079?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/michaelbenayoun",
"html_url": "https://github.com/michaelbenayoun",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"There seems to remain a few failures in `torch.fx` tests; the PR can be merged after those are solved!",
"@michaelbenayoun I'd like to propose some additional fixes that we discovered were needed to properly trace `T5ForConditional... | 1,652 | 1,653 | 1,653 | MEMBER | null | # What does this PR do?
- Fixes the issue that was preventing traced models to be TorchScripted
- Fixes the issue that was preventing trace models serialization
- Fixes get_attr issues
Fixes #15974
@jamesr66a Can you try on your end and validate that it solves your issues?
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17206/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/17206/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17206",
"html_url": "https://github.com/huggingface/transformers/pull/17206",
"diff_url": "https://github.com/huggingface/transformers/pull/17206.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17206.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17205 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17205/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17205/comments | https://api.github.com/repos/huggingface/transformers/issues/17205/events | https://github.com/huggingface/transformers/pull/17205 | 1,233,690,206 | PR_kwDOCUB6oc43tHzv | 17,205 | [WIP] add MobileViT model | {
"login": "hollance",
"id": 346853,
"node_id": "MDQ6VXNlcjM0Njg1Mw==",
"avatar_url": "https://avatars.githubusercontent.com/u/346853?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hollance",
"html_url": "https://github.com/hollance",
"followers_url": "https://api.github.com/users/hollanc... | [
{
"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 | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"I messed up. Made a new PR instead: https://github.com/huggingface/transformers/pull/17354"
] | 1,652 | 1,652 | 1,652 | CONTRIBUTOR | null | # What does this PR do?
Add the MobileViT model to Transformers. This is a computer vision model that combines CNNs with transformers: https://machinelearning.apple.com/research/vision-transformer
The model comes in three sizes: small, extra small, and xx-small. There are two heads: image classification and seman... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17205/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17205/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17205",
"html_url": "https://github.com/huggingface/transformers/pull/17205",
"diff_url": "https://github.com/huggingface/transformers/pull/17205.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17205.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17204 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17204/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17204/comments | https://api.github.com/repos/huggingface/transformers/issues/17204/events | https://github.com/huggingface/transformers/pull/17204 | 1,233,643,334 | PR_kwDOCUB6oc43s_pA | 17,204 | [Kernel Fusion] Training benchmarks of Torchdynamo + AOTAutograd + NVFuser(many models) | {
"login": "Chillee",
"id": 6355099,
"node_id": "MDQ6VXNlcjYzNTUwOTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/6355099?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Chillee",
"html_url": "https://github.com/Chillee",
"followers_url": "https://api.github.com/users/Chillee/... | [
{
"id": 2604155188,
"node_id": "MDU6TGFiZWwyNjA0MTU1MTg4",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Benchmarks",
"name": "Benchmarks",
"color": "2DF372",
"default": false,
"description": "Issues related to Memory regressions in tests and scripts"
},
{
... | open | false | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [
{
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github... | [
"Installation Instructions:\r\n```\r\n# install torch-nightly\r\nconda install pytorch torchvision torchaudio cudatoolkit=11.3 -c pytorch-nightly\r\n\r\n# install functorch (and reinstall after `git pull` later if need to sync up)\r\ngit clone https://github.com/pytorch/functorch\r\ncd functorch\r\nrm -rf build\r\n... | 1,652 | 1,668 | null | NONE | null | Note to maintainers: We are using this PR to collaborate and there is no intention yet to merge anything, so please ignore unless you want to experiment with the latest auto-speedups.
## What was the issue with the previous AOTAutograd integration?
So, there was some investigation into applying AOTAutograd a couple... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17204/reactions",
"total_count": 4,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 2,
"rocket": 2,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17204/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17204",
"html_url": "https://github.com/huggingface/transformers/pull/17204",
"diff_url": "https://github.com/huggingface/transformers/pull/17204.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17204.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17203 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17203/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17203/comments | https://api.github.com/repos/huggingface/transformers/issues/17203/events | https://github.com/huggingface/transformers/pull/17203 | 1,233,603,593 | PR_kwDOCUB6oc43s3IH | 17,203 | fixed bug in run_mlm_flax_stream.py | {
"login": "KennethEnevoldsen",
"id": 23721977,
"node_id": "MDQ6VXNlcjIzNzIxOTc3",
"avatar_url": "https://avatars.githubusercontent.com/u/23721977?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/KennethEnevoldsen",
"html_url": "https://github.com/KennethEnevoldsen",
"followers_url": "https... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"No problem. Tried using the `remove_columns ` argument as in the example but the map functions do not take that argument (probably easy to add):\r\n\r\n```python\r\ntokenized_datasets = dataset.map(\r\n tokenize_function,\r\n ... | 1,652 | 1,652 | 1,652 | CONTRIBUTOR | null | # What does this PR do?
Fixed bug caused by additional keys (id, text) referring to non-list values when concatenating samples. An alternative option is to drop these columns in the dataset before passing it to `iter`.
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merge... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17203/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 2,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17203/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17203",
"html_url": "https://github.com/huggingface/transformers/pull/17203",
"diff_url": "https://github.com/huggingface/transformers/pull/17203.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17203.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17202 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17202/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17202/comments | https://api.github.com/repos/huggingface/transformers/issues/17202/events | https://github.com/huggingface/transformers/pull/17202 | 1,233,602,765 | PR_kwDOCUB6oc43s29H | 17,202 | BLOOM | {
"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._",
"Hi @stas00 !\r\n\r\nThank you very much for your comment !!\r\n1-\r\nYes it will be changed to BLOOM most probably in the next commit \r\n\r\n2-\r\nI like the idea of making it modulable (enable/disable alibi and embed norm) so that ... | 1,652 | 1,654 | 1,653 | CONTRIBUTOR | null | # What does this PR do?
Integrating BigScience converted models into HuggingFace library!
Original PR: https://github.com/thomwolf/transformers/pull/2 that I directly moved here
- [x] add a generation test with a small model pushed on the hub
- [x] slow tests needs to be modified accordingly
- [ ] add final... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17202/reactions",
"total_count": 3,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 3,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17202/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17202",
"html_url": "https://github.com/huggingface/transformers/pull/17202",
"diff_url": "https://github.com/huggingface/transformers/pull/17202.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17202.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17201 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17201/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17201/comments | https://api.github.com/repos/huggingface/transformers/issues/17201/events | https://github.com/huggingface/transformers/issues/17201 | 1,233,601,439 | I_kwDOCUB6oc5Jh0Of | 17,201 | a memory leak in qqp prediction using bart | {
"login": "StevenTang1998",
"id": 37647985,
"node_id": "MDQ6VXNlcjM3NjQ3OTg1",
"avatar_url": "https://avatars.githubusercontent.com/u/37647985?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/StevenTang1998",
"html_url": "https://github.com/StevenTang1998",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"There is nothing we can do to help with that, as you don't seem to have the RAM necessary to hold all predictions. The only advise I have is that you should predict on parts of the dataset and not the whole. \r\n\r\nThis is not a bug in Transformers, removing the label.",
"Sorry, I don't think that. I have 512GB... | 1,652 | 1,652 | 1,652 | CONTRIBUTOR | null | ### System Info
```shell
- `transformers` version: 4.19.0.dev0
- Platform: Linux-5.11.0-43-generic-x86_64-with-glibc2.17
- Python version: 3.8.10
- Huggingface_hub version: 0.4.0
- PyTorch version (GPU?): 1.10.1 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17201/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/17201/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17200 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17200/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17200/comments | https://api.github.com/repos/huggingface/transformers/issues/17200/events | https://github.com/huggingface/transformers/issues/17200 | 1,233,580,636 | I_kwDOCUB6oc5JhvJc | 17,200 | almost all codes that related to generation in examples/pytorch/**_no_trainer.py have bugs | {
"login": "Namco0816",
"id": 34687537,
"node_id": "MDQ6VXNlcjM0Njg3NTM3",
"avatar_url": "https://avatars.githubusercontent.com/u/34687537?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Namco0816",
"html_url": "https://github.com/Namco0816",
"followers_url": "https://api.github.com/users/... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"I believe that's in @muellerzr's todo list!",
"Yes it is, duplicate of https://github.com/huggingface/transformers/issues/17214#event-6600140325\r\n\r\nWill be getting to this on Wednesday once I'm back from vacation"
] | 1,652 | 1,652 | 1,652 | NONE | null | ### System Info
```shell
transformers branch main
```
### Wrong Codes in examples/pytorch/**_no_trainer.py
```
for step, batch in enumerate(eval_dataloader):
with torch.no_grad():
generated_tokens = accelerator.unwrap_model(model).generate(
batch["input_i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17200/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17200/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17199 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17199/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17199/comments | https://api.github.com/repos/huggingface/transformers/issues/17199/events | https://github.com/huggingface/transformers/pull/17199 | 1,233,531,657 | PR_kwDOCUB6oc43soB8 | 17,199 | Faster implementation for SentencePieceExtractor | {
"login": "e-mon",
"id": 2805136,
"node_id": "MDQ6VXNlcjI4MDUxMzY=",
"avatar_url": "https://avatars.githubusercontent.com/u/2805136?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/e-mon",
"html_url": "https://github.com/e-mon",
"followers_url": "https://api.github.com/users/e-mon/follower... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_17199). All of your documentation changes will be reflected on that endpoint.",
"Please have a look and let me know your feedback. \r\n@sgugger, @LysandreJik, @patil-suraj, @n1t0",
"cc @Narsil and @SaulLu ",
"Hi @e-mon... | 1,652 | 1,682 | 1,655 | NONE | null | # What does this PR do?
This PR is to improve `SentencePieceExtractor` extract method performance, which took several minutes when targeting vocabularies of tens of thousands of words.
For 44,876 words ( [repository](https://huggingface.co/rinna/japanese-gpt-1b) ), it used to take 290 seconds, but now it takes 0.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17199/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/17199/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17199",
"html_url": "https://github.com/huggingface/transformers/pull/17199",
"diff_url": "https://github.com/huggingface/transformers/pull/17199.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17199.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17198 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17198/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17198/comments | https://api.github.com/repos/huggingface/transformers/issues/17198/events | https://github.com/huggingface/transformers/pull/17198 | 1,233,525,461 | PR_kwDOCUB6oc43smvB | 17,198 | Fix contents in index.mdx to match docs' sidebar | {
"login": "omarespejel",
"id": 4755430,
"node_id": "MDQ6VXNlcjQ3NTU0MzA=",
"avatar_url": "https://avatars.githubusercontent.com/u/4755430?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/omarespejel",
"html_url": "https://github.com/omarespejel",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,652 | 1,652 | 1,652 | CONTRIBUTOR | null | # What does this PR do?
Fix: Currently the sections in the content part of `index.mdx` do not match the sections in `_toctree.yml`. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17198/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17198/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17198",
"html_url": "https://github.com/huggingface/transformers/pull/17198",
"diff_url": "https://github.com/huggingface/transformers/pull/17198.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17198.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17197 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17197/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17197/comments | https://api.github.com/repos/huggingface/transformers/issues/17197/events | https://github.com/huggingface/transformers/pull/17197 | 1,233,504,544 | PR_kwDOCUB6oc43sila | 17,197 | Fix minor style error in Spanish docs | {
"login": "osanseviero",
"id": 7246357,
"node_id": "MDQ6VXNlcjcyNDYzNTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/7246357?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/osanseviero",
"html_url": "https://github.com/osanseviero",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"cc @sgugger ",
"Thank you very much @osanseviero! I was missing this part: `pip install -e \".[dev]\"`. Was really frustrating but a lesson learned. 🚀"
] | 1,652 | 1,652 | 1,652 | MEMBER | null | # What does this PR do?
This PR is a minor fix of style since CircleCI is red due to style. FYI I did this in clean environment
```
pip install hf-doc-builder -U
pip install -e ".[dev]"
make style
```
Part of #15947 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17197/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17197/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17197",
"html_url": "https://github.com/huggingface/transformers/pull/17197",
"diff_url": "https://github.com/huggingface/transformers/pull/17197.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17197.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17196 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17196/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17196/comments | https://api.github.com/repos/huggingface/transformers/issues/17196/events | https://github.com/huggingface/transformers/pull/17196 | 1,233,481,771 | PR_kwDOCUB6oc43sdv2 | 17,196 | Log the decoder chosen by GenerationMixin | {
"login": "mapmeld",
"id": 643918,
"node_id": "MDQ6VXNlcjY0MzkxOA==",
"avatar_url": "https://avatars.githubusercontent.com/u/643918?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mapmeld",
"html_url": "https://github.com/mapmeld",
"followers_url": "https://api.github.com/users/mapmeld/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hey @mapmeld,\r\n\r\nThanks for the PR. \r\n\r\nTo me, that is a bit too much of an edge-case and I'm not very happy with cluttering the generation code with `if - else ` statements.\r\n\r\n@gante @patil-suraj what do you think? ",
... | 1,652 | 1,655 | 1,654 | CONTRIBUTOR | null | # What does this PR do?
When calling `model.generate(content, log_decoder=True)`, the PR would log which decoder and warper(s) are actually used in generation.
I have a demo where I show text generated with different options (top_k, typical_p, repetition_penalty, num_beams, etc.). The final chosen decoding strate... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17196/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17196/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17196",
"html_url": "https://github.com/huggingface/transformers/pull/17196",
"diff_url": "https://github.com/huggingface/transformers/pull/17196.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17196.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17195 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17195/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17195/comments | https://api.github.com/repos/huggingface/transformers/issues/17195/events | https://github.com/huggingface/transformers/issues/17195 | 1,233,416,897 | I_kwDOCUB6oc5JhHLB | 17,195 | Different logits for single/batch inputs on T5ForConditionalGeneration | {
"login": "rafikg",
"id": 13174842,
"node_id": "MDQ6VXNlcjEzMTc0ODQy",
"avatar_url": "https://avatars.githubusercontent.com/u/13174842?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rafikg",
"html_url": "https://github.com/rafikg",
"followers_url": "https://api.github.com/users/rafikg/fo... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"@patrickvonplaten can you please have a look ?"
] | 1,652 | 1,652 | 1,652 | NONE | null | ### System Info
```shell
transformers 4.18.0
python 3.8.10
ubuntu
pytorch
T5ForConditionalGeneration
```
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (su... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17195/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17195/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17194 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17194/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17194/comments | https://api.github.com/repos/huggingface/transformers/issues/17194/events | https://github.com/huggingface/transformers/pull/17194 | 1,233,347,955 | PR_kwDOCUB6oc43sB8G | 17,194 | Update data2vec.mdx to include a Colab Notebook link (that shows fine-tuning) | {
"login": "sayakpaul",
"id": 22957388,
"node_id": "MDQ6VXNlcjIyOTU3Mzg4",
"avatar_url": "https://avatars.githubusercontent.com/u/22957388?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sayakpaul",
"html_url": "https://github.com/sayakpaul",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Yes, sure. Doing it in a while. ",
"@sgugger done."
] | 1,652 | 1,652 | 1,652 | MEMBER | null | # What does this PR do?
This PR includes a link to a Colab Notebook that shows how to fine-tune the Data2Vec vision model on the task of image classification.
@sgugger @Rocketknight1 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17194/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17194/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17194",
"html_url": "https://github.com/huggingface/transformers/pull/17194",
"diff_url": "https://github.com/huggingface/transformers/pull/17194.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17194.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17193 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17193/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17193/comments | https://api.github.com/repos/huggingface/transformers/issues/17193/events | https://github.com/huggingface/transformers/issues/17193 | 1,233,332,674 | I_kwDOCUB6oc5JgynC | 17,193 | [run_seq2seq_qa.py] various issues | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"No answer from @karthikrangasai, @LysandreJik - who would be a good person to look at these issues? Thank you.",
"I believe @patil-suraj has experience with similar scripts, would you like to have a look at this one when you have a minute, @patil-suraj ?",
"Great! Thank you for tagging Suraj, Lysandre! and tha... | 1,652 | 1,665 | 1,659 | CONTRIBUTOR | null | I was trying to use `examples/pytorch/question-answering/run_seq2seq_qa.py` to write a test and run into multiple issues.
A. the example is not working:
https://github.com/huggingface/transformers/blob/d1d5ebb16cc8500a3e4e1b30047312cc563ca87f/examples/pytorch/question-answering/README.md#fine-tuning-t5-on-squad20... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17193/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/17193/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17192 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17192/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17192/comments | https://api.github.com/repos/huggingface/transformers/issues/17192/events | https://github.com/huggingface/transformers/pull/17192 | 1,233,236,884 | PR_kwDOCUB6oc43rqjq | 17,192 | Remove duplicated os.path.join in Trainer._load_rng_state | {
"login": "shijie-wu",
"id": 2987758,
"node_id": "MDQ6VXNlcjI5ODc3NTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2987758?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shijie-wu",
"html_url": "https://github.com/shijie-wu",
"followers_url": "https://api.github.com/users/sh... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,652 | 1,652 | 1,652 | CONTRIBUTOR | null | # What does this PR do?
Remove duplicated os.path.join in `Trainer._load_rng_state`
## 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/CON... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17192/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17192/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17192",
"html_url": "https://github.com/huggingface/transformers/pull/17192",
"diff_url": "https://github.com/huggingface/transformers/pull/17192.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17192.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17191 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17191/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17191/comments | https://api.github.com/repos/huggingface/transformers/issues/17191/events | https://github.com/huggingface/transformers/issues/17191 | 1,233,228,529 | I_kwDOCUB6oc5JgZLx | 17,191 | Mistake in the BART doc & inconsistency between code & doc | {
"login": "JulesGM",
"id": 3231217,
"node_id": "MDQ6VXNlcjMyMzEyMTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/3231217?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JulesGM",
"html_url": "https://github.com/JulesGM",
"followers_url": "https://api.github.com/users/JulesGM/... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"One could fix this by putting\r\n```python\r\nif attention_mask is None:\r\n attention_mask = input_ids != self.config.pad_token_id\r\n```\r\nsomewhere",
"Hi @JulesGM ! Thanks for reporting this, the doc should be changed to mentioned the `_prepare_decoder_attention_mask` method. But note that, the `... | 1,652 | 1,652 | 1,652 | NONE | null | Version: Most recent in the Github repo.
Model: BART.
Description:
https://github.com/huggingface/transformers/blob/main/src/transformers/models/bart/modeling_bart.py#L627 says to look at `modeling_bart._prepare_decoder_inputs` to modify the default behavior of the way `decoder_attention_mask` behaves by default, ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17191/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17191/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17190 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17190/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17190/comments | https://api.github.com/repos/huggingface/transformers/issues/17190/events | https://github.com/huggingface/transformers/pull/17190 | 1,233,181,193 | PR_kwDOCUB6oc43rehB | 17,190 | Fix numpy VisibleDeprecationWarning for question answering pipeline. | {
"login": "mygithubid1",
"id": 19863166,
"node_id": "MDQ6VXNlcjE5ODYzMTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/19863166?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mygithubid1",
"html_url": "https://github.com/mygithubid1",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,652 | 1,652 | 1,652 | 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/17190/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17190/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17190",
"html_url": "https://github.com/huggingface/transformers/pull/17190",
"diff_url": "https://github.com/huggingface/transformers/pull/17190.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17190.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17189 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17189/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17189/comments | https://api.github.com/repos/huggingface/transformers/issues/17189/events | https://github.com/huggingface/transformers/issues/17189 | 1,233,102,452 | I_kwDOCUB6oc5Jf6Z0 | 17,189 | Fine tunning error in /models/t5/modeling_t5.py | {
"login": "ZHM-Sesame",
"id": 17838546,
"node_id": "MDQ6VXNlcjE3ODM4NTQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/17838546?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ZHM-Sesame",
"html_url": "https://github.com/ZHM-Sesame",
"followers_url": "https://api.github.com/use... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hi,\r\n\r\nThe `run_glue.py` script is only meant to work out-of-the-box for encoder-only Transformers, such as BERT, RoBERTa, DistilBERT, DeBERTa, etc.\r\n\r\nT5 is an encoder-decoder model, and would require several changes to the script.",
"> \r\nI see. \r\n\r\nThank you."
] | 1,652 | 1,652 | 1,652 | NONE | null | ### System Info
```shell
Keeps getting this error:
"ValueError: not enough values to unpack (expected 2, got 1)
Traceback (most recent call last):
File "run_glue_t5.py", line 591, in <module>
main()
File "run_glue_t5.py", line 509, in main
train_result = trainer.train(resume_from_checkpoint=checkpoint)
Fi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17189/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17189/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17188 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17188/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17188/comments | https://api.github.com/repos/huggingface/transformers/issues/17188/events | https://github.com/huggingface/transformers/pull/17188 | 1,233,077,022 | PR_kwDOCUB6oc43rIlH | 17,188 | add shift_tokens_right in mT5 | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,652 | 1,652 | 1,652 | MEMBER | null | # What does this PR do?
Adds the missing `shift_tokens_right` in FlaxMT5.
Fixes #15771 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17188/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17188/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17188",
"html_url": "https://github.com/huggingface/transformers/pull/17188",
"diff_url": "https://github.com/huggingface/transformers/pull/17188.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17188.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17187 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17187/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17187/comments | https://api.github.com/repos/huggingface/transformers/issues/17187/events | https://github.com/huggingface/transformers/pull/17187 | 1,233,064,525 | PR_kwDOCUB6oc43rF7A | 17,187 | Remove columns before passing to data collator | {
"login": "Yard1",
"id": 10364161,
"node_id": "MDQ6VXNlcjEwMzY0MTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/10364161?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Yard1",
"html_url": "https://github.com/Yard1",
"followers_url": "https://api.github.com/users/Yard1/follow... | [] | closed | false | null | [] | [
"cc @sgugger",
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,652 | 1,652 | 1,652 | CONTRIBUTOR | null | # What does this PR do?
Removes columns before they are passed to the data collator in the non `datasets.Dataset` case.
<!--
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 grea... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17187/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17187/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17187",
"html_url": "https://github.com/huggingface/transformers/pull/17187",
"diff_url": "https://github.com/huggingface/transformers/pull/17187.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17187.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17186 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17186/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17186/comments | https://api.github.com/repos/huggingface/transformers/issues/17186/events | https://github.com/huggingface/transformers/pull/17186 | 1,232,915,804 | PR_kwDOCUB6oc43qmtZ | 17,186 | docs for typical decoding | {
"login": "jadermcs",
"id": 7156771,
"node_id": "MDQ6VXNlcjcxNTY3NzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/7156771?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jadermcs",
"html_url": "https://github.com/jadermcs",
"followers_url": "https://api.github.com/users/jader... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,652 | 1,652 | 1,652 | CONTRIBUTOR | null | # What does this PR do?
Adds a description for the typical_p parameter in #15504, as the docs for this parameter was missing.
@cimeister | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17186/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/17186/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17186",
"html_url": "https://github.com/huggingface/transformers/pull/17186",
"diff_url": "https://github.com/huggingface/transformers/pull/17186.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17186.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17185 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17185/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17185/comments | https://api.github.com/repos/huggingface/transformers/issues/17185/events | https://github.com/huggingface/transformers/issues/17185 | 1,232,882,878 | I_kwDOCUB6oc5JfEy- | 17,185 | Unable to retrieve layers from model in tensorflow | {
"login": "old-school-kid",
"id": 56781123,
"node_id": "MDQ6VXNlcjU2NzgxMTIz",
"avatar_url": "https://avatars.githubusercontent.com/u/56781123?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/old-school-kid",
"html_url": "https://github.com/old-school-kid",
"followers_url": "https://api.gi... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Unfortunately, this method probably won't work for our models, because we implement the core of the model as a `MainLayer` class, and so the actual `Model` generally only has one \"layer\". In addition, our models and layers are implemented by subclassing, which means the order of the layers is not well-defined.\r... | 1,652 | 1,652 | 1,652 | NONE | null | ### System Info
```shell
transformers version: 4.18.0
platform: Google Colab
python version: 3.7.13
```
### Who can help?
@Rocketknight1
I am training a Roberta-large model for a classification task and I am using pre-trained model to start with. But for my task I want to freeze the embedding layer and the firs... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17185/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17185/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17184 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17184/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17184/comments | https://api.github.com/repos/huggingface/transformers/issues/17184/events | https://github.com/huggingface/transformers/issues/17184 | 1,232,848,303 | I_kwDOCUB6oc5Je8Wv | 17,184 | Forward outputs on multiple sequences is wrong | {
"login": "rafikg",
"id": 13174842,
"node_id": "MDQ6VXNlcjEzMTc0ODQy",
"avatar_url": "https://avatars.githubusercontent.com/u/13174842?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rafikg",
"html_url": "https://github.com/rafikg",
"followers_url": "https://api.github.com/users/rafikg/fo... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [] | 1,652 | 1,652 | 1,652 | NONE | null | ### System Info
```shell
latest version of transformers
pytorch
python 3.10
```
### Who can help?
_No response_
### Information
- [X] 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 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17184/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17184/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17183 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17183/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17183/comments | https://api.github.com/repos/huggingface/transformers/issues/17183/events | https://github.com/huggingface/transformers/pull/17183 | 1,232,842,736 | PR_kwDOCUB6oc43qXrK | 17,183 | Add onnx export cuda support | {
"login": "JingyaHuang",
"id": 44135271,
"node_id": "MDQ6VXNlcjQ0MTM1Mjcx",
"avatar_url": "https://avatars.githubusercontent.com/u/44135271?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JingyaHuang",
"html_url": "https://github.com/JingyaHuang",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> Great, thanks for adding this @JingyaHuang!\r\n> \r\n> If I understand correctly, this enables tracing half-precision models?\r\n\r\nHi @michaelbenayoun , \r\nYes, but only for PyTorch since `tf2onnx` has [specified the device to b... | 1,652 | 1,653 | 1,652 | CONTRIBUTOR | null | # What does this PR do?
* Add CUDA support for `transformers.onnx.export_pytorch`.
* Add test for `transformers.onnx.export_pytorch` on CUDA.
# Context
While executing `optimum.ORTTrainer` with `--deepspeed` and `--fp16` enabled, the export to onnx will fail since all layers of the models are not implemented fo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17183/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17183/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17183",
"html_url": "https://github.com/huggingface/transformers/pull/17183",
"diff_url": "https://github.com/huggingface/transformers/pull/17183.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17183.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17182 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17182/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17182/comments | https://api.github.com/repos/huggingface/transformers/issues/17182/events | https://github.com/huggingface/transformers/pull/17182 | 1,232,747,260 | PR_kwDOCUB6oc43qD26 | 17,182 | ViT and Swin symbolic tracing with torch.fx | {
"login": "michaelbenayoun",
"id": 25418079,
"node_id": "MDQ6VXNlcjI1NDE4MDc5",
"avatar_url": "https://avatars.githubusercontent.com/u/25418079?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/michaelbenayoun",
"html_url": "https://github.com/michaelbenayoun",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,652 | 1,652 | 1,652 | MEMBER | null | # What does this PR do?
This PR adds support for ViT and Swin symbolic tracing with torch.fx.
Fixes #16320
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17182/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17182/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17182",
"html_url": "https://github.com/huggingface/transformers/pull/17182",
"diff_url": "https://github.com/huggingface/transformers/pull/17182.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17182.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17181 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17181/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17181/comments | https://api.github.com/repos/huggingface/transformers/issues/17181/events | https://github.com/huggingface/transformers/pull/17181 | 1,232,730,446 | PR_kwDOCUB6oc43qASe | 17,181 | Fix LED documentation | {
"login": "manuelciosici",
"id": 51477,
"node_id": "MDQ6VXNlcjUxNDc3",
"avatar_url": "https://avatars.githubusercontent.com/u/51477?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/manuelciosici",
"html_url": "https://github.com/manuelciosici",
"followers_url": "https://api.github.com/user... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,652 | 1,652 | 1,652 | 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/17181/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17181/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17181",
"html_url": "https://github.com/huggingface/transformers/pull/17181",
"diff_url": "https://github.com/huggingface/transformers/pull/17181.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17181.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17180 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17180/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17180/comments | https://api.github.com/repos/huggingface/transformers/issues/17180/events | https://github.com/huggingface/transformers/issues/17180 | 1,232,637,786 | I_kwDOCUB6oc5JeI9a | 17,180 | ValueError: The tokens {'null'} are defined in the tokenizer's vocabulary, but not in the decoder's alphabet. Make sure to include {'null'} in the decoder's alphabet. | {
"login": "erdoganensar",
"id": 67780763,
"node_id": "MDQ6VXNlcjY3NzgwNzYz",
"avatar_url": "https://avatars.githubusercontent.com/u/67780763?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/erdoganensar",
"html_url": "https://github.com/erdoganensar",
"followers_url": "https://api.github.c... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hey @erdoganensar,\r\n\r\nCould you provide a code snippet that shows how I can reproduce the error?",
"I have a very similar problem related to this issue using HuBERT large on English corpus. Here is my code snippet:\r\n\r\n```\r\nprocessor = Wav2Vec2Processor.from_pretrained(\"facebook/hubert-large-ls960-ft\"... | 1,652 | 1,655 | 1,655 | NONE | null | ### System Info
```shell
Hi @patrickvonplaten I got the same error as you mentioned above. I did what you said but I still get an error like below. Can you please help?
ValueError: The tokens {'null'} are defined in the tokenizer's vocabulary, but not in the decoder's alphabet. Make sure to include {'null'} in the de... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17180/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17180/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17179 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17179/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17179/comments | https://api.github.com/repos/huggingface/transformers/issues/17179/events | https://github.com/huggingface/transformers/pull/17179 | 1,232,601,013 | PR_kwDOCUB6oc43pklw | 17,179 | Ensure tensors are at least 1d for pad and concat | {
"login": "Yard1",
"id": 10364161,
"node_id": "MDQ6VXNlcjEwMzY0MTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/10364161?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Yard1",
"html_url": "https://github.com/Yard1",
"followers_url": "https://api.github.com/users/Yard1/follow... | [] | closed | false | null | [] | [
"cc @sgugger ",
"_The documentation is not available anymore as the PR was closed or merged._",
"let me add a quick unit test",
"@sgugger I am not sure what's up with code quality CI. I cannot reformat the file it complains about locally. Any idea what could be causing this?\r\n\r\nI have removed the changes ... | 1,652 | 1,652 | 1,652 | CONTRIBUTOR | null | # What does this PR do?
Ensures that tensors are at least 1d in `pad_and_concatenate` utility functions, and uses `atleast_1d` methods uniformly in the entire file.
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes wit... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17179/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17179/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17179",
"html_url": "https://github.com/huggingface/transformers/pull/17179",
"diff_url": "https://github.com/huggingface/transformers/pull/17179.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17179.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17178 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17178/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17178/comments | https://api.github.com/repos/huggingface/transformers/issues/17178/events | https://github.com/huggingface/transformers/pull/17178 | 1,232,560,490 | PR_kwDOCUB6oc43pcSR | 17,178 | Fix typo in bug report template | {
"login": "fxmarty",
"id": 9808326,
"node_id": "MDQ6VXNlcjk4MDgzMjY=",
"avatar_url": "https://avatars.githubusercontent.com/u/9808326?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fxmarty",
"html_url": "https://github.com/fxmarty",
"followers_url": "https://api.github.com/users/fxmarty/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,652 | 1,652 | 1,652 | COLLABORATOR | null | # What does this PR do?
Fix a typo in issue templates.
## 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-contributi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17178/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17178/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17178",
"html_url": "https://github.com/huggingface/transformers/pull/17178",
"diff_url": "https://github.com/huggingface/transformers/pull/17178.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17178.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17177 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17177/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17177/comments | https://api.github.com/repos/huggingface/transformers/issues/17177/events | https://github.com/huggingface/transformers/pull/17177 | 1,232,529,169 | PR_kwDOCUB6oc43pVbf | 17,177 | Update self-push workflow | {
"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 find it difficult to make sense of some of the changes, due to diff being hard to follow\r\n\r\nOK @stas00 , the big diff is probably because I removed unused blocks. No real big change - I just copied from scheduled CI.\r\nSee b... | 1,652 | 1,652 | 1,652 | COLLABORATOR | null | # What does this PR do?
Update self-push CI workflow file:
- `tests_fetcher.py` is updated to output a json file, containing a dictionary mapping test categories to the identified test files (which is used by the updated push CI below)
- Reorganize the tests into models (e.g. `models/bert`, `models/gpt2`, etc.) ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17177/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17177/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17177",
"html_url": "https://github.com/huggingface/transformers/pull/17177",
"diff_url": "https://github.com/huggingface/transformers/pull/17177.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17177.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17176 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17176/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17176/comments | https://api.github.com/repos/huggingface/transformers/issues/17176/events | https://github.com/huggingface/transformers/pull/17176 | 1,232,508,724 | PR_kwDOCUB6oc43pRAp | 17,176 | Add ONNX support for Longformer | {
"login": "deutschmn",
"id": 37573274,
"node_id": "MDQ6VXNlcjM3NTczMjc0",
"avatar_url": "https://avatars.githubusercontent.com/u/37573274?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/deutschmn",
"html_url": "https://github.com/deutschmn",
"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_17176). All of your documentation changes will be reflected on that endpoint.",
"Hey :hand: excellent PR, the code looks just fine!\r\n\r\nI wonder if you tried to specify the right `--feature` while converting your `LongFo... | 1,652 | 1,661 | 1,661 | CONTRIBUTOR | null | # What does this PR do?
This PR contributes to #16308 and addresses #16463 by adding support for exporting [Longformer](https://arxiv.org/abs/2004.05150) to ONNX.
The following necessary changes were already made:
- [x] `LongformerOnnxConfig` implemented
- [x] ONNX opset version >= 12
- [x] fix in model defin... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17176/reactions",
"total_count": 3,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 3,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17176/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17176",
"html_url": "https://github.com/huggingface/transformers/pull/17176",
"diff_url": "https://github.com/huggingface/transformers/pull/17176.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17176.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17175 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17175/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17175/comments | https://api.github.com/repos/huggingface/transformers/issues/17175/events | https://github.com/huggingface/transformers/pull/17175 | 1,232,403,060 | PR_kwDOCUB6oc43o6gW | 17,175 | [M2M100 doc] remove duplicate example | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,652 | 1,652 | 1,652 | MEMBER | null | # What does this PR do?
Removes duplicate translation example from doc. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17175/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17175/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17175",
"html_url": "https://github.com/huggingface/transformers/pull/17175",
"diff_url": "https://github.com/huggingface/transformers/pull/17175.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17175.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17174 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17174/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17174/comments | https://api.github.com/repos/huggingface/transformers/issues/17174/events | https://github.com/huggingface/transformers/pull/17174 | 1,232,266,776 | PR_kwDOCUB6oc43ohpP | 17,174 | logging documentation update | {
"login": "sanderland",
"id": 48946947,
"node_id": "MDQ6VXNlcjQ4OTQ2OTQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/48946947?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanderland",
"html_url": "https://github.com/sanderland",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,652 | 1,652 | 1,652 | CONTRIBUTOR | null | See https://github.com/huggingface/transformers/issues/17094
@LysandreJik
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17174/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17174/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17174",
"html_url": "https://github.com/huggingface/transformers/pull/17174",
"diff_url": "https://github.com/huggingface/transformers/pull/17174.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17174.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17173 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17173/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17173/comments | https://api.github.com/repos/huggingface/transformers/issues/17173/events | https://github.com/huggingface/transformers/issues/17173 | 1,232,155,407 | I_kwDOCUB6oc5JcTMP | 17,173 | model google/muril-base-cased has effectively infinite model_max_length | {
"login": "AngledLuffa",
"id": 3411033,
"node_id": "MDQ6VXNlcjM0MTEwMzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/3411033?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AngledLuffa",
"html_url": "https://github.com/AngledLuffa",
"followers_url": "https://api.github.com/us... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Thank you for the issue @AngledLuffa ! It's interesting to know that this is an important feature for you.\r\n\r\nUnfortunately we can't do much from `transformers` as `transformers` only retrieves the `model_max_length` key from the [`tokenizer_config.json` file](https://huggingface.co/google/muril-base-cased/blo... | 1,652 | 1,654 | 1,654 | NONE | null | ### System Info
```shell
>>> transformers.__version__
'4.18.0'
>>> tokenizers.__version__
'0.12.1'
```
### Who can help?
@LysandreJik
@SaulLu
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` fo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17173/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17173/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17172 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17172/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17172/comments | https://api.github.com/repos/huggingface/transformers/issues/17172/events | https://github.com/huggingface/transformers/issues/17172 | 1,232,075,797 | I_kwDOCUB6oc5Jb_wV | 17,172 | T5 zero-shot classification pipeline | {
"login": "peregilk",
"id": 9079808,
"node_id": "MDQ6VXNlcjkwNzk4MDg=",
"avatar_url": "https://avatars.githubusercontent.com/u/9079808?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/peregilk",
"html_url": "https://github.com/peregilk",
"followers_url": "https://api.github.com/users/pereg... | [] | closed | false | null | [] | [
"Hi @peregilk \r\n\r\nT5 is not supported in zero-shot classification pipeline because it does not have a sequence classification head. With T5 the seq classification problem is formulated as text-to-text generation problem which is not possible to support in this zero-shot pipeline. ",
"@patil-suraj \r\nThanks f... | 1,652 | 1,687 | 1,655 | CONTRIBUTOR | null | ### Feature request
The current zero-shot classification pipeline support models like BERT and BART, but there does not seem to be any support for T5.
I notice that the new [mT5-mnli from Alan Turing Institute](https://huggingface.co/alan-turing-institute/mt5-large-finetuned-mnli-xtreme-xnli) has code for extracti... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17172/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17172/timeline | completed | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.