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/18976 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18976/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18976/comments | https://api.github.com/repos/huggingface/transformers/issues/18976/events | https://github.com/huggingface/transformers/issues/18976 | 1,368,861,288 | I_kwDOCUB6oc5Rlypo | 18,976 | Top_P sampling samples an extra token when the cum sum of probabilities is exactly equal to top_p | {
"login": "ekagra-ranjan",
"id": 3116519,
"node_id": "MDQ6VXNlcjMxMTY1MTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/3116519?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ekagra-ranjan",
"html_url": "https://github.com/ekagra-ranjan",
"followers_url": "https://api.github.... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hey @ekagra-ranjan 👋 \r\n\r\nEDIT: I've checked the [original paper](https://arxiv.org/pdf/1904.09751.pdf) and you are correct -- in your example, only two tokens should be up to consideration. Adding a quick fix for it.\r\n\r\n",
"@gante I can raise a PR right away for this. Should I go ahead?\r\n",
"Oh, my... | 1,662 | 1,663 | 1,663 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.20.1
- Platform: Linux-5.10.133+-x86_64-with-debian-bullseye-sid
- Python version: 3.7.12
- Huggingface_hub version: 0.8.1
- PyTorch version (GPU?): 1.11.0+cpu (False)
- Tensorflow version (GPU?): 2.6.4 (False)
- Flax version (CPU?/GPU?/TPU?): 0.6.0 (cpu)
- Jax vers... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18976/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18976/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18975 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18975/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18975/comments | https://api.github.com/repos/huggingface/transformers/issues/18975/events | https://github.com/huggingface/transformers/issues/18975 | 1,368,743,440 | I_kwDOCUB6oc5RlV4Q | 18,975 | How to parallelize large model(like t5-11b) at transformer version 3.0.2 | {
"login": "ZeyiLiao",
"id": 97815464,
"node_id": "U_kgDOBdSLqA",
"avatar_url": "https://avatars.githubusercontent.com/u/97815464?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ZeyiLiao",
"html_url": "https://github.com/ZeyiLiao",
"followers_url": "https://api.github.com/users/ZeyiLiao/fo... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"the naive `parallelize` was never supported by t5. just gpt2 and bart. and it'll be removed soon altogether as there are better solutions.\r\n\r\nedit: that was a wrong statement - only gpt2 and t5 have every been supported.\r\n\r\nyou can do 2 things:\r\n\r\n1. `accelerate` will automatically do naive paralleliza... | 1,662 | 1,663 | 1,662 | NONE | null | ### System Info
- `transformers` version: 3.0.2
- Platform: Linux-4.15.0-189-generic-x86_64-with-debian-buster-sid
- Python version: 3.7.13
- PyTorch version (GPU?): 1.7.0 (True)
- Tensorflow version (GPU?): not installed (NA)
- Using GPU in script?: <Yes>
- Using distributed or parallel set-up in script?: <Try ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18975/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18975/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18974 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18974/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18974/comments | https://api.github.com/repos/huggingface/transformers/issues/18974/events | https://github.com/huggingface/transformers/issues/18974 | 1,368,736,454 | I_kwDOCUB6oc5RlULG | 18,974 | AttributeError: 'DistributedDataParallel' object has no attribute 'generate' | {
"login": "HebaGamalElDin",
"id": 36745656,
"node_id": "MDQ6VXNlcjM2NzQ1NjU2",
"avatar_url": "https://avatars.githubusercontent.com/u/36745656?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HebaGamalElDin",
"html_url": "https://github.com/HebaGamalElDin",
"followers_url": "https://api.gi... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hi, just unwrap the model:\r\n\r\nmodel.module.generate(inputs)\r\n\r\n(I didn't verify, but this should work)",
"> Hi, just unwrap the model:\r\n> \r\n> model.module.generate(inputs)\r\n> \r\n> (I didn't verify, but this should work)\r\n\r\nYes, this actually works, thank you @nitaytech .. I have just faced one... | 1,662 | 1,666 | 1,666 | NONE | null | ### System Info
transformer version: 4.21.1
python: 3.8
pytorch: 1.12
### Who can help?
@NielsRogge
### Reproduction
Steps:
1. Loaded the trOCR model by huggingface:
2. Coping the model to all GPUs
3. Predicting the validation set using generate function
### Expected behavior
I'm training t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18974/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18974/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18973 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18973/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18973/comments | https://api.github.com/repos/huggingface/transformers/issues/18973/events | https://github.com/huggingface/transformers/pull/18973 | 1,368,666,828 | PR_kwDOCUB6oc4-uIu2 | 18,973 | Adding changes to add the Pegasus Onnx Config. | {
"login": "pramodith",
"id": 16939722,
"node_id": "MDQ6VXNlcjE2OTM5NzIy",
"avatar_url": "https://avatars.githubusercontent.com/u/16939722?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pramodith",
"html_url": "https://github.com/pramodith",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18973). All of your documentation changes will be reflected on that endpoint.",
"@lewtun I tested the export and validated the onnx model using the following code.\r\n\r\n```\r\nfrom transformers.models.pegasus.configuratio... | 1,662 | 1,670 | 1,670 | NONE | null | # What does this PR do?
This pull request makes the required changes to support running the Pegasus model in Onnx runtime, Linked to
A related PR #18305 was closed because of some git issues I was running into and replaced for this one.
Fixes https://github.com/huggingface/transformers/issues/16308
## Bef... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18973/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18973/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18973",
"html_url": "https://github.com/huggingface/transformers/pull/18973",
"diff_url": "https://github.com/huggingface/transformers/pull/18973.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18973.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18972 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18972/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18972/comments | https://api.github.com/repos/huggingface/transformers/issues/18972/events | https://github.com/huggingface/transformers/pull/18972 | 1,368,618,237 | PR_kwDOCUB6oc4-t_mI | 18,972 | Revert "TF: unpin maximum TF version" | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18972). All of your documentation changes will be reflected on that endpoint."
] | 1,662 | 1,662 | 1,662 | COLLABORATOR | null | Reverts huggingface/transformers#18917 to make the CI green. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18972/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18972/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18972",
"html_url": "https://github.com/huggingface/transformers/pull/18972",
"diff_url": "https://github.com/huggingface/transformers/pull/18972.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18972.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18971 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18971/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18971/comments | https://api.github.com/repos/huggingface/transformers/issues/18971/events | https://github.com/huggingface/transformers/issues/18971 | 1,368,594,577 | I_kwDOCUB6oc5RkxiR | 18,971 | generate() - documentation of `length_penalty' is misleading (and actually wrong) | {
"login": "nitaytech",
"id": 56558412,
"node_id": "MDQ6VXNlcjU2NTU4NDEy",
"avatar_url": "https://avatars.githubusercontent.com/u/56558412?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nitaytech",
"html_url": "https://github.com/nitaytech",
"followers_url": "https://api.github.com/users/... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hi @nitaytech 👋 we are aware of this issue, it is also being tracked here -- https://github.com/huggingface/transformers/issues/18208"
] | 1,662 | 1,663 | 1,663 | NONE | null | ### System Info
- `transformers` version: 4.20.1
- Platform: Linux-5.15.0-1014-azure-x86_64-with-glibc2.31
- Python version: 3.10.4
- Huggingface_hub version: 0.8.1
- PyTorch version (GPU?): 1.12.0 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18971/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18971/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18970 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18970/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18970/comments | https://api.github.com/repos/huggingface/transformers/issues/18970/events | https://github.com/huggingface/transformers/issues/18970 | 1,368,497,239 | I_kwDOCUB6oc5RkZxX | 18,970 | add a python module called "loss.py" for custom losses published in papers | {
"login": "marzi9696",
"id": 68329143,
"node_id": "MDQ6VXNlcjY4MzI5MTQz",
"avatar_url": "https://avatars.githubusercontent.com/u/68329143?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/marzi9696",
"html_url": "https://github.com/marzi9696",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,662 | 1,666 | 1,666 | NONE | null | ### Feature request
I'm currently working on a text generation project at work which made me encounter a new loss name "unlikelihood loss".
Thankfully there was an implementation already existed on the internet.
But I was wondering that would be neat to create a separate module just for loss functions specially cust... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18970/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18970/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18969 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18969/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18969/comments | https://api.github.com/repos/huggingface/transformers/issues/18969/events | https://github.com/huggingface/transformers/issues/18969 | 1,368,493,222 | I_kwDOCUB6oc5RkYym | 18,969 | Choice of variable name in custom model affects model initialization | {
"login": "urmeya",
"id": 64949494,
"node_id": "MDQ6VXNlcjY0OTQ5NDk0",
"avatar_url": "https://avatars.githubusercontent.com/u/64949494?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/urmeya",
"html_url": "https://github.com/urmeya",
"followers_url": "https://api.github.com/users/urmeya/fo... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"I am very confused as to what the bug you think you have here is. You are trying to load weights of a checkpoint in a model that does not match (`\"bert-base-ubcased\"` is a BERT model with no head, so it does not expect a `bert` attribute). Using the base model prefix is the magic that Transformers uses behind th... | 1,662 | 1,675 | 1,663 | NONE | null | ### System Info
transformers version 4.17.0
python version 3.7.11
platform Ubuntu
### Who can help?
@LysandreJik @sgugger
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18969/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18969/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18968 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18968/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18968/comments | https://api.github.com/repos/huggingface/transformers/issues/18968/events | https://github.com/huggingface/transformers/issues/18968 | 1,368,447,494 | I_kwDOCUB6oc5RkNoG | 18,968 | Allow custom head size for self attention in BERT | {
"login": "xinyangz",
"id": 13930183,
"node_id": "MDQ6VXNlcjEzOTMwMTgz",
"avatar_url": "https://avatars.githubusercontent.com/u/13930183?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xinyangz",
"html_url": "https://github.com/xinyangz",
"followers_url": "https://api.github.com/users/xin... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,662 | 1,666 | 1,666 | NONE | null | ### Feature request
Right now the `attention_head_size` of BERT self attention is set to hidden_size / num_attention_heads:
https://github.com/huggingface/transformers/blob/855dcae8bb743c3f8f0781742d7fa2fa3aaa3e22/src/transformers/models/bert/modeling_bert.py#L260-L262
However, the `all_head_size` of self attentio... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18968/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18968/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18967 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18967/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18967/comments | https://api.github.com/repos/huggingface/transformers/issues/18967/events | https://github.com/huggingface/transformers/issues/18967 | 1,368,405,141 | I_kwDOCUB6oc5RkDSV | 18,967 | Pre-processing re-runs for each process | {
"login": "rahular",
"id": 1104544,
"node_id": "MDQ6VXNlcjExMDQ1NDQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/1104544?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rahular",
"html_url": "https://github.com/rahular",
"followers_url": "https://api.github.com/users/rahular/... | [
{
"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 | [] | [
"Do you have a reproducer of the behavior you are seeing? On my side data is processed once.",
"Wow, ok. So looks like the example scripts always set `--overwrite_cache` to `True`.\r\n\r\nIt is currently `parser.add_argument(\"--overwrite_cache\", type=bool, default=None)` instead of `parser.add_argument(\"--over... | 1,662 | 1,663 | 1,663 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.22.0.dev0
- Platform: Linux-4.15.0-180-generic-x86_64-with-glibc2.27
- Python version: 3.10.4
- Huggingface_hub version: 0.8.1
- PyTorch version (GPU?): 1.12.1+cu102 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18967/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18967/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18966 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18966/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18966/comments | https://api.github.com/repos/huggingface/transformers/issues/18966/events | https://github.com/huggingface/transformers/pull/18966 | 1,368,268,824 | PR_kwDOCUB6oc4-s54x | 18,966 | Align try_to_load_from_cache with huggingface_hub | {
"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._",
"There is one on the HF hub side ;-) I just removed it here since it does not concern Transformers and we only the default value.",
"Perfect :)"
] | 1,662 | 1,662 | 1,662 | COLLABORATOR | null | # What does this PR do?
This PR completely align `try_to_load_from_cache` with its `huggingface_hub` counterpart (it's a copy-paste while just removing the `repo_type` argument) and adapts its use in `cached_file`. This is done before the next release of Transformers so that there is no breaking change if users star... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18966/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18966/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18966",
"html_url": "https://github.com/huggingface/transformers/pull/18966",
"diff_url": "https://github.com/huggingface/transformers/pull/18966.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18966.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18965 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18965/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18965/comments | https://api.github.com/repos/huggingface/transformers/issues/18965/events | https://github.com/huggingface/transformers/issues/18965 | 1,368,201,539 | I_kwDOCUB6oc5RjRlD | 18,965 | The configuration is not a valid json file | {
"login": "nicolaspi",
"id": 3748978,
"node_id": "MDQ6VXNlcjM3NDg5Nzg=",
"avatar_url": "https://avatars.githubusercontent.com/u/3748978?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nicolaspi",
"html_url": "https://github.com/nicolaspi",
"followers_url": "https://api.github.com/users/ni... | [
{
"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 | [] | [
"👆🏼Same error just started occuring about 30 mins ago across all machines",
"<img width=\"502\" alt=\"Screen Shot 2022-09-09 at 3 00 30 PM\" src=\"https://user-images.githubusercontent.com/26133/189424655-2d594077-d358-41aa-a265-86571dabb522.png\">\r\n",
"Related to #18962 ",
"Just in case, pinging @patil-s... | 1,662 | 1,662 | 1,662 | NONE | null | ### System Info
The config at this url [https://huggingface.co/openai/clip-vit-large-patch14/resolve/main/config.json](https://huggingface.co/openai/clip-vit-large-patch14/resolve/main/config.json) is not a valid JSON and produces error:
`json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18965/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/18965/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18964 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18964/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18964/comments | https://api.github.com/repos/huggingface/transformers/issues/18964/events | https://github.com/huggingface/transformers/pull/18964 | 1,368,184,481 | PR_kwDOCUB6oc4-soOm | 18,964 | Explain why loading config JSON fails | {
"login": "noprompt",
"id": 541996,
"node_id": "MDQ6VXNlcjU0MTk5Ng==",
"avatar_url": "https://avatars.githubusercontent.com/u/541996?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/noprompt",
"html_url": "https://github.com/noprompt",
"followers_url": "https://api.github.com/users/nopromp... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18964). All of your documentation changes will be reflected on that endpoint.",
"Could you just run the code quality tool to ensure that the code quality passes? You can install them with the following, from the root of you... | 1,662 | 1,668 | 1,668 | NONE | null | This PR improves the exception message thrown when reading configuration fails to include the information provided by the exception itself (line/column numbers, etc.). This can spare the reader of the message some trouble debugging it. See [this thread here](https://github.com/CompVis/stable-diffusion/issues/247) for b... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18964/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18964/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18964",
"html_url": "https://github.com/huggingface/transformers/pull/18964",
"diff_url": "https://github.com/huggingface/transformers/pull/18964.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18964.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18963 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18963/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18963/comments | https://api.github.com/repos/huggingface/transformers/issues/18963/events | https://github.com/huggingface/transformers/pull/18963 | 1,368,161,937 | PR_kwDOCUB6oc4-sjYN | 18,963 | Make AutoProcessor a magic loading class for all modalities | {
"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,662 | 1,663 | 1,663 | COLLABORATOR | null | # What does this PR do?
This PR re-enables a feature initially part of #14465 : the fact that `AutoProcessor` is a class loading the right processing class for any model (so processor, tokenizer or feature extractor). You can thus do:
```
processor = AutoProcessor.from_pretrained("bert-base-cased")
# Returns a fa... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18963/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18963/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18963",
"html_url": "https://github.com/huggingface/transformers/pull/18963",
"diff_url": "https://github.com/huggingface/transformers/pull/18963.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18963.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18962 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18962/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18962/comments | https://api.github.com/repos/huggingface/transformers/issues/18962/events | https://github.com/huggingface/transformers/pull/18962 | 1,368,044,039 | PR_kwDOCUB6oc4-sLGV | 18,962 | [CLIP] allow loading projection layer in vision and text 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_18962). All of your documentation changes will be reflected on that endpoint.",
"Just to understand better - what is a checkpoint that uses such a projection layer? Is that really part of CLIP or rather of the model built o... | 1,662 | 1,668 | 1,668 | MEMBER | null | The current vision and text models in clip don't return the image or text projected embeddings and the user needs to load the whole `CLIPModel` to be able to get the vision or text embeddings.
This PR adds `CLIPTextModelWithProjection` and `CLIPVisionModelWithProjection` similar to `CLIPTextModel` and `CLIPVisionMod... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18962/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/18962/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18962",
"html_url": "https://github.com/huggingface/transformers/pull/18962",
"diff_url": "https://github.com/huggingface/transformers/pull/18962.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18962.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18961 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18961/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18961/comments | https://api.github.com/repos/huggingface/transformers/issues/18961/events | https://github.com/huggingface/transformers/pull/18961 | 1,367,975,339 | PR_kwDOCUB6oc4-r86w | 18,961 | Add AnyPrecisionAdamW optimizer | {
"login": "atturaioe",
"id": 76523524,
"node_id": "MDQ6VXNlcjc2NTIzNTI0",
"avatar_url": "https://avatars.githubusercontent.com/u/76523524?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/atturaioe",
"html_url": "https://github.com/atturaioe",
"followers_url": "https://api.github.com/users/... | [] | closed | false | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [
{
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github... | [
"Hi, @stas00. I want to ask you whether should I add `anyprecision_adamw` specific arguments to the `trainings_args.py` or use the default ones in `trainer.py`. I'll be working on tests.",
"_The documentation is not available anymore as the PR was closed or merged._",
"I'd say let's add a generic `--optim-args`... | 1,662 | 1,668 | 1,668 | CONTRIBUTOR | null | # What does this PR do?
Add `AnyPrecisionAdamW` optimizer from `torchdistx`
Fixes # (issue)
#18827
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [ ] Did you read the [contributor guideline](https://github.com/huggingface/transfo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18961/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/18961/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18961",
"html_url": "https://github.com/huggingface/transformers/pull/18961",
"diff_url": "https://github.com/huggingface/transformers/pull/18961.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18961.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18960 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18960/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18960/comments | https://api.github.com/repos/huggingface/transformers/issues/18960/events | https://github.com/huggingface/transformers/pull/18960 | 1,367,941,320 | PR_kwDOCUB6oc4-r1l- | 18,960 | [Wav2Vec2] Fix `None` loss in docstring for Wav2Vec2ForPreTraining | {
"login": "abdouaziz",
"id": 39220574,
"node_id": "MDQ6VXNlcjM5MjIwNTc0",
"avatar_url": "https://avatars.githubusercontent.com/u/39220574?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/abdouaziz",
"html_url": "https://github.com/abdouaziz",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Great! Now that we've established the problem:\r\n\r\n> loss is `None` as `sampled_negative_indices` is omitted from the args of the model\r\n\r\nand verified the fix:\r\n\r\n> forward `sampled_negative_indices` to the model\r\n\r\nw... | 1,662 | 1,663 | 1,663 | NONE | null | # What does this PR do?
- [ ] It fixes the Nan value returned in the contrastive loss of [Wav2Vec2ForPreTraining](https://huggingface.co/docs/transformers/v4.21.3/en/model_doc/wav2vec2#transformers.Wav2Vec2ForPreTraining) .
- [ ] Adding sampled_negative_indices as a target allows Wav2Vec2ForPreTraining to calculat... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18960/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18960/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18960",
"html_url": "https://github.com/huggingface/transformers/pull/18960",
"diff_url": "https://github.com/huggingface/transformers/pull/18960.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18960.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18959 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18959/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18959/comments | https://api.github.com/repos/huggingface/transformers/issues/18959/events | https://github.com/huggingface/transformers/pull/18959 | 1,367,940,076 | PR_kwDOCUB6oc4-r1Up | 18,959 | [CookieCutter] Clarify questions | {
"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,662 | 1,663 | 1,663 | CONTRIBUTOR | null | # What does this PR do?
I've seen quite some mistakes in terms of people answering the questions of the CookieCutter in the wrong way. This is because the questions are sometimes a bit vague, i.e. it's not clear whether one should provide Roberta, RoBERTa or roberta. This was actually not clear for me either.
Thi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18959/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18959/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18959",
"html_url": "https://github.com/huggingface/transformers/pull/18959",
"diff_url": "https://github.com/huggingface/transformers/pull/18959.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18959.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18958 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18958/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18958/comments | https://api.github.com/repos/huggingface/transformers/issues/18958/events | https://github.com/huggingface/transformers/issues/18958 | 1,367,843,977 | I_kwDOCUB6oc5Rh6SJ | 18,958 | Encoder-decoder model is not working correctly for the latest versions | {
"login": "miguelwon",
"id": 7373193,
"node_id": "MDQ6VXNlcjczNzMxOTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/7373193?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/miguelwon",
"html_url": "https://github.com/miguelwon",
"followers_url": "https://api.github.com/users/mi... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | open | false | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [
{
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.githu... | [
"Thank you for reporting, @miguelwon . I will take a look.",
"This might also be interesting for @ArthurZucker if you're very busy at the moment @ydshieh ",
"I am having a look RN, will tell you when I know more 👍🏻 ",
"Hey @miguelwon it seems that you are right about the training not converging at all using... | 1,662 | 1,672 | null | NONE | null | ### System Info
transformers==4.2.1
### Who can help?
@patrickvonplaten
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [X ] My own task or dataset (give details below... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18958/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18958/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18957 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18957/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18957/comments | https://api.github.com/repos/huggingface/transformers/issues/18957/events | https://github.com/huggingface/transformers/pull/18957 | 1,367,796,503 | PR_kwDOCUB6oc4-rWDP | 18,957 | Wav2Vec2ForPreTraining loss Nan fixed | {
"login": "abdouaziz",
"id": 39220574,
"node_id": "MDQ6VXNlcjM5MjIwNTc0",
"avatar_url": "https://avatars.githubusercontent.com/u/39220574?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/abdouaziz",
"html_url": "https://github.com/abdouaziz",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [] | 1,662 | 1,662 | 1,662 | NONE | null | # What does this PR do?
- [ ] This PR fixe the loss of [Wav2Vec2ForPreTraining](https://huggingface.co/docs/transformers/v4.21.3/en/model_doc/wav2vec2#transformers.Wav2Vec2ForPreTraining) which return Nan values .
- [ ] We fix the error by adding sampled_negative_indices as a target to calculate the loss .
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18957/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18957/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18957",
"html_url": "https://github.com/huggingface/transformers/pull/18957",
"diff_url": "https://github.com/huggingface/transformers/pull/18957.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18957.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18956 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18956/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18956/comments | https://api.github.com/repos/huggingface/transformers/issues/18956/events | https://github.com/huggingface/transformers/issues/18956 | 1,367,734,613 | I_kwDOCUB6oc5RhflV | 18,956 | Latest Wav2Vec2 pretraining script runs on first GPU only | {
"login": "RK-BAKU",
"id": 71269675,
"node_id": "MDQ6VXNlcjcxMjY5Njc1",
"avatar_url": "https://avatars.githubusercontent.com/u/71269675?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/RK-BAKU",
"html_url": "https://github.com/RK-BAKU",
"followers_url": "https://api.github.com/users/RK-BAK... | [
{
"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 | [] | [
"Got to run accelerate config in order to setup devices."
] | 1,662 | 1,662 | 1,662 | NONE | null | ### System Info
Dear @patrickvonplaten
I've tried different multi GPU setups (RTX 3090 and A5000) but training always runs only on device 0.
**Tried these commands:**
`accelerate launch --num_processes=2 pretrain.py`
`accelerate launch pretrain.py`
Seems there is some bug in the script because old fairse... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18956/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18956/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18955 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18955/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18955/comments | https://api.github.com/repos/huggingface/transformers/issues/18955/events | https://github.com/huggingface/transformers/pull/18955 | 1,367,730,848 | PR_kwDOCUB6oc4-rH0Y | 18,955 | update black target version | {
"login": "BramVanroy",
"id": 2779410,
"node_id": "MDQ6VXNlcjI3Nzk0MTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2779410?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BramVanroy",
"html_url": "https://github.com/BramVanroy",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Looks like it wants to change a looooot of files. This usually creates a hell of merge conflicts in PRs so I would really like to avoid doing it too much. We will switch to black 2023 in January, so how about we change the target at ... | 1,662 | 1,662 | 1,662 | COLLABORATOR | null | Considering that setup.yp requires Python 3.7 or higher:
https://github.com/huggingface/transformers/blob/22f72185601d5167a747104b4aca102d0e92524c/setup.py#L417
it might make sense to also have black target only Python 3.7. Just a suggestion though.
Unsurprisingly, this PR may trigger quality check errors.
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18955/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18955/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18955",
"html_url": "https://github.com/huggingface/transformers/pull/18955",
"diff_url": "https://github.com/huggingface/transformers/pull/18955.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18955.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18954 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18954/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18954/comments | https://api.github.com/repos/huggingface/transformers/issues/18954/events | https://github.com/huggingface/transformers/issues/18954 | 1,367,684,874 | I_kwDOCUB6oc5RhTcK | 18,954 | Update decision transformers to gym 0.26 | {
"login": "RedTachyon",
"id": 19414946,
"node_id": "MDQ6VXNlcjE5NDE0OTQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/19414946?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/RedTachyon",
"html_url": "https://github.com/RedTachyon",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"cc @edbeeching ",
"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/ma... | 1,662 | 1,666 | 1,666 | NONE | null | ### Feature request
We recently published a [new release of gym](https://github.com/openai/gym/releases/tag/0.26.0), which carries with it a bunch of breaking changes.
However, this is the last of the API changes, and it will be stable going forward. So it would be great to update the decision transformers to be com... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18954/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18954/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18953 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18953/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18953/comments | https://api.github.com/repos/huggingface/transformers/issues/18953/events | https://github.com/huggingface/transformers/pull/18953 | 1,367,609,809 | PR_kwDOCUB6oc4-quLh | 18,953 | create Past CI results as tables for GitHub issue | {
"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 | [] | [
"One table\r\n\r\n| no. | error |\r\n|-:|:-|\r\n| 63 | AttributeError: module 'torch.jit._state' has no attribute '_clear_class_state' |\r\n| 38 | RuntimeError: iter.device(arg).is_cuda() INTERNAL ASSERT FAILED at \"/pytorch/aten/src/ATen/native/cu |\r\n| 3 | OSError: gs555750 is not a valid git identifier (branch ... | 1,662 | 1,662 | 1,662 | COLLABORATOR | null | # What does this PR do?
Update Past CI error statistic report script to produce 2 GitHub issue tables :-) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18953/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18953/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18953",
"html_url": "https://github.com/huggingface/transformers/pull/18953",
"diff_url": "https://github.com/huggingface/transformers/pull/18953.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18953.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18952 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18952/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18952/comments | https://api.github.com/repos/huggingface/transformers/issues/18952/events | https://github.com/huggingface/transformers/issues/18952 | 1,367,512,315 | I_kwDOCUB6oc5RgpT7 | 18,952 | Resize position embeddings in PreTrainedModel | {
"login": "PaulLerner",
"id": 25532159,
"node_id": "MDQ6VXNlcjI1NTMyMTU5",
"avatar_url": "https://avatars.githubusercontent.com/u/25532159?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PaulLerner",
"html_url": "https://github.com/PaulLerner",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"I have met the same issue.",
"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/transform... | 1,662 | 1,698 | 1,666 | CONTRIBUTOR | null | ### Feature request
Add a method to resize position embeddings in PreTrainedModel, in the same way as there is `resize_token_embeddings` for word embeddings.
There are several ways to do that:
- retrain everything from scratch
- keep the pretrained embeddings but add new trained from scratch for the new positions... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18952/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18952/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18951 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18951/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18951/comments | https://api.github.com/repos/huggingface/transformers/issues/18951/events | https://github.com/huggingface/transformers/issues/18951 | 1,367,449,506 | I_kwDOCUB6oc5RgZ-i | 18,951 | Pipeline GPT-NeoX only returns "BB" from any prompt then nothing for subsequent calls of the pipeline | {
"login": "jaimu97",
"id": 14964859,
"node_id": "MDQ6VXNlcjE0OTY0ODU5",
"avatar_url": "https://avatars.githubusercontent.com/u/14964859?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jaimu97",
"html_url": "https://github.com/jaimu97",
"followers_url": "https://api.github.com/users/jaimu9... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"I noticed also changing the `eos_token_id` to `187` (`\\n`) increases time for a response to about 20 seconds (previously ~5s) and there is an increased load on the cards but the response is the same \"BB\"",
"cc @Narsil ",
"I unfortunately don't have a machine at hand big enough to run that code.\r\n\r\nDoes ... | 1,662 | 1,664 | 1,664 | NONE | null | ### System Info
CPU: AMD 4750G (Onboard video disabled)
OS: Ubuntu Server 20.04.5 LTS x86_64
RAM: 64GB
GPUs: 2x Tesla M40 24GB
Driver Version: 510.47.03
CUDA Version: 11.6
Pytorch stable 1.12.1 (Installed via Anaconda)
Both accelerate and transformers installed through pip
accelerate @ git+https://github.com... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18951/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18951/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18950 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18950/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18950/comments | https://api.github.com/repos/huggingface/transformers/issues/18950/events | https://github.com/huggingface/transformers/issues/18950 | 1,367,305,528 | I_kwDOCUB6oc5Rf204 | 18,950 | BertTokenizer slowly on latest versions | {
"login": "Piecer-plc",
"id": 109329809,
"node_id": "U_kgDOBoQ9kQ",
"avatar_url": "https://avatars.githubusercontent.com/u/109329809?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Piecer-plc",
"html_url": "https://github.com/Piecer-plc",
"followers_url": "https://api.github.com/users/Pie... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"cc @SaulLu ",
"Hi @PerformanceDetect ,\r\n\r\nThanks for sharing this benchmark with us! Indeed it would be interesting to find out what addition caused this slowdown, do you think you would have some time to investigate further?\r\n\r\nOtherwise, if your usage is speed sensitive, I recommend you to use the fast... | 1,662 | 1,666 | 1,666 | NONE | null | ### System Info
Hi, I test the execution time of my program when adopt different transformers version.
In my program, when the transformers version was **4.21.3**, the execution time was **7.12s**, but when I changed the lightgbm to the **4.3.0**, the execution tim was **2.79s**.
I record the system info on differ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18950/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18950/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18949 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18949/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18949/comments | https://api.github.com/repos/huggingface/transformers/issues/18949/events | https://github.com/huggingface/transformers/pull/18949 | 1,367,303,478 | PR_kwDOCUB6oc4-ptcR | 18,949 | Fix M-CTC-T chunking | {
"login": "samwaterbury",
"id": 30158870,
"node_id": "MDQ6VXNlcjMwMTU4ODcw",
"avatar_url": "https://avatars.githubusercontent.com/u/30158870?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/samwaterbury",
"html_url": "https://github.com/samwaterbury",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18949). All of your documentation changes will be reflected on that endpoint.",
"In addition to running tests, as a sanity check I ran the code snippet from [this blog post](https://huggingface.co/blog/asr-chunking):\r\n\r\... | 1,662 | 1,666 | 1,666 | NONE | null | ## Summary
Chunking doesn't currently work for the M-CTC-T architecture, which this PR attempts to fix. The change is fairly minor but I am not an expert on how M-CTC-T works, so definitely open to feedback. In my usage, it works as intended.
Paging @patrickvonplaten since I think you originally implemented the c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18949/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18949/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18949",
"html_url": "https://github.com/huggingface/transformers/pull/18949",
"diff_url": "https://github.com/huggingface/transformers/pull/18949.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18949.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18948 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18948/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18948/comments | https://api.github.com/repos/huggingface/transformers/issues/18948/events | https://github.com/huggingface/transformers/pull/18948 | 1,367,288,374 | PR_kwDOCUB6oc4-pqPs | 18,948 | Add support for conditional detr | {
"login": "DeppMeng",
"id": 26196079,
"node_id": "MDQ6VXNlcjI2MTk2MDc5",
"avatar_url": "https://avatars.githubusercontent.com/u/26196079?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DeppMeng",
"html_url": "https://github.com/DeppMeng",
"followers_url": "https://api.github.com/users/Dep... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"The CI issue is caused by the fact that you have the following lines in src/transformers/models/auto/feature_extraction_auto.py:\r\n\r\n```\r\n(\"detr\", \"DetrFeatureExtractor\"),\r\n(\"detr\", \"DetrFeatureExtractor\"),\r\n```\r\n\... | 1,662 | 1,663 | 1,663 | 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/18948/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18948/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18948",
"html_url": "https://github.com/huggingface/transformers/pull/18948",
"diff_url": "https://github.com/huggingface/transformers/pull/18948.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18948.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18947 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18947/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18947/comments | https://api.github.com/repos/huggingface/transformers/issues/18947/events | https://github.com/huggingface/transformers/issues/18947 | 1,367,211,839 | I_kwDOCUB6oc5Rff8_ | 18,947 | About the evaluation_loop function of trainer | {
"login": "macheng6",
"id": 37951216,
"node_id": "MDQ6VXNlcjM3OTUxMjE2",
"avatar_url": "https://avatars.githubusercontent.com/u/37951216?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/macheng6",
"html_url": "https://github.com/macheng6",
"followers_url": "https://api.github.com/users/mac... | [] | 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!",
"You can set `eval_accumulation_steps=100`(or even a smaller number) in TraningArgs to avoid GPU memory exceeding... | 1,662 | 1,670 | 1,670 | NONE | null | ### Feature request
It is recommended to feed the logits of each batch into the compute_metrics function, and then aggregate the results of each batch.
### Motivation
When I use the evaluate function of the trainer, the evaluation_loop function concatenates all the logits and labels on the validation set and sends t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18947/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18947/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18946 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18946/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18946/comments | https://api.github.com/repos/huggingface/transformers/issues/18946/events | https://github.com/huggingface/transformers/issues/18946 | 1,367,120,940 | I_kwDOCUB6oc5RfJws | 18,946 | adamw_bnb_8bit is actually Adam8bit and doesn't respect TrainingArguments weight_decay | {
"login": "n9Mtq4",
"id": 5840141,
"node_id": "MDQ6VXNlcjU4NDAxNDE=",
"avatar_url": "https://avatars.githubusercontent.com/u/5840141?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/n9Mtq4",
"html_url": "https://github.com/n9Mtq4",
"followers_url": "https://api.github.com/users/n9Mtq4/foll... | [
{
"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 | [] | [
"Would you like to make a PR to fix this?",
"Actually upon further review, the weight decay is being set correctly. I didn't fully understand the purpose of these lines that set the weight decay for only some parameters. This bypasses the non-negative check in the constructor, but does use the correct value when ... | 1,662 | 1,662 | 1,662 | NONE | null | ### System Info
- `transformers` version: 4.22.0.dev0
- Platform: Linux-5.15.60-1-MANJARO-x86_64-with-glibc2.36
- Python version: 3.10.5
- Huggingface_hub version: 0.9.1
- PyTorch version (GPU?): 1.13.0.dev20220903+cu116 (True)
- Tensorflow version (GPU?): 2.8.0 (True)
- Flax version (CPU?/GPU?/TPU?): 0.4.2 (gpu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18946/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18946/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18945 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18945/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18945/comments | https://api.github.com/repos/huggingface/transformers/issues/18945/events | https://github.com/huggingface/transformers/pull/18945 | 1,366,955,977 | PR_kwDOCUB6oc4-oikr | 18,945 | Removed issue in wav2vec link | {
"login": "chrisemezue",
"id": 36100251,
"node_id": "MDQ6VXNlcjM2MTAwMjUx",
"avatar_url": "https://avatars.githubusercontent.com/u/36100251?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chrisemezue",
"html_url": "https://github.com/chrisemezue",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,662 | 1,663 | 1,663 | CONTRIBUTOR | null | Fix connected to [this issue](https://github.com/huggingface/transformers/issues/18944)
# 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 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18945/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18945/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18945",
"html_url": "https://github.com/huggingface/transformers/pull/18945",
"diff_url": "https://github.com/huggingface/transformers/pull/18945.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18945.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18944 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18944/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18944/comments | https://api.github.com/repos/huggingface/transformers/issues/18944/events | https://github.com/huggingface/transformers/issues/18944 | 1,366,946,102 | I_kwDOCUB6oc5RefE2 | 18,944 | wrong wav2vec link in audio classification blog | {
"login": "chrisemezue",
"id": 36100251,
"node_id": "MDQ6VXNlcjM2MTAwMjUx",
"avatar_url": "https://avatars.githubusercontent.com/u/36100251?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chrisemezue",
"html_url": "https://github.com/chrisemezue",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Closed by #18945"
] | 1,662 | 1,663 | 1,663 | CONTRIBUTOR | null | [This wonderful blog](https://huggingface.co/docs/transformers/main/en/tasks/audio_classification#preprocess) has an issue with the wav2vec model card link. See below:
> 2. Check the sampling rate of the audio file matches the sampling rate of the audio data a model was pretrained with. You can find this informa... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18944/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18944/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18943 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18943/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18943/comments | https://api.github.com/repos/huggingface/transformers/issues/18943/events | https://github.com/huggingface/transformers/pull/18943 | 1,366,896,288 | PR_kwDOCUB6oc4-oVov | 18,943 | [WIP] Implement LayoutLMv2ForRelationExtraction (continues #15173) | {
"login": "quasimik",
"id": 3389894,
"node_id": "MDQ6VXNlcjMzODk4OTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/3389894?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/quasimik",
"html_url": "https://github.com/quasimik",
"followers_url": "https://api.github.com/users/quasi... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18943). 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,662 | 1,668 | 1,668 | NONE | null | # What does this PR do?
Continues the good work in #15173 to add LayoutLMv2ForRelationExtraction, as implemented in [Microsoft's UniLM repo](https://github.com/microsoft/unilm/blob/152193af4b295ae39cf0c2a492da3ee5cc5abe29/layoutlmft/layoutlmft/models/layoutlmv2/modeling_layoutlmv2.py#L895-L937)
Tests are not writ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18943/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18943/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18943",
"html_url": "https://github.com/huggingface/transformers/pull/18943",
"diff_url": "https://github.com/huggingface/transformers/pull/18943.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18943.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18942 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18942/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18942/comments | https://api.github.com/repos/huggingface/transformers/issues/18942/events | https://github.com/huggingface/transformers/issues/18942 | 1,366,814,411 | I_kwDOCUB6oc5Rd-7L | 18,942 | Output scores in TranslationPipeline | {
"login": "d-miketa",
"id": 320321,
"node_id": "MDQ6VXNlcjMyMDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/320321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/d-miketa",
"html_url": "https://github.com/d-miketa",
"followers_url": "https://api.github.com/users/d-miket... | [] | closed | false | null | [] | [
"cc @Narsil ",
"This seems a nice addition ! \r\n\r\nSame here, I have limited bandwidth at the moment.\r\n\r\nNotes for anyone wanting to implement this.\r\n\r\nThe goal is NOT to support every single feature `generate` supports in terms of return, only the one that make sense for users not knowing about ML, an... | 1,662 | 1,667 | 1,667 | CONTRIBUTOR | null | ### Feature request
Please consider adding scores to the output dict of TranslationPipeline.
https://huggingface.co/docs/transformers/v4.21.3/en/main_classes/pipelines#transformers.TranslationPipeline.__call__
### Motivation
It'd be nice to see the scores/probabilities of translated sentences rather than ju... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18942/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/18942/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18941 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18941/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18941/comments | https://api.github.com/repos/huggingface/transformers/issues/18941/events | https://github.com/huggingface/transformers/pull/18941 | 1,366,811,967 | PR_kwDOCUB6oc4-oDOa | 18,941 | Update translation requests contact | {
"login": "NimaBoscarino",
"id": 6765188,
"node_id": "MDQ6VXNlcjY3NjUxODg=",
"avatar_url": "https://avatars.githubusercontent.com/u/6765188?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NimaBoscarino",
"html_url": "https://github.com/NimaBoscarino",
"followers_url": "https://api.github.... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Doesn't look like I have merge privileges on this repo, could you merge it @sgugger?",
"Just waiting for the last green tick and will do so!"
] | 1,662 | 1,662 | 1,662 | CONTRIBUTOR | null | # What does this PR do?
Updates the contact for translation requests to GuggerSylvain (@sgugger - if you're alright with that!)
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
## Who can review?
Documentation: @sgugger, @osanseviero | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18941/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18941/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18941",
"html_url": "https://github.com/huggingface/transformers/pull/18941",
"diff_url": "https://github.com/huggingface/transformers/pull/18941.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18941.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18940 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18940/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18940/comments | https://api.github.com/repos/huggingface/transformers/issues/18940/events | https://github.com/huggingface/transformers/issues/18940 | 1,366,741,431 | I_kwDOCUB6oc5RdtG3 | 18,940 | Getting the heat map out of VILT (Figure 4 in the paper) | {
"login": "Ngheissari",
"id": 83084391,
"node_id": "MDQ6VXNlcjgzMDg0Mzkx",
"avatar_url": "https://avatars.githubusercontent.com/u/83084391?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Ngheissari",
"html_url": "https://github.com/Ngheissari",
"followers_url": "https://api.github.com/use... | [
{
"id": 1990918270,
"node_id": "MDU6TGFiZWwxOTkwOTE4Mjcw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20First%20Issue",
"name": "Good First Issue",
"color": "bbf794",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"Hi,\r\n\r\nYes it's totally possible to re-create that. Basically it comes down to translating [this script](https://github.com/dandelin/ViLT/blob/master/demo.py) to a Gradio demo.\r\n\r\nI'm marking this as \"good first issue\" as it seems fairly straightforward.",
"Hi, I would like to work on it",
"@NielsRog... | 1,662 | 1,666 | 1,666 | NONE | null | ### Feature request
I would like to get the heatmap from ViLT (Visualizations of transportation plan of word patch alignment).
### Motivation
It is useful for debug and also might be useful for other applications. It is shown in Figure 4 in the paper: https://arxiv.org/pdf/2102.03334.pdf
### Your contribution
NA | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18940/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18940/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18939 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18939/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18939/comments | https://api.github.com/repos/huggingface/transformers/issues/18939/events | https://github.com/huggingface/transformers/pull/18939 | 1,366,425,145 | PR_kwDOCUB6oc4-muAs | 18,939 | RFC: Replace custom TF embeddings by Keras embeddings | {
"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._",
"My thoughts:\r\n\r\n- I think the behaviour of `tf.name_scope` is intended and stable, even if it's not documented (TF documentation isn't always great). I think we can rely on that safely, and it's a lot better than using compatibil... | 1,662 | 1,662 | 1,662 | MEMBER | null | # What does this PR do?
This is an RFC with a code example in the PR -- my primary goal is not to get the PR approved, but rather to discuss an improvement to our TF codebase, with an example that passes all tests.
## Context
In our TF implementation of models with embedding layers, we rely on two custom-made ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18939/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18939/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18939",
"html_url": "https://github.com/huggingface/transformers/pull/18939",
"diff_url": "https://github.com/huggingface/transformers/pull/18939.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18939.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18938 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18938/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18938/comments | https://api.github.com/repos/huggingface/transformers/issues/18938/events | https://github.com/huggingface/transformers/pull/18938 | 1,366,411,927 | PR_kwDOCUB6oc4-mrDT | 18,938 | Update default revision for document-question-answering | {
"login": "ankrgyl",
"id": 565363,
"node_id": "MDQ6VXNlcjU2NTM2Mw==",
"avatar_url": "https://avatars.githubusercontent.com/u/565363?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ankrgyl",
"html_url": "https://github.com/ankrgyl",
"followers_url": "https://api.github.com/users/ankrgyl/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Gentle nudge @Narsil @NielsRogge"
] | 1,662 | 1,663 | 1,663 | CONTRIBUTOR | null | # What does this PR do?
Prior to this change, users needed to instantiate a tokenizer themselves while using `impira/layoutlm-document-qa` to set the `add_prefix_space=True` parameter. I made this the default in the tokenizer's config [here](https://huggingface.co/impira/layoutlm-document-qa/commit/52e01b37ccf248953... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18938/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18938/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18938",
"html_url": "https://github.com/huggingface/transformers/pull/18938",
"diff_url": "https://github.com/huggingface/transformers/pull/18938.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18938.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18937 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18937/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18937/comments | https://api.github.com/repos/huggingface/transformers/issues/18937/events | https://github.com/huggingface/transformers/pull/18937 | 1,366,329,305 | PR_kwDOCUB6oc4-mYhG | 18,937 | Exit early in load if no weights are in the sharded state dict | {
"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,662 | 1,662 | 1,662 | COLLABORATOR | null | # What does this PR do?
As suggested by @stas00 in #18911, this PR checks whether there any parameters in the state dict to load in the current module and exits early if there are none. This might be useful when loading a huge model with a lot of shards.
@stas00 could you try and see if there is a gain with this ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18937/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18937/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18937",
"html_url": "https://github.com/huggingface/transformers/pull/18937",
"diff_url": "https://github.com/huggingface/transformers/pull/18937.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18937.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18936 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18936/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18936/comments | https://api.github.com/repos/huggingface/transformers/issues/18936/events | https://github.com/huggingface/transformers/issues/18936 | 1,366,020,902 | I_kwDOCUB6oc5Ra9Mm | 18,936 | I render only black screen | {
"login": "nedzone",
"id": 14924529,
"node_id": "MDQ6VXNlcjE0OTI0NTI5",
"avatar_url": "https://avatars.githubusercontent.com/u/14924529?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nedzone",
"html_url": "https://github.com/nedzone",
"followers_url": "https://api.github.com/users/nedzon... | [
{
"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 | [] | [
"Hmmm weird error! If you don't have a lot of items in your cache, I would recommend removing it.",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow ... | 1,662 | 1,668 | 1,668 | NONE | null | ### System Info
I get the following message
`torchvision\io\image.py:13: UserWarning: Failed to load image Python extension:
torch\_jit_internal.py:751: UserWarning: Unable to retrieve source for @torch.jit._overload function: <function _DenseLayer.forward at 0x0000024B2E41C550>.
warnings.warn(f"Unable to retri... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18936/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18936/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18935 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18935/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18935/comments | https://api.github.com/repos/huggingface/transformers/issues/18935/events | https://github.com/huggingface/transformers/issues/18935 | 1,365,929,481 | I_kwDOCUB6oc5Ram4J | 18,935 | [ViT] Add note about interpolation of position encodings | {
"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 | [] | [
"Hi,\r\n\r\nI'm findind hard to achieve to set the interporlate_pos_encoding = True by redefining the model's forward method.\r\nCould you make a brief step by step case on how to do so in order to train the model, and not just make a forward pass?\r\n\r\nI thought it was just about modifying the model.config which... | 1,662 | 1,699 | 1,664 | CONTRIBUTOR | null | ### Feature request
We should add a note to the docs on the fact that, in order to fine-tune ViT on higher resolution (e.g. 512x512), one can set `interpolate_pos_encoding=True` in the forward of the model.
### Motivation
This thread on the forum: https://discuss.huggingface.co/t/fine-tuning-image-transformer-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18935/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/18935/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18934 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18934/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18934/comments | https://api.github.com/repos/huggingface/transformers/issues/18934/events | https://github.com/huggingface/transformers/pull/18934 | 1,365,876,886 | PR_kwDOCUB6oc4-kyMe | 18,934 | Neptune.ai integration improvements | {
"login": "Raalsky",
"id": 917619,
"node_id": "MDQ6VXNlcjkxNzYxOQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/917619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Raalsky",
"html_url": "https://github.com/Raalsky",
"followers_url": "https://api.github.com/users/Raalsky/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,662 | 1,662 | 1,662 | 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/18934/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18934/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18934",
"html_url": "https://github.com/huggingface/transformers/pull/18934",
"diff_url": "https://github.com/huggingface/transformers/pull/18934.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18934.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18933 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18933/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18933/comments | https://api.github.com/repos/huggingface/transformers/issues/18933/events | https://github.com/huggingface/transformers/pull/18933 | 1,365,862,256 | PR_kwDOCUB6oc4-ku56 | 18,933 | Simplify `is_pad_token_not_equal_to_eos_token_id` | {
"login": "ekagra-ranjan",
"id": 3116519,
"node_id": "MDQ6VXNlcjMxMTY1MTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/3116519?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ekagra-ranjan",
"html_url": "https://github.com/ekagra-ranjan",
"followers_url": "https://api.github.... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,662 | 1,662 | 1,662 | 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/18933/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18933/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18933",
"html_url": "https://github.com/huggingface/transformers/pull/18933",
"diff_url": "https://github.com/huggingface/transformers/pull/18933.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18933.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18932 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18932/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18932/comments | https://api.github.com/repos/huggingface/transformers/issues/18932/events | https://github.com/huggingface/transformers/pull/18932 | 1,365,607,581 | PR_kwDOCUB6oc4-j24P | 18,932 | Fix LayoutXLM wrong link in README | {
"login": "Devlee247",
"id": 64190071,
"node_id": "MDQ6VXNlcjY0MTkwMDcx",
"avatar_url": "https://avatars.githubusercontent.com/u/64190071?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Devlee247",
"html_url": "https://github.com/Devlee247",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@sgugger could you review this PR please?"
] | 1,662 | 1,662 | 1,662 | CONTRIBUTOR | null | # What does this PR do?
fix LayoutXLM wrong link in README
<!--
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 contri... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18932/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18932/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18932",
"html_url": "https://github.com/huggingface/transformers/pull/18932",
"diff_url": "https://github.com/huggingface/transformers/pull/18932.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18932.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18931 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18931/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18931/comments | https://api.github.com/repos/huggingface/transformers/issues/18931/events | https://github.com/huggingface/transformers/pull/18931 | 1,365,478,687 | PR_kwDOCUB6oc4-jazq | 18,931 | add DDP HPO support for sigopt. only main_process will have HPO, and … | {
"login": "sywangyi",
"id": 36058628,
"node_id": "MDQ6VXNlcjM2MDU4NjI4",
"avatar_url": "https://avatars.githubusercontent.com/u/36058628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sywangyi",
"html_url": "https://github.com/sywangyi",
"followers_url": "https://api.github.com/users/syw... | [] | closed | false | null | [] | [
"@sgugger @yao-matrix. please help to review",
"_The documentation is not available anymore as the PR was closed or merged._",
"@sgugger thanks for the review. the torch.distributed.broadcast_object_list only support list(each element is pickable) input, does not support dict class"
] | 1,662 | 1,666 | 1,662 | CONTRIBUTOR | null | …pass argument to other process
Signed-off-by: Wang, Yi A <yi.a.wang@intel.com>
# 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 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18931/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18931/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18931",
"html_url": "https://github.com/huggingface/transformers/pull/18931",
"diff_url": "https://github.com/huggingface/transformers/pull/18931.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18931.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18930 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18930/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18930/comments | https://api.github.com/repos/huggingface/transformers/issues/18930/events | https://github.com/huggingface/transformers/pull/18930 | 1,365,247,759 | PR_kwDOCUB6oc4-ip46 | 18,930 | [WIP] Add ZeroShotObjectDetectionPipeline (#18445) | {
"login": "sahamrit",
"id": 88420255,
"node_id": "MDQ6VXNlcjg4NDIwMjU1",
"avatar_url": "https://avatars.githubusercontent.com/u/88420255?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sahamrit",
"html_url": "https://github.com/sahamrit",
"followers_url": "https://api.github.com/users/sah... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hi, just seeing the merge messed up the commit history. There are 377 changes, which is impossible for the review and merge the PR into `main`.\r\n\r\nI suggest to reset to the last clean commit locally. Then use `git rebase main` t... | 1,662 | 1,665 | 1,665 | CONTRIBUTOR | null | # What does this PR do?
This PR adds the `ZeroShotObjectDetectionPipeline`. It is tested on `OwlViTForObjectDetection` model and should enable the inference following inference API
```
from transformers import pipeline
pipe = pipeline("zero-shot-object-detection")
pipe("cats.png", ["cat", "remote"])
```
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18930/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18930/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18930",
"html_url": "https://github.com/huggingface/transformers/pull/18930",
"diff_url": "https://github.com/huggingface/transformers/pull/18930.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18930.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18929 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18929/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18929/comments | https://api.github.com/repos/huggingface/transformers/issues/18929/events | https://github.com/huggingface/transformers/pull/18929 | 1,365,059,820 | PR_kwDOCUB6oc4-iDV3 | 18,929 | Starts on a list of external deps required for dev | {
"login": "colindean",
"id": 197224,
"node_id": "MDQ6VXNlcjE5NzIyNA==",
"avatar_url": "https://avatars.githubusercontent.com/u/197224?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/colindean",
"html_url": "https://github.com/colindean",
"followers_url": "https://api.github.com/users/coli... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,662 | 1,674 | 1,662 | CONTRIBUTOR | null | I've found that I need to install MeCab manually on my AS Mac while working on #18702.
# What does this PR do?
Adds nudge to install MeCab from Homebrew to dev contributing instructions.
## 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/18929/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18929/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18929",
"html_url": "https://github.com/huggingface/transformers/pull/18929",
"diff_url": "https://github.com/huggingface/transformers/pull/18929.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18929.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18928 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18928/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18928/comments | https://api.github.com/repos/huggingface/transformers/issues/18928/events | https://github.com/huggingface/transformers/pull/18928 | 1,365,014,299 | PR_kwDOCUB6oc4-h5WI | 18,928 | Disable model checkpoint sharding of large models for SageMaker Model Parallel | {
"login": "viclzhu",
"id": 20961977,
"node_id": "MDQ6VXNlcjIwOTYxOTc3",
"avatar_url": "https://avatars.githubusercontent.com/u/20961977?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/viclzhu",
"html_url": "https://github.com/viclzhu",
"followers_url": "https://api.github.com/users/viclzh... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Oh ok, I see. That makes sense, thanks!"
] | 1,662 | 1,662 | 1,662 | CONTRIBUTOR | null | Disable model checkpoint sharding of large models for SageMaker Model Parallel
* Using large max shard size since can't disable completely from the `save_pretrained()` call
## 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 r... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18928/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18928/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18928",
"html_url": "https://github.com/huggingface/transformers/pull/18928",
"diff_url": "https://github.com/huggingface/transformers/pull/18928.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18928.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18927 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18927/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18927/comments | https://api.github.com/repos/huggingface/transformers/issues/18927/events | https://github.com/huggingface/transformers/pull/18927 | 1,364,992,447 | PR_kwDOCUB6oc4-h0s9 | 18,927 | Skip some doctests in quicktour | {
"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": 1834088753,
"node_id": "MDU6TGFiZWwxODM0MDg4NzUz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Tests",
"name": "Tests",
"color": "a6fcca",
"default": false,
"description": "Related to tests"
}
] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"LGTM, but it might be better to use an already processed dataset we could host somewhere so the whole thing can run (particularly since this also becomes a notebook).",
"I'll merge this for now so the daily CI is happy and then upd... | 1,662 | 1,662 | 1,662 | MEMBER | null | The quicktour includes code snippets that instantiate a generic `dataset["train"]` and `dataset["test"]` (in the `Trainer` sections) that's only meant to be an example a user can copy/paste and replace with their own dataset. This causes the tests to fail since no dataset is actually being loaded. This PR adds the `# d... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18927/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18927/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18927",
"html_url": "https://github.com/huggingface/transformers/pull/18927",
"diff_url": "https://github.com/huggingface/transformers/pull/18927.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18927.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18926 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18926/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18926/comments | https://api.github.com/repos/huggingface/transformers/issues/18926/events | https://github.com/huggingface/transformers/issues/18926 | 1,364,946,168 | I_kwDOCUB6oc5RW2z4 | 18,926 | Follow ups to DocumentQuestionAnswering Pipeline | {
"login": "ankrgyl",
"id": 565363,
"node_id": "MDQ6VXNlcjU2NTM2Mw==",
"avatar_url": "https://avatars.githubusercontent.com/u/565363?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ankrgyl",
"html_url": "https://github.com/ankrgyl",
"followers_url": "https://api.github.com/users/ankrgyl/fo... | [
{
"id": 1990918270,
"node_id": "MDU6TGFiZWwxOTkwOTE4Mjcw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20First%20Issue",
"name": "Good First Issue",
"color": "bbf794",
"default": false,
"description": ""
}
] | open | false | null | [] | [
"cc'ing @Narsil for enabling the model on the inference API, cc'ing @stevhliu for adding tutorial documentation to the task summary",
"@NielsRogge because we removed `donut-swin` from `AutoModelForDocumentQuestionAnswering`, you can no longer create a pipeline with donut, i.e.\r\n\r\n```\r\nIn [2]: p = pipeline('... | 1,662 | 1,698 | null | CONTRIBUTOR | null | ### Feature request
PR https://github.com/huggingface/transformers/pull/18414 has a number of TODOs left over which we'd like to track as follow up tasks.
## Pipeline
- [x] Add support for documents which have more than the tokenizer span (e.g. 512) words
- [ ] Add support for multi-page documents (e.g. for Don... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18926/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18926/timeline | reopened | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18925 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18925/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18925/comments | https://api.github.com/repos/huggingface/transformers/issues/18925/events | https://github.com/huggingface/transformers/pull/18925 | 1,364,807,230 | PR_kwDOCUB6oc4-hNHW | 18,925 | pin TF 2.9.1 for self-hosted CIs | {
"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._",
"Related PR -- #18917 "
] | 1,662 | 1,662 | 1,662 | COLLABORATOR | null | # What does this PR do?
Same as #18818, but for docker image build and self-hosted CIs.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18925/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18925/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18925",
"html_url": "https://github.com/huggingface/transformers/pull/18925",
"diff_url": "https://github.com/huggingface/transformers/pull/18925.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18925.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18924 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18924/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18924/comments | https://api.github.com/repos/huggingface/transformers/issues/18924/events | https://github.com/huggingface/transformers/pull/18924 | 1,364,743,025 | PR_kwDOCUB6oc4-g_J8 | 18,924 | Use tiny models for ONNX tests | {
"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... | [
{
"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 | [] | [
"Thanks, @lewtun \r\n\r\nLet's run the scheduled CI manually (for ONNX tests) before merge :-)",
"> Thanks, @lewtun\r\n> \r\n> Let's run the scheduled CI (for ONNX tests) before merge :-)\r\n\r\nYes, this is still WIP because I discovered some slow tests fail with the new tiny models. Will debug and fix on the mo... | 1,662 | 1,668 | 1,668 | MEMBER | null | # What does this PR do?
Uses tiny random models for the ONNX tests to speed up the test suite. Closes #18819
## TODO
- [x] Add tiny model for `deepmind/language-perceiver`
- [x] Add tiny model for `deepmind/vision-perceiver-conv`
- [x] Add tiny model for `hustvl/yolos-tiny`
- [x] Add tiny model for `nvidi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18924/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18924/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18924",
"html_url": "https://github.com/huggingface/transformers/pull/18924",
"diff_url": "https://github.com/huggingface/transformers/pull/18924.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18924.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18923 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18923/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18923/comments | https://api.github.com/repos/huggingface/transformers/issues/18923/events | https://github.com/huggingface/transformers/pull/18923 | 1,364,737,742 | PR_kwDOCUB6oc4-g-At | 18,923 | Attention_mask generation error in generation_utils.py | {
"login": "yushengsu-thu",
"id": 11704492,
"node_id": "MDQ6VXNlcjExNzA0NDky",
"avatar_url": "https://avatars.githubusercontent.com/u/11704492?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yushengsu-thu",
"html_url": "https://github.com/yushengsu-thu",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,662 | 1,662 | 1,662 | NONE | null | The original logic to generate the attention_mask (of GPT series models) is wrong. I revised the logic to generate attention_mask.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18923/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18923/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18923",
"html_url": "https://github.com/huggingface/transformers/pull/18923",
"diff_url": "https://github.com/huggingface/transformers/pull/18923.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18923.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18922 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18922/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18922/comments | https://api.github.com/repos/huggingface/transformers/issues/18922/events | https://github.com/huggingface/transformers/pull/18922 | 1,364,726,481 | PR_kwDOCUB6oc4-g7lD | 18,922 | [WIP] add SpeechT5 model | {
"login": "hollance",
"id": 346853,
"node_id": "MDQ6VXNlcjM0Njg1Mw==",
"avatar_url": "https://avatars.githubusercontent.com/u/346853?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hollance",
"html_url": "https://github.com/hollance",
"followers_url": "https://api.github.com/users/hollanc... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"Hello @hollance. I'll be helping with the Transformer Encoder-Decoder.",
"Hi @hollance I will be helping with TextDecoderPrenet / TextDecoderPostnet",
"@anuragshas:\r\n\r\n> I will be helping with TextDecoderPrenet / TextDecoderPostnet\r\n\r\nGreat! Are you also interested in looking at the tokenizer, since I ... | 1,662 | 1,675 | 1,675 | CONTRIBUTOR | null | # What does this PR do?
Add the SpeechT5 model to Transformers. See also https://github.com/huggingface/transformers/issues/17569
<!--
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 i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18922/reactions",
"total_count": 4,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 3,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18922/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18922",
"html_url": "https://github.com/huggingface/transformers/pull/18922",
"diff_url": "https://github.com/huggingface/transformers/pull/18922.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18922.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18921 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18921/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18921/comments | https://api.github.com/repos/huggingface/transformers/issues/18921/events | https://github.com/huggingface/transformers/pull/18921 | 1,364,682,133 | PR_kwDOCUB6oc4-gx-o | 18,921 | Fixed typo | {
"login": "tnusser",
"id": 28186947,
"node_id": "MDQ6VXNlcjI4MTg2OTQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/28186947?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tnusser",
"html_url": "https://github.com/tnusser",
"followers_url": "https://api.github.com/users/tnusse... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,662 | 1,663 | 1,663 | CONTRIBUTOR | null | Fixed typo itmes --> items
# 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.
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18921/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18921/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18921",
"html_url": "https://github.com/huggingface/transformers/pull/18921",
"diff_url": "https://github.com/huggingface/transformers/pull/18921.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18921.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18920 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18920/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18920/comments | https://api.github.com/repos/huggingface/transformers/issues/18920/events | https://github.com/huggingface/transformers/pull/18920 | 1,364,623,968 | PR_kwDOCUB6oc4-glUQ | 18,920 | Add Table Transformer | {
"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._",
"I'm very much not in favor of adding a new config parameter that controls where the layernorm is applied. I'm not surprised the original code has it, as Facebook AI usually codes models in a modular way, but not Transformers. We had ... | 1,662 | 1,665 | 1,665 | CONTRIBUTOR | null | # What does this PR do?
This PR adds [Table Transformer](https://github.com/microsoft/table-transformer) by Microsoft, which are DETR-compatible models for table detection and table structure recognition tasks in unstructured documents.
Note: I'm making some updates to the original DETR implementation, however th... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18920/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/18920/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18920",
"html_url": "https://github.com/huggingface/transformers/pull/18920",
"diff_url": "https://github.com/huggingface/transformers/pull/18920.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18920.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18919 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18919/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18919/comments | https://api.github.com/repos/huggingface/transformers/issues/18919/events | https://github.com/huggingface/transformers/pull/18919 | 1,364,387,429 | PR_kwDOCUB6oc4-fx_7 | 18,919 | [VideoMAE] Improve code examples | {
"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,662 | 1,662 | 1,662 | CONTRIBUTOR | null | # What does this PR do?
This PR simplifies the code examples of VideoMAE, and adds a seed to make sure the video classifier always predicts "eating spaghetti" on the video (as, due to the sampling of frames, it may occur the model predicts another class, like "eating ice cream"):
```
1019
1020 >>> inpu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18919/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18919/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18919",
"html_url": "https://github.com/huggingface/transformers/pull/18919",
"diff_url": "https://github.com/huggingface/transformers/pull/18919.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18919.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18918 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18918/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18918/comments | https://api.github.com/repos/huggingface/transformers/issues/18918/events | https://github.com/huggingface/transformers/pull/18918 | 1,364,348,544 | PR_kwDOCUB6oc4-fpvG | 18,918 | update the train_batch_size in case HPO changes batch_size_per_device | {
"login": "sywangyi",
"id": 36058628,
"node_id": "MDQ6VXNlcjM2MDU4NjI4",
"avatar_url": "https://avatars.githubusercontent.com/u/36058628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sywangyi",
"html_url": "https://github.com/sywangyi",
"followers_url": "https://api.github.com/users/syw... | [] | closed | false | null | [] | [
" @sgugger @yao-matrix please help review it. the bug in finding when HPO is enabled in example. \"Total optimization steps\" is incorrect since train_batch_size is not updated accordingly. add the update of this parameter in trainer.train",
"_The documentation is not available anymore as the PR was closed or mer... | 1,662 | 1,666 | 1,662 | CONTRIBUTOR | null | Signed-off-by: Wang, Yi A <yi.a.wang@intel.com>
# 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 a... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18918/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18918/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18918",
"html_url": "https://github.com/huggingface/transformers/pull/18918",
"diff_url": "https://github.com/huggingface/transformers/pull/18918.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18918.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18917 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18917/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18917/comments | https://api.github.com/repos/huggingface/transformers/issues/18917/events | https://github.com/huggingface/transformers/pull/18917 | 1,364,340,630 | PR_kwDOCUB6oc4-foFe | 18,917 | TF: unpin maximum TF version | {
"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._",
"Why why why would we merge a PR with red ticks? Every contributor making a PR this weekend and until this is resolved will wonder what they did wrong.",
"I was thinking of the self-hosted scheduled CIs only when reviewing this PR. ... | 1,662 | 1,662 | 1,662 | MEMBER | null | # What does this PR do?
Unpins TF maximum version.
As in the scheduled run, a few onnx+tf tests broke. I'd say we merge this PR, and put the newly broken tests on our todo list. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18917/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 2
} | https://api.github.com/repos/huggingface/transformers/issues/18917/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18917",
"html_url": "https://github.com/huggingface/transformers/pull/18917",
"diff_url": "https://github.com/huggingface/transformers/pull/18917.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18917.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18916 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18916/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18916/comments | https://api.github.com/repos/huggingface/transformers/issues/18916/events | https://github.com/huggingface/transformers/issues/18916 | 1,364,294,692 | I_kwDOCUB6oc5RUXwk | 18,916 | facebook/wav2vec2-xls-r-300m-21-to-en TypeError: expected str, bytes or os.PathLike object, not NoneType | {
"login": "Shiro-LK",
"id": 26505641,
"node_id": "MDQ6VXNlcjI2NTA1NjQx",
"avatar_url": "https://avatars.githubusercontent.com/u/26505641?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Shiro-LK",
"html_url": "https://github.com/Shiro-LK",
"followers_url": "https://api.github.com/users/Shi... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hey @Shiro-LK!\r\n\r\nGood catch, we're loading a Wav2Vec2 processor here so need to instantiate the corresponding class accordingly:\r\n\r\n```python\r\nfrom transformers import Wav2Vec2Processor\r\n\r\nprocessor = Wav2Vec2Processor.from_pretrained(\"facebook/wav2vec2-xls-r-300m-21-to-en\")\r\n```\r\n\r\nI've ope... | 1,662 | 1,662 | 1,662 | NONE | null | ### System Info
transformers == 4.21.3
python == 3.9.2
ubuntu 18
### Who can help?
@patrickvonplaten @sanchit-gandhi
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own tas... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18916/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18916/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18915 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18915/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18915/comments | https://api.github.com/repos/huggingface/transformers/issues/18915/events | https://github.com/huggingface/transformers/pull/18915 | 1,364,254,624 | PR_kwDOCUB6oc4-fVyP | 18,915 | Add image height and width to ONNX dynamic axes | {
"login": "lewtun",
"id": 26859204,
"node_id": "MDQ6VXNlcjI2ODU5MjA0",
"avatar_url": "https://avatars.githubusercontent.com/u/26859204?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lewtun",
"html_url": "https://github.com/lewtun",
"followers_url": "https://api.github.com/users/lewtun/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,662 | 1,662 | 1,662 | MEMBER | null | # What does this PR do?
This PR enables dynamic axes for image height / width of ONNX vision models. This allows users to change the height and width of their inputs at runtime with values different from those used to trace the model during the export (usually 224 x 224 pixels)
Here's an example with ResNet and `... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18915/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18915/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18915",
"html_url": "https://github.com/huggingface/transformers/pull/18915",
"diff_url": "https://github.com/huggingface/transformers/pull/18915.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18915.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18914 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18914/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18914/comments | https://api.github.com/repos/huggingface/transformers/issues/18914/events | https://github.com/huggingface/transformers/issues/18914 | 1,364,236,988 | I_kwDOCUB6oc5RUJq8 | 18,914 | Cannot Import BigBirdModel | {
"login": "jaideep11061982",
"id": 38164196,
"node_id": "MDQ6VXNlcjM4MTY0MTk2",
"avatar_url": "https://avatars.githubusercontent.com/u/38164196?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jaideep11061982",
"html_url": "https://github.com/jaideep11061982",
"followers_url": "https://api... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"I don't think transformers version 3.0.2 contains the BigBird model. I think updating your version of the transformers package should solve the issue.\r\nI also see that you are using Python version 3.6.6. The latest version of the transformers package requires Python >=3.7.0, so I guess you would also need to upd... | 1,662 | 1,665 | 1,665 | NONE | null | ### System Info
Copy-and-paste the text below in your GitHub issue and FILL OUT the two last points.
- `transformers` version: 3.0.2
- Platform: Linux-5.10.133+-x86_64-with-debian-9.9
- Python version: 3.6.6
- PyTorch version (GPU?): 1.4.0 (True)
- Tensorflow version (GPU?): 2.1.0 (True)
- Using GPU in script?... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18914/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18914/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18913 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18913/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18913/comments | https://api.github.com/repos/huggingface/transformers/issues/18913/events | https://github.com/huggingface/transformers/pull/18913 | 1,364,023,155 | PR_kwDOCUB6oc4-ekvt | 18,913 | Fix XLA fp16 and bf16 error checking | {
"login": "ymwangg",
"id": 19481308,
"node_id": "MDQ6VXNlcjE5NDgxMzA4",
"avatar_url": "https://avatars.githubusercontent.com/u/19481308?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ymwangg",
"html_url": "https://github.com/ymwangg",
"followers_url": "https://api.github.com/users/ymwang... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"XLA already identifies the device type and publishes it in the environment variable for distributed training:\r\n```\r\nXRT_MULTI_PROCESSING_DEVICE=\"device:ordinal\"\r\n```\r\n\r\nEg: XRT_MULTI_PROCESSING_DEVICE=GPU:0\r\nEg: XRT_MUL... | 1,662 | 1,662 | 1,662 | CONTRIBUTOR | null | This PR fixed a bug introduced in https://github.com/huggingface/transformers/pull/15022 that will wrongfully throw an error when training with XLA device + fp16. `GPU_NUM_DEVICES` is unset by torch_xla in distributed training [here](https://github.com/pytorch/xla/blob/master/torch_xla/distributed/xla_multiprocessing.p... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18913/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/18913/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18913",
"html_url": "https://github.com/huggingface/transformers/pull/18913",
"diff_url": "https://github.com/huggingface/transformers/pull/18913.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18913.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18912 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18912/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18912/comments | https://api.github.com/repos/huggingface/transformers/issues/18912/events | https://github.com/huggingface/transformers/issues/18912 | 1,363,972,186 | I_kwDOCUB6oc5RTJBa | 18,912 | Failed to import transformers.models.bart.modeling_tf_bart because no module named 'keras' | {
"login": "jybsuper",
"id": 7698145,
"node_id": "MDQ6VXNlcjc2OTgxNDU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7698145?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jybsuper",
"html_url": "https://github.com/jybsuper",
"followers_url": "https://api.github.com/users/jybsu... | [] | closed | false | null | [] | [
"Just had this exact same issue. Thank you for the fix!",
"Shouldn't this be open until gets fixed?",
"Confirming the issue still exists when using latest TF (2.11). Downgrading TF to 2.9 fix the issue.",
"https://stackoverflow.com/questions/74586892/no-module-named-keras-saving-hdf5-format\r\n\r\nworking for... | 1,662 | 1,685 | 1,662 | NONE | null | The following line of code causes an error: `ModuleNotFoundError: No module named 'keras'` whenever I try to initialize a Bart model:
https://github.com/huggingface/transformers/blob/0a632f076d6b275690176b79c64c5559e1240b05/src/transformers/modeling_tf_utils.py#L39
Replaced it with `from tensorflow.python.keras.savin... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18912/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18912/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18911 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18911/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18911/comments | https://api.github.com/repos/huggingface/transformers/issues/18911/events | https://github.com/huggingface/transformers/pull/18911 | 1,363,913,391 | PR_kwDOCUB6oc4-eOQn | 18,911 | [DeepSpeed ZeRO3] Fix performance degradation in sharded models | {
"login": "tjruwase",
"id": 4271600,
"node_id": "MDQ6VXNlcjQyNzE2MDA=",
"avatar_url": "https://avatars.githubusercontent.com/u/4271600?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tjruwase",
"html_url": "https://github.com/tjruwase",
"followers_url": "https://api.github.com/users/tjruw... | [] | closed | false | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [
{
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github... | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@sgugger, I was thinking about this discovery and my suggestion is that we do this not just for deepspeed.\r\n\r\nThe thing is - with sharded models like bloom-176 (72 shards) - 90% of the time this code:\r\n\r\nhttps://github.com/tj... | 1,662 | 1,662 | 1,662 | CONTRIBUTOR | null | When sharded models were added the deepspeed/zero3 branch of model loading of pretrained weights
https://github.com/huggingface/transformers/blob/7d5fde991d598370d961be8cb7add6541e2b59ce/src/transformers/modeling_utils.py#L427-L429
got ~N-shards-x-slower, since it wastefully gathered weights that weren't in the ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18911/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18911/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18911",
"html_url": "https://github.com/huggingface/transformers/pull/18911",
"diff_url": "https://github.com/huggingface/transformers/pull/18911.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18911.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18910 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18910/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18910/comments | https://api.github.com/repos/huggingface/transformers/issues/18910/events | https://github.com/huggingface/transformers/pull/18910 | 1,363,903,843 | PR_kwDOCUB6oc4-eMN1 | 18,910 | Accelerator end training | {
"login": "nbroad1881",
"id": 24982805,
"node_id": "MDQ6VXNlcjI0OTgyODA1",
"avatar_url": "https://avatars.githubusercontent.com/u/24982805?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nbroad1881",
"html_url": "https://github.com/nbroad1881",
"followers_url": "https://api.github.com/use... | [] | closed | false | {
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api.github.com/users/mu... | [
{
"login": "muellerzr",
"id": 7831895,
"node_id": "MDQ6VXNlcjc4MzE4OTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7831895?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muellerzr",
"html_url": "https://github.com/muellerzr",
"followers_url": "https://api... | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,662 | 1,662 | 1,662 | CONTRIBUTOR | null | Add `accelerator.end_training()` to the ends of the example scripts. This ensures that trackers call their ending/finishing functions.
@sgugger @muellerzr | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18910/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18910/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18910",
"html_url": "https://github.com/huggingface/transformers/pull/18910",
"diff_url": "https://github.com/huggingface/transformers/pull/18910.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18910.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18909 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18909/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18909/comments | https://api.github.com/repos/huggingface/transformers/issues/18909/events | https://github.com/huggingface/transformers/pull/18909 | 1,363,831,128 | PR_kwDOCUB6oc4-d9OH | 18,909 | Fixed typos in comments of OPTDecoderLayer | {
"login": "nickypro",
"id": 52249105,
"node_id": "MDQ6VXNlcjUyMjQ5MTA1",
"avatar_url": "https://avatars.githubusercontent.com/u/52249105?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nickypro",
"html_url": "https://github.com/nickypro",
"followers_url": "https://api.github.com/users/nic... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18909). 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,662 | 1,665 | 1,665 | NONE | null | # What does this PR do?
Fixed typos in comments of OPTDecoderLayer ( used in Meta OPT models )
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
@sgugger | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18909/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18909/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18909",
"html_url": "https://github.com/huggingface/transformers/pull/18909",
"diff_url": "https://github.com/huggingface/transformers/pull/18909.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18909.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18908 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18908/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18908/comments | https://api.github.com/repos/huggingface/transformers/issues/18908/events | https://github.com/huggingface/transformers/pull/18908 | 1,363,733,430 | PR_kwDOCUB6oc4-dodf | 18,908 | [New Model] Add TimeSformer model | {
"login": "fcakyon",
"id": 34196005,
"node_id": "MDQ6VXNlcjM0MTk2MDA1",
"avatar_url": "https://avatars.githubusercontent.com/u/34196005?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fcakyon",
"html_url": "https://github.com/fcakyon",
"followers_url": "https://api.github.com/users/fcakyo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@NielsRogge I have added some tests, variable names require some work but maybe I can update names during PR review?",
"Hi @NielsRogge @fcakyon do you need help with finishing this and merging it? I'm happy to add the finishing tou... | 1,662 | 1,670 | 1,669 | CONTRIBUTOR | null | # What does this PR do?
Fixes https://github.com/huggingface/transformers/issues/18724
- [x] Create a working environment for successful inference with the original source code
- [x] Create a debugging script for the original source code
- [x] Separate original model from original preprocessing pipeline
- [x] ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18908/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 2,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18908/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18908",
"html_url": "https://github.com/huggingface/transformers/pull/18908",
"diff_url": "https://github.com/huggingface/transformers/pull/18908.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18908.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18907 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18907/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18907/comments | https://api.github.com/repos/huggingface/transformers/issues/18907/events | https://github.com/huggingface/transformers/pull/18907 | 1,363,669,617 | PR_kwDOCUB6oc4-da9m | 18,907 | Fix tflongformer int dtype | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"But it doesn't look to good to CI 😅 ",
"Working on that bit!",
"Quick update: I did a lot of dtype casting which should resolve the remaining issues. Because TFLED has some sections copied from TFLongFormer, TFLED got updated as... | 1,662 | 1,663 | 1,663 | MEMBER | null | TFLongformer had a lot of `int32` dtypes in its code, caused by `tf.convert_to_tensor()` defaulting to int32 when passed a list of ints, as well as some explicit `int32` lines. We prefer `int64` across our models, so I've converted everything to use that.
Fixes #13632 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18907/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18907/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18907",
"html_url": "https://github.com/huggingface/transformers/pull/18907",
"diff_url": "https://github.com/huggingface/transformers/pull/18907.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18907.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18906 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18906/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18906/comments | https://api.github.com/repos/huggingface/transformers/issues/18906/events | https://github.com/huggingface/transformers/pull/18906 | 1,363,610,060 | PR_kwDOCUB6oc4-dOPv | 18,906 | Fix incorrect size of input for 1st strided window length in `Perplexity of fixed-length models` | {
"login": "ekagra-ranjan",
"id": 3116519,
"node_id": "MDQ6VXNlcjMxMTY1MTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/3116519?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ekagra-ranjan",
"html_url": "https://github.com/ekagra-ranjan",
"followers_url": "https://api.github.... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,662 | 1,662 | 1,662 | 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/18906/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18906/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18906",
"html_url": "https://github.com/huggingface/transformers/pull/18906",
"diff_url": "https://github.com/huggingface/transformers/pull/18906.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18906.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18905 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18905/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18905/comments | https://api.github.com/repos/huggingface/transformers/issues/18905/events | https://github.com/huggingface/transformers/pull/18905 | 1,363,550,072 | PR_kwDOCUB6oc4-dCNM | 18,905 | Add checks for more workflow jobs | {
"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 | [] | [] | 1,662 | 1,662 | 1,662 | COLLABORATOR | null | # What does this PR do?
Apply the same change in #18583, so we can have a slack message saying something goes very wrong in CIs. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18905/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18905/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18905",
"html_url": "https://github.com/huggingface/transformers/pull/18905",
"diff_url": "https://github.com/huggingface/transformers/pull/18905.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18905.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18904 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18904/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18904/comments | https://api.github.com/repos/huggingface/transformers/issues/18904/events | https://github.com/huggingface/transformers/pull/18904 | 1,363,507,170 | PR_kwDOCUB6oc4-c5Hw | 18,904 | Add BART DLM PyTorch pretraining example | {
"login": "BramVanroy",
"id": 2779410,
"node_id": "MDQ6VXNlcjI3Nzk0MTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2779410?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BramVanroy",
"html_url": "https://github.com/BramVanroy",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18904). All of your documentation changes will be reflected on that endpoint.",
"Hey @BramVanroy! Thanks for making a start on this PR. In general, we aim to mirror the original repo's functionality as closely as possible. ... | 1,662 | 1,662 | 1,662 | COLLABORATOR | null | Implements a pretraining example for BART (denoising language model). Big focus on getting the data denoising as close to the original fairseq as possible but instead of on the dataset level on the dataloader level.
Heavily inspired by the fairseq implementation and the FLAX implementation. (See `HF (Flax), fairseq,... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18904/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18904/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18904",
"html_url": "https://github.com/huggingface/transformers/pull/18904",
"diff_url": "https://github.com/huggingface/transformers/pull/18904.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18904.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18903 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18903/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18903/comments | https://api.github.com/repos/huggingface/transformers/issues/18903/events | https://github.com/huggingface/transformers/pull/18903 | 1,363,437,776 | PR_kwDOCUB6oc4-cqOi | 18,903 | TF: final bias as a layer in seq2seq models (replicate TFMarian fix) | {
"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,662 | 1,662 | 1,662 | MEMBER | null | # What does this PR do?
This PR replicates the exact same change as in https://github.com/huggingface/transformers/pull/18833 (applied to TFMarian) to the other seq2seq TF models. **_The change is exactly the same for all models._**
In essence, weights that are not in layers are not stored/loaded with `.save_weig... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18903/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18903/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18903",
"html_url": "https://github.com/huggingface/transformers/pull/18903",
"diff_url": "https://github.com/huggingface/transformers/pull/18903.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18903.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18902 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18902/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18902/comments | https://api.github.com/repos/huggingface/transformers/issues/18902/events | https://github.com/huggingface/transformers/pull/18902 | 1,363,157,416 | PR_kwDOCUB6oc4-bt76 | 18,902 | Generate: add model class validation | {
"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._",
"@sgugger @patrickvonplaten I've requested a re-review of this PR. As per @patrickvonplaten's suggestion, the PR was upgraded to contain the exact class the user should use in the exception (as opposed to pointing to all generate-comp... | 1,662 | 1,663 | 1,663 | MEMBER | null | # What does this PR do?
Fixes #18210
This PR adds model class validation at the start of generate (all model classes inherit `GenerationMixin`, but few can use `generate()`). It also adds an exception that attempts to redirect the users to the right classes. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18902/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18902/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18902",
"html_url": "https://github.com/huggingface/transformers/pull/18902",
"diff_url": "https://github.com/huggingface/transformers/pull/18902.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18902.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18901 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18901/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18901/comments | https://api.github.com/repos/huggingface/transformers/issues/18901/events | https://github.com/huggingface/transformers/pull/18901 | 1,362,942,265 | PR_kwDOCUB6oc4-a_yD | 18,901 | unpin slack_sdk version | {
"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,662 | 1,662 | 1,662 | COLLABORATOR | null | # What does this PR do?
The issue in Slack SDK 3.18.2 was fixed in 3.18.3, so no longer need to pin 3.18.1.
For more details, see
https://github.com/slackapi/python-slack-sdk/pull/1259#issuecomment-1237731450
https://github.com/slackapi/python-slack-sdk/issues/1261 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18901/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18901/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18901",
"html_url": "https://github.com/huggingface/transformers/pull/18901",
"diff_url": "https://github.com/huggingface/transformers/pull/18901.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18901.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18900 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18900/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18900/comments | https://api.github.com/repos/huggingface/transformers/issues/18900/events | https://github.com/huggingface/transformers/issues/18900 | 1,361,862,147 | I_kwDOCUB6oc5RLF4D | 18,900 | Converting ruGPT3 model (based on GPT2) to ONNX format | {
"login": "Gooogr",
"id": 32438284,
"node_id": "MDQ6VXNlcjMyNDM4Mjg0",
"avatar_url": "https://avatars.githubusercontent.com/u/32438284?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Gooogr",
"html_url": "https://github.com/Gooogr",
"followers_url": "https://api.github.com/users/Gooogr/fo... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,662 | 1,676 | 1,665 | NONE | null | ### System Info
## Environment info
Use google colab with turned on GPU
- `transformers` version: 4.21.3
- Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.13
- Huggingface_hub version: 0.9.1
- PyTorch version (GPU?): 1.12.1+cu113 (True)
- Tensorflow version (GPU?): 2.8.2 (True)
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18900/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18900/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18899 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18899/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18899/comments | https://api.github.com/repos/huggingface/transformers/issues/18899/events | https://github.com/huggingface/transformers/issues/18899 | 1,361,772,485 | I_kwDOCUB6oc5RKv_F | 18,899 | NaN when training t5-large with bf16 on multiple GPUs | {
"login": "harshil-shah",
"id": 12370376,
"node_id": "MDQ6VXNlcjEyMzcwMzc2",
"avatar_url": "https://avatars.githubusercontent.com/u/12370376?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/harshil-shah",
"html_url": "https://github.com/harshil-shah",
"followers_url": "https://api.github.c... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"@LysandreJik perhaps you could suggest someone who can help with this please?",
"I believe @stas00 has some experience around bfloat16 and nans and may have an idea of where the issue may be coming from",
"I have tried t5-large, tested your script to work fine with t5-small - need to find a box with a few larg... | 1,662 | 1,666 | 1,666 | NONE | null | ### System Info
- `transformers` version: 4.20.1
- Platform: Linux-5.15.0-1017-gcp-x86_64-with-glibc2.29
- Python version: 3.8.10
- Huggingface_hub version: 0.8.1
- PyTorch version (GPU?): 1.12.0+cu113 (True)
- Tensorflow version (GPU?): 2.4.4 (True)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax ver... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18899/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/18899/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18898 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18898/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18898/comments | https://api.github.com/repos/huggingface/transformers/issues/18898/events | https://github.com/huggingface/transformers/pull/18898 | 1,361,678,823 | PR_kwDOCUB6oc4-WuYb | 18,898 | Fix `test_tf_encode_plus_sent_to_model` for `LayoutLMv3` | {
"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._",
"A question -- PT has an equivalent tokenizer test, yet I don't see this test being overwritten in PT's `layoutlmv3`. Do you know why that happens? 🤔 ",
"> A question -- PT has an equivalent tokenizer test, yet I don't see this tes... | 1,662 | 1,662 | 1,662 | COLLABORATOR | null | # What does this PR do?
The recently added `TFLayoutLMv3Model` triggered the test `test_tf_encode_plus_sent_to_model`, which needs to prepare an extra argument `boxes` when calling tokenizer methods, otherwise we get an error
```bash
> for word, box in zip(text, boxes):
E TypeError: ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18898/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18898/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18898",
"html_url": "https://github.com/huggingface/transformers/pull/18898",
"diff_url": "https://github.com/huggingface/transformers/pull/18898.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18898.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18897 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18897/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18897/comments | https://api.github.com/repos/huggingface/transformers/issues/18897/events | https://github.com/huggingface/transformers/pull/18897 | 1,361,652,699 | PR_kwDOCUB6oc4-Wo8N | 18,897 | fixes bugs to handle non-dict output | {
"login": "alaradirik",
"id": 8944735,
"node_id": "MDQ6VXNlcjg5NDQ3MzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/8944735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alaradirik",
"html_url": "https://github.com/alaradirik",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"Hi, @alaradirik Thank you for the fix.\r\n\r\nHowever, I am wondering if we can let `self.owlvit` returns `OwlViTOutput` instead of `tuple` here. As you can see (I believe), it's not easy to understand the code when the tuple indices are used, and it also becomes more difficult for debugging in general. Let me kno... | 1,662 | 1,665 | 1,662 | CONTRIBUTOR | null | # What does this PR do?
Fixes OWL-ViT's failing slow tests: `test_torchscript_simple`, `test_torchscript_output_attentions`, `test_torchscript_output_hidden_state`.
The failures were due to explicitly calling output keys instead of calling by the index. The bugs were introduced in this [PR](https://github.com/huggi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18897/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18897/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18897",
"html_url": "https://github.com/huggingface/transformers/pull/18897",
"diff_url": "https://github.com/huggingface/transformers/pull/18897.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18897.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18896 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18896/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18896/comments | https://api.github.com/repos/huggingface/transformers/issues/18896/events | https://github.com/huggingface/transformers/pull/18896 | 1,361,632,954 | PR_kwDOCUB6oc4-Wk2m | 18,896 | Correct naming pegasus x | {
"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,662 | 1,662 | 1,662 | 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/18896/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18896/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18896",
"html_url": "https://github.com/huggingface/transformers/pull/18896",
"diff_url": "https://github.com/huggingface/transformers/pull/18896.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18896.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18895 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18895/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18895/comments | https://api.github.com/repos/huggingface/transformers/issues/18895/events | https://github.com/huggingface/transformers/pull/18895 | 1,361,625,802 | PR_kwDOCUB6oc4-WjVt | 18,895 | [wip: testing doc raises] | {
"login": "mishig25",
"id": 11827707,
"node_id": "MDQ6VXNlcjExODI3NzA3",
"avatar_url": "https://avatars.githubusercontent.com/u/11827707?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mishig25",
"html_url": "https://github.com/mishig25",
"followers_url": "https://api.github.com/users/mis... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,662 | 1,662 | 1,662 | CONTRIBUTOR | null | testing: https://github.com/huggingface/doc-builder/pull/141/ | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18895/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18895/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18895",
"html_url": "https://github.com/huggingface/transformers/pull/18895",
"diff_url": "https://github.com/huggingface/transformers/pull/18895.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18895.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18894 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18894/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18894/comments | https://api.github.com/repos/huggingface/transformers/issues/18894/events | https://github.com/huggingface/transformers/pull/18894 | 1,361,567,231 | PR_kwDOCUB6oc4-WXFb | 18,894 | Mention TF and Flax checkpoints in the Auto model tutorial | {
"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,662 | 1,662 | 1,662 | MEMBER | null | Loading TF and Flax checkpoints within the PyTorch architecture circumvents the security risk. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18894/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18894/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18894",
"html_url": "https://github.com/huggingface/transformers/pull/18894",
"diff_url": "https://github.com/huggingface/transformers/pull/18894.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18894.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18893 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18893/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18893/comments | https://api.github.com/repos/huggingface/transformers/issues/18893/events | https://github.com/huggingface/transformers/pull/18893 | 1,361,372,268 | PR_kwDOCUB6oc4-Vufi | 18,893 | update docs word error | {
"login": "zkep",
"id": 36965534,
"node_id": "MDQ6VXNlcjM2OTY1NTM0",
"avatar_url": "https://avatars.githubusercontent.com/u/36965534?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zkep",
"html_url": "https://github.com/zkep",
"followers_url": "https://api.github.com/users/zkep/followers"... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,662 | 1,662 | 1,662 | CONTRIBUTOR | null | Word error in this PR update document | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18893/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18893/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18893",
"html_url": "https://github.com/huggingface/transformers/pull/18893",
"diff_url": "https://github.com/huggingface/transformers/pull/18893.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18893.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18892 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18892/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18892/comments | https://api.github.com/repos/huggingface/transformers/issues/18892/events | https://github.com/huggingface/transformers/pull/18892 | 1,361,336,333 | PR_kwDOCUB6oc4-VnVB | 18,892 | README_zh-hans.md Document Correction | {
"login": "zkep",
"id": 36965534,
"node_id": "MDQ6VXNlcjM2OTY1NTM0",
"avatar_url": "https://avatars.githubusercontent.com/u/36965534?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zkep",
"html_url": "https://github.com/zkep",
"followers_url": "https://api.github.com/users/zkep/followers"... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,662 | 1,662 | 1,662 | CONTRIBUTOR | null | this 预训练 not 亿训练
@sgugger | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18892/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18892/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18892",
"html_url": "https://github.com/huggingface/transformers/pull/18892",
"diff_url": "https://github.com/huggingface/transformers/pull/18892.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18892.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18891 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18891/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18891/comments | https://api.github.com/repos/huggingface/transformers/issues/18891/events | https://github.com/huggingface/transformers/pull/18891 | 1,361,257,732 | PR_kwDOCUB6oc4-VYCm | 18,891 | Adds image-guided object detection support to OWL-ViT | {
"login": "unography",
"id": 5240449,
"node_id": "MDQ6VXNlcjUyNDA0NDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/5240449?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/unography",
"html_url": "https://github.com/unography",
"followers_url": "https://api.github.com/users/un... | [] | closed | false | null | [] | [
"Hi @alaradirik I added an initial version for the image-guided obj detection. I still have to add tests and some other cleanup, however, I've some doubts right now\r\n\r\n1. Is the handling of query_embedding correct, while doing the mean and finding out the most dissimilar embedding?\r\n2. How should the postproc... | 1,662 | 1,670 | 1,670 | CONTRIBUTOR | null | This adds support for doing object detection with OWL-ViT using query image(s)
For https://github.com/huggingface/transformers/issues/18748
cc: @alaradirik | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18891/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18891/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18891",
"html_url": "https://github.com/huggingface/transformers/pull/18891",
"diff_url": "https://github.com/huggingface/transformers/pull/18891.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18891.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18890 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18890/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18890/comments | https://api.github.com/repos/huggingface/transformers/issues/18890/events | https://github.com/huggingface/transformers/issues/18890 | 1,361,163,788 | I_kwDOCUB6oc5RIbYM | 18,890 | BART example does not produce expected masks | {
"login": "BramVanroy",
"id": 2779410,
"node_id": "MDQ6VXNlcjI3Nzk0MTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2779410?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BramVanroy",
"html_url": "https://github.com/BramVanroy",
"followers_url": "https://api.github.com/users... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Seems that it was a combination of: too short sequence length and not the best way of calculating the actual coverage (not accounting for span masks). Revised example that yields the expected results:\r\n\r\n```python\r\nimport math\r\nfrom itertools import chain\r\nfrom typing import Dict, List\r\n\r\nimport nump... | 1,662 | 1,662 | 1,662 | COLLABORATOR | null | ### System Info
- `transformers` version: 4.21.2
- Platform: Windows-10-10.0.19041-SP0
- Python version: 3.8.8
- Huggingface_hub version: 0.9.1
- PyTorch version (GPU?): 1.12.1+cu113 (True)
### Who can help?
@sgugger @patil-suraj
The example was added by @duongna21 and @sanchit-gandhi
### Information
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18890/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18890/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18889 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18889/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18889/comments | https://api.github.com/repos/huggingface/transformers/issues/18889/events | https://github.com/huggingface/transformers/issues/18889 | 1,361,105,813 | I_kwDOCUB6oc5RINOV | 18,889 | Larger Logits != Larger Probability | {
"login": "Hannibal046",
"id": 38466901,
"node_id": "MDQ6VXNlcjM4NDY2OTAx",
"avatar_url": "https://avatars.githubusercontent.com/u/38466901?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Hannibal046",
"html_url": "https://github.com/Hannibal046",
"followers_url": "https://api.github.com/... | [
{
"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 @Hannibal046 👋 \r\n\r\nThe sentences are sorted by the sum of the scores (i.e. logits with potential modifiers on top), as you wrote. However, if you want to map it back to probabilities, the operator to apply is the product, not the sum :) The sum of logarithms corresponds to the logarithm of the product. App... | 1,662 | 1,662 | 1,662 | NONE | null | ### System Info
transformers version: 4.22.0.dev0
Platform: Linux-5.8.0-51-generic-x86_64-with-glibc2.10
Python version: 3.8.13
Huggingface_hub version: 0.8.1
PyTorch version (GPU?): 1.12.1+cu113 (True)
Tensorflow version (GPU?): not installed (NA)
Flax version (CPU?/GPU?/TPU?): not installed (NA)
Jax version... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18889/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18889/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18888 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18888/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18888/comments | https://api.github.com/repos/huggingface/transformers/issues/18888/events | https://github.com/huggingface/transformers/issues/18888 | 1,361,056,567 | I_kwDOCUB6oc5RIBM3 | 18,888 | Longformer TF int32 vs int64 | {
"login": "ichenjia",
"id": 3719451,
"node_id": "MDQ6VXNlcjM3MTk0NTE=",
"avatar_url": "https://avatars.githubusercontent.com/u/3719451?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ichenjia",
"html_url": "https://github.com/ichenjia",
"followers_url": "https://api.github.com/users/ichen... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"I believe you'll find the solution in [#13632](https://github.com/huggingface/transformers/issues/13632)\n\n",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do... | 1,662 | 1,665 | 1,665 | NONE | null | ### System Info
Transformers Version: 4.20.0.dev0
Ubuntu 20
Python 3.8
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [X] My own task or dataset (g... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18888/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18888/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18887 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18887/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18887/comments | https://api.github.com/repos/huggingface/transformers/issues/18887/events | https://github.com/huggingface/transformers/issues/18887 | 1,361,056,098 | I_kwDOCUB6oc5RIBFi | 18,887 | Incorrect size of input for 1st strided window length in `Perplexity of fixed-length models` | {
"login": "ekagra-ranjan",
"id": 3116519,
"node_id": "MDQ6VXNlcjMxMTY1MTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/3116519?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ekagra-ranjan",
"html_url": "https://github.com/ekagra-ranjan",
"followers_url": "https://api.github.... | [
{
"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 | [] | [
"Yes, it looks like the PPL is not 19.64 as advertised. Would you like to make a PR with the suggested changes? It all looks good to me.",
"Sure @sgugger. On it."
] | 1,662 | 1,662 | 1,662 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.20.1
- Platform: Linux-5.10.133+-x86_64-with-debian-bullseye-sid
- Python version: 3.7.12
- Huggingface_hub version: 0.8.1
- PyTorch version (GPU?): 1.11.0+cpu (False)
- Tensorflow version (GPU?): 2.6.4 (False)
- Flax version (CPU?/GPU?/TPU?): 0.6.0 (cpu)
- Jax vers... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18887/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18887/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18886 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18886/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18886/comments | https://api.github.com/repos/huggingface/transformers/issues/18886/events | https://github.com/huggingface/transformers/issues/18886 | 1,361,031,641 | I_kwDOCUB6oc5RH7HZ | 18,886 | While trying to train seq2seq distillation model i am getting an error message that __init__() got an unexpected keyword argument 'weights_summary'. | {
"login": "techthiyanes",
"id": 25921035,
"node_id": "MDQ6VXNlcjI1OTIxMDM1",
"avatar_url": "https://avatars.githubusercontent.com/u/25921035?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/techthiyanes",
"html_url": "https://github.com/techthiyanes",
"followers_url": "https://api.github.c... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This example is not maintained anymore. It was written for an older version of PyTorch Lightning, so you probably need to downgrade to what was the last release at the time around its release (roughly 2 years ago).",
"This issue has been automatically marked as stale because it has not had recent activity. If yo... | 1,662 | 1,665 | 1,665 | NONE | null | ### System Info
Transformer version : 4.21.2
pytorch-lightning 1.7.4
Used colab to test
Please find below colab link
https://colab.research.google.com/drive/1INGpr5nV2qnb8wKf2FAc0VqgPQWSPFdZ#scrollTo=DC8Tj2qtlfiZ
### Who can help?
@sgugger
_No response_
### Information
- https://github.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18886/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18886/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18885 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18885/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18885/comments | https://api.github.com/repos/huggingface/transformers/issues/18885/events | https://github.com/huggingface/transformers/issues/18885 | 1,360,982,650 | I_kwDOCUB6oc5RHvJ6 | 18,885 | Can't find ‘romanian_postprocessing.md’ file | {
"login": "sriatz",
"id": 66962833,
"node_id": "MDQ6VXNlcjY2OTYyODMz",
"avatar_url": "https://avatars.githubusercontent.com/u/66962833?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sriatz",
"html_url": "https://github.com/sriatz",
"followers_url": "https://api.github.com/users/sriatz/fo... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,662 | 1,665 | 1,665 | NONE | null | ### System Info
In this model card: https://huggingface.co/facebook/mbart-large-en-ro, it says ' Instructions in romanian_postprocessing.md'. But I cannot find romanian_postprocessing.md.
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18885/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18885/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18884 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18884/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18884/comments | https://api.github.com/repos/huggingface/transformers/issues/18884/events | https://github.com/huggingface/transformers/issues/18884 | 1,360,965,058 | I_kwDOCUB6oc5RHq3C | 18,884 | Generating with Flax fails when using Causal Language models | {
"login": "SamKG",
"id": 15336495,
"node_id": "MDQ6VXNlcjE1MzM2NDk1",
"avatar_url": "https://avatars.githubusercontent.com/u/15336495?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SamKG",
"html_url": "https://github.com/SamKG",
"followers_url": "https://api.github.com/users/SamKG/follow... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hey, I just ran into the same issue.\r\nFor me it does not occur when I explicitly specify the `pad_token_id` as in this example:\r\n```\r\nmodel.generate(\r\n prompt_tokenized,\r\n params=model.params,\r\n pad_token_id=50256,\r\n)\r\n```\r\nI'm also using the `\"EleutherAI/gpt-neo-1.3B\"` model, one migh... | 1,662 | 1,672 | 1,672 | NONE | null | ### System Info
- `transformers` version: 4.21.1
- Platform: Linux-4.18.0-372.19.1.el8_6.x86_64-x86_64-with-glibc2.28
- Python version: 3.10.4
- Huggingface_hub version: 0.8.1
- PyTorch version (GPU?): 1.12.1+cu102 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): 0.6.0 (gpu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18884/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18884/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18883 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18883/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18883/comments | https://api.github.com/repos/huggingface/transformers/issues/18883/events | https://github.com/huggingface/transformers/issues/18883 | 1,360,941,199 | I_kwDOCUB6oc5RHlCP | 18,883 | BART decoder output length changes | {
"login": "elangovana",
"id": 5715658,
"node_id": "MDQ6VXNlcjU3MTU2NTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/5715658?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/elangovana",
"html_url": "https://github.com/elangovana",
"followers_url": "https://api.github.com/users... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hi @elangovana , \r\n\r\n> The sequence length 5 seems to vary based on the input size. Doesn't this mean that the output can never be longer than the output?\r\n\r\nThe output can be longer than the input because Bart is an encoder-decoder model so the decoder can output variable length of tokens independent of... | 1,662 | 1,665 | 1,665 | NONE | null | ### System Info
Hi, BART for conditional generation, the output sequence length changes?
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18883/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18883/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18882 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18882/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18882/comments | https://api.github.com/repos/huggingface/transformers/issues/18882/events | https://github.com/huggingface/transformers/issues/18882 | 1,360,932,476 | I_kwDOCUB6oc5RHi58 | 18,882 | Tried running Stable Diffusion GRisk GUI.exe and no go. | {
"login": "nymb",
"id": 10681246,
"node_id": "MDQ6VXNlcjEwNjgxMjQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/10681246?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nymb",
"html_url": "https://github.com/nymb",
"followers_url": "https://api.github.com/users/nymb/followers"... | [
{
"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 | [] | [
"Sorry the GUI did open on another monitor I had turned off but the terminal did mention some issues."
] | 1,662 | 1,662 | 1,662 | NONE | null | ### System Info
torchvision\io\image.py:13: UserWarning: Failed to load image Python extension:
torch\_jit_internal.py:751: UserWarning: Unable to retrieve source for @torch.jit._overload function: <function _DenseLayer.forward at 0x000001A24A9D15E0>.
warnings.warn(f"Unable to retrieve source for @torch.jit._overl... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18882/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18882/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18881 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18881/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18881/comments | https://api.github.com/repos/huggingface/transformers/issues/18881/events | https://github.com/huggingface/transformers/issues/18881 | 1,360,924,104 | I_kwDOCUB6oc5RHg3I | 18,881 | Flax BART training fails when evaluating | {
"login": "BramVanroy",
"id": 2779410,
"node_id": "MDQ6VXNlcjI3Nzk0MTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2779410?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BramVanroy",
"html_url": "https://github.com/BramVanroy",
"followers_url": "https://api.github.com/users... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This seems to originate when this basic collate function is unsuccessful in creating valid numpy arrays, i.e., with one unspecified dimension, like `(2,)` instead of `(2, 16)` (bsz x seq_len).\r\n\r\nhttps://github.com/huggingface/transformers/blob/65fb71bc762c46bb067306c1fd083b1cba87a095/examples/flax/language-mo... | 1,662 | 1,663 | 1,663 | COLLABORATOR | null | ### System Info
- `transformers` version: 4.22.0.dev0
- Platform: Linux-5.15.0-41-generic-x86_64-with-glibc2.29
- Python version: 3.8.10
- Huggingface_hub version: 0.9.1
- Flax version (CPU?/GPU?/TPU?): 0.6.0 (gpu)
- Jax version: 0.3.17
- JaxLib version: 0.3.15
### Who can help?
@sgugger @patil-suraj
### Inf... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18881/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18881/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18880 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18880/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18880/comments | https://api.github.com/repos/huggingface/transformers/issues/18880/events | https://github.com/huggingface/transformers/issues/18880 | 1,360,910,602 | I_kwDOCUB6oc5RHdkK | 18,880 | Are there any higher version transformers compatible with transformers==3.0.2 | {
"login": "CaffreyR",
"id": 84232793,
"node_id": "MDQ6VXNlcjg0MjMyNzkz",
"avatar_url": "https://avatars.githubusercontent.com/u/84232793?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/CaffreyR",
"html_url": "https://github.com/CaffreyR",
"followers_url": "https://api.github.com/users/Caf... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hey @CaffreyR! We would recommend you migrate your codebase from v3.0.2 to v4.x, which should then be compatible with all newer methods.\r\n\r\nWhat is your problem when trying to upgrade?",
"Hi @LysandreJik , I run the [code](https://github.com/facebookresearch/FiD) in transformers 3.0.2, it works well. But in ... | 1,662 | 1,683 | 1,667 | NONE | null | ### System Info
Hi. I am working code that only can run on Transformers==3.0.2, however there are other method which only can run on higher version. So I want to ask if there are higher version that is compatible with transformers==3.0.2 or with little revision? Many thanks!
### Who can help?
@NielsRogge, @... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18880/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18880/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18879 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18879/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18879/comments | https://api.github.com/repos/huggingface/transformers/issues/18879/events | https://github.com/huggingface/transformers/pull/18879 | 1,360,872,900 | PR_kwDOCUB6oc4-UOYQ | 18,879 | Token type ids generation func. for Bert-like models | {
"login": "Doohae",
"id": 80743307,
"node_id": "MDQ6VXNlcjgwNzQzMzA3",
"avatar_url": "https://avatars.githubusercontent.com/u/80743307?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Doohae",
"html_url": "https://github.com/Doohae",
"followers_url": "https://api.github.com/users/Doohae/fo... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18879). All of your documentation changes will be reflected on that endpoint."
] | 1,662 | 1,663 | 1,663 | NONE | null | # What does this PR do?
For a text sequence input (separated with comma), Bert tokenizer nicely create an input_ids with [SEP] token inside and proper token_type_ids as well. However for input_ids with already separated with [SEP] token id inside, couldn't find any function to generate proper token_type_ids.
So, I ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18879/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18879/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18879",
"html_url": "https://github.com/huggingface/transformers/pull/18879",
"diff_url": "https://github.com/huggingface/transformers/pull/18879.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18879.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18878 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18878/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18878/comments | https://api.github.com/repos/huggingface/transformers/issues/18878/events | https://github.com/huggingface/transformers/issues/18878 | 1,360,759,839 | I_kwDOCUB6oc5RG4wf | 18,878 | Can't disable INTEGRATION_TO_CALLBACK | {
"login": "LZY-the-boys",
"id": 72137647,
"node_id": "MDQ6VXNlcjcyMTM3NjQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/72137647?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LZY-the-boys",
"html_url": "https://github.com/LZY-the-boys",
"followers_url": "https://api.github.c... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"cc @sgugger",
"No, this code is not called when you set `report_to=\"none\"` or `report_to=[\"none\"]` since it is filtered out [here](https://github.com/huggingface/transformers/blob/6678350c01629b848aa9c41e169da5d6b8d9e7e9/src/transformers/training_args.py#L1155).\r\n\r\nSetting `report_to=[\"none\"]` in `Trai... | 1,662 | 1,665 | 1,665 | NONE | null | ### System Info
I use transformers.4.20.0
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)
### R... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18878/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18878/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18877 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18877/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18877/comments | https://api.github.com/repos/huggingface/transformers/issues/18877/events | https://github.com/huggingface/transformers/pull/18877 | 1,360,738,951 | PR_kwDOCUB6oc4-T1Z7 | 18,877 | Update no trainer scripts to include gather for metrics | {
"login": "arun99481",
"id": 8774735,
"node_id": "MDQ6VXNlcjg3NzQ3MzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/8774735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/arun99481",
"html_url": "https://github.com/arun99481",
"followers_url": "https://api.github.com/users/ar... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,662 | 1,662 | 1,662 | CONTRIBUTOR | null | # What does this PR do?
Update run_wav2vec_pretraining_no_trainer example to include accelarator.gather_metrics
Related to #18437
I ran the tests for tests for 'wav2vec_pretraining_no_trainer' in 'test_pytorch_examples.py' files locally.
## Before submitting
- [ ] This PR fixes a typo or improves the doc... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18877/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18877/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18877",
"html_url": "https://github.com/huggingface/transformers/pull/18877",
"diff_url": "https://github.com/huggingface/transformers/pull/18877.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18877.patch",
"merged_at... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.