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/15663 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15663/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15663/comments | https://api.github.com/repos/huggingface/transformers/issues/15663/events | https://github.com/huggingface/transformers/issues/15663 | 1,139,045,782 | I_kwDOCUB6oc5D5HWW | 15,663 | 🤗 Transformers **Trainer** API raises exception on train if triggered from an already started ML Flow run. | {
"login": "Ataago",
"id": 30720979,
"node_id": "MDQ6VXNlcjMwNzIwOTc5",
"avatar_url": "https://avatars.githubusercontent.com/u/30720979?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Ataago",
"html_url": "https://github.com/Ataago",
"followers_url": "https://api.github.com/users/Ataago/fo... | [] | closed | false | null | [] | [
"Hi there! We don't maintain integrations with third-party libraries ourselves, so feel free to create a PR with the fix and make sure to tag the contributor who wrote this callback for review (@noise-field ) :-)"
] | 1,644 | 1,647 | 1,647 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.16.2
- Platform: Linux-5.11.0-40-generic-x86_64-with-debian-10.9
- Python version: 3.7.10
- PyTorch versio... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15663/reactions",
"total_count": 4,
"+1": 4,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15663/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15662 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15662/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15662/comments | https://api.github.com/repos/huggingface/transformers/issues/15662/events | https://github.com/huggingface/transformers/issues/15662 | 1,138,995,967 | I_kwDOCUB6oc5D47L_ | 15,662 | cannot import name 'CONFIG_MAPPING' from 'transformers' (unknown location) | {
"login": "OmarMohammed88",
"id": 45721757,
"node_id": "MDQ6VXNlcjQ1NzIxNzU3",
"avatar_url": "https://avatars.githubusercontent.com/u/45721757?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/OmarMohammed88",
"html_url": "https://github.com/OmarMohammed88",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [] | 1,644 | 1,645 | 1,645 | NONE | null | trying using the Run_MLM.py script but got an error in importing modules
I installed the transformers package from the source
```
!git clone https://github.com/huggingface/transformers.git
%cd transformers
!pip install -e .
!pip install -r 'examples/pytorch/language-modeling/requirements.txt
```
any solutions ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15662/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15662/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15661 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15661/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15661/comments | https://api.github.com/repos/huggingface/transformers/issues/15661/events | https://github.com/huggingface/transformers/issues/15661 | 1,138,946,906 | I_kwDOCUB6oc5D4vNa | 15,661 | GPT-2 pretrained model fails to load when TF v2 behaviour is disabled | {
"login": "rifatarefin",
"id": 14293760,
"node_id": "MDQ6VXNlcjE0MjkzNzYw",
"avatar_url": "https://avatars.githubusercontent.com/u/14293760?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rifatarefin",
"html_url": "https://github.com/rifatarefin",
"followers_url": "https://api.github.com/... | [] | closed | false | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [
{
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.co... | [
"Hi @rifatarefin 👋 Sadly, we don't support TF 1.x, everything we've built was with TF 2.x in mind. This implies that the snippet you want to run shouldn't be able to and that you have four main alternatives to your problem:\r\n1. Create two local environments, one with TF 1.x other with TF 2.x, load GPT-2 in your... | 1,644 | 1,648 | 1,648 | NONE | null | I am trying to use GPT-2 in a codebase that is written for Tensorflow 1.x. However, I am running the code against TF 2.x installation binaries with `tf.disable_v2_behavior()` flag. Without this `tf.disable_v2_behavior()` flag, GPT-2 pretrained model loads fine, but the model fails to load if the flag is used. Here is m... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15661/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15661/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15660 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15660/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15660/comments | https://api.github.com/repos/huggingface/transformers/issues/15660/events | https://github.com/huggingface/transformers/pull/15660 | 1,138,944,607 | PR_kwDOCUB6oc4y3xhS | 15,660 | [pipeline doc] fix api | {
"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... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"actually, just noticed that the `revision` entry appeared twice! so removed the last one and adjusted the format for the first one."
] | 1,644 | 1,644 | 1,644 | CONTRIBUTOR | null | Fixes borked API doc.
@sgugger | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15660/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15660/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15660",
"html_url": "https://github.com/huggingface/transformers/pull/15660",
"diff_url": "https://github.com/huggingface/transformers/pull/15660.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15660.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15659 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15659/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15659/comments | https://api.github.com/repos/huggingface/transformers/issues/15659/events | https://github.com/huggingface/transformers/pull/15659 | 1,138,723,849 | PR_kwDOCUB6oc4y3D9o | 15,659 | Add section about doc testing | {
"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,644 | 1,644 | 1,644 | 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/15659/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15659/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15659",
"html_url": "https://github.com/huggingface/transformers/pull/15659",
"diff_url": "https://github.com/huggingface/transformers/pull/15659.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15659.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15658 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15658/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15658/comments | https://api.github.com/repos/huggingface/transformers/issues/15658/events | https://github.com/huggingface/transformers/pull/15658 | 1,138,640,692 | PR_kwDOCUB6oc4y2yT0 | 15,658 | Add ONNX export for ViT | {
"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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15658). All of your documentation changes will be reflected on that endpoint.",
"While testing this branch on Colab, I discovered a weird bug when trying to run inference in ONNX Runtime with `torch` v1.10.2:\r\n\r\n```\r\n... | 1,644 | 1,646 | 1,646 | MEMBER | null | # What does this PR do?
This PR enables the export of Vision Transformers (ViT) to ONNX with the following features:
* `default`
* `image-classification`
To enable this new modality, I had to significantly refactor the internals of the ONNX exporter because we need a way to pass the feature extractor instead ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15658/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15658/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15658",
"html_url": "https://github.com/huggingface/transformers/pull/15658",
"diff_url": "https://github.com/huggingface/transformers/pull/15658.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15658.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15657 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15657/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15657/comments | https://api.github.com/repos/huggingface/transformers/issues/15657/events | https://github.com/huggingface/transformers/pull/15657 | 1,138,470,950 | PR_kwDOCUB6oc4y2Nfn | 15,657 | Usage examples for logger | {
"login": "FrancescoSaverioZuppichini",
"id": 15908060,
"node_id": "MDQ6VXNlcjE1OTA4MDYw",
"avatar_url": "https://avatars.githubusercontent.com/u/15908060?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/FrancescoSaverioZuppichini",
"html_url": "https://github.com/FrancescoSaverioZuppichini"... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks for the comments!"
] | 1,644 | 1,645 | 1,645 | CONTRIBUTOR | null | # What does this PR do?
This PR adds a couple of usage examples in the `logging` doc
Fixes # (issue)
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15657/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15657/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15657",
"html_url": "https://github.com/huggingface/transformers/pull/15657",
"diff_url": "https://github.com/huggingface/transformers/pull/15657.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15657.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15656 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15656/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15656/comments | https://api.github.com/repos/huggingface/transformers/issues/15656/events | https://github.com/huggingface/transformers/issues/15656 | 1,138,454,770 | I_kwDOCUB6oc5D23Dy | 15,656 | Is it fine if we do not pass the optimizer through accelerator.prepare() in DDP? | {
"login": "tuvuumass",
"id": 23730882,
"node_id": "MDQ6VXNlcjIzNzMwODgy",
"avatar_url": "https://avatars.githubusercontent.com/u/23730882?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tuvuumass",
"html_url": "https://github.com/tuvuumass",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"cc @sgugger ",
"It seems weird that not passing it would avoid an OOM error, as it doesn't do anything special apart handling mixed precision (most of the work is for PyTorch XLA, so mostly for TPUs). For regular GPU training, it should be fine not to send the optimizer, except if you use mixed precision.\r\n\r\... | 1,644 | 1,649 | 1,645 | CONTRIBUTOR | null | Hello!
I remember that in previous versions of Transformers, the optimizer was not sent to any accelerator device for training (e.g., in older versions of the `run_glue.py` script). So, I wonder if it is fine if we do not pass the optimizer through accelerator.prepare() in DDP in the latest version of Transformers (w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15656/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15656/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15655 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15655/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15655/comments | https://api.github.com/repos/huggingface/transformers/issues/15655/events | https://github.com/huggingface/transformers/pull/15655 | 1,138,319,771 | PR_kwDOCUB6oc4y1tSZ | 15,655 | [SpeechEncoderDecoder] Make sure no EOS is generated in test | {
"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._",
"The reason for the flakiness comes from this recent change in `generate()`. ",
"Thanks for fixing!"
] | 1,644 | 1,644 | 1,644 | 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/15655/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15655/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15655",
"html_url": "https://github.com/huggingface/transformers/pull/15655",
"diff_url": "https://github.com/huggingface/transformers/pull/15655.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15655.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15654 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15654/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15654/comments | https://api.github.com/repos/huggingface/transformers/issues/15654/events | https://github.com/huggingface/transformers/issues/15654 | 1,138,158,246 | I_kwDOCUB6oc5D1uqm | 15,654 | LayoutLMv2Model can not be imported from transformers | {
"login": "yagmur-q",
"id": 95874938,
"node_id": "U_kgDOBbbveg",
"avatar_url": "https://avatars.githubusercontent.com/u/95874938?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yagmur-q",
"html_url": "https://github.com/yagmur-q",
"followers_url": "https://api.github.com/users/yagmur-q/fo... | [] | closed | false | null | [] | [
"The issue has been resolved. LayoutLMv2Model class exist in `transformers=4.16.2` version",
"what about installing from the source \r\n\r\n```\r\n!git clone https://github.com/huggingface/transformers.git\r\n%cd transformers\r\n!pip install -e .\r\n```\r\n\r\ni tried to run run_mlm.py but got many errors in impo... | 1,644 | 1,644 | 1,644 | NONE | null | Hi @NielsRogge
Getting error when calling LayoutLMv2Model class with `from transformers import LayoutLMv2Model` as instructed at the [official documentation](https://huggingface.co/docs/transformers/model_doc/layoutxlm)
`ImportError: cannot import name 'LayoutLMv2Model' from transformers (unknown location)`
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15654/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15654/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15653 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15653/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15653/comments | https://api.github.com/repos/huggingface/transformers/issues/15653/events | https://github.com/huggingface/transformers/pull/15653 | 1,138,152,661 | PR_kwDOCUB6oc4y1JlX | 15,653 | Updated the RAG training with latest Pytorch Lightning library and the RAY | {
"login": "shamanez",
"id": 16892570,
"node_id": "MDQ6VXNlcjE2ODkyNTcw",
"avatar_url": "https://avatars.githubusercontent.com/u/16892570?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shamanez",
"html_url": "https://github.com/shamanez",
"followers_url": "https://api.github.com/users/sha... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@shamanez are you planning to also update the end2end rag example? ",
"> @shamanez are you planning to also update the end2end rag example?\r\n\r\nYes soon. I am also thinking of merging RAG with [Retro-like](https://deepmind.com/r... | 1,644 | 1,644 | 1,644 | CONTRIBUTOR | null | # What does this PR do?
Updated the RAG script with the latest libraries.
## 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/master/CONTRIBUTI... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15653/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15653/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15653",
"html_url": "https://github.com/huggingface/transformers/pull/15653",
"diff_url": "https://github.com/huggingface/transformers/pull/15653.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15653.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15652 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15652/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15652/comments | https://api.github.com/repos/huggingface/transformers/issues/15652/events | https://github.com/huggingface/transformers/pull/15652 | 1,138,142,539 | PR_kwDOCUB6oc4y1HeI | 15,652 | add a network debug script and document it | {
"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... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,644 | 1,644 | 1,644 | CONTRIBUTOR | null | As discussed on slack this PR adds a new network debug script to uncover DDP issues and documents it.
@sgugger | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15652/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15652/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15652",
"html_url": "https://github.com/huggingface/transformers/pull/15652",
"diff_url": "https://github.com/huggingface/transformers/pull/15652.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15652.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15651 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15651/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15651/comments | https://api.github.com/repos/huggingface/transformers/issues/15651/events | https://github.com/huggingface/transformers/pull/15651 | 1,138,142,330 | PR_kwDOCUB6oc4y1HbY | 15,651 | Add a missing space in a deprecation message | {
"login": "bryant1410",
"id": 3905501,
"node_id": "MDQ6VXNlcjM5MDU1MDE=",
"avatar_url": "https://avatars.githubusercontent.com/u/3905501?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bryant1410",
"html_url": "https://github.com/bryant1410",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,644 | 1,644 | 1,644 | CONTRIBUTOR | null | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15651/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15651/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15651",
"html_url": "https://github.com/huggingface/transformers/pull/15651",
"diff_url": "https://github.com/huggingface/transformers/pull/15651.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15651.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15650 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15650/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15650/comments | https://api.github.com/repos/huggingface/transformers/issues/15650/events | https://github.com/huggingface/transformers/issues/15650 | 1,137,988,414 | I_kwDOCUB6oc5D1FM- | 15,650 | Inference API with GPT2 {"error": "Unknown error"} | {
"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... | [] | closed | false | null | [] | [
"```python\r\nimport json\r\nimport os\r\n\r\nAPI_TOKEN = os.getenv(\"API_TOKEN\")\r\n\r\nimport requests\r\n\r\nheaders = {\"Authorization\": f\"Bearer {API_TOKEN}\"}\r\nAPI_URL = \"https://api-inference.huggingface.co/models/gpt2\"\r\n\r\n\r\ndef query(payload):\r\n data = json.dumps(payload)\r\n response =... | 1,644 | 1,648 | 1,648 | NONE | null | ### Who can help
@Narsil
@LysandreJik
## Information
When I try to use the Inference API with gpt2, I am receiving a response saying there is an `Unknown error`. I have used the same codebase for a few months now, initially it was working, then the API started returning errors about cuda (only when using ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15650/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15650/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15649 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15649/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15649/comments | https://api.github.com/repos/huggingface/transformers/issues/15649/events | https://github.com/huggingface/transformers/pull/15649 | 1,137,806,378 | PR_kwDOCUB6oc4yz_mf | 15,649 | Allow custom code for Processors | {
"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._",
"Very clean! Thanks"
] | 1,644 | 1,644 | 1,644 | COLLABORATOR | null | # What does this PR do?
This PR allows code for dynamic processors, with the same API as configurations, feature extractors, models and tokenizers.
There needs to be a slight change in the way the `auto_map` field is stored in the dynamic tokenizers: we need to have a dict there like in the other configs. This PR... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15649/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15649/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15649",
"html_url": "https://github.com/huggingface/transformers/pull/15649",
"diff_url": "https://github.com/huggingface/transformers/pull/15649.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15649.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15648 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15648/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15648/comments | https://api.github.com/repos/huggingface/transformers/issues/15648/events | https://github.com/huggingface/transformers/issues/15648 | 1,137,721,545 | I_kwDOCUB6oc5D0EDJ | 15,648 | TrOCR not working anymore after 4.16.2 update | {
"login": "thetruejacob",
"id": 24558326,
"node_id": "MDQ6VXNlcjI0NTU4MzI2",
"avatar_url": "https://avatars.githubusercontent.com/u/24558326?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thetruejacob",
"html_url": "https://github.com/thetruejacob",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Thanks for reporting, this has been fixed in #15603.\r\n\r\nFor now, you have to install from source to have it: \r\n\r\n`pip install git+https://github.com/huggingface/transformers`",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be a... | 1,644 | 1,648 | 1,648 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.16.2
- Platform: Colab
- Python version: 3.8?
- PyTorch version (GPU?): latest in colab
- Tensorflow ver... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15648/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15648/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15647 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15647/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15647/comments | https://api.github.com/repos/huggingface/transformers/issues/15647/events | https://github.com/huggingface/transformers/pull/15647 | 1,137,639,288 | PR_kwDOCUB6oc4yzbwQ | 15,647 | Enable `image-segmentation` on `AutoModelForSemanticSegmentation` | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> I think it's a mistake to group together tasks as different as instance segmentation and semantic segmentation in the same pipeline, especially when we haven't fully defined the instance segmentation outputs yet.\r\n\r\nIt's a long... | 1,644 | 1,645 | 1,645 | CONTRIBUTOR | null | # What does this PR do?
Enable `image-segmentation` on `AutoModelForSemanticSegmentation`
<!--
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 th... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15647/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15647/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15647",
"html_url": "https://github.com/huggingface/transformers/pull/15647",
"diff_url": "https://github.com/huggingface/transformers/pull/15647.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15647.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15646 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15646/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15646/comments | https://api.github.com/repos/huggingface/transformers/issues/15646/events | https://github.com/huggingface/transformers/pull/15646 | 1,137,379,760 | PR_kwDOCUB6oc4yykaY | 15,646 | Add `decoder_kwargs` to send to LM on asr pipeline. | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> Thanks for adding this feature. Should we maybe add @g8a9 as a co-author here?\r\n\r\nNice catch ! Done."
] | 1,644 | 1,644 | 1,644 | CONTRIBUTOR | null | # What does this PR do?
Fixes #15484
Linked to https://github.com/g8a9/transformers/commit/1f25864edf0319a9984b3051b420b86e287d949b
<!--
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 s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15646/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15646/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15646",
"html_url": "https://github.com/huggingface/transformers/pull/15646",
"diff_url": "https://github.com/huggingface/transformers/pull/15646.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15646.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15645 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15645/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15645/comments | https://api.github.com/repos/huggingface/transformers/issues/15645/events | https://github.com/huggingface/transformers/pull/15645 | 1,137,186,151 | PR_kwDOCUB6oc4yx6de | 15,645 | Re-export `KeyDataset`. | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,644 | 1,644 | 1,644 | CONTRIBUTOR | null | # What does this PR do?
Fixes #15524
<!--
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... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15645/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15645/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15645",
"html_url": "https://github.com/huggingface/transformers/pull/15645",
"diff_url": "https://github.com/huggingface/transformers/pull/15645.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15645.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15644 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15644/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15644/comments | https://api.github.com/repos/huggingface/transformers/issues/15644/events | https://github.com/huggingface/transformers/pull/15644 | 1,136,678,663 | PR_kwDOCUB6oc4ywNDH | 15,644 | Fix typo on examples/pytorch/question-answering | {
"login": "dreamgonfly",
"id": 2340721,
"node_id": "MDQ6VXNlcjIzNDA3MjE=",
"avatar_url": "https://avatars.githubusercontent.com/u/2340721?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dreamgonfly",
"html_url": "https://github.com/dreamgonfly",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,644 | 1,645 | 1,645 | CONTRIBUTOR | null | # What does this PR do?
Fix typo on examples/pytorch/question-answering/README.md (cna -> can).
<!--
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 reflect... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15644/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15644/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15644",
"html_url": "https://github.com/huggingface/transformers/pull/15644",
"diff_url": "https://github.com/huggingface/transformers/pull/15644.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15644.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15643 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15643/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15643/comments | https://api.github.com/repos/huggingface/transformers/issues/15643/events | https://github.com/huggingface/transformers/pull/15643 | 1,136,298,510 | PR_kwDOCUB6oc4yu2sF | 15,643 | Fix TFSequenceSummary's activation | {
"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._",
"LGTM too - @ydshieh are you ready for me to merge this?",
"> LGTM too - @ydshieh are you ready for me to merge this?\r\n\r\nYes, go ahead :-) Thanks!"
] | 1,644 | 1,644 | 1,644 | COLLABORATOR | null | [TFSequenceSummary](https://github.com/huggingface/transformers/blob/52d2e6f6e904ef9b75c78716ce77b98196ed837a/src/transformers/modeling_tf_utils.py#L1910) set its `activation` only when `config.summary_activation == "tanh"`.
https://github.com/huggingface/transformers/blob/52d2e6f6e904ef9b75c78716ce77b98196ed837a/sr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15643/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15643/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15643",
"html_url": "https://github.com/huggingface/transformers/pull/15643",
"diff_url": "https://github.com/huggingface/transformers/pull/15643.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15643.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15642 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15642/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15642/comments | https://api.github.com/repos/huggingface/transformers/issues/15642/events | https://github.com/huggingface/transformers/issues/15642 | 1,136,176,959 | I_kwDOCUB6oc5DuK8_ | 15,642 | GPT-NeoX-20B Integration | {
"login": "sdtblck",
"id": 46172032,
"node_id": "MDQ6VXNlcjQ2MTcyMDMy",
"avatar_url": "https://avatars.githubusercontent.com/u/46172032?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sdtblck",
"html_url": "https://github.com/sdtblck",
"followers_url": "https://api.github.com/users/sdtblc... | [] | closed | false | null | [] | [
"Hey @sdtblck, this is great, we'd be super excited to support GPT-NeoX in the library. From our side, I believe @mrm8488 was excited about working on the implementation, and @patil-suraj and myself are happy to help out as well.\r\n\r\nLet us know how you'd like to collaborate. ",
"So, i'd be happy to write a ba... | 1,644 | 1,653 | 1,653 | NONE | null | # 🚀 Feature request
Over at EleutherAI we've recently released a 20 billion parameter autoregressive gpt model (see [gpt-neox](https://github.com/EleutherAI/gpt-neox) for a link to the weights). It would be great to get this into transformers!
## Motivation
gpt-neox library is not quite as user-friendly as tr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15642/reactions",
"total_count": 18,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 18,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15642/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15641 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15641/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15641/comments | https://api.github.com/repos/huggingface/transformers/issues/15641/events | https://github.com/huggingface/transformers/pull/15641 | 1,135,865,910 | PR_kwDOCUB6oc4ytRiN | 15,641 | Update bad_words_ids usage | {
"login": "ngoquanghuy99",
"id": 36761076,
"node_id": "MDQ6VXNlcjM2NzYxMDc2",
"avatar_url": "https://avatars.githubusercontent.com/u/36761076?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ngoquanghuy99",
"html_url": "https://github.com/ngoquanghuy99",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,644 | 1,644 | 1,644 | CONTRIBUTOR | null | This PR updates the `bad_words_ids` strategy (follow the PR #15343) and usage.
@patrickvonplaten @LysandreJik | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15641/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15641/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15641",
"html_url": "https://github.com/huggingface/transformers/pull/15641",
"diff_url": "https://github.com/huggingface/transformers/pull/15641.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15641.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15640 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15640/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15640/comments | https://api.github.com/repos/huggingface/transformers/issues/15640/events | https://github.com/huggingface/transformers/issues/15640 | 1,135,820,447 | I_kwDOCUB6oc5Dsz6f | 15,640 | Add support for ONNX-TensorRT conversion for GPT-J6B (and possible bug in rotary embedding) | {
"login": "tomerip",
"id": 59172869,
"node_id": "MDQ6VXNlcjU5MTcyODY5",
"avatar_url": "https://avatars.githubusercontent.com/u/59172869?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tomerip",
"html_url": "https://github.com/tomerip",
"followers_url": "https://api.github.com/users/tomeri... | [] | closed | false | {
"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... | [
{
"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... | [
"Maybe also of interest to @lewtun @michaelbenayoun ",
"Hey @tomerip thank you for this very detailed and informative feedback! \r\n\r\nRegarding point (1), I agree that it would be nice to have a work around for the absent `SplitToSequence` op in TensorRT. \r\n\r\nTo proceed, I think we'd need to try the followi... | 1,644 | 1,651 | 1,651 | CONTRIBUTOR | null | ### Who can help
@patil-suraj
## Information
Model I am using: GPT-J
The problem arises when using:
* [x] the official example scripts: (give details below)
* [x] my own modified scripts: (give details below)
## Description
I opened this issue for two reasons:
1. This is not strictly a bug report, rat... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15640/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15640/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15639 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15639/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15639/comments | https://api.github.com/repos/huggingface/transformers/issues/15639/events | https://github.com/huggingface/transformers/issues/15639 | 1,135,242,363 | I_kwDOCUB6oc5Dqmx7 | 15,639 | Pooled results for DistilBert | {
"login": "renjiege",
"id": 24770461,
"node_id": "MDQ6VXNlcjI0NzcwNDYx",
"avatar_url": "https://avatars.githubusercontent.com/u/24770461?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/renjiege",
"html_url": "https://github.com/renjiege",
"followers_url": "https://api.github.com/users/ren... | [] | closed | false | null | [] | [
"I think BERT's pooler layers is used for next sentence prediction (NSP - one of the objective functions in BERT pretraining), see `BertForNextSentencePrediction` (and it is then used for downstream classification tasks). Since `DistilBERT` doesn't use NSP, there is no pooler layer.\r\n\r\nHowever, you can simply u... | 1,644 | 1,644 | 1,644 | NONE | null | When I look at the architecture of Bert and DistilBert, I notice that Bert has a pooler layer while DistilBert does not. As a result, The output shape of the Distilbert is [batch_size, seq_length, hidden_size] while the shape of Bert is to [batch_size, hidden_size]. I wonder why it is the case and if it is possible to... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15639/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/15639/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15638 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15638/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15638/comments | https://api.github.com/repos/huggingface/transformers/issues/15638/events | https://github.com/huggingface/transformers/pull/15638 | 1,134,191,817 | PR_kwDOCUB6oc4ynHSR | 15,638 | fix bug for the log of RNG states are not properly loaded lead to exception. | {
"login": "muzhi1991",
"id": 2101044,
"node_id": "MDQ6VXNlcjIxMDEwNDQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/2101044?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muzhi1991",
"html_url": "https://github.com/muzhi1991",
"followers_url": "https://api.github.com/users/mu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,644 | 1,644 | 1,644 | CONTRIBUTOR | null | # What does this PR do?
fix bug for the log of RNG states are not properly loaded lead to exception because using error function `logger.infor`
find bug in #14994
<!--
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... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15638/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15638/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15638",
"html_url": "https://github.com/huggingface/transformers/pull/15638",
"diff_url": "https://github.com/huggingface/transformers/pull/15638.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15638.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15637 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15637/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15637/comments | https://api.github.com/repos/huggingface/transformers/issues/15637/events | https://github.com/huggingface/transformers/pull/15637 | 1,134,178,414 | PR_kwDOCUB6oc4ynEL6 | 15,637 | fix bug for the log of RNG states are not properly loaded exception. | {
"login": "muzhi1991",
"id": 2101044,
"node_id": "MDQ6VXNlcjIxMDEwNDQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/2101044?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muzhi1991",
"html_url": "https://github.com/muzhi1991",
"followers_url": "https://api.github.com/users/mu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,644 | 1,644 | 1,644 | CONTRIBUTOR | null | # What does this PR do?
fix bug for the log of RNG states are not properly loaded exception.
<!--
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... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15637/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15637/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15637",
"html_url": "https://github.com/huggingface/transformers/pull/15637",
"diff_url": "https://github.com/huggingface/transformers/pull/15637.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15637.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15636 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15636/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15636/comments | https://api.github.com/repos/huggingface/transformers/issues/15636/events | https://github.com/huggingface/transformers/pull/15636 | 1,133,841,957 | PR_kwDOCUB6oc4yl1b8 | 15,636 | Report only the failed imports in `requires_backends` | {
"login": "tkukurin",
"id": 297847,
"node_id": "MDQ6VXNlcjI5Nzg0Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/297847?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tkukurin",
"html_url": "https://github.com/tkukurin",
"followers_url": "https://api.github.com/users/tkukuri... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,644 | 1,644 | 1,644 | CONTRIBUTOR | null | # What does this PR do?
Minor QoL improvement. Current checks in `requires_backends` seem to dump all import failures at once even when only a subset fails. This PR just makes it so that only the relevant messages are communicated to the user.
Based on #11100 I think this is the only file that needs changing (no ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15636/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15636/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15636",
"html_url": "https://github.com/huggingface/transformers/pull/15636",
"diff_url": "https://github.com/huggingface/transformers/pull/15636.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15636.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15635 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15635/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15635/comments | https://api.github.com/repos/huggingface/transformers/issues/15635/events | https://github.com/huggingface/transformers/issues/15635 | 1,133,577,710 | I_kwDOCUB6oc5DkQXu | 15,635 | Loading a fairseq trained wav2vec2 model with transformers | {
"login": "tensorfoo",
"id": 53809493,
"node_id": "MDQ6VXNlcjUzODA5NDkz",
"avatar_url": "https://avatars.githubusercontent.com/u/53809493?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tensorfoo",
"html_url": "https://github.com/tensorfoo",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hey @tensorfoo, there is a [conversion script](https://github.com/huggingface/transformers/blob/master/src/transformers/models/wav2vec2/convert_wav2vec2_original_pytorch_checkpoint_to_pytorch.py) that can be used to convert original fairseq checkpoints to HF transformer format. Does this solve your issue?",
"Thi... | 1,644 | 1,648 | 1,648 | NONE | null | ```
>>> import transformers
>>> from transformers import Wav2Vec2Processor, Wav2Vec2ForCTC
>>> processor = Wav2Vec2Processor.from_pretrained("wav2vec_small.pt")
```
gives the error:
```
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/tmp/scratch/venv/lib/python3.8/site-pa... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15635/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15635/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15634 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15634/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15634/comments | https://api.github.com/repos/huggingface/transformers/issues/15634/events | https://github.com/huggingface/transformers/pull/15634 | 1,133,193,228 | PR_kwDOCUB6oc4yjfrJ | 15,634 | Register feature extractor | {
"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,644 | 1,644 | 1,644 | COLLABORATOR | null | # What does this PR do?
This PR adds the register method to AutoFeatureExtractor, to allow the user to register their own feature extractor classes, like for models, configurtations and tokenizers. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15634/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15634/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15634",
"html_url": "https://github.com/huggingface/transformers/pull/15634",
"diff_url": "https://github.com/huggingface/transformers/pull/15634.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15634.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15633 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15633/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15633/comments | https://api.github.com/repos/huggingface/transformers/issues/15633/events | https://github.com/huggingface/transformers/pull/15633 | 1,133,092,617 | PR_kwDOCUB6oc4yjI1N | 15,633 | Register feature extractor | {
"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,644 | 1,644 | 1,644 | COLLABORATOR | null | # What does this PR do?
This PR adds the register method to `AutoFeatureExtractor`, to allow the user to register their own feature extractor classes, like for models, configurtations and tokenizers (it's based on #15630 so it's better to review this once the other PR is merged). | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15633/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/15633/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15633",
"html_url": "https://github.com/huggingface/transformers/pull/15633",
"diff_url": "https://github.com/huggingface/transformers/pull/15633.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15633.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15632 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15632/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15632/comments | https://api.github.com/repos/huggingface/transformers/issues/15632/events | https://github.com/huggingface/transformers/pull/15632 | 1,133,033,635 | PR_kwDOCUB6oc4yi77a | 15,632 | Add push to hub to feature extractor | {
"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,644 | 1,644 | 1,644 | COLLABORATOR | null | # What does this PR do?
This PR adds support for `push_to_hub` on the feature extractors, following the same API as models, configurations and tokenizers. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15632/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15632/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15632",
"html_url": "https://github.com/huggingface/transformers/pull/15632",
"diff_url": "https://github.com/huggingface/transformers/pull/15632.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15632.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15631 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15631/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15631/comments | https://api.github.com/repos/huggingface/transformers/issues/15631/events | https://github.com/huggingface/transformers/pull/15631 | 1,133,032,696 | PR_kwDOCUB6oc4yi7uv | 15,631 | Remove redundant error logging in from_pretrained() method | {
"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._",
"> If we're removing them, there are plenty others, in the flax and tf modeling file, the config utils, tokenization utils and feature extractor utils.\r\n\r\nI just want to make sure that @lewtun is agreeable to that - as sometimes a... | 1,644 | 1,644 | 1,644 | MEMBER | null | # What does this PR do?
This PR removes the redundant error logging in the `from_pretrained()` method of:
* Configs
* Tokenizers
* Models
* Feature extractors
I also took the liberty of removing the redundant logging from the file utils. If a genuine error is raised, the user will still see it since the cor... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15631/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15631/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15631",
"html_url": "https://github.com/huggingface/transformers/pull/15631",
"diff_url": "https://github.com/huggingface/transformers/pull/15631.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15631.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15630 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15630/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15630/comments | https://api.github.com/repos/huggingface/transformers/issues/15630/events | https://github.com/huggingface/transformers/pull/15630 | 1,132,976,147 | PR_kwDOCUB6oc4yivc9 | 15,630 | Custom feature extractor | {
"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,644 | 1,644 | 1,644 | COLLABORATOR | null | # What does this PR do?
This PR adds support for custom feature extractor in the Hub, with the same APIs as for models, configurations and tokenizers. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15630/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15630/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15630",
"html_url": "https://github.com/huggingface/transformers/pull/15630",
"diff_url": "https://github.com/huggingface/transformers/pull/15630.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15630.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15629 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15629/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15629/comments | https://api.github.com/repos/huggingface/transformers/issues/15629/events | https://github.com/huggingface/transformers/pull/15629 | 1,132,877,260 | PR_kwDOCUB6oc4yiaS4 | 15,629 | Fix _configuration_file argument getting passed to model | {
"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,644 | 1,644 | 1,644 | COLLABORATOR | null | # What does this PR do?
Currently, the following code fails:
```
from transformers import LayoutLMv2ForTokenClassification
model = LayoutLMv2ForTokenClassification.from_pretrained('microsoft/layoutxlm-base', num_labels=10)
```
or any code using this checkpoint.
This is because the `_configuration_file` argum... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15629/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15629/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15629",
"html_url": "https://github.com/huggingface/transformers/pull/15629",
"diff_url": "https://github.com/huggingface/transformers/pull/15629.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15629.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15628 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15628/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15628/comments | https://api.github.com/repos/huggingface/transformers/issues/15628/events | https://github.com/huggingface/transformers/issues/15628 | 1,132,858,042 | I_kwDOCUB6oc5Dhgq6 | 15,628 | make style produces a lot of reformatted lines | {
"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 | [] | [
"It looks like you haven't updated your black version. Make sure to run `pip install -e .[quality]` again.",
"@sgugger Thanks, I am thinking maybe it's the version and trying to verify -- and you already gave the answer!"
] | 1,644 | 1,644 | 1,644 | COLLABORATOR | null | ## Environment info
- `transformers` version: 4.17.0.dev0
- Platform: Windows-10-10.0.19044-SP0
- Python version: 3.9.5
## Information
I am at commit `3fae83d2` (in `master` branch). When I run `make style`, there are tones of files being reformatted (no local change on my side).
```
reformatted examples... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15628/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15628/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15627 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15627/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15627/comments | https://api.github.com/repos/huggingface/transformers/issues/15627/events | https://github.com/huggingface/transformers/issues/15627 | 1,132,854,250 | I_kwDOCUB6oc5Dhfvq | 15,627 | unable to pass create vocabulary_from_data when using concatenate_datasets() method to train a combined dataset model | {
"login": "StephennFernandes",
"id": 32235549,
"node_id": "MDQ6VXNlcjMyMjM1NTQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/32235549?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/StephennFernandes",
"html_url": "https://github.com/StephennFernandes",
"followers_url": "https... | [] | closed | false | null | [] | [
"The issue was caused because i the columns in train and eval didnt align, closing this issue. "
] | 1,644 | 1,644 | 1,644 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
`transformers` version: 4.17.0.dev0
- Platform:Ubuntu 20.04.3 LTS
- Python version: 3.8.10
- PyTorch version (GPU?):1.10.2+cu113
- T... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15627/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15627/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15626 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15626/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15626/comments | https://api.github.com/repos/huggingface/transformers/issues/15626/events | https://github.com/huggingface/transformers/pull/15626 | 1,132,831,757 | PR_kwDOCUB6oc4yiQrk | 15,626 | [Fix doc example] FlaxVisionEncoderDecoder | {
"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,644 | 1,644 | 1,644 | COLLABORATOR | null | # What does this PR do?
Fix some missing import and checkpoint name in some `FlaxVisionEncoderDecoder`'s doc examples.
@patil-suraj
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15626/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15626/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15626",
"html_url": "https://github.com/huggingface/transformers/pull/15626",
"diff_url": "https://github.com/huggingface/transformers/pull/15626.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15626.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15625 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15625/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15625/comments | https://api.github.com/repos/huggingface/transformers/issues/15625/events | https://github.com/huggingface/transformers/pull/15625 | 1,132,704,565 | PR_kwDOCUB6oc4yh1J0 | 15,625 | Enable ONNX export when PyTorch and TensorFlow installed in the same env | {
"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._",
"Thanks for the reviews 😍 !",
"> 404 Client Error: Entry Not Found for url: https://huggingface.co/keras-io/transformers-qa/resolve/main/pytorch_model.bin\r\n> but we can handle this in a separate PR if users report confusion.\r\n\... | 1,644 | 1,644 | 1,644 | MEMBER | null | # What does this PR do?
This PR implements one of the proposals discussed in #15620 to enable the ONNX export of pure TensorFlow models (i.e. model repos without PyTorch weights) when TensorFlow and PyTorch are installed in the same environment.
When both frameworks are installed, we default to using an `AutoMode... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15625/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15625/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15625",
"html_url": "https://github.com/huggingface/transformers/pull/15625",
"diff_url": "https://github.com/huggingface/transformers/pull/15625.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15625.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15624 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15624/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15624/comments | https://api.github.com/repos/huggingface/transformers/issues/15624/events | https://github.com/huggingface/transformers/pull/15624 | 1,132,689,220 | PR_kwDOCUB6oc4yhx00 | 15,624 | Mark "code in the Hub" API as experimental | {
"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,644 | 1,644 | 1,644 | COLLABORATOR | null | # What does this PR do?
This PR marks the API to push code in the Hub as experimental. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15624/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15624/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15624",
"html_url": "https://github.com/huggingface/transformers/pull/15624",
"diff_url": "https://github.com/huggingface/transformers/pull/15624.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15624.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15623 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15623/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15623/comments | https://api.github.com/repos/huggingface/transformers/issues/15623/events | https://github.com/huggingface/transformers/pull/15623 | 1,132,677,801 | PR_kwDOCUB6oc4yhvZC | 15,623 | Add TF implementation of GPT-J | {
"login": "stancld",
"id": 46073029,
"node_id": "MDQ6VXNlcjQ2MDczMDI5",
"avatar_url": "https://avatars.githubusercontent.com/u/46073029?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stancld",
"html_url": "https://github.com/stancld",
"followers_url": "https://api.github.com/users/stancl... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15623). All of your documentation changes will be reflected on that endpoint.",
"Super exciting! cc @Rocketknight1 and @gante",
"Hey @stancld 👋 Thank you for adding much-needed TensorFlow love ❤️ I will be your TensorF... | 1,644 | 1,648 | 1,648 | CONTRIBUTOR | null | # What does this PR do?
This PR adds a TensorFlow implementation of `GPT-J` models
Fixes #15583
## Before submitting
- [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md#start-contributing-pull-requests),
Pull Request section?
- [x] ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15623/reactions",
"total_count": 4,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 4,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15623/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15623",
"html_url": "https://github.com/huggingface/transformers/pull/15623",
"diff_url": "https://github.com/huggingface/transformers/pull/15623.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15623.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15622 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15622/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15622/comments | https://api.github.com/repos/huggingface/transformers/issues/15622/events | https://github.com/huggingface/transformers/pull/15622 | 1,132,568,345 | PR_kwDOCUB6oc4yhXaC | 15,622 | Add support for bitsandbytes | {
"login": "manuelciosici",
"id": 51477,
"node_id": "MDQ6VXNlcjUxNDc3",
"avatar_url": "https://avatars.githubusercontent.com/u/51477?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/manuelciosici",
"html_url": "https://github.com/manuelciosici",
"followers_url": "https://api.github.com/user... | [
{
"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 | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15622). All of your documentation changes will be reflected on that endpoint.",
"> I followed @TimDettmers 's https://github.com/huggingface/transformers/issues/14819#issuecomment-1016017746 to override the embedding layers... | 1,644 | 1,660 | 1,650 | CONTRIBUTOR | null | # What does this PR do?
Fixes #14819
## 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/master/CONTRIBUTING.md#start-contributing-pull-reques... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15622/reactions",
"total_count": 3,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 3,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15622/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15622",
"html_url": "https://github.com/huggingface/transformers/pull/15622",
"diff_url": "https://github.com/huggingface/transformers/pull/15622.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15622.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15621 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15621/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15621/comments | https://api.github.com/repos/huggingface/transformers/issues/15621/events | https://github.com/huggingface/transformers/issues/15621 | 1,132,475,683 | I_kwDOCUB6oc5DgDUj | 15,621 | TPU slow finetuning T5-base | {
"login": "GenVr",
"id": 82599723,
"node_id": "MDQ6VXNlcjgyNTk5NzIz",
"avatar_url": "https://avatars.githubusercontent.com/u/82599723?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/GenVr",
"html_url": "https://github.com/GenVr",
"followers_url": "https://api.github.com/users/GenVr/follow... | [] | closed | false | null | [] | [
"Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discuss.huggingface.co) instead?\r\n\r\nThanks!",
"@LysandreJik Done days ago, but no answer yet",
"This issue has been automatically marked as stale because it ... | 1,644 | 1,649 | 1,649 | NONE | null | Hi,
I am trying to train a T5-base on Colab with the TPU. I am using the official code to perform a fine-tuning on the T5-base (with my dataset), but the training with TPU is extremely slow! I'm using the offical [code](https://github.com/huggingface/transformers/blob/master/examples/pytorch/translation/run_translatio... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15621/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15621/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15620 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15620/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15620/comments | https://api.github.com/repos/huggingface/transformers/issues/15620/events | https://github.com/huggingface/transformers/pull/15620 | 1,132,107,788 | PR_kwDOCUB6oc4yfuRm | 15,620 | [RFC] Add framework argument to ONNX export | {
"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 docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15620). All of your documentation changes will be reflected on that endpoint.",
"> I personally think the solution 2 would be better for the user, as it \"just works\". We can investigate the provenance of the error log and... | 1,644 | 1,644 | 1,644 | MEMBER | null | # What does this PR do?
This PR addresses an edge case introduced by #13831 where the ONNX export fails if:
* Both `torch` _and_ `tensorflow` are installed in the same environment
* The user tries to export a _pure_ TensorFlow model (i.e. a model repo without PyTorch weights)
Here is an example that fails to ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15620/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15620/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15620",
"html_url": "https://github.com/huggingface/transformers/pull/15620",
"diff_url": "https://github.com/huggingface/transformers/pull/15620.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15620.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15619 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15619/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15619/comments | https://api.github.com/repos/huggingface/transformers/issues/15619/events | https://github.com/huggingface/transformers/issues/15619 | 1,132,034,971 | I_kwDOCUB6oc5DeXub | 15,619 | Why is my train_samples_per_second graph growing? | {
"login": "drunkinlove",
"id": 31738272,
"node_id": "MDQ6VXNlcjMxNzM4Mjcy",
"avatar_url": "https://avatars.githubusercontent.com/u/31738272?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/drunkinlove",
"html_url": "https://github.com/drunkinlove",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Hey @drunkinlove, \r\n\r\nCould you specify which training you used exactly? Do you use the official HF Trainer : https://huggingface.co/docs/transformers/v4.16.2/en/main_classes/trainer#transformers.Trainer? ",
"@patrickvonplaten Hi! I did indeed, here are the arguments I specified:\r\n\r\n- output_dir=\"checkp... | 1,644 | 1,647 | 1,647 | NONE | null | I'm training T5 so I'll tag @patrickvonplaten in the off chance it's something specific and not an obvious thing I'm missing.
Why is my train_samples_per_second graph linearly growing? I didn't set an increasing batch size, so it should be constant, right?
<img width="365" alt="image" src="https://user-images.git... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15619/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15619/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15618 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15618/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15618/comments | https://api.github.com/repos/huggingface/transformers/issues/15618/events | https://github.com/huggingface/transformers/issues/15618 | 1,131,632,375 | I_kwDOCUB6oc5Dc1b3 | 15,618 | DDP training hangs with `run_glue.py` and `run_seq2seq.py` | {
"login": "Shivanshu-Gupta",
"id": 10811153,
"node_id": "MDQ6VXNlcjEwODExMTUz",
"avatar_url": "https://avatars.githubusercontent.com/u/10811153?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Shivanshu-Gupta",
"html_url": "https://github.com/Shivanshu-Gupta",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"I'm testing with transformers@master.\r\n\r\nYou're using `CUDA_VISIBLE_DEVICES=1,2` - is it intentionally because you don't want to use the gpu 0? I trust that you wanted to use gpus 1 and 2 and skip gpu 0.\r\n\r\nIf you don't want to select specific gpus you don't need to use `CUDA_VISIBLE_DEVICES`. See: https:/... | 1,644 | 1,648 | 1,647 | NONE | null | ## Environment info
- `transformers` version: 4.16.2
- Platform: Linux-5.4.0-80-generic-x86_64-with-glibc2.31
- Python version: 3.9.7
- PyTorch version (GPU?): 1.10.2 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- JaxLi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15618/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15618/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15617 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15617/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15617/comments | https://api.github.com/repos/huggingface/transformers/issues/15617/events | https://github.com/huggingface/transformers/pull/15617 | 1,131,540,373 | PR_kwDOCUB6oc4ydqcF | 15,617 | Fix typo in speech2text2 doc | {
"login": "jonrbates",
"id": 15602718,
"node_id": "MDQ6VXNlcjE1NjAyNzE4",
"avatar_url": "https://avatars.githubusercontent.com/u/15602718?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jonrbates",
"html_url": "https://github.com/jonrbates",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,644 | 1,644 | 1,644 | CONTRIBUTOR | null | # What does this PR do?
Fix speech2text2 documentation to be consistent with code.
Following the doc as model.generate(input_ids=...) throws an error.
Using model.generate(inputs=inputs["input_values"], ...) works.
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merg... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15617/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15617/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15617",
"html_url": "https://github.com/huggingface/transformers/pull/15617",
"diff_url": "https://github.com/huggingface/transformers/pull/15617.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15617.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15616 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15616/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15616/comments | https://api.github.com/repos/huggingface/transformers/issues/15616/events | https://github.com/huggingface/transformers/pull/15616 | 1,131,434,322 | PR_kwDOCUB6oc4ydRoI | 15,616 | Implementation of activations as pytorch modules | {
"login": "eldarkurtic",
"id": 8884008,
"node_id": "MDQ6VXNlcjg4ODQwMDg=",
"avatar_url": "https://avatars.githubusercontent.com/u/8884008?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eldarkurtic",
"html_url": "https://github.com/eldarkurtic",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> I visually checked that nothing was left out - I wonder whether we have all these activation functions tested - have you by chance grepped if all entries in the ACT2FN table appear at least once in the tests?\r\n\r\nI've added a fe... | 1,644 | 1,645 | 1,645 | CONTRIBUTOR | null | # What does this PR do?
Fixes https://github.com/huggingface/transformers/issues/15364
## 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/maste... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15616/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15616/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15616",
"html_url": "https://github.com/huggingface/transformers/pull/15616",
"diff_url": "https://github.com/huggingface/transformers/pull/15616.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15616.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15615 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15615/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15615/comments | https://api.github.com/repos/huggingface/transformers/issues/15615/events | https://github.com/huggingface/transformers/pull/15615 | 1,131,287,066 | PR_kwDOCUB6oc4ycvgl | 15,615 | Fix broken link in CTRL docs | {
"login": "stevhliu",
"id": 59462357,
"node_id": "MDQ6VXNlcjU5NDYyMzU3",
"avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stevhliu",
"html_url": "https://github.com/stevhliu",
"followers_url": "https://api.github.com/users/ste... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,644 | 1,644 | 1,644 | MEMBER | null | Fixes broken link in CTRL docs (see #14969). | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15615/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15615/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15615",
"html_url": "https://github.com/huggingface/transformers/pull/15615",
"diff_url": "https://github.com/huggingface/transformers/pull/15615.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15615.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15614 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15614/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15614/comments | https://api.github.com/repos/huggingface/transformers/issues/15614/events | https://github.com/huggingface/transformers/pull/15614 | 1,131,132,650 | PR_kwDOCUB6oc4ycL3Y | 15,614 | Fix grammar in tokenizer_summary docs | {
"login": "derenrich",
"id": 79513,
"node_id": "MDQ6VXNlcjc5NTEz",
"avatar_url": "https://avatars.githubusercontent.com/u/79513?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/derenrich",
"html_url": "https://github.com/derenrich",
"followers_url": "https://api.github.com/users/derenrich/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,644 | 1,644 | 1,644 | CONTRIBUTOR | null | "to make ensure" is redundant. minor grammar nit.
# What does this PR do?
Fixes typo in docs.
<!--
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... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15614/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15614/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15614",
"html_url": "https://github.com/huggingface/transformers/pull/15614",
"diff_url": "https://github.com/huggingface/transformers/pull/15614.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15614.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15613 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15613/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15613/comments | https://api.github.com/repos/huggingface/transformers/issues/15613/events | https://github.com/huggingface/transformers/pull/15613 | 1,130,464,107 | PR_kwDOCUB6oc4yZ0TW | 15,613 | Flax Speech-Encoder-Decoder Model | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"The issue being encountered occurs when the model weights are initialized: the `encoder_hidden_states` don’t match the shape of the `decoder_hidden_states`, meaning that the cross-attention layers throw an error when the decoder is initialised. I have been inspecting the code to try and establish where the two dev... | 1,644 | 1,646 | 1,646 | CONTRIBUTOR | null | # What does this PR do?
Currently, Speech-Encoder-Decoder Models are only available in PyTorch. This PR adds the **Flax** Speech-Encoder-Decoder Model and all accompanying tests.
The accuracy of the Flax Speech-Encoder-Decoder Model is validated through cross-test comparison with the corresponding PyTorch Speech-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15613/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15613/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15613",
"html_url": "https://github.com/huggingface/transformers/pull/15613",
"diff_url": "https://github.com/huggingface/transformers/pull/15613.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15613.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15612 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15612/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15612/comments | https://api.github.com/repos/huggingface/transformers/issues/15612/events | https://github.com/huggingface/transformers/pull/15612 | 1,130,463,022 | PR_kwDOCUB6oc4yZ0D4 | 15,612 | TF: Add informative warning for inexistent CPU backprop ops | {
"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._",
"Example of the warning:\r\n<img width=\"1512\" alt=\"image\" src=\"https://user-images.githubusercontent.com/12240844/153624301-9b171959-66c1-4a24-bb59-e86673192e6a.png\">\r\n",
"(Merging as soon as tests pass, as this just adds a ... | 1,644 | 1,644 | 1,644 | MEMBER | null | # What does this PR do?
Some TF operations do not support backpropagation on CPU, namely convolutions with the `groups` argument set ([related issue on Keras](https://github.com/keras-team/keras/issues/15713)). Sadly, the exception thrown is very uninformative and makes no mention of hardware problems if there is no... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15612/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/15612/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15612",
"html_url": "https://github.com/huggingface/transformers/pull/15612",
"diff_url": "https://github.com/huggingface/transformers/pull/15612.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15612.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15611 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15611/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15611/comments | https://api.github.com/repos/huggingface/transformers/issues/15611/events | https://github.com/huggingface/transformers/pull/15611 | 1,130,452,328 | PR_kwDOCUB6oc4yZxtB | 15,611 | Small clean up generate | {
"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,644 | 1,644 | 1,644 | MEMBER | null | # What does this PR do?
This PR does a small clean-up for PyTorch's generate by removing unused duplicated code and ordering the code a bit better. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15611/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15611/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15611",
"html_url": "https://github.com/huggingface/transformers/pull/15611",
"diff_url": "https://github.com/huggingface/transformers/pull/15611.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15611.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15610 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15610/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15610/comments | https://api.github.com/repos/huggingface/transformers/issues/15610/events | https://github.com/huggingface/transformers/issues/15610 | 1,130,450,568 | I_kwDOCUB6oc5DYU6I | 15,610 | T5 AttributeError: 'T5Encoder' object has no attribute 'main_input_name' | {
"login": "weilixiang",
"id": 24439429,
"node_id": "MDQ6VXNlcjI0NDM5NDI5",
"avatar_url": "https://avatars.githubusercontent.com/u/24439429?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/weilixiang",
"html_url": "https://github.com/weilixiang",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"try to Reduce the version of transformers",
"Hey, there is some information lacking. Could you please provide:\r\n- A fully working code example: there is no call to `get_model_output` so we're unaware of what is the model and the sentence\r\n- The result of `transformers-cli env`\r\n- What result did you expect... | 1,644 | 1,692 | 1,650 | NONE | null | I trained a T5 model and when I ran the inference it gave me error as mentioned in title. I installed required package as shown below. It was working yesterday but now it returned me this attribute error.
```
!pip install sentencepiece==0.1.95
!pip install torch
!pip install transformers
!pip install pytorch_li... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15610/reactions",
"total_count": 4,
"+1": 4,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15610/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15609 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15609/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15609/comments | https://api.github.com/repos/huggingface/transformers/issues/15609/events | https://github.com/huggingface/transformers/issues/15609 | 1,130,445,620 | I_kwDOCUB6oc5DYTs0 | 15,609 | Documentation of DataCollatorForLanguageModeling | {
"login": "yarongef",
"id": 47784011,
"node_id": "MDQ6VXNlcjQ3Nzg0MDEx",
"avatar_url": "https://avatars.githubusercontent.com/u/47784011?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yarongef",
"html_url": "https://github.com/yarongef",
"followers_url": "https://api.github.com/users/yar... | [] | closed | false | null | [] | [
"Hey! Would you like to open a PR?",
"Yes, I'll do that",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://gi... | 1,644 | 1,649 | 1,649 | NONE | null | # 🚀 Feature request
Would you consider adding to the following tip:
"For best performance, this data collator should be used with a dataset having items that are dictionaries or BatchEncoding, with the "special_tokens_mask" key, ...."
The reason for doing so, for example: "So that special mask tokens won't be... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15609/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15609/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15608 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15608/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15608/comments | https://api.github.com/repos/huggingface/transformers/issues/15608/events | https://github.com/huggingface/transformers/issues/15608 | 1,130,425,371 | I_kwDOCUB6oc5DYOwb | 15,608 | ❓ T5 pre-training dataset | {
"login": "pietrolesci",
"id": 61748653,
"node_id": "MDQ6VXNlcjYxNzQ4NjUz",
"avatar_url": "https://avatars.githubusercontent.com/u/61748653?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pietrolesci",
"html_url": "https://github.com/pietrolesci",
"followers_url": "https://api.github.com/... | [] | closed | false | {
"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://... | [
{
"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",
"follo... | [
"I recently ran into the same issue and can confirm your findings. I believe [this](https://huggingface.co/t5-small) version of T5 is fine-tuned in a multitask setup which you can learn more about from the [T5 paper](https://arxiv.org/abs/1910.10683). This is why it works super well on many downstream tasks. Howeve... | 1,644 | 1,650 | 1,650 | CONTRIBUTOR | null | Hi there,
I am working with the T5 model and, before proceeding, I need to account for the actual datasets that it has been pre-trained on.
In the [T5v1.1 doc page](https://huggingface.co/docs/transformers/model_doc/t5v1.1) it says "Note: T5 Version 1.1 was only pre-trained on [C4](https://huggingface.co/datasets... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15608/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15608/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15607 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15607/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15607/comments | https://api.github.com/repos/huggingface/transformers/issues/15607/events | https://github.com/huggingface/transformers/pull/15607 | 1,130,276,694 | PR_kwDOCUB6oc4yZKQW | 15,607 | fixed pipeline code | {
"login": "Moumeneb1",
"id": 25756717,
"node_id": "MDQ6VXNlcjI1NzU2NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/25756717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Moumeneb1",
"html_url": "https://github.com/Moumeneb1",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,644 | 1,645 | 1,645 | CONTRIBUTOR | null | The PR fixes the doc issue in [#15578](https://github.com/huggingface/transformers/issues/15578)
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15607/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15607/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15607",
"html_url": "https://github.com/huggingface/transformers/pull/15607",
"diff_url": "https://github.com/huggingface/transformers/pull/15607.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15607.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15606 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15606/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15606/comments | https://api.github.com/repos/huggingface/transformers/issues/15606/events | https://github.com/huggingface/transformers/pull/15606 | 1,130,263,993 | PR_kwDOCUB6oc4yZHW4 | 15,606 | Add aws studio notebooks | {
"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._",
"https://github.com/huggingface/moon-landing/pull/2077 should improve the UI",
"I can't check the result, do you have any way of adding a screenshot of what it will give?",
"It will look like this (also, github renders it almost i... | 1,644 | 1,644 | 1,644 | 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/15606/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15606/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15606",
"html_url": "https://github.com/huggingface/transformers/pull/15606",
"diff_url": "https://github.com/huggingface/transformers/pull/15606.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15606.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15605 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15605/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15605/comments | https://api.github.com/repos/huggingface/transformers/issues/15605/events | https://github.com/huggingface/transformers/issues/15605 | 1,130,221,930 | I_kwDOCUB6oc5DXdFq | 15,605 | Auto tokenizer for question-context tokenization | {
"login": "Arij-Aladel",
"id": 68355048,
"node_id": "MDQ6VXNlcjY4MzU1MDQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/68355048?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Arij-Aladel",
"html_url": "https://github.com/Arij-Aladel",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Hey @Arij-Aladel, \r\n\r\nSorry I'm having trouble to fully understand your question here. Could you clarify a bit what output you would expect? E.g. in your opinion what should:\r\n\r\n```bash\r\nprint(tokenizer.decode([id for id in ids['input_ids'].flatten()]))\r\n```\r\n\r\nprint out?",
"@patrickvonplaten Tha... | 1,644 | 1,648 | 1,648 | NONE | null | @patrickvonplaten, @patil-suraj, @LysandreJik
Hello!
I have trained this [tokenizer](https://github.com/huggingface/transformers/tree/master/examples/flax/language-modeling#train-tokenizer-2)
I have a question answering task using T5 and I need the question and context to be tokenized as T5Tokenizer do. I mean `qu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15605/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15605/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15604 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15604/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15604/comments | https://api.github.com/repos/huggingface/transformers/issues/15604/events | https://github.com/huggingface/transformers/pull/15604 | 1,130,198,578 | PR_kwDOCUB6oc4yY4gD | 15,604 | Add local and TensorFlow ONNX export examples to docs | {
"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._",
"Thanks for the tip @sgugger - I'd totally forgotten about this neat feature of the docs :) I've now implemented the change, so should be good for another pass "
] | 1,644 | 1,644 | 1,644 | MEMBER | null | # What does this PR do?
This PR builds on #13831 to show examples of:
* Exporting a local checkpoint to ONNX
* Exporting a pure TensorFlow checkpoint to ONNX
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15604/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15604/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15604",
"html_url": "https://github.com/huggingface/transformers/pull/15604",
"diff_url": "https://github.com/huggingface/transformers/pull/15604.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15604.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15603 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15603/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15603/comments | https://api.github.com/repos/huggingface/transformers/issues/15603/events | https://github.com/huggingface/transformers/pull/15603 | 1,130,180,854 | PR_kwDOCUB6oc4yY0jc | 15,603 | Fix Seq2SeqTrainer for VisionEncoderDecoderModel | {
"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,644 | 1,644 | 1,644 | CONTRIBUTOR | null | # What does this PR do?
Fixes #15526
The Seq2SeqTrainer always passes `attention_mask` to the `generate` method in its `prediction_step`. However, this results in an error for instances of `VisionEncoderDecoderModel`, which don't accept `attention_mask` in their forward method:
```
[/usr/local/lib/python3.7/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15603/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15603/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15603",
"html_url": "https://github.com/huggingface/transformers/pull/15603",
"diff_url": "https://github.com/huggingface/transformers/pull/15603.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15603.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15602 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15602/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15602/comments | https://api.github.com/repos/huggingface/transformers/issues/15602/events | https://github.com/huggingface/transformers/pull/15602 | 1,130,159,607 | PR_kwDOCUB6oc4yYv3N | 15,602 | Fix deepspeed-zero-inference hashlink | {
"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._",
"Thank you for helping me to resolve this issue, @mishig25 \r\n\r\nSame as the reason for not applying https://github.com/huggingface/transformers/pull/15601 these tags are there for redirects from other pages so we can't remove them.... | 1,644 | 1,644 | 1,644 | CONTRIBUTOR | null | # What does this PR do?
Followup to https://github.com/huggingface/transformers/pull/15601
Fixes typo in hashlinks in dpeepseed.mdx doc file
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15602/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15602/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15602",
"html_url": "https://github.com/huggingface/transformers/pull/15602",
"diff_url": "https://github.com/huggingface/transformers/pull/15602.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15602.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15601 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15601/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15601/comments | https://api.github.com/repos/huggingface/transformers/issues/15601/events | https://github.com/huggingface/transformers/pull/15601 | 1,129,839,956 | PR_kwDOCUB6oc4yXoVt | 15,601 | Rm unneeded `<a =''>` | {
"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._",
"This will breaking existing links to those anchors (when they don't match the section name just after), which is the reason why they are here.",
"ooh I see 😊\r\nthen I'll push another PR that only fixes dpeespeed.mdx issue mention... | 1,644 | 1,644 | 1,644 | CONTRIBUTOR | null | # What does this PR do?
For hashlink generation, `<a id='seq_imdb'></a>` is not used.
Instead, hashlinks are generated from the markdown headings using [these rules](https://github.com/huggingface/doc-builder/blob/21972fd444094cd6c7414968c6a58935047c5dd1/src/doc_builder/build_doc.py#L264-L266)
cc: @stas00 this p... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15601/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15601/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15601",
"html_url": "https://github.com/huggingface/transformers/pull/15601",
"diff_url": "https://github.com/huggingface/transformers/pull/15601.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15601.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15600 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15600/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15600/comments | https://api.github.com/repos/huggingface/transformers/issues/15600/events | https://github.com/huggingface/transformers/pull/15600 | 1,129,827,296 | PR_kwDOCUB6oc4yXldm | 15,600 | [deepspeed docs] Correct JSON format | {
"login": "ngoquanghuy99",
"id": 36761076,
"node_id": "MDQ6VXNlcjM2NzYxMDc2",
"avatar_url": "https://avatars.githubusercontent.com/u/36761076?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ngoquanghuy99",
"html_url": "https://github.com/ngoquanghuy99",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks for your work on this, @stas00"
] | 1,644 | 1,644 | 1,644 | CONTRIBUTOR | null | # What does this PR do?
This PR corrects the JSON format.
@stas00 @LysandreJik | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15600/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15600/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15600",
"html_url": "https://github.com/huggingface/transformers/pull/15600",
"diff_url": "https://github.com/huggingface/transformers/pull/15600.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15600.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15599 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15599/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15599/comments | https://api.github.com/repos/huggingface/transformers/issues/15599/events | https://github.com/huggingface/transformers/pull/15599 | 1,129,763,101 | PR_kwDOCUB6oc4yXXL3 | 15,599 | Run ViT examples on PyTorch XLA out of the box | {
"login": "miladm",
"id": 579948,
"node_id": "MDQ6VXNlcjU3OTk0OA==",
"avatar_url": "https://avatars.githubusercontent.com/u/579948?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/miladm",
"html_url": "https://github.com/miladm",
"followers_url": "https://api.github.com/users/miladm/follow... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15599). All of your documentation changes will be reflected on that endpoint.",
"It turns out the model is mostly supported. \r\nI had to make a couple of change to successfully run the model on the TPU using PyTorch/XLA. B... | 1,644 | 1,658 | 1,650 | NONE | null | Check if Vision Transformers (ViT) model and its example script are supported on PyTorch/XLA out of the box. If not, produce the code to bring the needed support. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15599/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15599/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15599",
"html_url": "https://github.com/huggingface/transformers/pull/15599",
"diff_url": "https://github.com/huggingface/transformers/pull/15599.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15599.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15598 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15598/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15598/comments | https://api.github.com/repos/huggingface/transformers/issues/15598/events | https://github.com/huggingface/transformers/issues/15598 | 1,129,740,547 | I_kwDOCUB6oc5DVnkD | 15,598 | gpt2 error using torch.jit.trace | {
"login": "Biaocsu",
"id": 45280752,
"node_id": "MDQ6VXNlcjQ1MjgwNzUy",
"avatar_url": "https://avatars.githubusercontent.com/u/45280752?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Biaocsu",
"html_url": "https://github.com/Biaocsu",
"followers_url": "https://api.github.com/users/Biaocs... | [] | closed | false | null | [] | [
"dose anyone knows how to solve this? many thanks!",
"use `return_dict=False`",
"Hello! I recommend reading the following, which mentions what must be done to run models with JIT: https://huggingface.co/docs/transformers/v4.16.2/en/serialization#torchscript",
"This issue has been automatically marked as stale... | 1,644 | 1,684 | 1,648 | NONE | null | ## Environment info
- `transformers` version: 4.16.2
- Platform: ubuntu
- Python version: 3.8.12
- PyTorch version (GPU?): 1.10.0a0+0aef44c
- Tensorflow version (GPU?):
- Using GPU in script?:
- Using distributed or parallel set-up in script?:
#### the environment is built from a docker image from `https://gi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15598/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15598/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15597 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15597/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15597/comments | https://api.github.com/repos/huggingface/transformers/issues/15597/events | https://github.com/huggingface/transformers/issues/15597 | 1,129,653,411 | I_kwDOCUB6oc5DVSSj | 15,597 | How to implement generate function for seperate encoder decoder T5 model? | {
"login": "VikasOjha666",
"id": 35727142,
"node_id": "MDQ6VXNlcjM1NzI3MTQy",
"avatar_url": "https://avatars.githubusercontent.com/u/35727142?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/VikasOjha666",
"html_url": "https://github.com/VikasOjha666",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Hi! Thanks for the issue. But please don't tag every maintainer on an issue. In the issue template you can find who to tag depending on the model or feature. \r\nAlso for such general questions please use the [forum ](https://discuss.huggingface.co/). We use issues for bug reports and feature requests. Thank you !... | 1,644 | 1,647 | 1,647 | NONE | null | I was working on optimizing the T5 model. The version of the transformer I am using is 4.8. For optimization, I separated the model into encoder and decoder with LM(Language modeling) head. Earlier for generation, I just passed input_ids, attention_mask,max_length, and num_beams. But now since the model is separated i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15597/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15597/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15596 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15596/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15596/comments | https://api.github.com/repos/huggingface/transformers/issues/15596/events | https://github.com/huggingface/transformers/pull/15596 | 1,129,593,414 | PR_kwDOCUB6oc4yWyWo | 15,596 | Add example batch size to all commands | {
"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,644 | 1,644 | 1,644 | 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/15596/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/15596/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15596",
"html_url": "https://github.com/huggingface/transformers/pull/15596",
"diff_url": "https://github.com/huggingface/transformers/pull/15596.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15596.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15594 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15594/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15594/comments | https://api.github.com/repos/huggingface/transformers/issues/15594/events | https://github.com/huggingface/transformers/pull/15594 | 1,129,441,079 | PR_kwDOCUB6oc4yWRsB | 15,594 | [research_projects] deal with security alerts | {
"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... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Good idea, @LysandreJik - done\r\n\r\nPlease review with whitespace-ignore filter on:\r\nhttps://github.com/huggingface/transformers/pull/15594/files?diff=split&w=1"
] | 1,644 | 1,644 | 1,644 | CONTRIBUTOR | null | for 2 weeks now dependabot keeps on complaining about old PL versions hardcoded in research_projects that have a vulnerability.
This PR may break those abandoned examples but at least give the developers some peace of mind.
Perhaps it's time to move research_projects that have been abandoned to their own repo.
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15594/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15594/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15594",
"html_url": "https://github.com/huggingface/transformers/pull/15594",
"diff_url": "https://github.com/huggingface/transformers/pull/15594.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15594.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15593 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15593/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15593/comments | https://api.github.com/repos/huggingface/transformers/issues/15593/events | https://github.com/huggingface/transformers/pull/15593 | 1,129,345,109 | PR_kwDOCUB6oc4yV9Bm | 15,593 | Fix bugs of s2t fairseq model converting | {
"login": "beomseok-lee",
"id": 13184386,
"node_id": "MDQ6VXNlcjEzMTg0Mzg2",
"avatar_url": "https://avatars.githubusercontent.com/u/13184386?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/beomseok-lee",
"html_url": "https://github.com/beomseok-lee",
"followers_url": "https://api.github.c... | [] | closed | false | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [
{
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "htt... | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15593). All of your documentation changes will be reflected on that endpoint.",
"> @patil-suraj it's also possible that the position embedding weights are present when converting from Fairseq no? Or are they always missing... | 1,644 | 1,655 | 1,647 | 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/15593/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15593/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15593",
"html_url": "https://github.com/huggingface/transformers/pull/15593",
"diff_url": "https://github.com/huggingface/transformers/pull/15593.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15593.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15592 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15592/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15592/comments | https://api.github.com/repos/huggingface/transformers/issues/15592/events | https://github.com/huggingface/transformers/pull/15592 | 1,129,339,539 | PR_kwDOCUB6oc4yV70V | 15,592 | Update TAPAS script to convert TAPAS-NQ weights (re-attempt #11907) | {
"login": "xhluca",
"id": 21180505,
"node_id": "MDQ6VXNlcjIxMTgwNTA1",
"avatar_url": "https://avatars.githubusercontent.com/u/21180505?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xhluca",
"html_url": "https://github.com/xhluca",
"followers_url": "https://api.github.com/users/xhluca/fo... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15592). 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,644 | 1,656 | 1,650 | CONTRIBUTOR | null | Closes https://github.com/huggingface/transformers/issues/14494
This is a reattempt of #11907, as it became stall and was closed. I had to use the latest version and copy the code over.
Instructions:
* Clone fork
* go to `transformers/`
* `pip install torch pandas tensorflow`
* `pip install torch-scatter -f h... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15592/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15592/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15592",
"html_url": "https://github.com/huggingface/transformers/pull/15592",
"diff_url": "https://github.com/huggingface/transformers/pull/15592.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15592.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15591 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15591/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15591/comments | https://api.github.com/repos/huggingface/transformers/issues/15591/events | https://github.com/huggingface/transformers/issues/15591 | 1,129,274,305 | I_kwDOCUB6oc5DT1vB | 15,591 | T5 encoder past_key_values | {
"login": "ZhaofengWu",
"id": 11954789,
"node_id": "MDQ6VXNlcjExOTU0Nzg5",
"avatar_url": "https://avatars.githubusercontent.com/u/11954789?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ZhaofengWu",
"html_url": "https://github.com/ZhaofengWu",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"The reason is that the encoder has no need to cache keys and values; all we need to do is cache the encoder output hidden states and then we can reuse those for cross-attention. Ultimately, the T5 encoder is only used one time during generation - just one forward pass at the very beginning of generation and then w... | 1,644 | 1,666 | 1,650 | CONTRIBUTOR | null | Currently only the T5 decoder can use `past_key_values`, but not the encoder. Why?
https://github.com/huggingface/transformers/blob/644ec052332beb160276ceaf9cc9ab6bbf0b89d2/src/transformers/models/t5/modeling_t5.py#L631
My use case is Li & Liang (2021) style prefix tuning (https://arxiv.org/abs/2101.00190), which I... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15591/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15591/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15590 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15590/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15590/comments | https://api.github.com/repos/huggingface/transformers/issues/15590/events | https://github.com/huggingface/transformers/pull/15590 | 1,129,203,424 | PR_kwDOCUB6oc4yVdyb | 15,590 | Fix ASR pipelines from local directories with wav2vec models that have language models attached | {
"login": "versae",
"id": 173537,
"node_id": "MDQ6VXNlcjE3MzUzNw==",
"avatar_url": "https://avatars.githubusercontent.com/u/173537?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/versae",
"html_url": "https://github.com/versae",
"followers_url": "https://api.github.com/users/versae/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Sure thing, I'll add the test tomorrow 👍🏼 ",
"@versae you need to protect your test with @require_torch or @require_pyctcdecode (not sure what was failing)",
"@Narsil, thanks! Sorry for all the mess with the commits. I'm tryin... | 1,644 | 1,644 | 1,644 | CONTRIBUTOR | null | # What does this PR do?
Fixes #15589.
## 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/master/CONTRIBUTING.md#start-contributing-pull-reque... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15590/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15590/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15590",
"html_url": "https://github.com/huggingface/transformers/pull/15590",
"diff_url": "https://github.com/huggingface/transformers/pull/15590.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15590.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15589 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15589/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15589/comments | https://api.github.com/repos/huggingface/transformers/issues/15589/events | https://github.com/huggingface/transformers/issues/15589 | 1,129,194,782 | I_kwDOCUB6oc5DTiUe | 15,589 | ASR pipelines won't load local Wav2Vec models with language models attached | {
"login": "versae",
"id": 173537,
"node_id": "MDQ6VXNlcjE3MzUzNw==",
"avatar_url": "https://avatars.githubusercontent.com/u/173537?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/versae",
"html_url": "https://github.com/versae",
"followers_url": "https://api.github.com/users/versae/follow... | [] | closed | false | null | [] | [] | 1,644 | 1,644 | 1,644 | CONTRIBUTOR | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.17.0.dev0
- Platform: Linux-5.13.0-27-generic-x86_64-with-glibc2.34
- Python version: 3.9.7
- PyTorch vers... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15589/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15589/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15588 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15588/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15588/comments | https://api.github.com/repos/huggingface/transformers/issues/15588/events | https://github.com/huggingface/transformers/pull/15588 | 1,129,057,946 | PR_kwDOCUB6oc4yU80y | 15,588 | [ViTMAE] Add link to script | {
"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,644 | 1,644 | 1,644 | CONTRIBUTOR | null | # What does this PR do?
This PR adds a link to the PyTorch example script in the docs of ViTMAE. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15588/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15588/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15588",
"html_url": "https://github.com/huggingface/transformers/pull/15588",
"diff_url": "https://github.com/huggingface/transformers/pull/15588.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15588.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15587 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15587/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15587/comments | https://api.github.com/repos/huggingface/transformers/issues/15587/events | https://github.com/huggingface/transformers/pull/15587 | 1,129,040,421 | PR_kwDOCUB6oc4yU5Km | 15,587 | Expand tutorial for custom models | {
"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,644 | 1,644 | 1,644 | COLLABORATOR | null | # What does this PR do?
This PR extends the tutorial for custom models by showing how to write such a custom model, with an example of wrapping a model from the timm library. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15587/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15587/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15587",
"html_url": "https://github.com/huggingface/transformers/pull/15587",
"diff_url": "https://github.com/huggingface/transformers/pull/15587.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15587.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15586 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15586/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15586/comments | https://api.github.com/repos/huggingface/transformers/issues/15586/events | https://github.com/huggingface/transformers/pull/15586 | 1,129,012,254 | PR_kwDOCUB6oc4yUzQ8 | 15,586 | Add SimMIM | {
"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._",
"Updated the PR to not include BEiT."
] | 1,644 | 1,645 | 1,645 | CONTRIBUTOR | null | # What does this PR do?
This PR adds an `AutoModelForMaskedImageModeling` API to the library with a corresponding `run_mim.py` script.
It allows to pre-train the following Transformer-based vision models:
* ViT
* DeiT
* BEiT
* Swin Transformer
based on Microsoft's cool (and simple) [SimMIM](https://arxi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15586/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15586/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15586",
"html_url": "https://github.com/huggingface/transformers/pull/15586",
"diff_url": "https://github.com/huggingface/transformers/pull/15586.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15586.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15595 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15595/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15595/comments | https://api.github.com/repos/huggingface/transformers/issues/15595/events | https://github.com/huggingface/transformers/issues/15595 | 1,129,537,908 | I_kwDOCUB6oc5DU2F0 | 15,595 | Dynamic padding did not work as expected for custom audio dataset | {
"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 | [] | [
"Hi @changyeli, thanks for reporting.\r\n\r\nAccording to the TypeError message you get, `self.pad_token_id` is None and code line \r\n```\r\n File \"/home/lixx3013/anaconda3/envs/toolkit/lib/python3.8/site-packages/transformers/tokenization_utils_base.py\", line 2312, in _get_padding_truncation_strategies\r\n ... | 1,644 | 1,647 | 1,647 | NONE | null | ## Describe the bug
Hello everyone, following-up of [this post](https://discuss.huggingface.co/t/dynamic-padding-not-working-for-audio-custom-dataset/14532) and [official blog post](https://huggingface.co/blog/fine-tune-wav2vec2-english) on fine-tuning Wav2Vec model. Turns out it did not pad correctly w.r.t. input ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15595/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15595/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15585 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15585/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15585/comments | https://api.github.com/repos/huggingface/transformers/issues/15585/events | https://github.com/huggingface/transformers/pull/15585 | 1,128,962,534 | PR_kwDOCUB6oc4yUo54 | 15,585 | [deepspeed docs] misc additions | {
"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... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,644 | 1,644 | 1,644 | CONTRIBUTOR | null | This PR:
- documents a new Deepspeed optimization param
- fixes a header (had 2 with similar names)
- adds new troubleshooting entry
@sgugger | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15585/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15585/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15585",
"html_url": "https://github.com/huggingface/transformers/pull/15585",
"diff_url": "https://github.com/huggingface/transformers/pull/15585.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15585.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15584 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15584/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15584/comments | https://api.github.com/repos/huggingface/transformers/issues/15584/events | https://github.com/huggingface/transformers/pull/15584 | 1,128,864,810 | PR_kwDOCUB6oc4yUUhY | 15,584 | [Flax] abstract init model | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15584). 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,644 | 1,647 | 1,647 | 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/15584/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15584/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15584",
"html_url": "https://github.com/huggingface/transformers/pull/15584",
"diff_url": "https://github.com/huggingface/transformers/pull/15584.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15584.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15583 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15583/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15583/comments | https://api.github.com/repos/huggingface/transformers/issues/15583/events | https://github.com/huggingface/transformers/issues/15583 | 1,128,816,248 | I_kwDOCUB6oc5DSF54 | 15,583 | Add TF implementation of GPT-J model | {
"login": "stancld",
"id": 46073029,
"node_id": "MDQ6VXNlcjQ2MDczMDI5",
"avatar_url": "https://avatars.githubusercontent.com/u/46073029?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stancld",
"html_url": "https://github.com/stancld",
"followers_url": "https://api.github.com/users/stancl... | [] | closed | false | null | [] | [
"Good luck.",
"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/master/... | 1,644 | 1,648 | 1,648 | CONTRIBUTOR | null | # 🚀 Feature request
Add TF implementation of GPT-J model
## Motivation
Narrow the gap between PT and TF implementations.
## Your contribution
I'd like to work on this. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15583/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15583/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15582 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15582/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15582/comments | https://api.github.com/repos/huggingface/transformers/issues/15582/events | https://github.com/huggingface/transformers/issues/15582 | 1,128,815,477 | I_kwDOCUB6oc5DSFt1 | 15,582 | train_file and validation_file in jsonl format with examples/pytorch/language-modeling/run_clm.py | {
"login": "andrescodas",
"id": 164282,
"node_id": "MDQ6VXNlcjE2NDI4Mg==",
"avatar_url": "https://avatars.githubusercontent.com/u/164282?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/andrescodas",
"html_url": "https://github.com/andrescodas",
"followers_url": "https://api.github.com/user... | [] | 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/master/CONTRIBUTING.md)... | 1,644 | 1,647 | 1,647 | CONTRIBUTOR | null | I'm using `./examples/pytorch/language-modeling/run_clm.py` providing the arguments _--train_file_ and _--validation_file_ with the **json** extension, however the underlying file is really a **jsonl** file. This is confusing as I need to rename my jsonl files.
Since run_clm.py is compatible with jsonl files, is it... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15582/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15582/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15581 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15581/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15581/comments | https://api.github.com/repos/huggingface/transformers/issues/15581/events | https://github.com/huggingface/transformers/issues/15581 | 1,128,783,808 | I_kwDOCUB6oc5DR9_A | 15,581 | Flax model much slower than Pytorch | {
"login": "yorickvanzweeden",
"id": 6776663,
"node_id": "MDQ6VXNlcjY3NzY2NjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6776663?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yorickvanzweeden",
"html_url": "https://github.com/yorickvanzweeden",
"followers_url": "https://ap... | [] | closed | false | null | [] | [
"cc @patil-suraj think we need to improve our docs here. \r\n\r\n@yorickvanzweeden the very first time you run `run_model_jit(jax_inputs_batched)`, the model is compiled which takes time. However the second time you run it, it should be pretty fast. Could you maybe run the code say 20 times for both PyTorch and Fla... | 1,644 | 1,644 | 1,644 | NONE | null | Hi,
I am running the same QuestionAnswering model using Pytorch and Flax, but I am seeing quite a bad performance for Flax.
| Model | Time |
|--------------- |-------- |
| Pytorch (GPU) | 30 ms |
| Flax (GPU) | 4 sec |
| Flax (TPU) | 15 sec |
I have warmed the jit function, and I ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15581/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15581/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15580 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15580/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15580/comments | https://api.github.com/repos/huggingface/transformers/issues/15580/events | https://github.com/huggingface/transformers/pull/15580 | 1,128,723,675 | PR_kwDOCUB6oc4yT3JB | 15,580 | Fix tests hub failure | {
"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,644 | 1,644 | 1,644 | COLLABORATOR | null | # What does this PR do?
This PR fixes the flaky tests in the test_hub job.
TL;DR: the two tests changed push to the Hub with async commits which is the source of two flaky errors and one at-exit error:
- 1st flaky error: the pushes may not be finished before we try to access the repo, so we wait for the push in... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15580/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15580/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15580",
"html_url": "https://github.com/huggingface/transformers/pull/15580",
"diff_url": "https://github.com/huggingface/transformers/pull/15580.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15580.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15579 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15579/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15579/comments | https://api.github.com/repos/huggingface/transformers/issues/15579/events | https://github.com/huggingface/transformers/pull/15579 | 1,128,686,553 | PR_kwDOCUB6oc4yTvU8 | 15,579 | Click new version | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,644 | 1,644 | 1,644 | MEMBER | null | Upgrades click version in CI, as the `ubuntu-latest` image with python 3.8 support has `click~=7` installed by default which is incompatible with `black`. The `pip` dependency resolver doesn't manage to update. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15579/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15579/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15579",
"html_url": "https://github.com/huggingface/transformers/pull/15579",
"diff_url": "https://github.com/huggingface/transformers/pull/15579.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15579.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15578 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15578/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15578/comments | https://api.github.com/repos/huggingface/transformers/issues/15578/events | https://github.com/huggingface/transformers/issues/15578 | 1,128,632,963 | I_kwDOCUB6oc5DRZKD | 15,578 | Documentation error | {
"login": "Moumeneb1",
"id": 25756717,
"node_id": "MDQ6VXNlcjI1NzU2NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/25756717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Moumeneb1",
"html_url": "https://github.com/Moumeneb1",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hi,\r\n\r\nThanks for spotting. Feel free to open a PR to fix this!",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines]... | 1,644 | 1,647 | 1,647 | CONTRIBUTOR | null | ##
Hi, I think there is a tiny issue in the documentation of using pipelines
The current [doc](https://github.com/huggingface/transformers/blob/4a6a35bc6506dd5deb528580184c39e3e778d53b/docs/source/main_classes/pipelines.mdx) says that the KeyDataset class is in the transformers.pipelines.base, however the class ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15578/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15578/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15577 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15577/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15577/comments | https://api.github.com/repos/huggingface/transformers/issues/15577/events | https://github.com/huggingface/transformers/issues/15577 | 1,128,466,443 | I_kwDOCUB6oc5DQwgL | 15,577 | Tokenizers dictionaries not being saved to cache. | {
"login": "m-bain",
"id": 36994049,
"node_id": "MDQ6VXNlcjM2OTk0MDQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/36994049?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/m-bain",
"html_url": "https://github.com/m-bain",
"followers_url": "https://api.github.com/users/m-bain/fo... | [] | closed | false | null | [] | [
"Hello 🙂 \r\n\r\nTokenizers get automatically cached when first downloaded, so once you downloaded the tokenizer, you can use `AutoTokenizer.from_pretrained(model_name, local_files_only=True)` and if the tokenizer is present in the cache, you'll get the tokenizer. Otherwise, you'll get `TypeError: __init__() missi... | 1,644 | 1,644 | 1,644 | CONTRIBUTOR | null | Hi,
Sometimes huggingface servers are down. This can break training scripts if you are trying to load a tokenizer because they get the vocabulary through the API everytime.
e.g.
`tokenizer = transformers.CLIPTokenizer.from_pretrained("openai/CLIP/ViT-B/32")`
If the servers are down the above line of code wil... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15577/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15577/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15576 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15576/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15576/comments | https://api.github.com/repos/huggingface/transformers/issues/15576/events | https://github.com/huggingface/transformers/issues/15576 | 1,128,455,694 | I_kwDOCUB6oc5DQt4O | 15,576 | i cannot connect the hf webset | {
"login": "zhangbo2008",
"id": 35842504,
"node_id": "MDQ6VXNlcjM1ODQyNTA0",
"avatar_url": "https://avatars.githubusercontent.com/u/35842504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zhangbo2008",
"html_url": "https://github.com/zhangbo2008",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Their services are currently down. Check: https://status.huggingface.co/ to see when they are up again.",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not ... | 1,644 | 1,647 | 1,647 | NONE | null |

## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` v... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15576/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15576/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15575 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15575/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15575/comments | https://api.github.com/repos/huggingface/transformers/issues/15575/events | https://github.com/huggingface/transformers/issues/15575 | 1,128,308,626 | I_kwDOCUB6oc5DQJ-S | 15,575 | Inference using ONNX model exported by transformers.onnx raises [ONNXRuntimeError] INVALID_ARGUMENT : Unexpected input data type | {
"login": "Khreas",
"id": 10131735,
"node_id": "MDQ6VXNlcjEwMTMxNzM1",
"avatar_url": "https://avatars.githubusercontent.com/u/10131735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Khreas",
"html_url": "https://github.com/Khreas",
"followers_url": "https://api.github.com/users/Khreas/fo... | [] | closed | false | null | [] | [
"For the record, I forgot to mention that the issue can be easily fixed by converting inputs to numpy int64 as the error states. I opened this issue since the snippet is a direct example from the documentation and it could be a good idea to modify the snippet there.\r\n\r\nHere's a quick and dirty fix:\r\n\r\n```py... | 1,644 | 1,644 | 1,644 | NONE | null | Hello !
I am currently encountering a strange behaviour when using a ONNX model generated by the `transformers.onnx` package on an actual documentation example, which can be found here: https://huggingface.co/docs/transformers/serialization#exporting-a-model-to-onnx
I have attached all relevant info I could think... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15575/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/15575/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15574 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15574/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15574/comments | https://api.github.com/repos/huggingface/transformers/issues/15574/events | https://github.com/huggingface/transformers/issues/15574 | 1,128,302,680 | I_kwDOCUB6oc5DQIhY | 15,574 | PyTorch Cuda Tensors not supported in DETR model | {
"login": "dennisushi",
"id": 30011340,
"node_id": "MDQ6VXNlcjMwMDExMzQw",
"avatar_url": "https://avatars.githubusercontent.com/u/30011340?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dennisushi",
"html_url": "https://github.com/dennisushi",
"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/master/CONTRIBUTING.md)... | 1,644 | 1,661 | 1,647 | NONE | null | https://github.com/huggingface/transformers/blob/db7d6a80e82d66127b2a44b6e3382969fdc8b207/src/transformers/models/detr/feature_extraction_detr.py#L568
The feature extractor attempts to convert the tensors to PIL images, which is only possible for `t.detach().cpu()` tensors.
The origin of the error is `ImageFeatu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15574/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15574/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15573 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15573/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15573/comments | https://api.github.com/repos/huggingface/transformers/issues/15573/events | https://github.com/huggingface/transformers/issues/15573 | 1,128,159,717 | I_kwDOCUB6oc5DPlnl | 15,573 | Transformers Pipeline Error | {
"login": "omerXfaruq",
"id": 44067394,
"node_id": "MDQ6VXNlcjQ0MDY3Mzk0",
"avatar_url": "https://avatars.githubusercontent.com/u/44067394?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/omerXfaruq",
"html_url": "https://github.com/omerXfaruq",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hey @FarukOzderim, `lysandre/tiny-vit-random` is a dummy model that should probably be deleted by now. What is the use-case you're trying to achieve with it?\r\n\r\nIt's currently used in the tests, but it should be removed.",
"I also use it in the tests within Gradio, please do not remove it :D\nJust wanted to ... | 1,644 | 1,647 | 1,647 | NONE | null | When I tried to use pipeline from transformers I got this error. It happened when tensorflow was installed but pytorch was not.
```
from transformers import pipeline
pipe = pipeline(model="lysandre/tiny-vit-random")
```
Error:
```
> pipe = pipeline(model="lysandre/tiny-vit-random")
test_external.p... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15573/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15573/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15572 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15572/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15572/comments | https://api.github.com/repos/huggingface/transformers/issues/15572/events | https://github.com/huggingface/transformers/pull/15572 | 1,128,084,720 | PR_kwDOCUB6oc4yRwBh | 15,572 | logger.warn --> logger.warning | {
"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,644 | 1,644 | 1,644 | COLLABORATOR | null | # What does this PR do?
logger.warn --> logger.warning
(There is 1 occurrence in research_projects untouched)
@sgugger @LysandreJik | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15572/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15572/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15572",
"html_url": "https://github.com/huggingface/transformers/pull/15572",
"diff_url": "https://github.com/huggingface/transformers/pull/15572.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15572.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15571 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15571/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15571/comments | https://api.github.com/repos/huggingface/transformers/issues/15571/events | https://github.com/huggingface/transformers/pull/15571 | 1,127,808,496 | PR_kwDOCUB6oc4yQ4UB | 15,571 | [Flax tests] fix test_model_outputs_equivalence | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks a lot for fixing it"
] | 1,644 | 1,644 | 1,644 | MEMBER | null | # What does this PR do?
The `test_model_outputs_equivalence` common test is never run because `recursive_check` call is at the wrong place. This PR calls `recursive_check` in `check_equivalence` and also fixes the `set_nan_tensor_to_zero` by using an equivalent jax function since jax arrays do not support index assi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15571/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15571/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15571",
"html_url": "https://github.com/huggingface/transformers/pull/15571",
"diff_url": "https://github.com/huggingface/transformers/pull/15571.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15571.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15570 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15570/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15570/comments | https://api.github.com/repos/huggingface/transformers/issues/15570/events | https://github.com/huggingface/transformers/issues/15570 | 1,127,792,457 | I_kwDOCUB6oc5DOL9J | 15,570 | m2m100 model do not support eval / predict on deepspeed + fp16 enviroment? | {
"login": "lavine-lmu",
"id": 86561756,
"node_id": "MDQ6VXNlcjg2NTYxNzU2",
"avatar_url": "https://avatars.githubusercontent.com/u/86561756?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lavine-lmu",
"html_url": "https://github.com/lavine-lmu",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Maybe of interest to @patil-suraj (M2M100) and @stas00 (DeepSpeed)",
"I bet that if you remove deepspeed the problem won't go away, \r\n\r\nHow was m2m100 pre-trained? if it's bf16 mixed precision (on TPUs) then it suffers the same problem as most other bf16-pretrained models (e.g. t5) - i.e. it most likely can'... | 1,644 | 1,666 | 1,644 | NONE | null | Hello everyone! Recently, I am finetuning m2m100 model, but find using ```deepspeed``` + ```fp16``` can caculate loss in train_step, but got ```nan``` loss in eval_step and predict_step. The ```run_translation.py``` is normally in ```mbart``` and ```t5``` model and is also normarlly in ```m2m100``` model when do not us... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15570/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15570/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/15569 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15569/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15569/comments | https://api.github.com/repos/huggingface/transformers/issues/15569/events | https://github.com/huggingface/transformers/pull/15569 | 1,127,687,624 | PR_kwDOCUB6oc4yQfTU | 15,569 | Make sure custom configs work with Transformers | {
"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,644 | 1,644 | 1,644 | COLLABORATOR | null | # What does this PR do?
This PR makes sure that once can use a custom configuration in Transformers with no trouble in the `save_pretrained`/`from_pretrained` methods. The only requirement is that it must accept kwargs as the `from_pretrained` method calls the init with lots of them (this will be documented soon in ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15569/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15569/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15569",
"html_url": "https://github.com/huggingface/transformers/pull/15569",
"diff_url": "https://github.com/huggingface/transformers/pull/15569.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15569.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15568 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15568/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15568/comments | https://api.github.com/repos/huggingface/transformers/issues/15568/events | https://github.com/huggingface/transformers/pull/15568 | 1,127,673,138 | PR_kwDOCUB6oc4yQcZP | 15,568 | update serving_output for some TF models | {
"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._",
"(@Rocketknight1 )"
] | 1,644 | 1,644 | 1,644 | COLLABORATOR | null | # What does this PR do?
The recent merged PRs #15511 and #15530 forgot to update `serving_output` for the changed outputs.
(sorry about this)
This PR fixes it.
@patrickvonplaten | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15568/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15568/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15568",
"html_url": "https://github.com/huggingface/transformers/pull/15568",
"diff_url": "https://github.com/huggingface/transformers/pull/15568.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15568.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15567 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15567/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15567/comments | https://api.github.com/repos/huggingface/transformers/issues/15567/events | https://github.com/huggingface/transformers/pull/15567 | 1,127,669,002 | PR_kwDOCUB6oc4yQbhk | 15,567 | TF MT5 embeddings resize | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,644 | 1,644 | 1,644 | MEMBER | null | # What does this PR do?
Fixes #13839
In MT5, the `get_output_embeddings()` method does not return a layer, returns a `tf.Tensor` with the weights. As such, `self._get_word_embedding_weight(self.get_output_embeddings())` was failing, as it expected a layer. Since the point of `_get_word_embedding_weight` is to ge... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15567/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/15567/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15567",
"html_url": "https://github.com/huggingface/transformers/pull/15567",
"diff_url": "https://github.com/huggingface/transformers/pull/15567.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15567.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15566 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15566/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15566/comments | https://api.github.com/repos/huggingface/transformers/issues/15566/events | https://github.com/huggingface/transformers/pull/15566 | 1,127,632,176 | PR_kwDOCUB6oc4yQUFo | 15,566 | Add Wav2Vec2 Adapter Weights to Flax | {
"login": "sanchit-gandhi",
"id": 93869735,
"node_id": "U_kgDOBZhWpw",
"avatar_url": "https://avatars.githubusercontent.com/u/93869735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanchit-gandhi",
"html_url": "https://github.com/sanchit-gandhi",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Great looks good to me! @patil-suraj, could you also take a quick look? ",
"For reference, PR is the corrected version of #15521",
"Feel free to merge @sanchit-gandhi, the failing test is unrelated"
] | 1,644 | 1,644 | 1,644 | CONTRIBUTOR | null | # What does this PR do?
Fixes #15476
- Adds an adapter to the Flax Wav2Vec2 model to reduce the time dimension of the extracted feature vectors beyond that of the standard Wav2Vec2 model. The encoder's output hidden states thus have a time context window that is more similar to that of a subword token instead of ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15566/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15566/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15566",
"html_url": "https://github.com/huggingface/transformers/pull/15566",
"diff_url": "https://github.com/huggingface/transformers/pull/15566.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15566.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15565 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15565/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15565/comments | https://api.github.com/repos/huggingface/transformers/issues/15565/events | https://github.com/huggingface/transformers/pull/15565 | 1,127,627,252 | PR_kwDOCUB6oc4yQTGU | 15,565 | Upgrade black to version ~=22.0 | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Need to update the `check_copies`."
] | 1,644 | 1,644 | 1,644 | MEMBER | null | Upgrades the `transformers` library quality tool `black` to use the first stable release of `black`, version 22.0. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15565/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15565/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15565",
"html_url": "https://github.com/huggingface/transformers/pull/15565",
"diff_url": "https://github.com/huggingface/transformers/pull/15565.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15565.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/15564 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/15564/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/15564/comments | https://api.github.com/repos/huggingface/transformers/issues/15564/events | https://github.com/huggingface/transformers/pull/15564 | 1,127,609,607 | PR_kwDOCUB6oc4yQPYl | 15,564 | How to fine-tune NLP tasks docs | {
"login": "stevhliu",
"id": 59462357,
"node_id": "MDQ6VXNlcjU5NDYyMzU3",
"avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stevhliu",
"html_url": "https://github.com/stevhliu",
"followers_url": "https://api.github.com/users/ste... | [
{
"id": 1834067346,
"node_id": "MDU6TGFiZWwxODM0MDY3MzQ2",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Documentation",
"name": "Documentation",
"color": "77cc3b",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks for the review! \r\n\r\nI've added videos where they're relevant and links to the base fine-tuning tutorials. About the subfolders, I was going to create one for each modality so users can easily sort for the type of guide the... | 1,644 | 1,645 | 1,645 | MEMBER | null | This PR focuses on adding guides for how-to fine-tune models for NLP tasks. Main additions:
- Change the TOC structure to include a nested section in the how-to guides for fine-tuning for NLP tasks.
- Separate each task in `custom_datasets` into their own pages. This will make it easier for users to find and read a... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/15564/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/15564/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/15564",
"html_url": "https://github.com/huggingface/transformers/pull/15564",
"diff_url": "https://github.com/huggingface/transformers/pull/15564.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/15564.patch",
"merged_at... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.