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/17473 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17473/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17473/comments | https://api.github.com/repos/huggingface/transformers/issues/17473/events | https://github.com/huggingface/transformers/issues/17473 | 1,252,587,659 | I_kwDOCUB6oc5KqPiL | 17,473 | Number of channels in the ViTMAE model | {
"login": "kacwin",
"id": 19871333,
"node_id": "MDQ6VXNlcjE5ODcxMzMz",
"avatar_url": "https://avatars.githubusercontent.com/u/19871333?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kacwin",
"html_url": "https://github.com/kacwin",
"followers_url": "https://api.github.com/users/kacwin/fo... | [
{
"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 | [] | [
"Hi,\r\n\r\nYes the \"patchify\" and \"unpatchify\" methods would need to be updated to supported 1 channel.\r\n\r\nAre you interested in opening a PR to add support for this? ",
"Hey, \r\nthanks for the fast reply. I am a complete beginner to github (I only used it to manage my personal projects so far) and I wi... | 1,653 | 1,655 | 1,655 | NONE | null | ### Feature request
Dear huggingface community,
I am experimenting with the ViTMAE model from the transformers library. The ViTMAEConfig class has the option "num_channels" to specify the number of input (color) channels belonging to an image. If I modify this, say, to 1 (for processing grayscale images), the model t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17473/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17473/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17472 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17472/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17472/comments | https://api.github.com/repos/huggingface/transformers/issues/17472/events | https://github.com/huggingface/transformers/pull/17472 | 1,252,570,249 | PR_kwDOCUB6oc44rLeQ | 17,472 | Setup for Italian translation and add quicktour.mdx translation | {
"login": "mfumanelli",
"id": 53374883,
"node_id": "MDQ6VXNlcjUzMzc0ODgz",
"avatar_url": "https://avatars.githubusercontent.com/u/53374883?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mfumanelli",
"html_url": "https://github.com/mfumanelli",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"This looks great! Thanks @mfumanelli for the PR and opening the venue for an Italian 🇮🇹 translation!\r\n\r\nSince this is the first IT translation could please add `it` to the languages section in the `.github/workflows` ([here](ht... | 1,653 | 1,654 | 1,654 | CONTRIBUTOR | null | I created the folder for files translated into Italian and made the translation of quicktour.mdx and index.mdx files.
The folder (called 'it') is located in transformers/docs/source/.
The translated documents are located in the transformers/docs/source/it folder.
Fixes [#17459](https://github.com/huggingface/tra... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17472/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17472/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17472",
"html_url": "https://github.com/huggingface/transformers/pull/17472",
"diff_url": "https://github.com/huggingface/transformers/pull/17472.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17472.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17471 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17471/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17471/comments | https://api.github.com/repos/huggingface/transformers/issues/17471/events | https://github.com/huggingface/transformers/pull/17471 | 1,252,467,233 | PR_kwDOCUB6oc44q1Yc | 17,471 | Fix CI tests hang forever (sometimes) | {
"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._",
"From the experimentation, with the argument `--max-worker-restart=0`:\r\n\r\n- all tests passed before the worker crashed --> marked as passed\r\n- the test where the worker crashes --> marked as failed\r\n- all tests not yet run bef... | 1,653 | 1,662 | 1,654 | COLLABORATOR | null | # What does this PR do?
Set `--max-worker-restart=0` for `pytest` command in CircieCI workflow file.
Currently, the tests could hang forever if `--dist=loadfile` is specified, and when a worker is crashed, and we finally got `Too long with no output (exceeded 10m0s): context deadline exceeded`. For example, [this... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17471/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17471/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17471",
"html_url": "https://github.com/huggingface/transformers/pull/17471",
"diff_url": "https://github.com/huggingface/transformers/pull/17471.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17471.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17470 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17470/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17470/comments | https://api.github.com/repos/huggingface/transformers/issues/17470/events | https://github.com/huggingface/transformers/pull/17470 | 1,252,380,500 | PR_kwDOCUB6oc44qi64 | 17,470 | Fix ViTMAEModelTester | {
"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,653 | 1,654 | 1,654 | COLLABORATOR | null | # What does this PR do?
Current `ViTMAE` test has `(TF)ViTMAEModelTester` not setting `decoder` configs, like `decoder_hidden_size`, `decoder_intermediate_size` etc.
For the model class `(TF)ViTMAEForPretraining`, the default values for these attributes in `ViTMAEConfig` are used, and cause some tests being slow ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17470/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17470/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17470",
"html_url": "https://github.com/huggingface/transformers/pull/17470",
"diff_url": "https://github.com/huggingface/transformers/pull/17470.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17470.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17469 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17469/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17469/comments | https://api.github.com/repos/huggingface/transformers/issues/17469/events | https://github.com/huggingface/transformers/pull/17469 | 1,252,378,116 | PR_kwDOCUB6oc44qiaC | 17,469 | Add swin transformer v2 | {
"login": "nandwalritik",
"id": 48522685,
"node_id": "MDQ6VXNlcjQ4NTIyNjg1",
"avatar_url": "https://avatars.githubusercontent.com/u/48522685?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nandwalritik",
"html_url": "https://github.com/nandwalritik",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thank you for constantly guiding me for this model addition and answering all my queries 😊. Looking forward to contribute more in future.\r\n\r\n> Great work! Main comments are:\r\n> \r\n> * you can also add `Copied from` statements... | 1,653 | 1,658 | 1,658 | 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/17469/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17469/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17469",
"html_url": "https://github.com/huggingface/transformers/pull/17469",
"diff_url": "https://github.com/huggingface/transformers/pull/17469.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17469.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17468 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17468/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17468/comments | https://api.github.com/repos/huggingface/transformers/issues/17468/events | https://github.com/huggingface/transformers/issues/17468 | 1,252,050,909 | I_kwDOCUB6oc5KoMfd | 17,468 | Any attempt to export any model to onnx returns an ATOL value of nan. | {
"login": "Jcwscience",
"id": 14113132,
"node_id": "MDQ6VXNlcjE0MTEzMTMy",
"avatar_url": "https://avatars.githubusercontent.com/u/14113132?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Jcwscience",
"html_url": "https://github.com/Jcwscience",
"followers_url": "https://api.github.com/use... | [] | 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,653 | 1,657 | 1,657 | NONE | null | `ValueError: Outputs values doesn't match between reference model and ONNX exported model: Got max absolute difference of: nan` | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17468/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/17468/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17467 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17467/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17467/comments | https://api.github.com/repos/huggingface/transformers/issues/17467/events | https://github.com/huggingface/transformers/issues/17467 | 1,252,022,505 | I_kwDOCUB6oc5KoFjp | 17,467 | Error building docs locally: No matching distribution found for ray[tune]; extra == "docs" | {
"login": "venkatasg",
"id": 22871413,
"node_id": "MDQ6VXNlcjIyODcxNDEz",
"avatar_url": "https://avatars.githubusercontent.com/u/22871413?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/venkatasg",
"html_url": "https://github.com/venkatasg",
"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 | [] | [
"Not sure why you're opening an issue here as it seems you'd like `ray` to have a package installable on your end :-).\r\n\r\nI can't guarantee the doc will build without all integrations, but it might work to build the doc without Ray installed.",
"I'm going to close the issue now, since I've found that using `p... | 1,653 | 1,654 | 1,654 | NONE | null | ### System Info
```shell
- `transformers` version: 4.17.0
- Platform: macOS-10.16-x86_64-i386-64bit
- Python version: 3.10.0
- PyTorch version (GPU?): 1.11.0 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- JaxLib versi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17467/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17467/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17466 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17466/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17466/comments | https://api.github.com/repos/huggingface/transformers/issues/17466/events | https://github.com/huggingface/transformers/pull/17466 | 1,251,972,263 | PR_kwDOCUB6oc44pOQU | 17,466 | Adding LeViT Model by Facebook | {
"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._",
"Thanks for suggestion. I have done the requested changes. I need help here:\r\n- I cannot figure rendering of warning problem. If I give `enter` or `space`. There is `style error` of `white space`.\r\n- The image in `convnext.mdx` is... | 1,653 | 1,654 | 1,654 | CONTRIBUTOR | null | Adds LeViT Model (a Vision Transformer) to HF Library. All the checkpoints are on my HF account hub.
Please review and suggest the required changes.
@NielsRogge | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17466/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17466/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17466",
"html_url": "https://github.com/huggingface/transformers/pull/17466",
"diff_url": "https://github.com/huggingface/transformers/pull/17466.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17466.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17465 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17465/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17465/comments | https://api.github.com/repos/huggingface/transformers/issues/17465/events | https://github.com/huggingface/transformers/issues/17465 | 1,251,832,657 | I_kwDOCUB6oc5KnXNR | 17,465 | Add MVP model | {
"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... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"Hello! I think this is a situation where the code-on-the-hub approach is likely to be the best way to share it! See this guide: [Sharing custom models](https://huggingface.co/docs/transformers/custom_models).\r\n\r\nThis will give you the most amount of freedom with regards to your model.\r\n\r\ncc @sgugger ",
"... | 1,653 | 1,655 | 1,655 | CONTRIBUTOR | null | ### Model description
Hi, I want to add my model MVP to hugging face. My model is very similar with BART. The difference is that it has pre-trained soft prompt in the format of Prefix-tuning.
We have pretrained a series of prompts combining with backbone transformer. And users can choose which prompt to load. So ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17465/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17465/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17464 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17464/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17464/comments | https://api.github.com/repos/huggingface/transformers/issues/17464/events | https://github.com/huggingface/transformers/issues/17464 | 1,251,824,143 | I_kwDOCUB6oc5KnVIP | 17,464 | ValueError: AlbertForMaskedLM does not support gradient checkpointing. | {
"login": "warm-ice0x00",
"id": 67120113,
"node_id": "MDQ6VXNlcjY3MTIwMTEz",
"avatar_url": "https://avatars.githubusercontent.com/u/67120113?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/warm-ice0x00",
"html_url": "https://github.com/warm-ice0x00",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,653 | 1,657 | 1,657 | NONE | null | ValueError: AlbertForMaskedLM does not support gradient checkpointing.
`model.gradient_checkpointing_enable()` doesn't help. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17464/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17464/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17463 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17463/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17463/comments | https://api.github.com/repos/huggingface/transformers/issues/17463/events | https://github.com/huggingface/transformers/issues/17463 | 1,251,549,917 | I_kwDOCUB6oc5KmSLd | 17,463 | transformers model doesn't output zeros for padded subtokens | {
"login": "dayyass",
"id": 26326659,
"node_id": "MDQ6VXNlcjI2MzI2NjU5",
"avatar_url": "https://avatars.githubusercontent.com/u/26326659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dayyass",
"html_url": "https://github.com/dayyass",
"followers_url": "https://api.github.com/users/dayyas... | [
{
"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 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.\r\n> \r\n> Please note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBU... | 1,653 | 1,658 | 1,658 | NONE | null | ### System Info
I have noticed that mean pooling over last_hidden_state returns different results depending on the batch size. When I started to go deeper to understand the reason of the problem I found that padded by tokenizer subtokens after passing it through the model are not zeros and actually this leads to the... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17463/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17463/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17462 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17462/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17462/comments | https://api.github.com/repos/huggingface/transformers/issues/17462/events | https://github.com/huggingface/transformers/pull/17462 | 1,251,476,982 | PR_kwDOCUB6oc44ns3X | 17,462 | Add EfficientNet model for PyTorch | {
"login": "tanaymeh",
"id": 26519539,
"node_id": "MDQ6VXNlcjI2NTE5NTM5",
"avatar_url": "https://avatars.githubusercontent.com/u/26519539?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tanaymeh",
"html_url": "https://github.com/tanaymeh",
"followers_url": "https://api.github.com/users/tan... | [] | closed | false | null | [] | [
"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,653 | 1,660 | 1,660 | CONTRIBUTOR | null | # What does this PR do?
This PR adds the EfficientNet model family to HuggingFace transformers proposed in #15759 (PyTorch only for this PR).
The implementation is based on that of Ross Wightman's pytorch-image-models [implementation](https://github.com/rwightman/pytorch-image-models/blob/master/timm/models/efficient... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17462/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17462/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17462",
"html_url": "https://github.com/huggingface/transformers/pull/17462",
"diff_url": "https://github.com/huggingface/transformers/pull/17462.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17462.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17461 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17461/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17461/comments | https://api.github.com/repos/huggingface/transformers/issues/17461/events | https://github.com/huggingface/transformers/issues/17461 | 1,251,456,758 | I_kwDOCUB6oc5Kl7b2 | 17,461 | Spanish docs - Links don't work | {
"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 | {
"login": "mishig25",
"id": 11827707,
"node_id": "MDQ6VXNlcjExODI3NzA3",
"avatar_url": "https://avatars.githubusercontent.com/u/11827707?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mishig25",
"html_url": "https://github.com/mishig25",
"followers_url": "https://api.github.com/users/mis... | [
{
"login": "mishig25",
"id": 11827707,
"node_id": "MDQ6VXNlcjExODI3NzA3",
"avatar_url": "https://avatars.githubusercontent.com/u/11827707?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mishig25",
"html_url": "https://github.com/mishig25",
"followers_url": "https://api.... | [
"@omarespejel thanks a lot for notifying. I'm working on a fix"
] | 1,653 | 1,653 | 1,653 | CONTRIBUTOR | null | ## TLDR
Links to docs that don't exist (eg ./main_classes/pipelines) don't work. Issue first mentioned in #17349.
## Description
Currently, the links lead to an error if the doc is not yet translated. For example, this fragment in [`autoclass_tutorial`](https://huggingface.co/docs/transformers/main/es/autoclass_tu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17461/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/17461/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17460 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17460/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17460/comments | https://api.github.com/repos/huggingface/transformers/issues/17460/events | https://github.com/huggingface/transformers/issues/17460 | 1,251,301,822 | I_kwDOCUB6oc5KlVm- | 17,460 | fx.symbolic_trace not working for Roberta | {
"login": "WeiHao97",
"id": 37089196,
"node_id": "MDQ6VXNlcjM3MDg5MTk2",
"avatar_url": "https://avatars.githubusercontent.com/u/37089196?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/WeiHao97",
"html_url": "https://github.com/WeiHao97",
"followers_url": "https://api.github.com/users/Wei... | [
{
"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 | [] | [
"After specifying: \r\n```python\r\ninput_names = ['input_ids',\r\n 'attention_mask',\r\n 'token_type_ids',\r\n 'position_ids',\r\n 'encoder_hidden_states',\r\n 'encoder_attention_mask',\r\n 'labels'] \r\n```\r\nI saw another bug in:\r\n```python\r\n------------------------------------------------------------------... | 1,653 | 1,657 | 1,657 | NONE | null | ### System Info
```shell
transformers version: 4.18.0
PyTorch version: 1.10.2
Is debug build: False
CUDA used to build PyTorch: Could not collect
ROCM used to build PyTorch: N/A
OS: Ubuntu 20.04.4 LTS (x86_64)
GCC version: (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
Clang version: Could not collect
CMake vers... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17460/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17460/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17459 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17459/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17459/comments | https://api.github.com/repos/huggingface/transformers/issues/17459/events | https://github.com/huggingface/transformers/issues/17459 | 1,251,151,485 | I_kwDOCUB6oc5Kkw59 | 17,459 | Tranformers documentation translation to Italian | {
"login": "mfumanelli",
"id": 53374883,
"node_id": "MDQ6VXNlcjUzMzc0ODgz",
"avatar_url": "https://avatars.githubusercontent.com/u/53374883?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mfumanelli",
"html_url": "https://github.com/mfumanelli",
"followers_url": "https://api.github.com/use... | [
{
"id": 1834067346,
"node_id": "MDU6TGFiZWwxODM0MDY3MzQ2",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Documentation",
"name": "Documentation",
"color": "77cc3b",
"default": false,
"description": ""
},
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2N... | open | false | {
"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... | [
{
"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... | [
"Hi @mfumanelli if it has not yet been taken I can translate pipeline_tutorial.mdx (only the textual part).\r\n",
"Hey, @nickprock thank you! That would be great. I added you to the list of contributors in @mfumanelli 's tasks list. The textual part is ok :)",
"Hey @mfumanelli in the next week I can translate p... | 1,653 | 1,679 | null | CONTRIBUTOR | null | Hi!
Let's bring the documentation to all the Italian-speaking community :)
Who would want to translate? Please follow the 🤗 [TRANSLATING guide](https://github.com/huggingface/transformers/blob/main/docs/TRANSLATING.md). Here is a list of the files ready for translation. Let us know here if you'd like to translat... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17459/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/17459/timeline | reopened | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17458 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17458/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17458/comments | https://api.github.com/repos/huggingface/transformers/issues/17458/events | https://github.com/huggingface/transformers/pull/17458 | 1,250,984,470 | PR_kwDOCUB6oc44mD5b | 17,458 | TF: XLA Beam Search | {
"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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_17458). All of your documentation changes will be reflected on that endpoint.",
"Closed in favor of #17857"
] | 1,653 | 1,657 | 1,656 | MEMBER | null | # What does this PR do?
WIP
Dependencies:
1. #17426
2. #17479
Status log:
1. 2022/05/27: XLA compiles, but fails at runtime. The same code runs in eager execution. The XLA compiler seems like it is not able to pick up the right information during beam search, as it complains inside the forward pass on thi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17458/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/17458/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17458",
"html_url": "https://github.com/huggingface/transformers/pull/17458",
"diff_url": "https://github.com/huggingface/transformers/pull/17458.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17458.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17457 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17457/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17457/comments | https://api.github.com/repos/huggingface/transformers/issues/17457/events | https://github.com/huggingface/transformers/pull/17457 | 1,250,941,667 | PR_kwDOCUB6oc44l6YU | 17,457 | [Json configs] Make json prettier for all saved tokenizer files & ensure same json format for all processors (tok + feat_extract) | {
"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._",
"@julien-c @sgugger do you think it could make sense to make a huge automated PR creation to correct all tokenizer configs? Or maybe too much given that we have 80,000 checkpoints?\r\n\r\nDon't think it's possible to break anything, b... | 1,653 | 1,654 | 1,654 | 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/17457/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17457/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17457",
"html_url": "https://github.com/huggingface/transformers/pull/17457",
"diff_url": "https://github.com/huggingface/transformers/pull/17457.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17457.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17455 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17455/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17455/comments | https://api.github.com/repos/huggingface/transformers/issues/17455/events | https://github.com/huggingface/transformers/issues/17455 | 1,250,548,040 | I_kwDOCUB6oc5KidlI | 17,455 | ProphetNet inconsistent with changing batch ordering | {
"login": "mikkelfo",
"id": 48285156,
"node_id": "MDQ6VXNlcjQ4Mjg1MTU2",
"avatar_url": "https://avatars.githubusercontent.com/u/48285156?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mikkelfo",
"html_url": "https://github.com/mikkelfo",
"followers_url": "https://api.github.com/users/mik... | [
{
"id": 2392046359,
"node_id": "MDU6TGFiZWwyMzkyMDQ2MzU5",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20Second%20Issue",
"name": "Good Second Issue",
"color": "dd935a",
"default": false,
"description": "Issues that are more difficult to do than \"Good First... | closed | false | null | [] | [
"Hey @mikkelfo,\r\n\r\nThis indeed seems like a bug! I sadly won't be able to look into this any time soon - I'll mark the issue as a \"good second issue\" in case someone wants to give it a try :-). Also cc @patil-suraj ",
"Thanks for the answer @patrickvonplaten. I suspected so, although I did question my sanit... | 1,653 | 1,677 | 1,677 | NONE | null | ### System Info
```shell
- `transformers` version: 4.15.0
- Platform: Windows-10-10.0.19044-SP0
- Python version: 3.9.7
- PyTorch version (GPU?): 1.10.1+cpu (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- JaxLib versio... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17455/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17455/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17454 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17454/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17454/comments | https://api.github.com/repos/huggingface/transformers/issues/17454/events | https://github.com/huggingface/transformers/issues/17454 | 1,250,544,970 | I_kwDOCUB6oc5Kic1K | 17,454 | XLM-Roberta offset mapping is off by one in case of whitespace-subwords | {
"login": "robvanderg",
"id": 6604037,
"node_id": "MDQ6VXNlcjY2MDQwMzc=",
"avatar_url": "https://avatars.githubusercontent.com/u/6604037?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/robvanderg",
"html_url": "https://github.com/robvanderg",
"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 | [] | [
"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,653 | 1,659 | 1,659 | NONE | null | ### System Info
```shell
- `transformers` version: 4.19.2
- Platform: Linux-5.4.0-94-generic-x86_64-with-glibc2.29
- Python version: 3.8.10
- Huggingface_hub version: 0.6.0
- PyTorch version (GPU?): 1.7.1+cu110 (True)
- Tensorflow version (GPU?): 2.9.1 (True)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17454/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17454/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17453 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17453/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17453/comments | https://api.github.com/repos/huggingface/transformers/issues/17453/events | https://github.com/huggingface/transformers/issues/17453 | 1,250,523,097 | I_kwDOCUB6oc5KiXfZ | 17,453 | gpt-neo-1-3B large memory increase during training even with a small training dataset | {
"login": "sandeeppagey",
"id": 73466856,
"node_id": "MDQ6VXNlcjczNDY2ODU2",
"avatar_url": "https://avatars.githubusercontent.com/u/73466856?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sandeeppagey",
"html_url": "https://github.com/sandeeppagey",
"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 | [] | [
"Hi @sandeeppagey !\r\n\r\nCould you post a simple code-snippet here, with more details such as the GPU memory, the `dtype` for training. \r\n\r\nAlso note that, the model weights in fp32 are about 5GB and Adam takes 3x more memory, so this alone is about ~20GB and then there's more memory to store the activations ... | 1,653 | 1,654 | 1,654 | NONE | null | ### System Info
```shell
- `transformers` version: 4.19.2
- Platform: Linux-5.4.0-1075-aws-x86_64-with-debian-buster-sid
- Python version: 3.7.10
- Huggingface_hub version: 0.5.1
- PyTorch version (GPU?): 1.8.1+cu111 (True)
- Tensorflow version (GPU?): 2.8.0 (True)
- Flax version (CPU?/GPU?/TPU?): not installed ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17453/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17453/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17452 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17452/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17452/comments | https://api.github.com/repos/huggingface/transformers/issues/17452/events | https://github.com/huggingface/transformers/issues/17452 | 1,250,516,645 | I_kwDOCUB6oc5KiV6l | 17,452 | NaN in GPT NeoX model (generation) | {
"login": "thies1006",
"id": 32954413,
"node_id": "MDQ6VXNlcjMyOTU0NDEz",
"avatar_url": "https://avatars.githubusercontent.com/u/32954413?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thies1006",
"html_url": "https://github.com/thies1006",
"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 | [] | [
"cc @zphang do you have an idea of what might be happening there?\r\n\r\nAlso happening here: https://github.com/huggingface/accelerate/issues/404",
"Also cc @sgugger as it's leveraging the auto map.",
"I don't think it comes from the auto map, some weights are Nan and so an error is raised [here](https://githu... | 1,653 | 1,657 | 1,657 | NONE | null | ### System Info
```shell
- `transformers` version: 4.20.0.dev0
- Platform: Linux-4.15.0-140-generic-x86_64-with-glibc2.17
- Python version: 3.8.13
- Huggingface_hub version: 0.7.0
- PyTorch version (GPU?): 1.11.0+cu113 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not in... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17452/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17452/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17451 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17451/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17451/comments | https://api.github.com/repos/huggingface/transformers/issues/17451/events | https://github.com/huggingface/transformers/issues/17451 | 1,250,496,524 | I_kwDOCUB6oc5KiRAM | 17,451 | May i just train a translation task with T5 from scratch without pretrain a language model? | {
"login": "520jefferson",
"id": 5691554,
"node_id": "MDQ6VXNlcjU2OTE1NTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/5691554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/520jefferson",
"html_url": "https://github.com/520jefferson",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"Hey @520jefferson,\r\n\r\nI understand your question as whether it's possible to fine-tune T5 from scratch and to **not** use a pretrained checkpoint.\r\n\r\nYes, this should definitely be possible, but I wouldn't really recommend it given the power of transfer learning. \r\n\r\nHere also some very nice explanatio... | 1,653 | 1,656 | 1,656 | NONE | null | ### Feature request
May i use bpe in preprocessing and train a translation model from scatch without pretrain a language model?
@patrickvonplaten
### Motivation
I want to distill a big model to T5 model and the T5 vocab should be the same as big model.
### Your contribution
I can verify the process. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17451/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17451/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17450 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17450/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17450/comments | https://api.github.com/repos/huggingface/transformers/issues/17450/events | https://github.com/huggingface/transformers/issues/17450 | 1,250,446,370 | I_kwDOCUB6oc5KiEwi | 17,450 | attention_mask hold float values in [0,1] in T5 | {
"login": "pretidav",
"id": 23082930,
"node_id": "MDQ6VXNlcjIzMDgyOTMw",
"avatar_url": "https://avatars.githubusercontent.com/u/23082930?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pretidav",
"html_url": "https://github.com/pretidav",
"followers_url": "https://api.github.com/users/pre... | [] | 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... | [
"cc @ydshieh that has given some thought to this in the past, I believe",
"Well, as far as I can recall, I didn't have this idea before. This looks like @pretidav want to provide manual (float) attention mask.\r\n\r\n- with the introduction of `dtype.min` in #17306 (or even with `-1e4` currently) as the large neg... | 1,653 | 1,654 | 1,654 | NONE | null | ### Feature request
Hello Everybody,
I was wondering whether attention_mask input for T5 could be used as a float in [0,1] instead of an integer as in the documentation
`attention_mask (torch.FloatTensor of shape (batch_size, sequence_length), optional) — Mask to avoid performing attention on padding token indices... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17450/reactions",
"total_count": 2,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17450/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17449 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17449/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17449/comments | https://api.github.com/repos/huggingface/transformers/issues/17449/events | https://github.com/huggingface/transformers/pull/17449 | 1,250,427,672 | PR_kwDOCUB6oc44kMV- | 17,449 | Improve notrainer examples | {
"login": "pacman100",
"id": 13534540,
"node_id": "MDQ6VXNlcjEzNTM0NTQw",
"avatar_url": "https://avatars.githubusercontent.com/u/13534540?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pacman100",
"html_url": "https://github.com/pacman100",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,653 | 1,653 | 1,653 | CONTRIBUTOR | null | # What does this PR do?
1. In no-trainer examples, `train_loss` being logged wasn't normalized and as such wasn't intuitive to understand. This also made it difficult to compare train loss between different tools such as comparing train loss from Trainer with that of Accelerate. This PR normalizes the train_loss per e... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17449/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17449/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17449",
"html_url": "https://github.com/huggingface/transformers/pull/17449",
"diff_url": "https://github.com/huggingface/transformers/pull/17449.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17449.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17448 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17448/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17448/comments | https://api.github.com/repos/huggingface/transformers/issues/17448/events | https://github.com/huggingface/transformers/issues/17448 | 1,250,422,454 | I_kwDOCUB6oc5Kh-62 | 17,448 | ImportError: cannot import name 'OptionalDependencyNotAvailable' from 'transformers.utils' | {
"login": "chengyjonathan",
"id": 37084761,
"node_id": "MDQ6VXNlcjM3MDg0NzYx",
"avatar_url": "https://avatars.githubusercontent.com/u/37084761?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chengyjonathan",
"html_url": "https://github.com/chengyjonathan",
"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 | [] | [] | 1,653 | 1,653 | 1,653 | NONE | null | ### System Info
```shell
Cannot import any models from transformers
# Name Version Build Channel
aiohttp 3.8.1 pypi_0 pypi
aiosignal 1.2.0 pypi_0 pypi
async-timeout 4.0.2 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17448/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17448/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17447 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17447/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17447/comments | https://api.github.com/repos/huggingface/transformers/issues/17447/events | https://github.com/huggingface/transformers/pull/17447 | 1,250,231,419 | PR_kwDOCUB6oc44jjyr | 17,447 | More informative error message for DataCollatorForSeq2Seq | {
"login": "CakeCrusher",
"id": 37946988,
"node_id": "MDQ6VXNlcjM3OTQ2OTg4",
"avatar_url": "https://avatars.githubusercontent.com/u/37946988?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/CakeCrusher",
"html_url": "https://github.com/CakeCrusher",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"@CakeCrusher, if it's programmable - won't it be better to actually validate the input shape explicitly, and assert if it's wrong - instead of piling up possible errors to an already long error message?",
"@stas00 agreed ill make a check for it",
"_The documentation is not available anymore as the PR was clos... | 1,653 | 1,658 | 1,657 | CONTRIBUTOR | null | # What does this PR do?
I ran into an error related to an incorrect shape of inputs when using `DataCollatorForSeq2Seq`. I learned that it had to do with the `BatchEncoding` class. I did not find the error message particularly helpful as it does not mention anything about the input shape. Therefore I added the extra ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17447/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17447/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17447",
"html_url": "https://github.com/huggingface/transformers/pull/17447",
"diff_url": "https://github.com/huggingface/transformers/pull/17447.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17447.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17446 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17446/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17446/comments | https://api.github.com/repos/huggingface/transformers/issues/17446/events | https://github.com/huggingface/transformers/issues/17446 | 1,250,201,508 | I_kwDOCUB6oc5KhI-k | 17,446 | Train Transformer XL language modeling with padding | {
"login": "StefanHeng",
"id": 43276957,
"node_id": "MDQ6VXNlcjQzMjc2OTU3",
"avatar_url": "https://avatars.githubusercontent.com/u/43276957?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/StefanHeng",
"html_url": "https://github.com/StefanHeng",
"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 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,653 | 1,656 | 1,656 | CONTRIBUTOR | null | ### System Info
```shell
`transformers` version `4.19.2`, `python` version `3.9.12`
```
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [X] My own modified scripts
I'm using `DataCollatorForLanguageModeling` **and padding** to train Transformer XL with LM head... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17446/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17446/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17444 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17444/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17444/comments | https://api.github.com/repos/huggingface/transformers/issues/17444/events | https://github.com/huggingface/transformers/pull/17444 | 1,249,909,452 | PR_kwDOCUB6oc44iegV | 17,444 | [WIP] Warning when passing padded input ids but no attention mask | {
"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://... | [
{
"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": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [
{
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.githu... | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_17444). All of your documentation changes will be reflected on that endpoint.",
"Relevant issues:\r\nhttps://github.com/huggingface/transformers/issues/4083\r\nhttps://github.com/huggingface/transformers/issues/278\r\nhttps... | 1,653 | 1,702 | 1,702 | 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/17444/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/17444/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17444",
"html_url": "https://github.com/huggingface/transformers/pull/17444",
"diff_url": "https://github.com/huggingface/transformers/pull/17444.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17444.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17443 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17443/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17443/comments | https://api.github.com/repos/huggingface/transformers/issues/17443/events | https://github.com/huggingface/transformers/pull/17443 | 1,249,849,193 | PR_kwDOCUB6oc44iSD7 | 17,443 | Add CodeGen model | {
"login": "rooa",
"id": 2957582,
"node_id": "MDQ6VXNlcjI5NTc1ODI=",
"avatar_url": "https://avatars.githubusercontent.com/u/2957582?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rooa",
"html_url": "https://github.com/rooa",
"followers_url": "https://api.github.com/users/rooa/followers",
... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hey @patil-suraj @rooa you should go fetch upstream on [your fork](https://github.com/rooa/transformers/tree/add_codegen). There were some test fixes that I think you are missing which is causing the red exes that no one likes to se... | 1,653 | 1,656 | 1,656 | 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/17443/reactions",
"total_count": 5,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 5,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17443/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17443",
"html_url": "https://github.com/huggingface/transformers/pull/17443",
"diff_url": "https://github.com/huggingface/transformers/pull/17443.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17443.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17442 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17442/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17442/comments | https://api.github.com/repos/huggingface/transformers/issues/17442/events | https://github.com/huggingface/transformers/pull/17442 | 1,249,747,698 | PR_kwDOCUB6oc44h8Zc | 17,442 | [Generate] Greedy Search, fix output scores from logits to scores | {
"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._",
"@patil-suraj Will there be any support for raw logits instead logits that are processed? (see #17521 )"
] | 1,653 | 1,679 | 1,654 | 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/17442/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17442/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17442",
"html_url": "https://github.com/huggingface/transformers/pull/17442",
"diff_url": "https://github.com/huggingface/transformers/pull/17442.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17442.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17441 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17441/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17441/comments | https://api.github.com/repos/huggingface/transformers/issues/17441/events | https://github.com/huggingface/transformers/pull/17441 | 1,249,722,806 | PR_kwDOCUB6oc44h3Fo | 17,441 | [OPT] Fix bos token id default opt | {
"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 | [] | [
"Opening PRs for all OPT models online as well",
"CI errors are flaky"
] | 1,653 | 1,653 | 1,653 | 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/17441/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17441/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17441",
"html_url": "https://github.com/huggingface/transformers/pull/17441",
"diff_url": "https://github.com/huggingface/transformers/pull/17441.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17441.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17440 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17440/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17440/comments | https://api.github.com/repos/huggingface/transformers/issues/17440/events | https://github.com/huggingface/transformers/pull/17440 | 1,249,574,849 | PR_kwDOCUB6oc44hXqf | 17,440 | Pin protobouf that breaks TensorBoard in PyTorch | {
"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 | [] | [
"Yes to rebuliding a docker image ASAP. I will merge this once all tests pass :-) ",
"_The documentation is not available anymore as the PR was closed or merged._",
"Python dependencies 🤦♀️"
] | 1,653 | 1,653 | 1,653 | COLLABORATOR | null | # What does this PR do?
The recent release of Protobuf (4.21) has broken TensorBoard in PyTorch and thus multiple tests. This PR pins protobuf to fix said tests. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17440/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17440/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17440",
"html_url": "https://github.com/huggingface/transformers/pull/17440",
"diff_url": "https://github.com/huggingface/transformers/pull/17440.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17440.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17439 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17439/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17439/comments | https://api.github.com/repos/huggingface/transformers/issues/17439/events | https://github.com/huggingface/transformers/pull/17439 | 1,249,536,777 | PR_kwDOCUB6oc44hPo6 | 17,439 | Fix model parallelism test | {
"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,653 | 1,653 | 1,653 | COLLABORATOR | null | # What does this PR do?
This fixes the model parallelism test for models whose config does not have a `num_hidden_layers` attribute, or if that attribute is a dict and not an int. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17439/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17439/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17439",
"html_url": "https://github.com/huggingface/transformers/pull/17439",
"diff_url": "https://github.com/huggingface/transformers/pull/17439.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17439.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17438 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17438/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17438/comments | https://api.github.com/repos/huggingface/transformers/issues/17438/events | https://github.com/huggingface/transformers/pull/17438 | 1,249,293,565 | PR_kwDOCUB6oc44gdGZ | 17,438 | [wip] testing doc-build | {
"login": "mishig25",
"id": 11827707,
"node_id": "MDQ6VXNlcjExODI3NzA3",
"avatar_url": "https://avatars.githubusercontent.com/u/11827707?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mishig25",
"html_url": "https://github.com/mishig25",
"followers_url": "https://api.github.com/users/mis... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,653 | 1,653 | 1,653 | CONTRIBUTOR | null | testing https://github.com/huggingface/doc-builder/pull/228 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17438/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17438/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17438",
"html_url": "https://github.com/huggingface/transformers/pull/17438",
"diff_url": "https://github.com/huggingface/transformers/pull/17438.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17438.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17437 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17437/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17437/comments | https://api.github.com/repos/huggingface/transformers/issues/17437/events | https://github.com/huggingface/transformers/pull/17437 | 1,249,268,314 | PR_kwDOCUB6oc44gX_4 | 17,437 | OPT - Fix Softmax NaN in half precision mode | {
"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 @younesbelkada \r\n\r\n```\r\nexpanded_attn_mask = _expand_mask(attention_mask, inputs_embeds.dtype, tgt_len=input_shape[-1])\r\n```\r\nSo when running in `half precision`, `_expand_mask` will use `torch.finfo(dtype)` with `dtype ... | 1,653 | 1,664 | 1,656 | CONTRIBUTOR | null | # What does this PR do?
Fix overflow / unstable operation issues when using large OPT models in half precision
- As it is done in [Megatron-DeepSpeed](https://github.com/bigscience-workshop/Megatron-DeepSpeed/blob/908dc9cb4b9717707241eaf8b92a986b2e251218/megatron/model/fused_softmax.py#L205), for large models it ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17437/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17437/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17437",
"html_url": "https://github.com/huggingface/transformers/pull/17437",
"diff_url": "https://github.com/huggingface/transformers/pull/17437.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17437.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17436 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17436/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17436/comments | https://api.github.com/repos/huggingface/transformers/issues/17436/events | https://github.com/huggingface/transformers/pull/17436 | 1,249,251,277 | PR_kwDOCUB6oc44gUf0 | 17,436 | improve no-trainer examples | {
"login": "pacman100",
"id": 13534540,
"node_id": "MDQ6VXNlcjEzNTM0NTQw",
"avatar_url": "https://avatars.githubusercontent.com/u/13534540?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pacman100",
"html_url": "https://github.com/pacman100",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Opened a new PR on the branch of main repo instead of fork #17449 "
] | 1,653 | 1,653 | 1,653 | CONTRIBUTOR | null | # What does this PR do?
1. In no-trainer examples, `train_loss` being logged wasn't normalized and as such wasn't intuitive to understand. This also made it difficult to compare train loss between different tools such as comparing train loss from Trainer with that of Accelerate. This PR normalizes the train_loss per e... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17436/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17436/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17436",
"html_url": "https://github.com/huggingface/transformers/pull/17436",
"diff_url": "https://github.com/huggingface/transformers/pull/17436.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17436.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17435 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17435/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17435/comments | https://api.github.com/repos/huggingface/transformers/issues/17435/events | https://github.com/huggingface/transformers/pull/17435 | 1,249,246,541 | PR_kwDOCUB6oc44gTiJ | 17,435 | Fix doc builder Dockerfile | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"The goal of running it inside the dockerfile is to ensure it actually works before publishing the image, so that it doesn't fail at runtime. Do you know why it failed in the first place?",
"Thank you, I understand it better now. I ... | 1,653 | 1,655 | 1,655 | COLLABORATOR | null | # What does this PR do?
Fix the docker file in `transformers-doc-builder`.
~~(We don't need to run `doc-builder build` in the DockerFile, right? I think it is only for the CI runs.)~~
Currently, `Doc builder (Docker image build)` fails, see [this run](https://github.com/huggingface/transformers/actions/runs/23... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17435/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17435/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17435",
"html_url": "https://github.com/huggingface/transformers/pull/17435",
"diff_url": "https://github.com/huggingface/transformers/pull/17435.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17435.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17434 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17434/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17434/comments | https://api.github.com/repos/huggingface/transformers/issues/17434/events | https://github.com/huggingface/transformers/pull/17434 | 1,249,221,090 | PR_kwDOCUB6oc44gOWT | 17,434 | Docker image build in parallel | {
"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._",
"From the job run page, I saw\r\n\r\n```\r\n#18 exporting to image\r\n#18 pushing layers 35.6s done\r\n#18 pushing manifest for docker.io/huggingface/transformers-all-latest-gpu:latest@sha256:d8523684a112bff61a2899a69e06e05e26c507778d... | 1,653 | 1,654 | 1,654 | COLLABORATOR | null | # What does this PR do?
Remove `needs` in `.github/workflows/build-docker-images.yml`, as it can run in parallel now.
See this [run page](https://github.com/huggingface/transformers/actions/runs/2389099113) v.s. the [previous run page](https://github.com/huggingface/transformers/actions/runs/2388105533), with 14 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17434/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17434/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17434",
"html_url": "https://github.com/huggingface/transformers/pull/17434",
"diff_url": "https://github.com/huggingface/transformers/pull/17434.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17434.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17433 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17433/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17433/comments | https://api.github.com/repos/huggingface/transformers/issues/17433/events | https://github.com/huggingface/transformers/issues/17433 | 1,249,018,350 | I_kwDOCUB6oc5KcoHu | 17,433 | OPT produce NaN during batched generation | {
"login": "shijie-wu",
"id": 2987758,
"node_id": "MDQ6VXNlcjI5ODc3NTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2987758?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shijie-wu",
"html_url": "https://github.com/shijie-wu",
"followers_url": "https://api.github.com/users/sh... | [
{
"id": 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": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [
{
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url"... | [
"Hi @shijie-wu ! Thanks for pointing out the issue,\r\nIt appears that in our current implementation we use a naive Softmax function that is applied to the attention scores. When passing the attention scores combined with the attention mask we use very large values to mask padding tokens such as `torch.inf` or `-3.... | 1,653 | 1,659 | 1,659 | CONTRIBUTOR | null | ### System Info
* transformers==4.19.2
* PyTorch (GPU?): 1.11.0+cu102 (True)
* GPUs: single V100
### Who can help?
@LysandreJik, @younesbelkada
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [X] An officially supported task in the `examples` folder... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17433/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17433/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17432 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17432/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17432/comments | https://api.github.com/repos/huggingface/transformers/issues/17432/events | https://github.com/huggingface/transformers/issues/17432 | 1,249,016,882 | I_kwDOCUB6oc5Kcnwy | 17,432 | Make all configs nicely readable | {
"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://... | [
{
"id": 2392046359,
"node_id": "MDU6TGFiZWwyMzkyMDQ2MzU5",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20Second%20Issue",
"name": "Good Second Issue",
"color": "dd935a",
"default": false,
"description": "Issues that are more difficult to do than \"Good First... | closed | false | null | [] | [
"in strong favor of this!",
"PR: https://github.com/huggingface/transformers/pull/17457"
] | 1,653 | 1,654 | 1,654 | MEMBER | null | ### Feature request
All configs nicely readable (tokenizers & feature extractor)
### Motivation
https://huggingface.co/facebook/opt-30b/discussions/1
### Your contribution
Happy to do it early next week - happy if someone else wants to take it over though! | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17432/reactions",
"total_count": 3,
"+1": 3,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17432/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17431 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17431/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17431/comments | https://api.github.com/repos/huggingface/transformers/issues/17431/events | https://github.com/huggingface/transformers/issues/17431 | 1,248,944,934 | I_kwDOCUB6oc5KcWMm | 17,431 | Mismatch of special token ids between config and tokenizer config | {
"login": "shijie-wu",
"id": 2987758,
"node_id": "MDQ6VXNlcjI5ODc3NTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2987758?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shijie-wu",
"html_url": "https://github.com/shijie-wu",
"followers_url": "https://api.github.com/users/sh... | [
{
"id": 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 @shijie-wu ! That's indeed a bug in the model's config. Will update all of them now. The BOS token is identical to the EOS token and should therefore be 2 (=> the tokenizer has it correct here).",
"Also for the record, this is not a critical bug since in 99% of the times a user prompts OPT ... | 1,653 | 1,661 | 1,653 | CONTRIBUTOR | null | ### System Info
```shell
main branch
```
### Who can help?
@SaulLu, @LysandreJik
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [X] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17431/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17431/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17430 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17430/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17430/comments | https://api.github.com/repos/huggingface/transformers/issues/17430/events | https://github.com/huggingface/transformers/issues/17430 | 1,248,935,332 | I_kwDOCUB6oc5KcT2k | 17,430 | Logits size does not match vocabulary size when fine-tuning Hubert large with pyctcdecode | {
"login": "changyeli",
"id": 9058204,
"node_id": "MDQ6VXNlcjkwNTgyMDQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/9058204?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/changyeli",
"html_url": "https://github.com/changyeli",
"followers_url": "https://api.github.com/users/ch... | [
{
"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 @changyeli,\r\n\r\nI sadly cannot rerun your code to reproduce the error. Could you try to send a **minimal**, **fully reproducible** code snippet?\r\nE.g. I don't have access to `f\"../{ngram}gram_correct.arpa\"`",
"Hey @patrickvonplaten unfortunately it's a protected corpus so I can't upload the full file ... | 1,653 | 1,657 | 1,657 | NONE | null | ### System Info
```shell
- `transformers` version: 4.18.0
- Platform: Linux-5.13.0-44-generic-x86_64-with-glibc2.29
- Python version: 3.8.10
- Huggingface_hub version: 0.5.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/17430/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17430/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17429 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17429/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17429/comments | https://api.github.com/repos/huggingface/transformers/issues/17429/events | https://github.com/huggingface/transformers/issues/17429 | 1,248,701,914 | I_kwDOCUB6oc5Kba3a | 17,429 | raise ValueError("You have to specify either input_ids or inputs_embeds") | {
"login": "Ngheissari",
"id": 83084391,
"node_id": "MDQ6VXNlcjgzMDg0Mzkx",
"avatar_url": "https://avatars.githubusercontent.com/u/83084391?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Ngheissari",
"html_url": "https://github.com/Ngheissari",
"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": "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... | [
"Thanks for reporting, I'll take a look at this",
"Hi, @Ngheissari \r\n\r\nFor `VisionEncoderDecoderModel`, we have to provide the following as the inputs\r\n- `pixel_values`\r\n- either `decoder_input_ids` or `labels`\r\n\r\nIn you code snippet, you only prepare `pixel_values`, that's why the error occurs. ",
... | 1,653 | 1,703 | 1,659 | NONE | null | ### System Info
Hi,
I keep getting this error:
raise ValueError("You have to specify either input_ids or inputs_embeds")
ValueError: You have to specify either input_ids or inputs_embeds
### Sample code :
```shell
# Initializing a ViT & BERT style configuration
config_encoder = ViTConfig()
confi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17429/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17429/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17428 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17428/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17428/comments | https://api.github.com/repos/huggingface/transformers/issues/17428/events | https://github.com/huggingface/transformers/pull/17428 | 1,248,683,892 | PR_kwDOCUB6oc44ebaf | 17,428 | Disk offload fix | {
"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,653 | 1,654 | 1,654 | COLLABORATOR | null | # What does this PR do?
This PR fixes the disk offloading for pretrained models (requires latest accelerate main branch) and adds a test. The test passes locally for GPT-2, GPT-J, OPT and T5 (the only model where it's activated right now). | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17428/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17428/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17428",
"html_url": "https://github.com/huggingface/transformers/pull/17428",
"diff_url": "https://github.com/huggingface/transformers/pull/17428.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17428.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17427 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17427/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17427/comments | https://api.github.com/repos/huggingface/transformers/issues/17427/events | https://github.com/huggingface/transformers/pull/17427 | 1,248,652,018 | PR_kwDOCUB6oc44eUp3 | 17,427 | Add TF ResNet model | {
"login": "amyeroberts",
"id": 22614925,
"node_id": "MDQ6VXNlcjIyNjE0OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/22614925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amyeroberts",
"html_url": "https://github.com/amyeroberts",
"followers_url": "https://api.github.com/... | [
{
"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._",
"Swapping @sgugger and @LysandreJik as Lysandre's off and adding @Rocketknight1 for the TF side. ",
"I'm seeing a failure in `test_keras_fit` - it looks like the outputs are different depending on whether the labels are passed in th... | 1,653 | 1,656 | 1,656 | COLLABORATOR | null | Adds a tensorflow implementation of the ResNet model + associated tests.
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17427/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17427/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17427",
"html_url": "https://github.com/huggingface/transformers/pull/17427",
"diff_url": "https://github.com/huggingface/transformers/pull/17427.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17427.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17426 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17426/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17426/comments | https://api.github.com/repos/huggingface/transformers/issues/17426/events | https://github.com/huggingface/transformers/pull/17426 | 1,248,633,822 | PR_kwDOCUB6oc44eQt6 | 17,426 | TF: GPT-2 generation supports left-padding | {
"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._",
"@patrickvonplaten made the changes we talked about 👍 ~~There are a couple of tests failing, but I don't think they are related to these changes (like torch tests)~~ ",
"Cool ! Looks good to me, if possible it'd be great if @sgugg... | 1,653 | 1,654 | 1,654 | MEMBER | null | # What does this PR do?
This PR does two things:
1. Enables left-padding with GPT-2 generation.
- It was working before only with XLA and was left as a TODO;
- 🚨 Naturally, tests had to be changed. In the batched tests, the shortest sequence is now different, as a consequence of the correct processing o... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17426/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17426/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17426",
"html_url": "https://github.com/huggingface/transformers/pull/17426",
"diff_url": "https://github.com/huggingface/transformers/pull/17426.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17426.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17425 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17425/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17425/comments | https://api.github.com/repos/huggingface/transformers/issues/17425/events | https://github.com/huggingface/transformers/issues/17425 | 1,248,631,378 | I_kwDOCUB6oc5KbJpS | 17,425 | The tokenizer config for OPT-30B is missing a pad token | {
"login": "aninrusimha",
"id": 30733039,
"node_id": "MDQ6VXNlcjMwNzMzMDM5",
"avatar_url": "https://avatars.githubusercontent.com/u/30733039?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aninrusimha",
"html_url": "https://github.com/aninrusimha",
"followers_url": "https://api.github.com/... | [
{
"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 | [] | [
"That's an important bug and completely on me! Thanks a mille for spotting it @aninrusimha !",
"Fixed it - https://huggingface.co/facebook/opt-30b/discussions/1"
] | 1,653 | 1,653 | 1,653 | NONE | null | ### System Info
```shell
Version 4.20.0.dev0, built from source
Issue is in https://huggingface.co/facebook/opt-30b/blob/main/tokenizer_config.json
```
### Who can help?
@patrickvonplaten has his name in the code :)
Discovered when testing the OPT models on various datasets.
https://huggingface.co/facebook/opt-3... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17425/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17425/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17424 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17424/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17424/comments | https://api.github.com/repos/huggingface/transformers/issues/17424/events | https://github.com/huggingface/transformers/issues/17424 | 1,248,617,298 | I_kwDOCUB6oc5KbGNS | 17,424 | Inconsistent behavior in generate when output_scores=True | {
"login": "shijie-wu",
"id": 2987758,
"node_id": "MDQ6VXNlcjI5ODc3NTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2987758?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shijie-wu",
"html_url": "https://github.com/shijie-wu",
"followers_url": "https://api.github.com/users/sh... | [
{
"id": 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 | [] | [
"Great find @shijie-wu,\r\n\r\nWe've settled on outputting the processed scores since those are the ones that determine the next token, e.g. argmax and sample is taken on those scores. Given the name of the flag (`output_scores`), I think this makes the most sense. \r\nWill open a PR to fix `greedy_search` here. \r... | 1,653 | 1,654 | 1,654 | CONTRIBUTOR | null | ### System Info
main branch
### Who can help?
@patrickvonplaten, @Narsil, @gante
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [X] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give de... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17424/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17424/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17423 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17423/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17423/comments | https://api.github.com/repos/huggingface/transformers/issues/17423/events | https://github.com/huggingface/transformers/pull/17423 | 1,248,608,309 | PR_kwDOCUB6oc44eLRr | 17,423 | Wav2vec2 finetuning shared file system | {
"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,653 | 1,653 | 1,653 | MEMBER | null | # What does this PR do?
Make wav2vec2 fine-tuning script more robust when dealing with multi-node / shared file systems (interesting edge case :sweat_smile: )
Fixes #17412
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [ ] Did y... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17423/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/17423/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17423",
"html_url": "https://github.com/huggingface/transformers/pull/17423",
"diff_url": "https://github.com/huggingface/transformers/pull/17423.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17423.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17422 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17422/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17422/comments | https://api.github.com/repos/huggingface/transformers/issues/17422/events | https://github.com/huggingface/transformers/issues/17422 | 1,248,585,326 | I_kwDOCUB6oc5Ka-Zu | 17,422 | XGLM onnx support | {
"login": "FrankHeijden",
"id": 22407829,
"node_id": "MDQ6VXNlcjIyNDA3ODI5",
"avatar_url": "https://avatars.githubusercontent.com/u/22407829?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/FrankHeijden",
"html_url": "https://github.com/FrankHeijden",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"cc @lewtun",
"Hey @FrankHeijden, indeed this architecture is not yet supported in the ONNX exporter. If you'd like to have a go at it yourself, you can follow [this guide](https://huggingface.co/docs/transformers/v4.19.2/en/serialization#exporting-a-model-for-an-unsupported-architecture) and use the `BartOnxxCon... | 1,653 | 1,656 | 1,656 | NONE | null | ### Feature request
I am trying to convert an XGLM based model using the following command, but am receiving an error that onnx does not support an XGLM based model:
```
./venv/bin/python -m transformers.onnx --model=facebook/incoder-1B onnx/
```
Error:
```
KeyError: "xglm is not supported yet. Only ['albert... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17422/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17422/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17421 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17421/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17421/comments | https://api.github.com/repos/huggingface/transformers/issues/17421/events | https://github.com/huggingface/transformers/pull/17421 | 1,248,490,030 | PR_kwDOCUB6oc44dxXG | 17,421 | Add link to Hub PR docs in model cards | {
"login": "lewtun",
"id": 26859204,
"node_id": "MDQ6VXNlcjI2ODU5MjA0",
"avatar_url": "https://avatars.githubusercontent.com/u/26859204?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lewtun",
"html_url": "https://github.com/lewtun",
"followers_url": "https://api.github.com/users/lewtun/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,653 | 1,653 | 1,653 | MEMBER | null | # What does this PR do?
This PR update the model card guide to point to the new Hub PR feature. I couldn't find the docs on https://huggingface.co/docs/hub/main so decided to link to the raw file for now.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17421/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17421/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17421",
"html_url": "https://github.com/huggingface/transformers/pull/17421",
"diff_url": "https://github.com/huggingface/transformers/pull/17421.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17421.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17420 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17420/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17420/comments | https://api.github.com/repos/huggingface/transformers/issues/17420/events | https://github.com/huggingface/transformers/pull/17420 | 1,248,482,482 | PR_kwDOCUB6oc44dvnB | 17,420 | Add Gated-SiLU to T5 | {
"login": "DanielHesslow",
"id": 9974388,
"node_id": "MDQ6VXNlcjk5NzQzODg=",
"avatar_url": "https://avatars.githubusercontent.com/u/9974388?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DanielHesslow",
"html_url": "https://github.com/DanielHesslow",
"followers_url": "https://api.github.... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hmm, yeah so I think I understand what you want to do, but I really don't understand why.\r\n\r\nfor back compatibility we want:\r\n- non-gated activation function if you specify `feed_forward_proj='relu'`\r\n- gated activation funct... | 1,653 | 1,654 | 1,654 | CONTRIBUTOR | null | # What does this PR do?
Adds gated SiLU to the t5 model in order to support recently the released UL2 model: https://github.com/google-research/google-research/tree/master/ul2
@patrickvonplaten, @patil-suraj
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17420/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17420/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17420",
"html_url": "https://github.com/huggingface/transformers/pull/17420",
"diff_url": "https://github.com/huggingface/transformers/pull/17420.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17420.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17419 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17419/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17419/comments | https://api.github.com/repos/huggingface/transformers/issues/17419/events | https://github.com/huggingface/transformers/pull/17419 | 1,248,298,739 | PR_kwDOCUB6oc44dMIb | 17,419 | fix link in performance docs | {
"login": "lvwerra",
"id": 8264887,
"node_id": "MDQ6VXNlcjgyNjQ4ODc=",
"avatar_url": "https://avatars.githubusercontent.com/u/8264887?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lvwerra",
"html_url": "https://github.com/lvwerra",
"followers_url": "https://api.github.com/users/lvwerra/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,653 | 1,653 | 1,653 | MEMBER | null | This PR fixes the link from `perf_train_gpu_single` to `perf_train_gpu_one ` in `performance.mdx` doc.
Thanks for reporting @stas00! | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17419/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17419/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17419",
"html_url": "https://github.com/huggingface/transformers/pull/17419",
"diff_url": "https://github.com/huggingface/transformers/pull/17419.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17419.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17418 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17418/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17418/comments | https://api.github.com/repos/huggingface/transformers/issues/17418/events | https://github.com/huggingface/transformers/issues/17418 | 1,248,232,631 | I_kwDOCUB6oc5KZoS3 | 17,418 | DEIT -Some weights of the model checkpoint at facebook/deit-base-patch16-224 were not used when initializing DeiTMode | {
"login": "kanlions",
"id": 13251893,
"node_id": "MDQ6VXNlcjEzMjUxODkz",
"avatar_url": "https://avatars.githubusercontent.com/u/13251893?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kanlions",
"html_url": "https://github.com/kanlions",
"followers_url": "https://api.github.com/users/kan... | [
{
"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\nThat's because the checkpoint you are loading ([facebook/deit-base-patch16-224](https://huggingface.co/facebook/deit-base-patch16-224)) needs to be loaded in a `ViTModel`/`ViTForImageClassification` rather than a `DeiTModel`. As explained in the [docs](https://huggingface.co/docs/transformers/model_doc/... | 1,653 | 1,656 | 1,656 | NONE | null | ### System Info
```shell
Nvidia 3080
Windows 11
```
### Who can help?
@NielsRogge
The warning I get is this and a big list of layers
You are using a model of type vit to instantiate a model of type deit. This is not supported for all configurations of models and can yield errors.
Some weights of the model check... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17418/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17418/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17417 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17417/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17417/comments | https://api.github.com/repos/huggingface/transformers/issues/17417/events | https://github.com/huggingface/transformers/pull/17417 | 1,248,192,563 | PR_kwDOCUB6oc44c16T | 17,417 | Use latest stable PyTorch/DeepSpeed for Push & Scheduled CI | {
"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._",
"@stas00 \r\n\r\nRegarding `transformers-pytorch-gpu`:\r\n\r\nhttps://github.com/huggingface/transformers/blob/7e46ec71371b5e705522821e741d7c0dac910859/docker/transformers-pytorch-gpu/Dockerfile#L17\r\n\r\nHere we only upgrade `torch`... | 1,653 | 1,654 | 1,654 | COLLABORATOR | null | # What does this PR do?
(**As there are a few PRs waiting for review, feel free to postpone the review for this PR if things get confusing at this moment**)
Currently:
- scheduled CI uses latest stable PyTorch (OK) + nightly DeepSpeed (Not OK)
- push CI uses PyTorch 1.9 (Not OK) + latest stable DeepSpeed (OK)
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17417/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17417/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17417",
"html_url": "https://github.com/huggingface/transformers/pull/17417",
"diff_url": "https://github.com/huggingface/transformers/pull/17417.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17417.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17416 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17416/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17416/comments | https://api.github.com/repos/huggingface/transformers/issues/17416/events | https://github.com/huggingface/transformers/pull/17416 | 1,248,104,062 | PR_kwDOCUB6oc44ci7Z | 17,416 | Update AutoTokenizer.from_pretrained documentation examples | {
"login": "c00k1ez",
"id": 16941854,
"node_id": "MDQ6VXNlcjE2OTQxODU0",
"avatar_url": "https://avatars.githubusercontent.com/u/16941854?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/c00k1ez",
"html_url": "https://github.com/c00k1ez",
"followers_url": "https://api.github.com/users/c00k1e... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,653 | 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/17416/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 1,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17416/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17416",
"html_url": "https://github.com/huggingface/transformers/pull/17416",
"diff_url": "https://github.com/huggingface/transformers/pull/17416.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17416.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17415 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17415/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17415/comments | https://api.github.com/repos/huggingface/transformers/issues/17415/events | https://github.com/huggingface/transformers/pull/17415 | 1,248,097,055 | PR_kwDOCUB6oc44chZD | 17,415 | Fix a typo in `Trainer` (remove parenthesis) | {
"login": "mikcnt",
"id": 11929535,
"node_id": "MDQ6VXNlcjExOTI5NTM1",
"avatar_url": "https://avatars.githubusercontent.com/u/11929535?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mikcnt",
"html_url": "https://github.com/mikcnt",
"followers_url": "https://api.github.com/users/mikcnt/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,653 | 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/17415/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17415/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17415",
"html_url": "https://github.com/huggingface/transformers/pull/17415",
"diff_url": "https://github.com/huggingface/transformers/pull/17415.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17415.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17414 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17414/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17414/comments | https://api.github.com/repos/huggingface/transformers/issues/17414/events | https://github.com/huggingface/transformers/issues/17414 | 1,248,085,138 | I_kwDOCUB6oc5KZESS | 17,414 | Different behaviours for `tf/flax` and `pt` on `generate(max_length = len of input id)` | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | closed | false | null | [] | [
"@ArthurZucker small tip, it's nicer to show code + error message as follows:\r\n\r\n```py\r\n>>> from transformers import GPT2LMHeadModel, TFGPT2LMHeadModel, GPT2Tokenizer\r\n\r\n>>> pt_model = GPT2LMHeadModel.from_pretrained('gpt2')\r\n>>> tf_model = TFGPT2LMHeadModel.from_pretrained('gpt2')\r\n\r\n>>> tokenizer ... | 1,653 | 1,665 | 1,665 | COLLABORATOR | null | ### System Info
```shell
- `transformers` version: 4.20.0.dev0
- Platform: macOS-12.4-arm64-arm-64bit
- Python version: 3.9.12
- Huggingface_hub version: 0.6.0
- PyTorch version (GPU?): 1.13.0.dev20220521 (False)
- Tensorflow version (GPU?): 2.9.0 (True)
- Flax version (CPU?/GPU?/TPU?): 0.4.2 (cpu)
- Jax versio... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17414/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17414/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17413 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17413/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17413/comments | https://api.github.com/repos/huggingface/transformers/issues/17413/events | https://github.com/huggingface/transformers/pull/17413 | 1,247,973,493 | PR_kwDOCUB6oc44cGuj | 17,413 | [WIP]Add splinter test tokenization file | {
"login": "farahdian",
"id": 72678356,
"node_id": "MDQ6VXNlcjcyNjc4MzU2",
"avatar_url": "https://avatars.githubusercontent.com/u/72678356?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/farahdian",
"html_url": "https://github.com/farahdian",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hi @farahdian , thank you very much for your contribution. I see that several tests have failed, is this still a work in progress? ",
"> Hi @farahdian , thank you very much for your contribution. I see that several tests have faile... | 1,653 | 1,664 | 1,664 | NONE | null | # What does this PR do?
This PR adds test tokenization file for Splinter. It inherits from BERT Tokenizer.
Contributes fixes to issue https://github.com/huggingface/transformers/issues/16627
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17413/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17413/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17413",
"html_url": "https://github.com/huggingface/transformers/pull/17413",
"diff_url": "https://github.com/huggingface/transformers/pull/17413.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17413.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17412 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17412/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17412/comments | https://api.github.com/repos/huggingface/transformers/issues/17412/events | https://github.com/huggingface/transformers/issues/17412 | 1,247,910,740 | I_kwDOCUB6oc5KYZtU | 17,412 | wav2vec2 multi-node training problems in a shared file system | {
"login": "gullabi",
"id": 40303490,
"node_id": "MDQ6VXNlcjQwMzAzNDkw",
"avatar_url": "https://avatars.githubusercontent.com/u/40303490?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gullabi",
"html_url": "https://github.com/gullabi",
"followers_url": "https://api.github.com/users/gullab... | [
{
"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 | [] | [
"When instantiating a metric in a distributed setup, you need to specify it:\r\n```python\r\nload_metric(..., process_id=rank, num_process=total_world_size)\r\n```\r\nthis way there will be no collision on the files used to store the predictions and references used to compute the metric.\r\n\r\n(and this makes me t... | 1,653 | 1,656 | 1,653 | NONE | null | ### System Info
```shell
- `transformers` version: 4.18.0
- Platform: Linux-4.18.0-147.8.1.el8_1.x86_64-x86_64-with-centos-8.1.1911-Core
- Python version: 3.7.4
- Huggingface_hub version: 0.1.2
- PyTorch version (GPU?): 1.9.0+rocm4.0.1 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/G... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17412/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17412/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17411 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17411/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17411/comments | https://api.github.com/repos/huggingface/transformers/issues/17411/events | https://github.com/huggingface/transformers/issues/17411 | 1,247,714,625 | I_kwDOCUB6oc5KXp1B | 17,411 | can't run (TF)BartForConditionalGeneration.generation on GPU, it's speed very very very slow | {
"login": "TheHonestBob",
"id": 58240629,
"node_id": "MDQ6VXNlcjU4MjQwNjI5",
"avatar_url": "https://avatars.githubusercontent.com/u/58240629?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TheHonestBob",
"html_url": "https://github.com/TheHonestBob",
"followers_url": "https://api.github.c... | [] | 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... | [
"Hey @TheHonestBob 👋 We are aware of the generate speed problems with TensorFlow, and will be releasing an update very soon. It is not a bug, but rather how Eager Execution works, sadly. Stay tuned 🤞 ",
"> Hey @TheHonestBob 👋 We are aware of the generate speed problems with TensorFlow, and will be releasing a... | 1,653 | 1,659 | 1,659 | NONE | null | ### System Info
```shell
transformers==4.19
tensorflow-gpu==2.3
torch==1.11
```
### Who can help?
@patil-suraj@patrickvonplaten, @Narsil, @gante@Rocketknight1
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [X] An officially supported task in the `examples` folder ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17411/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/17411/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17410 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17410/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17410/comments | https://api.github.com/repos/huggingface/transformers/issues/17410/events | https://github.com/huggingface/transformers/issues/17410 | 1,247,488,389 | I_kwDOCUB6oc5KWymF | 17,410 | TFBartForConditionalGeneration.generate is very very slow,but not BartForConditionalGeneration.generate。 | {
"login": "TheHonestBob",
"id": 58240629,
"node_id": "MDQ6VXNlcjU4MjQwNjI5",
"avatar_url": "https://avatars.githubusercontent.com/u/58240629?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TheHonestBob",
"html_url": "https://github.com/TheHonestBob",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [] | 1,653 | 1,653 | 1,653 | NONE | null | when I use TFBartForConditionalGeneration.generate so slow, but BartForConditionalGeneration.generate is ok, here is some suggestion for me, thinks a lot. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17410/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17410/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17409 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17409/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17409/comments | https://api.github.com/repos/huggingface/transformers/issues/17409/events | https://github.com/huggingface/transformers/pull/17409 | 1,247,389,890 | PR_kwDOCUB6oc44aG5z | 17,409 | fix layoutlmv2 doc page | {
"login": "garyhlai",
"id": 22721482,
"node_id": "MDQ6VXNlcjIyNzIxNDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/22721482?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/garyhlai",
"html_url": "https://github.com/garyhlai",
"followers_url": "https://api.github.com/users/gar... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_17409). 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,653 | 1,657 | 1,657 | CONTRIBUTOR | null | # What does this PR do?
Quick follow up PR to #17168 to address @NielsRogge 's comments
Clarify that the `torchvision` and `tesseract` packages are optional dependencies for LayoutLMv2.
## Who can review?
@sgugger @NielsRogge
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17409/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17409/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17409",
"html_url": "https://github.com/huggingface/transformers/pull/17409",
"diff_url": "https://github.com/huggingface/transformers/pull/17409.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17409.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17408 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17408/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17408/comments | https://api.github.com/repos/huggingface/transformers/issues/17408/events | https://github.com/huggingface/transformers/pull/17408 | 1,247,161,883 | PR_kwDOCUB6oc44ZVJj | 17,408 | Make check_init script more robust and clean inits | {
"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,653 | 1,653 | 1,653 | COLLABORATOR | null | # What does this PR do?
This PR was triggered by the inits deactivating the formatter (see `wav2_vec2_with_lm` below) which was a bit sad. In one line, `check_inits.py` was unable to parse `_import_structure` initialized in one line, this PR addresses that and cleans many model inits.
HuBERT also contained some r... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17408/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17408/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17408",
"html_url": "https://github.com/huggingface/transformers/pull/17408",
"diff_url": "https://github.com/huggingface/transformers/pull/17408.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17408.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17407 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17407/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17407/comments | https://api.github.com/repos/huggingface/transformers/issues/17407/events | https://github.com/huggingface/transformers/pull/17407 | 1,247,103,616 | PR_kwDOCUB6oc44ZIrp | 17,407 | Fix README localizer script | {
"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,653 | 1,653 | 1,653 | COLLABORATOR | null | # What does this PR do?
Currently, the script that updates the localized READMEs does not remove duplicates. This PR fixes that. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17407/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17407/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17407",
"html_url": "https://github.com/huggingface/transformers/pull/17407",
"diff_url": "https://github.com/huggingface/transformers/pull/17407.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17407.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17406 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17406/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17406/comments | https://api.github.com/repos/huggingface/transformers/issues/17406/events | https://github.com/huggingface/transformers/issues/17406 | 1,247,100,364 | I_kwDOCUB6oc5KVT3M | 17,406 | NotebookProgressCallback doesn't work in databricks notebooks properly--should either be fixed or removed from trainer automatically if it is a databricks runtime | {
"login": "Ashvio",
"id": 11758693,
"node_id": "MDQ6VXNlcjExNzU4Njkz",
"avatar_url": "https://avatars.githubusercontent.com/u/11758693?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Ashvio",
"html_url": "https://github.com/Ashvio",
"followers_url": "https://api.github.com/users/Ashvio/fo... | [] | closed | false | null | [] | [
"Do you know which test we could do to easily detect if we are in a `Databrick` runtime?",
"> Do you know which test we could do to easily detect if we are in a `Databrick` runtime?\r\n\r\nFrom stackoverflow:\r\n\r\n```\r\ndef isRunningInDatabricks(): Boolean = \r\n sys.env.contains(\"DATABRICKS_RUNTIME_VERSION\... | 1,653 | 1,656 | 1,654 | NONE | null | https://github.com/huggingface/transformers/blob/71e602725b90f63f404109bae9f72cbdf755477b/src/transformers/utils/notebook.py#L269
Hey all,
Using databricks for training, the default Trainer behavior will automatically add NotebookProgressCallback for databricks notebooks, but the databricks UI currently does not di... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17406/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17406/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17405 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17405/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17405/comments | https://api.github.com/repos/huggingface/transformers/issues/17405/events | https://github.com/huggingface/transformers/issues/17405 | 1,247,095,456 | I_kwDOCUB6oc5KVSqg | 17,405 | Unable to instantiate ImageGPTFeatureExtractor | {
"login": "aleSuglia",
"id": 1479733,
"node_id": "MDQ6VXNlcjE0Nzk3MzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/1479733?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aleSuglia",
"html_url": "https://github.com/aleSuglia",
"followers_url": "https://api.github.com/users/al... | [
{
"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 because you do not have `Pillow` installed. We have fixed the error message in #17289 (will be in the next release but is not in 4.19.2) to let you know explicitly you should do `pip install pillow`.",
"Thanks @sgugger but unfortunately installing Pillow didn't fix it for me. While debugging, I can see t... | 1,653 | 1,656 | 1,656 | CONTRIBUTOR | null | ### System Info
```shell
- `transformers` version: 4.19.2
- Platform: macOS-12.3.1-arm64-arm-64bit
- Python version: 3.9.9
- Huggingface_hub version: 0.4.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/17405/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17405/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17404 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17404/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17404/comments | https://api.github.com/repos/huggingface/transformers/issues/17404/events | https://github.com/huggingface/transformers/issues/17404 | 1,247,067,318 | I_kwDOCUB6oc5KVLy2 | 17,404 | No 'Translation template' | {
"login": "mfumanelli",
"id": 53374883,
"node_id": "MDQ6VXNlcjUzMzc0ODgz",
"avatar_url": "https://avatars.githubusercontent.com/u/53374883?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mfumanelli",
"html_url": "https://github.com/mfumanelli",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi @mfumanelli! Thank you for your issue 🤗. Would the translation be for Italian? @sgugger @osanseviero, would this be a step we would wish to pursue?\r\n\r\nIf that is the case, @mfumanelli, you can use the format in issues #15947 and #16824. Particularly:\r\n- Use informal language.\r\n- Use inclusive language;... | 1,653 | 1,653 | 1,653 | CONTRIBUTOR | null | Hi!
Following the [TRANSLATING guide](https://github.com/huggingface/transformers/blob/main/docs/TRANSLATING.md), I realised that there is no 'Translation template' when I try to open an issue.
I would like to try to fix the bug myself by creating the template from: [#15947](https://github.com/huggingface/transfo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17404/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17404/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17403 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17403/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17403/comments | https://api.github.com/repos/huggingface/transformers/issues/17403/events | https://github.com/huggingface/transformers/issues/17403 | 1,246,937,364 | I_kwDOCUB6oc5KUsEU | 17,403 | Error in TAPAS Tokenizer | {
"login": "shivangibithel",
"id": 19774925,
"node_id": "MDQ6VXNlcjE5Nzc0OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/19774925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shivangibithel",
"html_url": "https://github.com/shivangibithel",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"Hello @shivangibithel,\r\n\r\nYou are entering the following loop:\r\nhttps://github.com/huggingface/transformers/blob/71e602725b90f63f404109bae9f72cbdf755477b/src/transformers/tokenization_utils.py#L508-L514\r\n\r\nbecause `do_lower_case` is a paramer that need to be filled in when initializing the tokenizer (or ... | 1,653 | 1,655 | 1,655 | NONE | null | ### System Info
```shell
Google Colab CPU
```
### Who can help?
@SaulLu @NielsRogge
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [X] My own task or dataset (give details below)
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17403/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17403/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17402 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17402/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17402/comments | https://api.github.com/repos/huggingface/transformers/issues/17402/events | https://github.com/huggingface/transformers/issues/17402 | 1,246,924,606 | I_kwDOCUB6oc5KUo8- | 17,402 | illegal hardware instruction | {
"login": "Jasperty",
"id": 37020799,
"node_id": "MDQ6VXNlcjM3MDIwNzk5",
"avatar_url": "https://avatars.githubusercontent.com/u/37020799?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Jasperty",
"html_url": "https://github.com/Jasperty",
"followers_url": "https://api.github.com/users/Jas... | [
{
"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 due to you installation of tensorflow and not necessarily the library . \r\nDid you try installing with \r\n```\r\nconda install -c apple tensorflow-deps\r\npython -m pip install tensorflow-macos\r\npython -m pip install tensorflow-metal\r\n```\r\n\r\nAlso it is recommended to install using [Mini... | 1,653 | 1,695 | 1,656 | NONE | null | ### System Info
```shell
i use macbookpro, and pip install transformers, but i get this error:
>>> from transformers import DistilBertConfig
zsh: illegal hardware instruction python
could you help me?
```
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [X] My own modified ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17402/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17402/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17401 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17401/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17401/comments | https://api.github.com/repos/huggingface/transformers/issues/17401/events | https://github.com/huggingface/transformers/pull/17401 | 1,246,917,965 | PR_kwDOCUB6oc44Yg0V | 17,401 | Add test for new model parallelism features | {
"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,653 | 1,653 | 1,653 | COLLABORATOR | null | # What does this PR do?
This PR adds common tests for the new model parallelism/CPU offload features. Those are activated for models having a `_no_split_modules` attribute, so for now GPT-2, GPT-J, OPT and T5. The tests are only run on GPU and multi-GPU (so the CI won't catch any failure on the PR) but they all pass... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17401/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17401/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17401",
"html_url": "https://github.com/huggingface/transformers/pull/17401",
"diff_url": "https://github.com/huggingface/transformers/pull/17401.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17401.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17400 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17400/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17400/comments | https://api.github.com/repos/huggingface/transformers/issues/17400/events | https://github.com/huggingface/transformers/pull/17400 | 1,246,916,386 | PR_kwDOCUB6oc44YgeS | 17,400 | Bump tensorflow from 2.8.0 to 2.8.1 in /examples/research_projects/decision_transformer | {
"login": "dependabot[bot]",
"id": 49699333,
"node_id": "MDM6Qm90NDk2OTkzMzM=",
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dependabot%5Bbot%5D",
"html_url": "https://github.com/apps/dependabot",
"followers_url": "https://a... | [
{
"id": 1905493434,
"node_id": "MDU6TGFiZWwxOTA1NDkzNDM0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/dependencies",
"name": "dependencies",
"color": "0366d6",
"default": false,
"description": "Pull requests that update a dependency file"
}
] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,653 | 1,653 | 1,653 | CONTRIBUTOR | null | Bumps [tensorflow](https://github.com/tensorflow/tensorflow) from 2.8.0 to 2.8.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/tensorflow/tensorflow/releases">tensorflow's releases</a>.</em></p>
<blockquote>
<h2>TensorFlow 2.8.1</h2>
<h1>Release 2.8.1</h1>
<p>This releases ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17400/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17400/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17400",
"html_url": "https://github.com/huggingface/transformers/pull/17400",
"diff_url": "https://github.com/huggingface/transformers/pull/17400.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17400.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17399 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17399/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17399/comments | https://api.github.com/repos/huggingface/transformers/issues/17399/events | https://github.com/huggingface/transformers/issues/17399 | 1,246,769,470 | I_kwDOCUB6oc5KUDE- | 17,399 | [RFC] Scan & Gradient checkpointing in Flax | {
"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://... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | open | false | null | [] | [
"I'm not sure you would need both versions within a same script (scan and unscanned, or with and without checkpointing which affects only training anyway).\r\n\r\nThen maybe you could just add it directly as an arg to `model.from_pretrained(..., scan=False, gradient_checkpointing=False)`\r\n\r\nYou would just have ... | 1,653 | 1,656 | null | MEMBER | null | ### Feature request
We should add scan and remat (gradient checkpointing) to the most important Flax/JAX models (BERT, GPT2, OPT, T5, BART, Wav2Vec2).
### Motivation
Scan allows for much faster compilation and memory savings and `remat` is the equivalent of `gradient_checkpointing` in PyTorch.
@sanchit-gandhi alr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17399/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17399/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17398 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17398/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17398/comments | https://api.github.com/repos/huggingface/transformers/issues/17398/events | https://github.com/huggingface/transformers/pull/17398 | 1,246,660,597 | PR_kwDOCUB6oc44Xpcp | 17,398 | typo IBERT in __repr__ quant_mode | {
"login": "scratchmex",
"id": 4014888,
"node_id": "MDQ6VXNlcjQwMTQ4ODg=",
"avatar_url": "https://avatars.githubusercontent.com/u/4014888?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/scratchmex",
"html_url": "https://github.com/scratchmex",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"@LysandreJik @kssteven418 ",
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,653 | 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 th... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17398/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17398/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17398",
"html_url": "https://github.com/huggingface/transformers/pull/17398",
"diff_url": "https://github.com/huggingface/transformers/pull/17398.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17398.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17397 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17397/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17397/comments | https://api.github.com/repos/huggingface/transformers/issues/17397/events | https://github.com/huggingface/transformers/issues/17397 | 1,246,656,307 | I_kwDOCUB6oc5KTncz | 17,397 | typo IBERT in `__repr__` | {
"login": "scratchmex",
"id": 4014888,
"node_id": "MDQ6VXNlcjQwMTQ4ODg=",
"avatar_url": "https://avatars.githubusercontent.com/u/4014888?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/scratchmex",
"html_url": "https://github.com/scratchmex",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [] | 1,653 | 1,653 | 1,653 | CONTRIBUTOR | null | should be `quant_mode: {self.quant_mode}` in here
https://github.com/huggingface/transformers/blob/71e602725b90f63f404109bae9f72cbdf755477b/src/transformers/models/ibert/quant_modules.py#L150-L155 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17397/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17397/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17396 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17396/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17396/comments | https://api.github.com/repos/huggingface/transformers/issues/17396/events | https://github.com/huggingface/transformers/issues/17396 | 1,246,607,254 | I_kwDOCUB6oc5KTbeW | 17,396 | check min version | {
"login": "milad1378yz",
"id": 62007769,
"node_id": "MDQ6VXNlcjYyMDA3NzY5",
"avatar_url": "https://avatars.githubusercontent.com/u/62007769?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/milad1378yz",
"html_url": "https://github.com/milad1378yz",
"followers_url": "https://api.github.com/... | [
{
"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 | [] | [
"Hello! The `4.20.dev0` version means that it's the current `main` branch. The recommended way to run these examples is to clone the repository.\r\n\r\nSee the following note: https://github.com/huggingface/transformers/tree/main/examples#important-note",
"This issue has been automatically marked as stale because... | 1,653 | 1,656 | 1,656 | NONE | null | ### System Info
```shell
Hi, in transformers/examples/pytorch/text-classification/run_glue.py in line 50, there is a line of code :
'''
check_min_version("4.20.0.dev0")
'''
and there is no 4.20.0 version so I think it should be corrected.
```
### Who can help?
_No response_
### Information
- [x] The official ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17396/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17396/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17395 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17395/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17395/comments | https://api.github.com/repos/huggingface/transformers/issues/17395/events | https://github.com/huggingface/transformers/pull/17395 | 1,246,573,406 | PR_kwDOCUB6oc44XW-6 | 17,395 | Fix expected value for OPT test `test_inference_no_head` | {
"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,653 | 1,653 | 1,653 | COLLABORATOR | null | # What does this PR do?
- Update the expected value in the test `OPTModelIntegrationTests.test_inference_no_head` to have more precisions
- Lower atol to `5e-5`
On GPU VM, the test has to be run with TF32 disabled (or without TF32 support).
See: https://pytorch.org/docs/stable/notes/cuda.html
Related discuss... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17395/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17395/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17395",
"html_url": "https://github.com/huggingface/transformers/pull/17395",
"diff_url": "https://github.com/huggingface/transformers/pull/17395.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17395.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17394 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17394/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17394/comments | https://api.github.com/repos/huggingface/transformers/issues/17394/events | https://github.com/huggingface/transformers/issues/17394 | 1,246,536,553 | I_kwDOCUB6oc5KTKNp | 17,394 | Inconsistency multiple mask in fill-mask | {
"login": "mo6zes",
"id": 10004251,
"node_id": "MDQ6VXNlcjEwMDA0MjUx",
"avatar_url": "https://avatars.githubusercontent.com/u/10004251?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mo6zes",
"html_url": "https://github.com/mo6zes",
"followers_url": "https://api.github.com/users/mo6zes/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 | [] | [
"nvm it seems deliberate https://github.com/huggingface/transformers/blob/374a2f693f75305eded1a2bb7a7e452f0ab33fad/src/transformers/pipelines/fill_mask.py#L137-L140"
] | 1,653 | 1,653 | 1,653 | NONE | null | ### System Info
```shell
- `transformers` version: 4.14.1
- Platform: Darwin-21.5.0-x86_64-i386-64bit
- Python version: 3.6.13
- PyTorch version (GPU?): 1.10.2 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- JaxLib ver... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17394/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17394/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17393 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17393/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17393/comments | https://api.github.com/repos/huggingface/transformers/issues/17393/events | https://github.com/huggingface/transformers/pull/17393 | 1,246,474,179 | PR_kwDOCUB6oc44XCsT | 17,393 | Fx support for multiple model architectures | {
"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._",
"@michaelbenayoun \r\n```\r\nimport inspect\r\n\r\nimport transformers.utils.fx as fx\r\nfrom transformers import *\r\n\r\nmodel = LayoutLMForMaskedLM(LayoutLMConfig())\r\n\r\ninput_names = model.dummy_inputs.keys()\r\nsig = inspect.s... | 1,653 | 1,653 | 1,653 | MEMBER | null | # What does this PR do?
This PR adds support torch.fx tracing for the following model architectures:
- BART
- mBART
- Marian
- M2M100
- Blenderbot
- Blenderbot Small
- Pegasus
- PLBart
- XGLM
- Speech2Text
- Speech2Text2
- OPT
- CLIP
- TrOCR | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17393/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17393/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17393",
"html_url": "https://github.com/huggingface/transformers/pull/17393",
"diff_url": "https://github.com/huggingface/transformers/pull/17393.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17393.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17392 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17392/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17392/comments | https://api.github.com/repos/huggingface/transformers/issues/17392/events | https://github.com/huggingface/transformers/issues/17392 | 1,246,445,567 | I_kwDOCUB6oc5KSz__ | 17,392 | [Deepspeed alternative] PatrickStar | {
"login": "flozi00",
"id": 47894090,
"node_id": "MDQ6VXNlcjQ3ODk0MDkw",
"avatar_url": "https://avatars.githubusercontent.com/u/47894090?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/flozi00",
"html_url": "https://github.com/flozi00",
"followers_url": "https://api.github.com/users/flozi0... | [] | closed | false | null | [] | [
"@flozi00, \r\n\r\nThank you for the heads up about this framework.\r\n\r\nI read the overview https://github.com/Tencent/PatrickStar/blob/master/INSIDE.md and it looks like they are trying to solve problems that have been solved in Deepspeed many moons ago - perhaps they started working on this project long time a... | 1,653 | 1,660 | 1,659 | CONTRIBUTOR | null | ### Feature request
https://github.com/Tencent/PatrickStar
Adding PatrickStar as alternative to deepspeed
### Motivation
I think it could be interesting to benchmark with deepspeed.
In their Readme they are writing it's faster then deepspeed zero 3.
But they are also writing, gradient accumulation is not possi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17392/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/17392/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17391 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17391/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17391/comments | https://api.github.com/repos/huggingface/transformers/issues/17391/events | https://github.com/huggingface/transformers/issues/17391 | 1,246,390,573 | I_kwDOCUB6oc5KSmkt | 17,391 | AutoTokenizer _batch_encode_plus method don't have add_prefix_space argument | {
"login": "c00k1ez",
"id": 16941854,
"node_id": "MDQ6VXNlcjE2OTQxODU0",
"avatar_url": "https://avatars.githubusercontent.com/u/16941854?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/c00k1ez",
"html_url": "https://github.com/c00k1ez",
"followers_url": "https://api.github.com/users/c00k1e... | [] | closed | false | null | [] | [
"Hi @c00k1ez , \r\n\r\nI think I can guess a little confusion, this argument must be specified during the initialization of the tokenizer or redefined when using `from_pretrained` but it won't work in the `__call__` method. \r\n\r\nIf any documentation has misled you, I would be very grateful if you would share it ... | 1,653 | 1,687 | 1,653 | CONTRIBUTOR | null | ### System Info
```shell
- `transformers` version: 4.20.0.dev0
- Platform: macOS-12.3.1-arm64-arm-64bit
- Python version: 3.8.12
- 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 ver... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17391/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/17391/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17390 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17390/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17390/comments | https://api.github.com/repos/huggingface/transformers/issues/17390/events | https://github.com/huggingface/transformers/issues/17390 | 1,246,196,872 | I_kwDOCUB6oc5KR3SI | 17,390 | Allow creation of tokenizer from a vocab dictionary | {
"login": "itaihay",
"id": 3392524,
"node_id": "MDQ6VXNlcjMzOTI1MjQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/3392524?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/itaihay",
"html_url": "https://github.com/itaihay",
"followers_url": "https://api.github.com/users/itaihay/... | [] | 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,653 | 1,656 | 1,656 | NONE | null | ### Feature request
Tokenizers that need a vocab.json file are expected to be created in this manner:
`transformers.Wav2Vec2CTCTokenizer(vocab_file="path/to/vocab.json")`
With the file read with a `json.load` statement.
I'm suggesting an optional `vocab` parameter that could be passed instead.
```
vocab= ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17390/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17390/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17389 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17389/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17389/comments | https://api.github.com/repos/huggingface/transformers/issues/17389/events | https://github.com/huggingface/transformers/issues/17389 | 1,246,131,414 | I_kwDOCUB6oc5KRnTW | 17,389 | OPT-350M Throws Error On Load after Finetuning | {
"login": "Leli1024",
"id": 33652168,
"node_id": "MDQ6VXNlcjMzNjUyMTY4",
"avatar_url": "https://avatars.githubusercontent.com/u/33652168?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Leli1024",
"html_url": "https://github.com/Leli1024",
"followers_url": "https://api.github.com/users/Lel... | [
{
"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 | [] | [
"facing same error, unable to load after finetuning. Any update ?",
"Ping @patrickvonplaten , but also cc @younesbelkada and @ArthurZucker .",
"On it 👍",
"@Leli1024 @omerarshad If you don't mind and have some time, maybe you can try with the latest dev build?\r\n\r\nIf you clone the repo, you can do it like ... | 1,653 | 1,657 | 1,653 | NONE | null | ### System Info
```shell
- `transformers` version: 4.19.0
- Platform: macOS-12.3.1-arm64-i386-64bit
- Python version: 3.8.13
- Huggingface_hub version: 0.2.1
- PyTorch version (GPU?): 1.10.2 (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/17389/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17389/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17388 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17388/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17388/comments | https://api.github.com/repos/huggingface/transformers/issues/17388/events | https://github.com/huggingface/transformers/pull/17388 | 1,246,126,255 | PR_kwDOCUB6oc44V9J6 | 17,388 | 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... | [
{
"id": 1834056761,
"node_id": "MDU6TGFiZWwxODM0MDU2NzYx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Core:%20Modeling",
"name": "Core: Modeling",
"color": "FF8446",
"default": false,
"description": "Internals of the library; Models."
}
] | 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": "... | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Should we close the other PR? Let me know once it's ready for a review :-)",
"Superseeds https://github.com/huggingface/transformers/pull/17227 and https://github.com/huggingface/transformers/pull/17226",
"Cool, very nice job @Ar... | 1,653 | 1,654 | 1,654 | COLLABORATOR | null | # What does this PR do?
Adds support for OPT in both Flax and TF
## Who can review?
@patrickvonplaten, @LysandreJik @younesbelkada @patil-suraj @sgugger
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17388/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/17388/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17388",
"html_url": "https://github.com/huggingface/transformers/pull/17388",
"diff_url": "https://github.com/huggingface/transformers/pull/17388.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17388.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17387 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17387/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17387/comments | https://api.github.com/repos/huggingface/transformers/issues/17387/events | https://github.com/huggingface/transformers/pull/17387 | 1,245,923,550 | PR_kwDOCUB6oc44VSfv | 17,387 | Add Google's Trillson Audio Classification Model | {
"login": "vumichien",
"id": 31467068,
"node_id": "MDQ6VXNlcjMxNDY3MDY4",
"avatar_url": "https://avatars.githubusercontent.com/u/31467068?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vumichien",
"html_url": "https://github.com/vumichien",
"followers_url": "https://api.github.com/users/... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | open | false | null | [] | [
"Still WIP (maybe we can link the google colab here if you want @vumichien :-) )",
"Thanks @patrickvonplaten, This is the current link of colab notebook I am working on https://colab.research.google.com/drive/1lFGDVNgtXXyuvM4J-pBmsPj43LW9VlpQ#scrollTo=t-icrfOL60dT to load all TF weights of trillsson3 into Efficie... | 1,653 | 1,676 | null | CONTRIBUTOR | null | # What does this PR do?
Add Google's Trillson Audio Classification Model #17339
## 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/CONTRIBU... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17387/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 2,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17387/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17387",
"html_url": "https://github.com/huggingface/transformers/pull/17387",
"diff_url": "https://github.com/huggingface/transformers/pull/17387.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17387.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17386 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17386/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17386/comments | https://api.github.com/repos/huggingface/transformers/issues/17386/events | https://github.com/huggingface/transformers/pull/17386 | 1,245,810,037 | PR_kwDOCUB6oc44U63g | 17,386 | Add FP16 Support for SageMaker Model Parallel | {
"login": "haohanchen-aws",
"id": 54413235,
"node_id": "MDQ6VXNlcjU0NDEzMjM1",
"avatar_url": "https://avatars.githubusercontent.com/u/54413235?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/haohanchen-aws",
"html_url": "https://github.com/haohanchen-aws",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@philschmid Please review or suggest review, thanks!",
"Can you just run `make style` on your branch to fix the code quality issue? Thanks!"
] | 1,653 | 1,655 | 1,655 | CONTRIBUTOR | null |
(This PR is still pending some changes/fixes)
This PR adds support for SageMaker Model Parallel with FP16.
- To Enable fp16 with SMMP, user needs to add `fp16: True` to `SM_HP_MP_PARAMETERS`, when there's mismatch between `SM_HP_MP_PARAMETERS` and trainer args, a warning log would be printed and `SM_HP_MP_PARAMET... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17386/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17386/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17386",
"html_url": "https://github.com/huggingface/transformers/pull/17386",
"diff_url": "https://github.com/huggingface/transformers/pull/17386.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17386.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17385 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17385/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17385/comments | https://api.github.com/repos/huggingface/transformers/issues/17385/events | https://github.com/huggingface/transformers/issues/17385 | 1,245,697,352 | I_kwDOCUB6oc5KP9VI | 17,385 | Same sequence gets different token probabilities depending on whether it's generated from sampling or beam search | {
"login": "hacobe",
"id": 91226467,
"node_id": "MDQ6VXNlcjkxMjI2NDY3",
"avatar_url": "https://avatars.githubusercontent.com/u/91226467?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hacobe",
"html_url": "https://github.com/hacobe",
"followers_url": "https://api.github.com/users/hacobe/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 | [] | [
"Heey @hacobe,\r\n\r\nI'm not sure this is a bug. Note that beam_search is very much different from sample, see: https://huggingface.co/blog/how-to-generate\r\n\r\nWhy should they give the same probabilities?",
"Hi @patrickvonplaten,\r\n\r\nThe probability for a token is the output of the softmax layer for that t... | 1,653 | 1,654 | 1,654 | NONE | null | ### System Info
```shell
- `transformers` version: 4.20.0.dev0
- 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 instal... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17385/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17385/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17384 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17384/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17384/comments | https://api.github.com/repos/huggingface/transformers/issues/17384/events | https://github.com/huggingface/transformers/pull/17384 | 1,245,629,935 | PR_kwDOCUB6oc44UUDT | 17,384 | Print more library versions in CI | {
"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._",
"@stas00 OK for me to use a script, on it!",
"@stas00 \r\n\r\nJust pushed a quick version. It is now named `utils/print_env.py`, which tries to print information if a library could be imported.\r\nProbably need a better job name tha... | 1,653 | 1,654 | 1,654 | COLLABORATOR | null | # What does this PR do?
- Print more library versions in CI jobs
- `transformers`, `PyTorch`, `TensorFlow`, `DeepSpeed`, etc.
- easier to access without the need to open several tabs
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17384/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17384/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17384",
"html_url": "https://github.com/huggingface/transformers/pull/17384",
"diff_url": "https://github.com/huggingface/transformers/pull/17384.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17384.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17383 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17383/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17383/comments | https://api.github.com/repos/huggingface/transformers/issues/17383/events | https://github.com/huggingface/transformers/pull/17383 | 1,245,629,786 | PR_kwDOCUB6oc44UUBR | 17,383 | Add FP16 Support for SageMaker Model Parallel | {
"login": "haohanchen-aws",
"id": 54413235,
"node_id": "MDQ6VXNlcjU0NDEzMjM1",
"avatar_url": "https://avatars.githubusercontent.com/u/54413235?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/haohanchen-aws",
"html_url": "https://github.com/haohanchen-aws",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,653 | 1,653 | 1,653 | CONTRIBUTOR | null | # What does this PR do?
(This PR is still pending some changes/fixes)
This PR adds support for SageMaker Model Parallel with FP16.
- To Enable fp16 with SMMP, user needs to add `fp16: True` to `SM_HP_MP_PARAMETERS`, when there's mismatch between `SM_HP_MP_PARAMETERS` and trainer args, a warning log would be printe... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17383/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17383/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17383",
"html_url": "https://github.com/huggingface/transformers/pull/17383",
"diff_url": "https://github.com/huggingface/transformers/pull/17383.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17383.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17382 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17382/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17382/comments | https://api.github.com/repos/huggingface/transformers/issues/17382/events | https://github.com/huggingface/transformers/pull/17382 | 1,245,602,117 | PR_kwDOCUB6oc44UOKO | 17,382 | Add support for `device_map="auto"` to OPT | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_17382). All of your documentation changes will be reflected on that endpoint."
] | 1,653 | 1,653 | 1,653 | COLLABORATOR | null | # What does this PR do?
I forgot to have OPT in the initial list of models supporting `device_map="auto"` (along side GPT-J, GPT-2 and T5). This PR takes care of it. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17382/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17382/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17382",
"html_url": "https://github.com/huggingface/transformers/pull/17382",
"diff_url": "https://github.com/huggingface/transformers/pull/17382.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17382.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17381 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17381/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17381/comments | https://api.github.com/repos/huggingface/transformers/issues/17381/events | https://github.com/huggingface/transformers/pull/17381 | 1,245,203,917 | PR_kwDOCUB6oc44S4VF | 17,381 | Fix Comet ML integration | {
"login": "mxschmdt",
"id": 4904985,
"node_id": "MDQ6VXNlcjQ5MDQ5ODU=",
"avatar_url": "https://avatars.githubusercontent.com/u/4904985?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mxschmdt",
"html_url": "https://github.com/mxschmdt",
"followers_url": "https://api.github.com/users/mxsch... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,653 | 1,653 | 1,653 | CONTRIBUTOR | null |
# What does this PR do?
This PR fixes an issue where the callback function `on_train_end` crashed if Comet ML integration was used but `experiment` was `None` after training (e.g. because the environment variable `COMET_MODE` was set to `DISABLE`).
Python snippet for testing (crashes before fix is applied):
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17381/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17381/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17381",
"html_url": "https://github.com/huggingface/transformers/pull/17381",
"diff_url": "https://github.com/huggingface/transformers/pull/17381.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17381.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17380 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17380/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17380/comments | https://api.github.com/repos/huggingface/transformers/issues/17380/events | https://github.com/huggingface/transformers/pull/17380 | 1,244,873,655 | PR_kwDOCUB6oc44Rws9 | 17,380 | Clean up CLIP tests | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,653 | 1,653 | 1,653 | CONTRIBUTOR | null | # What does this PR do?
This PR cleans up some tests of CLIP. See #17024 for more info. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17380/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17380/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17380",
"html_url": "https://github.com/huggingface/transformers/pull/17380",
"diff_url": "https://github.com/huggingface/transformers/pull/17380.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17380.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17379 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17379/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17379/comments | https://api.github.com/repos/huggingface/transformers/issues/17379/events | https://github.com/huggingface/transformers/pull/17379 | 1,244,673,276 | PR_kwDOCUB6oc44RF7Z | 17,379 | Add missing comment quotes | {
"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... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"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 gu... | 1,653 | 1,656 | 1,656 | CONTRIBUTOR | null | # What does this PR do?
This minor fix adds missing quote marks round some explanatory comments in the "new model" tokenizer cookiecutter template.
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor gu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17379/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17379/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17379",
"html_url": "https://github.com/huggingface/transformers/pull/17379",
"diff_url": "https://github.com/huggingface/transformers/pull/17379.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17379.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17378 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17378/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17378/comments | https://api.github.com/repos/huggingface/transformers/issues/17378/events | https://github.com/huggingface/transformers/pull/17378 | 1,243,975,181 | PR_kwDOCUB6oc44O6hc | 17,378 | TF: Correct XLA generation with GPT-2 and T5 | {
"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 | [] | [
"For future reference: the most recent commit, where T5 was adapted to discard padded past values (similarly to the FLAX implementation), works correctly numerically. However, when compiling to XLA, we get the following `NotImplementedError`:\r\n\r\n<img width=\"1511\" alt=\"Screenshot 2022-05-21 at 14 17 40\" src=... | 1,653 | 1,657 | 1,653 | MEMBER | null | # What does this PR do?
(WIP) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17378/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17378/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17378",
"html_url": "https://github.com/huggingface/transformers/pull/17378",
"diff_url": "https://github.com/huggingface/transformers/pull/17378.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17378.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17377 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17377/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17377/comments | https://api.github.com/repos/huggingface/transformers/issues/17377/events | https://github.com/huggingface/transformers/pull/17377 | 1,243,901,441 | PR_kwDOCUB6oc44OsqT | 17,377 | Fix the wrong sample-rate of random tokens | {
"login": "t-zhong",
"id": 68187072,
"node_id": "MDQ6VXNlcjY4MTg3MDcy",
"avatar_url": "https://avatars.githubusercontent.com/u/68187072?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/t-zhong",
"html_url": "https://github.com/t-zhong",
"followers_url": "https://api.github.com/users/t-zhon... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_17377). All of your documentation changes will be reflected on that endpoint.",
"Hello! Why is it wrong?",
"> Hello! Why is it wrong?\r\n\r\nSorry for late! we should replace 10% masked input tokens with random word, but ... | 1,653 | 1,659 | 1,659 | NONE | null | # What does this PR do?
Fix the wrong sample-rate of random tokens from `0.1` to `0.5` in the `DataCollatorForLanguageModeling` and `DataCollatorForWholeWordMask`. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17377/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17377/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17377",
"html_url": "https://github.com/huggingface/transformers/pull/17377",
"diff_url": "https://github.com/huggingface/transformers/pull/17377.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17377.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17376 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17376/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17376/comments | https://api.github.com/repos/huggingface/transformers/issues/17376/events | https://github.com/huggingface/transformers/pull/17376 | 1,243,887,666 | PR_kwDOCUB6oc44OqI- | 17,376 | Fix the wrong sample-rate of random tokens | {
"login": "t-zhong",
"id": 68187072,
"node_id": "MDQ6VXNlcjY4MTg3MDcy",
"avatar_url": "https://avatars.githubusercontent.com/u/68187072?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/t-zhong",
"html_url": "https://github.com/t-zhong",
"followers_url": "https://api.github.com/users/t-zhon... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,653 | 1,653 | 1,653 | NONE | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17376/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17376/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17376",
"html_url": "https://github.com/huggingface/transformers/pull/17376",
"diff_url": "https://github.com/huggingface/transformers/pull/17376.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17376.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17375 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17375/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17375/comments | https://api.github.com/repos/huggingface/transformers/issues/17375/events | https://github.com/huggingface/transformers/issues/17375 | 1,243,813,461 | I_kwDOCUB6oc5KIxZV | 17,375 | 'lm_head.weight' is improperly not initialized when loading BART weights into BartForCausalLM | {
"login": "nbravulapalli",
"id": 87538360,
"node_id": "MDQ6VXNlcjg3NTM4MzYw",
"avatar_url": "https://avatars.githubusercontent.com/u/87538360?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nbravulapalli",
"html_url": "https://github.com/nbravulapalli",
"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 | [] | [
"Hey @nbravulapalli,\r\n\r\nThanks for the report. The model is actually correctly initialized, the reason you see this error message is simply because these lines:\r\nhttps://github.com/huggingface/transformers/blob/56f50590d5a9ac881db9ee1753f4642cf3d33d28/src/transformers/models/bart/modeling_bart.py#L1275\r\nare... | 1,653 | 1,656 | 1,656 | NONE | null | ### System Info
```shell
- `transformers` version: 4.19.2
- 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/17375/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17375/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17374 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17374/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17374/comments | https://api.github.com/repos/huggingface/transformers/issues/17374/events | https://github.com/huggingface/transformers/issues/17374 | 1,243,775,822 | I_kwDOCUB6oc5KIoNO | 17,374 | fill-mask target for full words not enabled? | {
"login": "i-am-neo",
"id": 102043285,
"node_id": "U_kgDOBhUOlQ",
"avatar_url": "https://avatars.githubusercontent.com/u/102043285?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/i-am-neo",
"html_url": "https://github.com/i-am-neo",
"followers_url": "https://api.github.com/users/i-am-neo/... | [
{
"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 @i-am-neo ,\r\n\r\nFill-mask works at a token level, not words, so you cannot use targets which are multi token. Since `damnation` seems to no exist directly in your vocabulary, it uses the closes `1-token` element it finds `damn`. You cannot unfortunately have `fill-mask` work with varying number of holes/toke... | 1,653 | 1,656 | 1,656 | NONE | null | ### System Info
```shell
- `transformers` version: 4.19.2
- 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 installed (... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17374/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17374/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17373 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17373/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17373/comments | https://api.github.com/repos/huggingface/transformers/issues/17373/events | https://github.com/huggingface/transformers/pull/17373 | 1,243,630,301 | PR_kwDOCUB6oc44N0b2 | 17,373 | [WIP] [deepspeed] from_pretrained deal with ignore_mismatched_sizes | {
"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": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | open | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_17373). All of your documentation changes will be reflected on that endpoint.",
"After creating a test I discovered it breaks on tied variables since they get ignored in `model.named_parameters` - so back to the drawing tab... | 1,653 | 1,660 | null | CONTRIBUTOR | null | An attempt to fix the issue reported https://github.com/huggingface/transformers/issues/17336
Fixes: https://github.com/huggingface/transformers/issues/17336 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17373/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17373/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17373",
"html_url": "https://github.com/huggingface/transformers/pull/17373",
"diff_url": "https://github.com/huggingface/transformers/pull/17373.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17373.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17372 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17372/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17372/comments | https://api.github.com/repos/huggingface/transformers/issues/17372/events | https://github.com/huggingface/transformers/issues/17372 | 1,243,588,151 | I_kwDOCUB6oc5KH6Y3 | 17,372 | Text2TextGeneration Pipeline : Batch size and num_return_sequences are not working together | {
"login": "ierezell",
"id": 30974685,
"node_id": "MDQ6VXNlcjMwOTc0Njg1",
"avatar_url": "https://avatars.githubusercontent.com/u/30974685?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ierezell",
"html_url": "https://github.com/ierezell",
"followers_url": "https://api.github.com/users/ier... | [
{
"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 | [] | [
"Solved with huggingface 4.19.2. \r\n\r\nSorry for all the fuss. Maybe it will help someone someday. "
] | 1,653 | 1,653 | 1,653 | CONTRIBUTOR | null | ### System Info
```shell
- `transformers` version: 4.16.2
- Platform: Linux-5.13.0-40-generic-x86_64-with-glibc2.31
- Python version: 3.9.12
- PyTorch version (GPU?): 1.11.0+cu113 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not inst... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17372/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17372/timeline | completed | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.