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/14456 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14456/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14456/comments | https://api.github.com/repos/huggingface/transformers/issues/14456/events | https://github.com/huggingface/transformers/issues/14456 | 1,058,212,993 | I_kwDOCUB6oc4_EwyB | 14,456 | [New Model] DocFormer: End-to-End Transformer for Document Understanding | {
"login": "athewsey",
"id": 19252478,
"node_id": "MDQ6VXNlcjE5MjUyNDc4",
"avatar_url": "https://avatars.githubusercontent.com/u/19252478?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/athewsey",
"html_url": "https://github.com/athewsey",
"followers_url": "https://api.github.com/users/ath... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | open | false | null | [] | [
"Haha thank you for this issue! Tagging @uakarsh since both of us have managed to get the architecture largely down (we think!)\r\n\r\nIt would be awesome to get this integrated with some help :)\r\n\r\nDirectly inspired by the journey of @NielsRogge ",
"@shabie Thanks for the tag. @athewsey, as far as the weigh... | 1,637 | 1,691 | null | NONE | null | # 🌟 New model addition
## Model description
See _"DocFormer: End-to-End Transformer for Document Understanding", Appalaraju et al (ICCV 2021)_ on [CVF](https://openaccess.thecvf.com/content/ICCV2021/papers/Appalaraju_DocFormer_End-to-End_Transformer_for_Document_Understanding_ICCV_2021_paper.pdf) and [arXiv](htt... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14456/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/14456/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14455 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14455/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14455/comments | https://api.github.com/repos/huggingface/transformers/issues/14455/events | https://github.com/huggingface/transformers/issues/14455 | 1,058,131,660 | I_kwDOCUB6oc4_Ec7M | 14,455 | The multi-node / multi-gpu training and repeat logging on each process | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | closed | false | null | [] | [
"I don't know of any other way to limit the logs.",
"We could switch it to a `warnings.warn`, which should only be sent once. \r\n\r\nOtherwise, we can also use the `self.deprecation_warnings` dictionary available here:\r\n\r\nhttps://github.com/huggingface/transformers/blob/efea0f868bd381244e3cef51b388293e41a36d... | 1,637 | 1,640 | 1,640 | CONTRIBUTOR | null | How do we deal with repetitive warnings that can't be shut off on a multi-node/multi-gpu environment?
e.g. at BigScience we started using HF Tokenizer and now **this gets repeated hundreds of times**:
```
Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14455/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14455/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14454 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14454/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14454/comments | https://api.github.com/repos/huggingface/transformers/issues/14454/events | https://github.com/huggingface/transformers/issues/14454 | 1,058,067,540 | I_kwDOCUB6oc4_ENRU | 14,454 | GPT2 Generate doesn't pass the user defined past_key_values. | {
"login": "KnightZhang625",
"id": 36263466,
"node_id": "MDQ6VXNlcjM2MjYzNDY2",
"avatar_url": "https://avatars.githubusercontent.com/u/36263466?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/KnightZhang625",
"html_url": "https://github.com/KnightZhang625",
"followers_url": "https://api.gi... | [] | closed | false | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,637 | 1,642 | 1,642 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version:
- Platform: MacOS Intel
- Python version: 3.7.10
- PyTorch version (GPU?): '1.8.1' (CPU)
- Tensorflow versi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14454/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14454/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14453 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14453/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14453/comments | https://api.github.com/repos/huggingface/transformers/issues/14453/events | https://github.com/huggingface/transformers/issues/14453 | 1,058,036,826 | I_kwDOCUB6oc4_EFxa | 14,453 | How to implement huggingface BERT + CRF layer? | {
"login": "lkqnaruto",
"id": 43921052,
"node_id": "MDQ6VXNlcjQzOTIxMDUy",
"avatar_url": "https://avatars.githubusercontent.com/u/43921052?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lkqnaruto",
"html_url": "https://github.com/lkqnaruto",
"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/master/CONTRIBUTING.md)... | 1,637 | 1,643 | 1,643 | NONE | null | Hi
I wonder how to add CRF layer to a pretrained BERT model? Do I have to overwrite the loss function in the trainer? I really need some help on this, thank you. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14453/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14453/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14452 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14452/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14452/comments | https://api.github.com/repos/huggingface/transformers/issues/14452/events | https://github.com/huggingface/transformers/issues/14452 | 1,058,036,145 | I_kwDOCUB6oc4_EFmx | 14,452 | Sampling sequences similar to a given sequence | {
"login": "zgerrard",
"id": 60338840,
"node_id": "MDQ6VXNlcjYwMzM4ODQw",
"avatar_url": "https://avatars.githubusercontent.com/u/60338840?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zgerrard",
"html_url": "https://github.com/zgerrard",
"followers_url": "https://api.github.com/users/zge... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,637 | 1,640 | 1,640 | NONE | null | # 🚀 Feature request
Sampling sequences similar to the previously generated sequence.
Example:
A language model produces the following "I went for a walk with my dog". During the next step we request a model to produce a similar sequence. It produces: "He went for a walk with his cat".
## Motivation
Ve... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14452/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14452/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14451 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14451/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14451/comments | https://api.github.com/repos/huggingface/transformers/issues/14451/events | https://github.com/huggingface/transformers/issues/14451 | 1,057,773,102 | I_kwDOCUB6oc4_DFYu | 14,451 | Patrick von Platen | {
"login": "aheirich",
"id": 1907678,
"node_id": "MDQ6VXNlcjE5MDc2Nzg=",
"avatar_url": "https://avatars.githubusercontent.com/u/1907678?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aheirich",
"html_url": "https://github.com/aheirich",
"followers_url": "https://api.github.com/users/aheir... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,637 | 1,640 | 1,640 | NONE | null | Dear Patrick von Platen
I have some questions about the use of Helsinki-NLP models in commercial projects, can you please contact me by email? alan.heirich@gmail.com
Sorry to use this issue tracker, I know of no other way to reach Patrick. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14451/reactions",
"total_count": 15,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 15,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14451/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14450 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14450/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14450/comments | https://api.github.com/repos/huggingface/transformers/issues/14450/events | https://github.com/huggingface/transformers/issues/14450 | 1,057,770,940 | I_kwDOCUB6oc4_DE28 | 14,450 | [RFC] Amphere/tf32 defaults for transformers | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [
{
"id": 2690307185,
"node_id": "MDU6TGFiZWwyNjkwMzA3MTg1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Performance",
"name": "Performance",
"color": "207F32",
"default": false,
"description": ""
}
] | 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... | [] | 1,637 | 1,638 | 1,638 | CONTRIBUTOR | null | ## Background
It's possible to use the new TF32 format automatically when doing fp32 processing for a ~3x speed up, without doing any changes to the code, other than flipping the switch on. But the speed up may come at a cost of accuracy. You can see the differences between the formats in the following image:
![t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14450/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/14450/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14449 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14449/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14449/comments | https://api.github.com/repos/huggingface/transformers/issues/14449/events | https://github.com/huggingface/transformers/issues/14449 | 1,057,720,051 | I_kwDOCUB6oc4_C4bz | 14,449 | OpenAIGPTTokenizer does not work with spacy 3.x installed | {
"login": "cody-moveworks",
"id": 40580629,
"node_id": "MDQ6VXNlcjQwNTgwNjI5",
"avatar_url": "https://avatars.githubusercontent.com/u/40580629?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cody-moveworks",
"html_url": "https://github.com/cody-moveworks",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"Hi,\r\n\r\nThe OpenAI tokenizer probably requires an update to work with Spacy v3 (as seen [here](https://github.com/explosion/spaCy/discussions/7398)). That line should be replaced by `self.nlp = _nlp.tokenizer`. \r\n\r\nDo you mind opening a PR for this?\r\n\r\nThanks!"
] | 1,637 | 1,641 | 1,641 | CONTRIBUTOR | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.11.3
- Platform: Darwin-19.6.0-x86_64-i386-64bit
- Python version: 3.6.8
- PyTorch version (GPU?): 1.9.1 (... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14449/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14449/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14448 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14448/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14448/comments | https://api.github.com/repos/huggingface/transformers/issues/14448/events | https://github.com/huggingface/transformers/pull/14448 | 1,057,690,212 | PR_kwDOCUB6oc4uu0Ll | 14,448 | WIP: Add support for bfloat16 in Trainer and T5 | {
"login": "manuelciosici",
"id": 51477,
"node_id": "MDQ6VXNlcjUxNDc3",
"avatar_url": "https://avatars.githubusercontent.com/u/51477?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/manuelciosici",
"html_url": "https://github.com/manuelciosici",
"followers_url": "https://api.github.com/user... | [] | closed | false | null | [] | [
"OK, since we have 2 half-baked PRs, \r\n\r\nhttps://github.com/huggingface/transformers/pull/13207\r\nhttps://github.com/huggingface/transformers/pull/14448\r\nI'm going to try to merge the 2 to keep the credits and start a new PR.\r\n\r\nIf you have something to push now is the time.",
"@stas00 Merging the two ... | 1,637 | 1,638 | 1,638 | CONTRIBUTOR | null | # What does this PR do?
This PR adds support for `bfloat16` with `deepspeed` and the `T5` models.
`bfloat16` is of great interest due to its larger dynamic range. `bfloat16` is especially of interest for large models that were originally trained on TPUs (which have native `bfloat16` support). Some newer GPUs (A60... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14448/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14448/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14448",
"html_url": "https://github.com/huggingface/transformers/pull/14448",
"diff_url": "https://github.com/huggingface/transformers/pull/14448.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14448.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14447 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14447/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14447/comments | https://api.github.com/repos/huggingface/transformers/issues/14447/events | https://github.com/huggingface/transformers/pull/14447 | 1,057,670,248 | PR_kwDOCUB6oc4uuwjq | 14,447 | [Bert, et al] fix early device assignment | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [] | 1,637 | 1,637 | 1,637 | CONTRIBUTOR | null | As flagged by @cbalioglu we are doing device placement in a sub-module's `__init__` in some models, which is a wrong place to do that.
https://github.com/huggingface/transformers/blob/83ef8bcac2f6ce00a3c6256a4ba747c8802480f6/src/transformers/models/bert/modeling_bert.py#L185
It appears that it originally was in ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14447/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/14447/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14447",
"html_url": "https://github.com/huggingface/transformers/pull/14447",
"diff_url": "https://github.com/huggingface/transformers/pull/14447.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14447.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14445 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14445/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14445/comments | https://api.github.com/repos/huggingface/transformers/issues/14445/events | https://github.com/huggingface/transformers/pull/14445 | 1,057,413,131 | PR_kwDOCUB6oc4ut7fn | 14,445 | Fix finite IterableDataset test on multiple GPUs | {
"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 | [] | [] | 1,637 | 1,637 | 1,637 | COLLABORATOR | null | # What does this PR do?
Simple fix for the new `test_training_finite_iterable_dataset` on multiple GPUs. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14445/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14445/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14445",
"html_url": "https://github.com/huggingface/transformers/pull/14445",
"diff_url": "https://github.com/huggingface/transformers/pull/14445.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14445.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14444 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14444/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14444/comments | https://api.github.com/repos/huggingface/transformers/issues/14444/events | https://github.com/huggingface/transformers/issues/14444 | 1,057,293,132 | I_kwDOCUB6oc4_BQNM | 14,444 | Issues with Training VisionEncoderDecoder with Seq2SeqTrainer | {
"login": "PrithivirajDamodaran",
"id": 7071019,
"node_id": "MDQ6VXNlcjcwNzEwMTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/7071019?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PrithivirajDamodaran",
"html_url": "https://github.com/PrithivirajDamodaran",
"followers_url":... | [] | closed | false | null | [] | [
"Hi,\r\n\r\nDid you take a look at my [notebook](https://github.com/NielsRogge/Transformers-Tutorials/blob/master/TrOCR/Fine_tune_TrOCR_on_IAM_Handwriting_Database_using_Seq2SeqTrainer.ipynb)?\r\n\r\nI just tested, everything seems to work fine on my end. You don't need to rename the `pixel_values` to `input_ids`.\... | 1,637 | 1,637 | 1,637 | NONE | null | Hello Team,
I am trying to code up a VisionEncoderDecoder with VIT + BERT and finetune it with `Seq2SeqTrainer.` (Presuming the support exists).
```python
from transformers import VisionEncoderDecoderModel
from transformers import ViTFeatureExtractor, AutoTokenizer
import torch
device = torch.device('cuda... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14444/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14444/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14443 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14443/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14443/comments | https://api.github.com/repos/huggingface/transformers/issues/14443/events | https://github.com/huggingface/transformers/pull/14443 | 1,057,271,991 | PR_kwDOCUB6oc4utdhA | 14,443 | [Generation] Allow `inputs_embeds` as an input | {
"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 | [] | [] | 1,637 | 1,637 | 1,637 | 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/14443/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14443/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14443",
"html_url": "https://github.com/huggingface/transformers/pull/14443",
"diff_url": "https://github.com/huggingface/transformers/pull/14443.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14443.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14442 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14442/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14442/comments | https://api.github.com/repos/huggingface/transformers/issues/14442/events | https://github.com/huggingface/transformers/issues/14442 | 1,057,077,846 | I_kwDOCUB6oc4_AbpW | 14,442 | tokenizer | {
"login": "HollyJY",
"id": 59679225,
"node_id": "MDQ6VXNlcjU5Njc5MjI1",
"avatar_url": "https://avatars.githubusercontent.com/u/59679225?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HollyJY",
"html_url": "https://github.com/HollyJY",
"followers_url": "https://api.github.com/users/HollyJ... | [] | closed | false | null | [] | [] | 1,637 | 1,637 | 1,637 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version:
- Platform:
- Python version:
- PyTorch version (GPU?):
- Tensorflow version (GPU?):
- Using GPU in script... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14442/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14442/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14441 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14441/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14441/comments | https://api.github.com/repos/huggingface/transformers/issues/14441/events | https://github.com/huggingface/transformers/pull/14441 | 1,057,051,100 | PR_kwDOCUB6oc4usu9d | 14,441 | Fix EncoderDecoderModel code example | {
"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 | [] | [
"Thanks @NielsRogge !"
] | 1,637 | 1,637 | 1,637 | CONTRIBUTOR | null | # What does this PR do?
This PR updates the code example of `EncoderDecoderModel`, as it included 2 mistakes.
Fixes #14439
Fixes #14381 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14441/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14441/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14441",
"html_url": "https://github.com/huggingface/transformers/pull/14441",
"diff_url": "https://github.com/huggingface/transformers/pull/14441.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14441.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14440 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14440/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14440/comments | https://api.github.com/repos/huggingface/transformers/issues/14440/events | https://github.com/huggingface/transformers/issues/14440 | 1,056,990,909 | I_kwDOCUB6oc4_AGa9 | 14,440 | What does "is_beam_sample_gen_mode" mean | {
"login": "huhk-sysu",
"id": 14769033,
"node_id": "MDQ6VXNlcjE0NzY5MDMz",
"avatar_url": "https://avatars.githubusercontent.com/u/14769033?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/huhk-sysu",
"html_url": "https://github.com/huhk-sysu",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hi,\r\n\r\nA good overview can be found in [this blog post](https://huggingface.co/blog/how-to-generate).\r\n\r\nIt explains the most prominent decoding methods, mainly Greedy search, Beam search, Top-K sampling and Top-p sampling.\r\n\r\nI'm not sure \"beam sampling\" exists.",
"> Hi,\r\n> \r\n> A good overview... | 1,637 | 1,677 | 1,639 | NONE | null | Hi, I find there are many ways for generating sequences in `Transformers`(when calling the `generate` method).
According to the code there:
https://github.com/huggingface/transformers/blob/01f8e639d35feb91f16fd3c31f035df11a726cc5/src/transformers/generation_utils.py#L947-L951
As far as I known:
`is_greedy_gen_mode`... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14440/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14440/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14439 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14439/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14439/comments | https://api.github.com/repos/huggingface/transformers/issues/14439/events | https://github.com/huggingface/transformers/issues/14439 | 1,056,988,039 | I_kwDOCUB6oc4_AFuH | 14,439 | (EncoderDecoderModel) Why decoder_start_token_id are different between train and generation? | {
"login": "hansd410",
"id": 12048582,
"node_id": "MDQ6VXNlcjEyMDQ4NTgy",
"avatar_url": "https://avatars.githubusercontent.com/u/12048582?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hansd410",
"html_url": "https://github.com/hansd410",
"followers_url": "https://api.github.com/users/han... | [] | closed | false | null | [] | [] | 1,637 | 1,637 | 1,637 | NONE | null | As source code given below from [EncoderDecoderModel](https://huggingface.co/transformers/model_doc/encoderdecoder.html?highlight=decoder_start_token#transformers.EncoderDecoderModel.forward), **decoder_start_token_id** are different between train and generation.
```
>>> # training
>>> model.config.decoder_start_t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14439/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14439/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14438 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14438/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14438/comments | https://api.github.com/repos/huggingface/transformers/issues/14438/events | https://github.com/huggingface/transformers/pull/14438 | 1,056,744,752 | PR_kwDOCUB6oc4uruaZ | 14,438 | Update file_utils.py | {
"login": "yangheng95",
"id": 51735130,
"node_id": "MDQ6VXNlcjUxNzM1MTMw",
"avatar_url": "https://avatars.githubusercontent.com/u/51735130?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yangheng95",
"html_url": "https://github.com/yangheng95",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi, \r\nsorry for late reply, I tried to fix the test, can you review or amend it (if necessary)?",
"@LysandreJik ",
"This looks good, thank you @yangheng95! Pinging @sgugger for confirmation regarding if this is too much of a breaking change or not.",
"I personally think this is too much of a breaking chang... | 1,637 | 1,637 | 1,637 | NONE | null | # What does this PR do?
Fixes # (issue)
This PR is a simple suggestion to replace the ValueError with ConnectionError at https://github.com/huggingface/transformers/blob/1991da07f7fe1f2dca0bb49e964aa971beca5746/src/transformers/file_utils.py#L1715.
The main reason for this modification is that when the downstream... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14438/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14438/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14438",
"html_url": "https://github.com/huggingface/transformers/pull/14438",
"diff_url": "https://github.com/huggingface/transformers/pull/14438.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14438.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14437 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14437/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14437/comments | https://api.github.com/repos/huggingface/transformers/issues/14437/events | https://github.com/huggingface/transformers/pull/14437 | 1,056,695,452 | PR_kwDOCUB6oc4urjuM | 14,437 | Recover Deleted XNLI Instructions | {
"login": "Helw150",
"id": 9847335,
"node_id": "MDQ6VXNlcjk4NDczMzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/9847335?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Helw150",
"html_url": "https://github.com/Helw150",
"followers_url": "https://api.github.com/users/Helw150/... | [] | closed | false | null | [] | [] | 1,637 | 1,637 | 1,637 | CONTRIBUTOR | null | # What does this PR do?
This reintroduces the instructions and task description of XNLI to the examples documentation for text classification. These seem to have been inadvertently deleted during the examples re-org since they followed the instructions for Tensorflow instructions for `run_glue.py`. You can see the d... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14437/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14437/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14437",
"html_url": "https://github.com/huggingface/transformers/pull/14437",
"diff_url": "https://github.com/huggingface/transformers/pull/14437.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14437.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14436 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14436/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14436/comments | https://api.github.com/repos/huggingface/transformers/issues/14436/events | https://github.com/huggingface/transformers/issues/14436 | 1,056,614,079 | I_kwDOCUB6oc4--qa_ | 14,436 | BERT outperformed XLNet | {
"login": "kutayoncuyilmaz",
"id": 64785670,
"node_id": "MDQ6VXNlcjY0Nzg1Njcw",
"avatar_url": "https://avatars.githubusercontent.com/u/64785670?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kutayoncuyilmaz",
"html_url": "https://github.com/kutayoncuyilmaz",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,637 | 1,640 | 1,640 | NONE | null | Hi,
I am doing a tweet sentiment classification (binary) project and I want to compare the F1 scores of XLNet and BERT. I expected XLNet to outperform BERT , however, BERT outperformed XLNet other permutation language models.I know it shouldn't be necessarily the case but I can't explain the reason. I used Huggingfa... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14436/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14436/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14435 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14435/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14435/comments | https://api.github.com/repos/huggingface/transformers/issues/14435/events | https://github.com/huggingface/transformers/issues/14435 | 1,056,453,195 | I_kwDOCUB6oc4--DJL | 14,435 | Ecco package - integration with HuggingFace | {
"login": "JoaoLages",
"id": 17574157,
"node_id": "MDQ6VXNlcjE3NTc0MTU3",
"avatar_url": "https://avatars.githubusercontent.com/u/17574157?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JoaoLages",
"html_url": "https://github.com/JoaoLages",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hello! We appreciate @jalammar's work on `ecco`, and we're happy to work with Jay and other members of ecco's community on making sure that `transformers` remains compatible with it - but I wonder if merging the two packages would improve users' workflows or if keeping the two as they are isn't the best for ecco's... | 1,637 | 1,643 | 1,643 | CONTRIBUTOR | null | Hi there!
I'm writing this issue to reach the HuggingFace team and to ask if it would make sense to merge the [Ecco package](https://github.com/jalammar/ecco) with huggingface or, for example, if it makes sense to integrate it in the transformers' API.
Note: I do not speak behalf of the Ecco package, I'm just a ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14435/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/14435/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14434 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14434/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14434/comments | https://api.github.com/repos/huggingface/transformers/issues/14434/events | https://github.com/huggingface/transformers/pull/14434 | 1,056,420,404 | PR_kwDOCUB6oc4uq0me | 14,434 | [Bart] Fix docs | {
"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 | [] | [
"@patil-suraj feel free to merge if ok for you",
"Can you also fix #14395 in this PR? Nvm: seems to be the same issue :)"
] | 1,637 | 1,637 | 1,637 | 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/14434/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14434/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14434",
"html_url": "https://github.com/huggingface/transformers/pull/14434",
"diff_url": "https://github.com/huggingface/transformers/pull/14434.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14434.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14433 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14433/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14433/comments | https://api.github.com/repos/huggingface/transformers/issues/14433/events | https://github.com/huggingface/transformers/issues/14433 | 1,056,407,112 | I_kwDOCUB6oc4-935I | 14,433 | Issue doing multi gpu training with TrOCR Transformer | {
"login": "radu-diaconescu13",
"id": 32652089,
"node_id": "MDQ6VXNlcjMyNjUyMDg5",
"avatar_url": "https://avatars.githubusercontent.com/u/32652089?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/radu-diaconescu13",
"html_url": "https://github.com/radu-diaconescu13",
"followers_url": "https... | [] | closed | false | null | [] | [
"Hi,\r\n\r\nThanks for your interest in TrOCR! What's the batch size you are using?\r\n\r\n",
"Hi @NielsRogge \r\n\r\nCurrently trying with batch size 16 on 4 Nvidia K80 gpu's on an Azure Compute.\r\n\r\nIt previously worked with batch size 4 on 1 Nvidia k80\r\n",
"Hello @NielsRogge \r\n\r\nAny idea about this?... | 1,637 | 1,640 | 1,640 | NONE | null | Hello.
Thank you for your work on this lovely product.
I have managed to train the model on my dataset using the awesome notebook provided by @NielsRogge
[here](https://github.com/NielsRogge/Transformers-Tutorials/blob/master/TrOCR/Fine_tune_TrOCR_on_IAM_Handwriting_Database_using_native_PyTorch.ipynb)
I am ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14433/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14433/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14432 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14432/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14432/comments | https://api.github.com/repos/huggingface/transformers/issues/14432/events | https://github.com/huggingface/transformers/issues/14432 | 1,056,356,718 | I_kwDOCUB6oc4-9rlu | 14,432 | Longformer slower than Roberta | {
"login": "duvi86",
"id": 11601834,
"node_id": "MDQ6VXNlcjExNjAxODM0",
"avatar_url": "https://avatars.githubusercontent.com/u/11601834?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/duvi86",
"html_url": "https://github.com/duvi86",
"followers_url": "https://api.github.com/users/duvi86/fo... | [] | closed | false | null | [] | [
"cc @patrickvonplaten ",
"Hey @duvi86,\r\n\r\nCould you please provide a reproducible code snippet that shows the time difference between RoBERTa and Longformer?\r\nThank you",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addresse... | 1,637 | 1,641 | 1,641 | NONE | null | Hi, It seems I have a similar issue than (https://github.com/huggingface/transformers/issues/8725). However, the time difference between Longformer and Roberta is nearly a factor 10. Does it seem normal (sequences are in the 0-100 length for this first test but will go beyond 512 in practice)? After checking it is in t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14432/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14432/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14431 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14431/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14431/comments | https://api.github.com/repos/huggingface/transformers/issues/14431/events | https://github.com/huggingface/transformers/pull/14431 | 1,056,195,307 | PR_kwDOCUB6oc4uqEs1 | 14,431 | Add a post init method to all models | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [] | 1,637 | 1,637 | 1,637 | COLLABORATOR | null | # What does this PR do?
This PR introduces the proper fix for #14388 by introducing a new `post_init` method to each model, which replaces the current `init_weights()` call. The method can execute any code that requires the model to be properly initialized, such as the `init_weights()` or the gradient checkpointing ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14431/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14431/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14431",
"html_url": "https://github.com/huggingface/transformers/pull/14431",
"diff_url": "https://github.com/huggingface/transformers/pull/14431.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14431.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14430 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14430/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14430/comments | https://api.github.com/repos/huggingface/transformers/issues/14430/events | https://github.com/huggingface/transformers/issues/14430 | 1,055,948,503 | I_kwDOCUB6oc4-8H7X | 14,430 | `AttributeError: 'BertConfig' object has no attribute 'items'` when saving a tf keras model with `transformers 4.12.4` | {
"login": "harupy",
"id": 17039389,
"node_id": "MDQ6VXNlcjE3MDM5Mzg5",
"avatar_url": "https://avatars.githubusercontent.com/u/17039389?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/harupy",
"html_url": "https://github.com/harupy",
"followers_url": "https://api.github.com/users/harupy/fo... | [] | closed | false | null | [] | [
"In transformers 4.12.3, the attached code works.",
"After commenting out the changes made in https://github.com/huggingface/transformers/pull/14361, the attached code works in transformers 4.12.4.\r\n\r\nhttps://github.com/huggingface/transformers/blob/b567510cff606c9dd67cb7c56169bc596590e700/src/transformers/mo... | 1,637 | 1,637 | 1,637 | CONTRIBUTOR | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.12.4
- Platform: Linux
- Python version: 3.7.10
- PyTorch version (GPU?):
- Tensorflow version (GPU?): 2.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14430/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14430/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14429 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14429/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14429/comments | https://api.github.com/repos/huggingface/transformers/issues/14429/events | https://github.com/huggingface/transformers/issues/14429 | 1,055,903,936 | I_kwDOCUB6oc4-79DA | 14,429 | `BertTokenizerFast.vocab.keys()` does not return a fixed order sequence | {
"login": "function2-llx",
"id": 38486514,
"node_id": "MDQ6VXNlcjM4NDg2NTE0",
"avatar_url": "https://avatars.githubusercontent.com/u/38486514?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/function2-llx",
"html_url": "https://github.com/function2-llx",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Well, a dictionary-like object (in which the vocab is stored) is naturally unordered in most programming languages due to the data structure behind.\r\n\r\nThe vocab order that `BertTokenizer` yields is fixed because it leverages `OrderedDict`, which is a special dict class making itself ordered. Additionally, the... | 1,637 | 1,640 | 1,640 | CONTRIBUTOR | null | ## Environment info
- `transformers` version: 4.12.3
- Platform: Linux-5.4.0-1048-aws-x86_64-with-glibc2.27
- Python version: 3.9.7
- PyTorch version (GPU?): 1.10.0 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- JaxLib v... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14429/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14429/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14428 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14428/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14428/comments | https://api.github.com/repos/huggingface/transformers/issues/14428/events | https://github.com/huggingface/transformers/issues/14428 | 1,055,754,787 | I_kwDOCUB6oc4-7Yoj | 14,428 | [Benchmark] Tokenizers as Collate functions vs normal in loop tokenizing | {
"login": "sachinruk",
"id": 1410927,
"node_id": "MDQ6VXNlcjE0MTA5Mjc=",
"avatar_url": "https://avatars.githubusercontent.com/u/1410927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sachinruk",
"html_url": "https://github.com/sachinruk",
"followers_url": "https://api.github.com/users/sa... | [] | closed | false | null | [] | [
"Maybe @sgugger has an idea.",
"Please explain to us what the problem is, the Colab notebook you link is not public.",
"Sorry @sgugger, should be public now but basically the problem is that using a collate function slows down dataloader:\r\n```python\r\nsentence_dl = DataLoader(\r\n sentence_ds,\r\n BATC... | 1,637 | 1,637 | 1,637 | CONTRIBUTOR | null | Apologies if this is more of a bug than it is a benchmark, just wanted to check if it was normal for tokenizer as collate function to run twice as slow. [Here's the colab notebook](https://colab.research.google.com/drive/1dqnM3pWIZgUMTrk42RJrvby6-ZZCHNRO?usp=sharing). | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14428/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14428/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14427 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14427/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14427/comments | https://api.github.com/repos/huggingface/transformers/issues/14427/events | https://github.com/huggingface/transformers/pull/14427 | 1,055,708,296 | PR_kwDOCUB6oc4uoePq | 14,427 | fix hook removal issue | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [
"Thanks a lot for the investigation! The hook was only a temporary solution to make a quick fix for the backward compatibility issue. I will work on the \"real fix\" today (which won't depend on hooks) and if I finish it quickly enough, I propose we just merge the \"real fix\". If it starts taking too much time, we... | 1,637 | 1,651 | 1,637 | CONTRIBUTOR | null | Here is a possible workaround for an issue triggered by https://github.com/huggingface/transformers/pull/14408 and reported at https://github.com/huggingface/transformers/pull/14408#issuecomment-971004220. I repeat all the relevant information below.
This broke HF/deepspeed integration with pt-1.8 or pt-1.9 - works ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14427/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14427/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14427",
"html_url": "https://github.com/huggingface/transformers/pull/14427",
"diff_url": "https://github.com/huggingface/transformers/pull/14427.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14427.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14426 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14426/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14426/comments | https://api.github.com/repos/huggingface/transformers/issues/14426/events | https://github.com/huggingface/transformers/pull/14426 | 1,055,619,091 | PR_kwDOCUB6oc4uoLyl | 14,426 | [Deepspeed Inference] HF Integration | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | open | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_14426). All of your documentation changes will be reflected on that endpoint."
] | 1,637 | 1,649 | null | CONTRIBUTOR | null | This PR is working on an integration of [Deepspeed Inference](https://www.deepspeed.ai/tutorials/inference-tutorial/) which implements Tensor Parallelism. This is different from Deepspeed ZeRO inference.
This is a very early draft.
To try:
```
cd transformers
export BS=16; rm -r output_dir; PYTHONPATH=src US... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14426/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14426/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14426",
"html_url": "https://github.com/huggingface/transformers/pull/14426",
"diff_url": "https://github.com/huggingface/transformers/pull/14426.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14426.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14425 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14425/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14425/comments | https://api.github.com/repos/huggingface/transformers/issues/14425/events | https://github.com/huggingface/transformers/issues/14425 | 1,055,515,578 | I_kwDOCUB6oc4-6eO6 | 14,425 | Add documentation for exporting TorchScript model to accelerator | {
"login": "kct22aws",
"id": 87498815,
"node_id": "MDQ6VXNlcjg3NDk4ODE1",
"avatar_url": "https://avatars.githubusercontent.com/u/87498815?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kct22aws",
"html_url": "https://github.com/kct22aws",
"followers_url": "https://api.github.com/users/kct... | [] | closed | false | null | [] | [
"That sounds good! We'd welcome a section about deploying a TorchScript model in AWS Inferentia! Ideally this would be under a new documentation page \"deployment\". You can take inspiration from either the RST [serialization page](https://github.com/huggingface/transformers/blob/master/docs/source/serialization.rs... | 1,637 | 1,640 | 1,640 | CONTRIBUTOR | null | # 🚀 Feature request
Add examples about how to trace a TorchScript transformer model and deploy it in an accelerator such as [AWS Inferentia](https://aws.amazon.com/machine-learning/inferentia/ "Inferentia accelerator").
## Motivation
Communicated with @philschmid. HuggingFace transformer models can be traced t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14425/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14425/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14424 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14424/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14424/comments | https://api.github.com/repos/huggingface/transformers/issues/14424/events | https://github.com/huggingface/transformers/pull/14424 | 1,055,508,601 | PR_kwDOCUB6oc4un0WV | 14,424 | Debug doc | {
"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 | [] | [] | 1,637 | 1,637 | 1,637 | COLLABORATOR | null | # What does this PR do?
This should fix the `deploy_doc` failing job. Apparently there is something in the latest release of Python mardown that sphinx does not like. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14424/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14424/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14424",
"html_url": "https://github.com/huggingface/transformers/pull/14424",
"diff_url": "https://github.com/huggingface/transformers/pull/14424.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14424.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14423 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14423/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14423/comments | https://api.github.com/repos/huggingface/transformers/issues/14423/events | https://github.com/huggingface/transformers/issues/14423 | 1,055,288,493 | I_kwDOCUB6oc4-5myt | 14,423 | Initial install: No module named 'tensorflow.python.keras.engine.keras_tensor' | {
"login": "james-vincent",
"id": 78603372,
"node_id": "MDQ6VXNlcjc4NjAzMzcy",
"avatar_url": "https://avatars.githubusercontent.com/u/78603372?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/james-vincent",
"html_url": "https://github.com/james-vincent",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Hi @james-vincent ,\r\n\r\nIt seems the version of tensorflow you're using is not supported anymore (https://github.com/huggingface/transformers/blob/master/setup.py#L155) . You need at least TF 2.3 to use transformers.\r\n\r\nAre you able to upgrgade your dependency ? ",
"Thanks for the quick reply.\n\nI can ch... | 1,637 | 1,639 | 1,637 | NONE | null | ## Environment info
Output of transformers-cli env is an error ending with:
RuntimeError: Failed to import transformers.modeling_tf_utils because of the following error (look up to see its traceback):
No module named 'tensorflow.python.keras.engine.keras_tensor'
- `transformers` version:
- Platform: Linux Ce... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14423/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/14423/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14422 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14422/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14422/comments | https://api.github.com/repos/huggingface/transformers/issues/14422/events | https://github.com/huggingface/transformers/issues/14422 | 1,055,098,838 | I_kwDOCUB6oc4-44fW | 14,422 | Exporting `sentence-transformers/LaBSE` to ONNX leads to different output | {
"login": "JulesBelveze",
"id": 32683010,
"node_id": "MDQ6VXNlcjMyNjgzMDEw",
"avatar_url": "https://avatars.githubusercontent.com/u/32683010?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JulesBelveze",
"html_url": "https://github.com/JulesBelveze",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"cc @michaelbenayoun @mfuntowicz ",
"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/tra... | 1,637 | 1,641 | 1,640 | NONE | null | ## Environment info
- `transformers` version: 4.6.1
- Platform: macOS-10.14.6-x86_64-i386-64bit
- Python version: 3.9.7
- PyTorch version (GPU?): 1.10.0 (False)
- Tensorflow version (GPU?): not installed (NA)
- Using GPU in script?: no
- Using distributed or parallel set-up in script?: no
- onnx==1.10.2
- onnx... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14422/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14422/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14421 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14421/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14421/comments | https://api.github.com/repos/huggingface/transformers/issues/14421/events | https://github.com/huggingface/transformers/issues/14421 | 1,055,029,707 | I_kwDOCUB6oc4-4nnL | 14,421 | [Generation] Make `generate()` method compatible with speech and vision inputs while keeping 100% backward compatibility. | {
"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 | {
"login": "anton-l",
"id": 26864830,
"node_id": "MDQ6VXNlcjI2ODY0ODMw",
"avatar_url": "https://avatars.githubusercontent.com/u/26864830?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anton-l",
"html_url": "https://github.com/anton-l",
"followers_url": "https://api.github.com/users/anton-... | [
{
"login": "anton-l",
"id": 26864830,
"node_id": "MDQ6VXNlcjI2ODY0ODMw",
"avatar_url": "https://avatars.githubusercontent.com/u/26864830?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anton-l",
"html_url": "https://github.com/anton-l",
"followers_url": "https://api.git... | [
"If you're too busy with other things - don't worry, I can take care of it in like 2 weeks.",
"Also as a note, the following hacks should then be removed:\r\n\r\n- [this hack](https://github.com/huggingface/transformers/blob/b567510cff606c9dd67cb7c56169bc596590e700/src/transformers/trainer_seq2seq.py#L169) in `Se... | 1,637 | 1,639 | 1,639 | MEMBER | null | # 🚀 Feature request
As mentioned by @NielsRogge and @LysandreJik [here](https://github.com/huggingface/transformers/pull/14139#discussion_r736788040) the `generate` function should be made more general by not assuming that the inputs are necessarily `input_ids`. We should also allow inputs to be called `input_value... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14421/reactions",
"total_count": 3,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 2,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14421/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14420 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14420/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14420/comments | https://api.github.com/repos/huggingface/transformers/issues/14420/events | https://github.com/huggingface/transformers/pull/14420 | 1,055,003,777 | PR_kwDOCUB6oc4umTLH | 14,420 | Adding support for `hidden_states` and `attentions` in unbatching support. | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [] | closed | false | null | [] | [] | 1,637 | 1,637 | 1,637 | 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/14420/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14420/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14420",
"html_url": "https://github.com/huggingface/transformers/pull/14420",
"diff_url": "https://github.com/huggingface/transformers/pull/14420.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14420.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14419 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14419/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14419/comments | https://api.github.com/repos/huggingface/transformers/issues/14419/events | https://github.com/huggingface/transformers/pull/14419 | 1,054,915,982 | PR_kwDOCUB6oc4umAhp | 14,419 | Add forward method to dummy models | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [] | 1,637 | 1,637 | 1,637 | COLLABORATOR | null | # What does this PR do?
This PR adds a forward/call/__call__ method to the dummy models (depending on the framework) so that one can build the doc even if not all dependencies are present (torch-scatter in particular is annoying). | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14419/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/14419/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14419",
"html_url": "https://github.com/huggingface/transformers/pull/14419",
"diff_url": "https://github.com/huggingface/transformers/pull/14419.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14419.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14418 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14418/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14418/comments | https://api.github.com/repos/huggingface/transformers/issues/14418/events | https://github.com/huggingface/transformers/issues/14418 | 1,054,892,653 | I_kwDOCUB6oc4-4GJt | 14,418 | DebertaTokenizerFast from microsoft/deberta-base returns strange offset_mapping for Ġ prefixed token | {
"login": "sgrachov",
"id": 1922476,
"node_id": "MDQ6VXNlcjE5MjI0NzY=",
"avatar_url": "https://avatars.githubusercontent.com/u/1922476?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgrachov",
"html_url": "https://github.com/sgrachov",
"followers_url": "https://api.github.com/users/sgrac... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,637 | 1,640 | 1,640 | NONE | null | ## Environment info
- `transformers` version: 4.12.3
- Platform: Linux-5.14.17-301.fc35.x86_64-x86_64-with-debian-buster-sid
- Python version: 3.7.10
- PyTorch version (GPU?): 1.9.0 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not inst... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14418/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14418/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14417 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14417/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14417/comments | https://api.github.com/repos/huggingface/transformers/issues/14417/events | https://github.com/huggingface/transformers/issues/14417 | 1,054,847,163 | I_kwDOCUB6oc4-37C7 | 14,417 | Errors while importing FlaxHybridCLIP checkpoints to FlaxCLIPModel or CLIPModel | {
"login": "g8a9",
"id": 19472113,
"node_id": "MDQ6VXNlcjE5NDcyMTEz",
"avatar_url": "https://avatars.githubusercontent.com/u/19472113?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/g8a9",
"html_url": "https://github.com/g8a9",
"followers_url": "https://api.github.com/users/g8a9/followers"... | [] | closed | false | null | [] | [
"Hey @g8a9\r\n\r\nIt's not possible to load `FlaxHybridCLIP` into `FlaxCLIP` since the module structure is different as the hybrid can use any pre-trained text and vision models. \r\n\r\nThe hybrid clip model will soon be officially supported in `transformers` (see #13511), we are now calling it `VisionTextDualEnc... | 1,637 | 1,674 | 1,637 | CONTRIBUTOR | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.12.2
- Platform: Linux-5.4.0-80-generic-x86_64-with-debian-buster-sid
- Python version: 3.7.9
- PyTorch ve... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14417/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/14417/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14416 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14416/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14416/comments | https://api.github.com/repos/huggingface/transformers/issues/14416/events | https://github.com/huggingface/transformers/issues/14416 | 1,054,754,797 | I_kwDOCUB6oc4-3kft | 14,416 | Finetune Hubert model : Adding new vocabulary | {
"login": "harrypotter90",
"id": 15175500,
"node_id": "MDQ6VXNlcjE1MTc1NTAw",
"avatar_url": "https://avatars.githubusercontent.com/u/15175500?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/harrypotter90",
"html_url": "https://github.com/harrypotter90",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"cc @anton-l @patrickvonplaten",
"Hi @harrypotter90! Here you're adding a space (`' '`) as a separate token, while the tokenizer already has a special separator token `'|'`, that is a replacement for all whitespaces. Try adding just the new letters and fine-tune again.",
"Also I would recommend resizing the `lm... | 1,637 | 1,637 | 1,637 | NONE | null | Environment info
```
transformers version: 4.12.2
Platform: Mac
Python version: 3.7
PyTorch version (GPU?): 1.9
Tensorflow version (GPU?): No
Using GPU in script?: No
Using distributed or parallel setup in script?: No
```
I just run simple code to load Hubert pretrained base model
```
from transformers im... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14416/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/14416/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14415 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14415/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14415/comments | https://api.github.com/repos/huggingface/transformers/issues/14415/events | https://github.com/huggingface/transformers/pull/14415 | 1,054,709,307 | PR_kwDOCUB6oc4ulUku | 14,415 | [WIP] Ensure TF model configs can be converted to proper JSON | {
"login": "Zahlii",
"id": 218582,
"node_id": "MDQ6VXNlcjIxODU4Mg==",
"avatar_url": "https://avatars.githubusercontent.com/u/218582?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Zahlii",
"html_url": "https://github.com/Zahlii",
"followers_url": "https://api.github.com/users/Zahlii/follow... | [] | closed | false | null | [] | [
"Thanks for this! I see a few failing tests, but I think something like this should work. One thing I'd suggest: I think the `from_config()` method should probably work whether a dict or a true config object is passed. Can we check the type of the input, and only do the conversion if it's actually a dict?",
"Yes,... | 1,637 | 1,637 | 1,637 | CONTRIBUTOR | null | # What does this PR do?
This is an extension to https://github.com/huggingface/transformers/pull/14361/files, which hopefully will prevent errors such as https://github.com/huggingface/transformers/issues/14403 from going unnoticed.
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14415/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14415/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14415",
"html_url": "https://github.com/huggingface/transformers/pull/14415",
"diff_url": "https://github.com/huggingface/transformers/pull/14415.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14415.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14414 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14414/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14414/comments | https://api.github.com/repos/huggingface/transformers/issues/14414/events | https://github.com/huggingface/transformers/issues/14414 | 1,054,698,307 | I_kwDOCUB6oc4-3WtD | 14,414 | Pipelines fails with IndexError using Bert model with outputs and batch size >= 16 | {
"login": "alwayscurious",
"id": 38662361,
"node_id": "MDQ6VXNlcjM4NjYyMzYx",
"avatar_url": "https://avatars.githubusercontent.com/u/38662361?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alwayscurious",
"html_url": "https://github.com/alwayscurious",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Hi @alwayscurious ,\r\n\r\nYes, the current system for automating batching/unbatching doesn't support `hidden_states` nor `attentions`.\r\nI opened up a PR. Currently it explicitly needs specific keys to check for this tuples of tensors since they are not the norm.",
"Hi @Narsil\r\n\r\nThanks for adding a fix to... | 1,637 | 1,637 | 1,637 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.13.0.dev0
- Platform: Linux-5.4.104+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.12
- PyTorch ve... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14414/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14414/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14413 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14413/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14413/comments | https://api.github.com/repos/huggingface/transformers/issues/14413/events | https://github.com/huggingface/transformers/pull/14413 | 1,054,667,897 | PR_kwDOCUB6oc4ulL10 | 14,413 | Avoid looping when data exhausted | {
"login": "valentinkoe",
"id": 8581199,
"node_id": "MDQ6VXNlcjg1ODExOTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/8581199?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/valentinkoe",
"html_url": "https://github.com/valentinkoe",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"Thanks again for fixing this! :-)"
] | 1,637 | 1,637 | 1,637 | CONTRIBUTOR | null | # What does this PR do?
This fix avoids running into a virtually infinite loop when using a finite iterable dataset.
When using an iterable dataset `num_epochs` is set to sys.maxsize to make sure all data is consumed (see https://github.com/huggingface/transformers/pull/12561)
Likewise I'd like to set `max_steps... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14413/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14413/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14413",
"html_url": "https://github.com/huggingface/transformers/pull/14413",
"diff_url": "https://github.com/huggingface/transformers/pull/14413.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14413.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14412 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14412/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14412/comments | https://api.github.com/repos/huggingface/transformers/issues/14412/events | https://github.com/huggingface/transformers/issues/14412 | 1,054,605,969 | I_kwDOCUB6oc4-3AKR | 14,412 | Quantization with `transformers.onnx` | {
"login": "realjanpaulus",
"id": 22560883,
"node_id": "MDQ6VXNlcjIyNTYwODgz",
"avatar_url": "https://avatars.githubusercontent.com/u/22560883?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/realjanpaulus",
"html_url": "https://github.com/realjanpaulus",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"cc @michaelbenayoun ",
"Hello! The new package does not have a quantization option as we're moving all performance optimization features in a separate library with the sole focus of accelerating the performance of models. \r\n\r\nThe package is the following: https://github.com/huggingface/optimum\r\n\r\nYou can... | 1,637 | 1,638 | 1,638 | NONE | null | ## Environment info
- `transformers` version: 4.11.3
- Platform: Linux-5.4.0-1059-aws-x86_64-with-glibc2.27
- Python version: 3.9.5
- PyTorch version (GPU?): 1.9.1+cu102 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- Ja... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14412/reactions",
"total_count": 5,
"+1": 5,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14412/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14411 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14411/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14411/comments | https://api.github.com/repos/huggingface/transformers/issues/14411/events | https://github.com/huggingface/transformers/pull/14411 | 1,054,559,019 | PR_kwDOCUB6oc4uk1TB | 14,411 | Fixed a bug for num_return_sequences don't take effect in Text2TextGenerationPipeline. | {
"login": "enze5088",
"id": 14285786,
"node_id": "MDQ6VXNlcjE0Mjg1Nzg2",
"avatar_url": "https://avatars.githubusercontent.com/u/14285786?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/enze5088",
"html_url": "https://github.com/enze5088",
"followers_url": "https://api.github.com/users/enz... | [] | closed | false | null | [] | [
"Hi @enze5088 ,\r\n\r\nDo you mind adding a test ?\r\nI think extending tests/test_pipelines_text2text_generation.py::Text2TextGenerationPipelineTests::test_small_model_pt would be enough (just extend with `num_return_sequences=3` and check that the returned results returns 3 strings (ideally they should be differe... | 1,637 | 1,640 | 1,640 | CONTRIBUTOR | null | # Fixed a bug for num_return_sequences don't take effect in Text2TextGenerationPipeline.
The previous postprocess function always returns one result. This leads to num_return_sequences doesn't take effect in Text2TextGenerationPipeline and only can get one text result, no matter how we change the parameters.
We can g... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14411/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14411/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14411",
"html_url": "https://github.com/huggingface/transformers/pull/14411",
"diff_url": "https://github.com/huggingface/transformers/pull/14411.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14411.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14410 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14410/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14410/comments | https://api.github.com/repos/huggingface/transformers/issues/14410/events | https://github.com/huggingface/transformers/pull/14410 | 1,054,512,149 | PR_kwDOCUB6oc4ukra9 | 14,410 | Fixed a bug for num_return_sequences don't take effect in Text2TextGenerationPipeline | {
"login": "enze5088",
"id": 14285786,
"node_id": "MDQ6VXNlcjE0Mjg1Nzg2",
"avatar_url": "https://avatars.githubusercontent.com/u/14285786?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/enze5088",
"html_url": "https://github.com/enze5088",
"followers_url": "https://api.github.com/users/enz... | [] | closed | false | null | [] | [] | 1,637 | 1,637 | 1,637 | CONTRIBUTOR | null | # Fixed a bug for num_return_sequences don't take effect in Text2TextGenerationPipeline.
The previous postprocess function always returns one result. This leads to num_return_sequences doesn't take effect in Text2TextGenerationPipeline and only can get one text result, no matter how we change the parameters.
We can g... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14410/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14410/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14410",
"html_url": "https://github.com/huggingface/transformers/pull/14410",
"diff_url": "https://github.com/huggingface/transformers/pull/14410.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14410.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14409 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14409/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14409/comments | https://api.github.com/repos/huggingface/transformers/issues/14409/events | https://github.com/huggingface/transformers/issues/14409 | 1,054,206,722 | I_kwDOCUB6oc4-1esC | 14,409 | support for pytorch-directml | {
"login": "kotoroshinoto",
"id": 1337560,
"node_id": "MDQ6VXNlcjEzMzc1NjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/1337560?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kotoroshinoto",
"html_url": "https://github.com/kotoroshinoto",
"followers_url": "https://api.github.... | [] | closed | false | null | [] | [
"Hello! If you can provide a reproducible example, we're happy to take a look!\r\n\r\nIt's probably a matter of adding `pytorch-directml` to this part of the `file_utils.py` file:\r\n\r\nhttps://github.com/huggingface/transformers/blob/558f8543ba3860c736a7a9a4176ac20f23f9d5a0/src/transformers/file_utils.py#L67-L77\... | 1,637 | 1,679 | 1,640 | NONE | null | # 🚀 Feature request
I would like to be able to work with the available models and trainer classes when using pytorch-directml under WSL
## Motivation
importing relevant huggingface packages results in a message that pytorch could not be detected and as such the models would not be available. there is an impor... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14409/reactions",
"total_count": 3,
"+1": 3,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14409/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14408 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14408/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14408/comments | https://api.github.com/repos/huggingface/transformers/issues/14408/events | https://github.com/huggingface/transformers/pull/14408 | 1,054,158,965 | PR_kwDOCUB6oc4ujp-v | 14,408 | Fix gradient_checkpointing backward compatibility | {
"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 | [] | [
"This broke HF/deepspeed integration with pt-1.8 or pt-1.9 - works fine with pt-1.10. found with git bisecting and reported by @jeffra, as their CI broke with our master.\r\n\r\n```\r\nRUN_SLOW=1 pyt tests/deepspeed/test_deepspeed.py::TestDeepSpeedWithLauncher::test_clm_1_zero3 -sv\r\n```\r\n\r\n\r\n```\r\nE ... | 1,637 | 1,637 | 1,637 | COLLABORATOR | null | # What does this PR do?
This supercedes #14405 and fixes #14388 by going at the root of the problem. When the code for backward compatibility is executed in the main init, the submodules of the model have not been created yet, so there is nothing to do. That code needs to be executed in some kind of `post_init`.
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14408/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14408/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14408",
"html_url": "https://github.com/huggingface/transformers/pull/14408",
"diff_url": "https://github.com/huggingface/transformers/pull/14408.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14408.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14407 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14407/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14407/comments | https://api.github.com/repos/huggingface/transformers/issues/14407/events | https://github.com/huggingface/transformers/pull/14407 | 1,054,039,916 | PR_kwDOCUB6oc4ujT-F | 14,407 | [Wav2Vec2] Make sure that gradient checkpointing is only run if needed | {
"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 | [] | [
"This PR further reduces the required memory by 20%",
"cc @anton-l FYI"
] | 1,637 | 1,637 | 1,637 | 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/14407/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/14407/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14407",
"html_url": "https://github.com/huggingface/transformers/pull/14407",
"diff_url": "https://github.com/huggingface/transformers/pull/14407.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14407.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14406 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14406/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14406/comments | https://api.github.com/repos/huggingface/transformers/issues/14406/events | https://github.com/huggingface/transformers/pull/14406 | 1,053,980,720 | PR_kwDOCUB6oc4ujH94 | 14,406 | Revert "Fix weight loading issue" | {
"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 | [] | [
"Sorry for reverting the PR here - it's on me! I merged it too quickly. We had some internal discussion and came to the conclusion that this hack is probably not worth the functionality it would give us here. \r\n\r\nSaving and loading a model with `tempfile` inside the `from_encoder_decoder_pretrained(...)` functi... | 1,637 | 1,637 | 1,637 | MEMBER | null | Reverts huggingface/transformers#14016 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14406/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14406/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14406",
"html_url": "https://github.com/huggingface/transformers/pull/14406",
"diff_url": "https://github.com/huggingface/transformers/pull/14406.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14406.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14405 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14405/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14405/comments | https://api.github.com/repos/huggingface/transformers/issues/14405/events | https://github.com/huggingface/transformers/pull/14405 | 1,053,961,807 | PR_kwDOCUB6oc4ujEM2 | 14,405 | [Gradient checkpointing] Restore backwards compatibility until v5 | {
"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 | [] | [] | 1,636 | 1,637 | 1,637 | 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/14405/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14405/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14405",
"html_url": "https://github.com/huggingface/transformers/pull/14405",
"diff_url": "https://github.com/huggingface/transformers/pull/14405.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14405.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14404 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14404/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14404/comments | https://api.github.com/repos/huggingface/transformers/issues/14404/events | https://github.com/huggingface/transformers/issues/14404 | 1,053,824,951 | I_kwDOCUB6oc4-0Be3 | 14,404 | `np.ndarray` not supported anymore for optional arguments at inference for Bert | {
"login": "RobertSamoilescu",
"id": 22344480,
"node_id": "MDQ6VXNlcjIyMzQ0NDgw",
"avatar_url": "https://avatars.githubusercontent.com/u/22344480?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/RobertSamoilescu",
"html_url": "https://github.com/RobertSamoilescu",
"followers_url": "https://... | [] | closed | false | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [
{
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.co... | [
"Link to `alibi` issue: https://github.com/SeldonIO/alibi/issues/527",
"@RobertSamoilescu Thank you for this, it's definitely a bug. I think the best solution is probably:\r\n\r\n1) Rewrite `shape_list` to support `np.ndarray` as well as `tf.Tensor`.\r\n2) Add a test with Numpy inputs for our TF models to ensure ... | 1,636 | 1,642 | 1,642 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.12.3 (maybe even earlier)
- Python version: >= 3.7
- Tensorflow version (GPU?): >= 2.2
### Who can help
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14404/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14404/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14403 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14403/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14403/comments | https://api.github.com/repos/huggingface/transformers/issues/14403/events | https://github.com/huggingface/transformers/issues/14403 | 1,053,796,879 | I_kwDOCUB6oc4-z6oP | 14,403 | TF models save_pretrained() failed when saved_model=True | {
"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 | {
"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... | [
{
"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"... | [
"This should have been caught by these tests: https://github.com/huggingface/transformers/blob/master/tests/test_modeling_tf_common.py#L239-L306\r\n\r\nBut these tests are deactivated as they're too slow, unfortunartely.",
"Why are they there then? :D",
"Because they were not deactivated at some point, but ende... | 1,636 | 1,637 | 1,637 | COLLABORATOR | null | ## Environment info
- `transformers` version: 4.13.0.dev0
- Platform: Windows-10-10.0.19042-SP0
- Python version: 3.9.5
- PyTorch version (GPU?): 1.9.0+cpu (False)
- Tensorflow version (GPU?): 2.6.0 (False)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- JaxLib version: not ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14403/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14403/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14402 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14402/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14402/comments | https://api.github.com/repos/huggingface/transformers/issues/14402/events | https://github.com/huggingface/transformers/issues/14402 | 1,053,754,855 | I_kwDOCUB6oc4-zwXn | 14,402 | AttributeError: 'NoneType' object has no attribute 'encode_plus' with XLNet tonkenizer | {
"login": "kutayoncuyilmaz",
"id": 64785670,
"node_id": "MDQ6VXNlcjY0Nzg1Njcw",
"avatar_url": "https://avatars.githubusercontent.com/u/64785670?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kutayoncuyilmaz",
"html_url": "https://github.com/kutayoncuyilmaz",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"Hey @kutayoncuyilmaz, could you share your software versions as asked in the template? Thanks",
"You can do so by running `transformers-cli env` in your environment.",
"Thank you. I solved the problem "
] | 1,636 | 1,637 | 1,637 | NONE | null | Hi everyone,
I am using XLNet tokenizer , however I am receiving this error.
```
**from transformers import XLNetTokenizer, XLNetModel
tokenizer = XLNetTokenizer.from_pretrained('xlnet-base-cased')
input_txt = "India is my country. All Indians are my brothers and sisters"
encodings = tokenizer.encode_plus... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14402/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14402/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14401 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14401/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14401/comments | https://api.github.com/repos/huggingface/transformers/issues/14401/events | https://github.com/huggingface/transformers/pull/14401 | 1,053,683,735 | PR_kwDOCUB6oc4uiK2t | 14,401 | Quick fix to TF summarization example | {
"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 | [] | [] | 1,636 | 1,636 | 1,636 | MEMBER | null | Fixes #14297 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14401/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14401/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14401",
"html_url": "https://github.com/huggingface/transformers/pull/14401",
"diff_url": "https://github.com/huggingface/transformers/pull/14401.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14401.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14400 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14400/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14400/comments | https://api.github.com/repos/huggingface/transformers/issues/14400/events | https://github.com/huggingface/transformers/pull/14400 | 1,053,679,731 | PR_kwDOCUB6oc4uiKBm | 14,400 | add embed_scale for bert | {
"login": "xu-song",
"id": 13825126,
"node_id": "MDQ6VXNlcjEzODI1MTI2",
"avatar_url": "https://avatars.githubusercontent.com/u/13825126?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xu-song",
"html_url": "https://github.com/xu-song",
"followers_url": "https://api.github.com/users/xu-son... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,636 | 1,642 | 1,642 | CONTRIBUTOR | null | # What does this PR do?
`embed_scale` has been widely used in many variation of bert and transformer.
This commit add `embed_scale` as an option feature for bert.
Existing implementions
- [fairseq roberta](https://github.com/pytorch/fairseq/tree/main/fairseq/models/roberta),
- https://github.com/huggingfac... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14400/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14400/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14400",
"html_url": "https://github.com/huggingface/transformers/pull/14400",
"diff_url": "https://github.com/huggingface/transformers/pull/14400.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14400.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14399 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14399/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14399/comments | https://api.github.com/repos/huggingface/transformers/issues/14399/events | https://github.com/huggingface/transformers/pull/14399 | 1,053,667,912 | PR_kwDOCUB6oc4uiHi2 | 14,399 | Fix TFViT | {
"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 | [] | [
"LGTM, thanks! \r\n",
"\r\nI open an issue #14403 for the following.\r\n_________________________________\r\n\r\nHi, I found that there is something wrong (not introduced in this PR).\r\n\r\n`model.save_pretrained(\"tmp\", saved_model=True)` will give an error `AttributeError: 'ViTConfig' object has no attribute ... | 1,636 | 1,637 | 1,636 | CONTRIBUTOR | null | # What does this PR do?
Fix the code example of `TFViTForImageClassification` + fix the integration test.
cc @ydshieh | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14399/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14399/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14399",
"html_url": "https://github.com/huggingface/transformers/pull/14399",
"diff_url": "https://github.com/huggingface/transformers/pull/14399.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14399.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14398 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14398/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14398/comments | https://api.github.com/repos/huggingface/transformers/issues/14398/events | https://github.com/huggingface/transformers/pull/14398 | 1,053,626,172 | PR_kwDOCUB6oc4uh-we | 14,398 | TrainingArguments docstring typo fix | {
"login": "navalnica",
"id": 29257108,
"node_id": "MDQ6VXNlcjI5MjU3MTA4",
"avatar_url": "https://avatars.githubusercontent.com/u/29257108?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/navalnica",
"html_url": "https://github.com/navalnica",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"No the docstring is correct: it is when setting that argument to `True` that the data is ignored and training begins faster.",
"oh, now I see the logic.\r\nstill, the phrasing is a bit odd because parameter name `ignore_data_skip` implies the opposite of the first phrase in the description: \"whether or not **to... | 1,636 | 1,640 | 1,640 | NONE | null | # What does this PR do?
This PR fixes `TrainingArguments` docstring, particulary the part that describes `ignore_data_skip` parameter.
No related issues found.
## 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?
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14398/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14398/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14398",
"html_url": "https://github.com/huggingface/transformers/pull/14398",
"diff_url": "https://github.com/huggingface/transformers/pull/14398.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14398.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14397 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14397/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14397/comments | https://api.github.com/repos/huggingface/transformers/issues/14397/events | https://github.com/huggingface/transformers/issues/14397 | 1,053,603,483 | I_kwDOCUB6oc4-zLab | 14,397 | [Consistency] Automatically set decoder_input_ids for TFEncoderDecoderModel | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [
{
"id": 1990918270,
"node_id": "MDU6TGFiZWwxOTkwOTE4Mjcw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20First%20Issue",
"name": "Good First Issue",
"color": "bbf794",
"default": false,
"description": ""
}
] | open | false | null | [] | [
"Hi, I would like to work on this. Is there anyone already working on it?",
"No, you can work on it if you want!",
"Hi, Is it still open? I can work on this issue",
"There's a PR open (#14469), however it's not finished yet.",
"Hi @NielsRogge Can I finish up this issue with the closed PR as reference? I'd l... | 1,636 | 1,687 | null | CONTRIBUTOR | null | # 🚀 Feature request
Currently, the `EncoderDecoderModel` class in PyTorch automatically creates the `decoder_input_ids` based on the `labels` provided by the user (similar to how this is done for T5/BART). This should also be implemented for `TFEncoderDecoderModel`, because currently users should manually provide `... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14397/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14397/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14396 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14396/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14396/comments | https://api.github.com/repos/huggingface/transformers/issues/14396/events | https://github.com/huggingface/transformers/pull/14396 | 1,053,468,784 | PR_kwDOCUB6oc4uhddu | 14,396 | FlaxGPTJ | {
"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 | [] | [
"Looks great - just one small test for PT<>Flax compatibility should be added in `test_modeling_gptj` as well :-)"
] | 1,636 | 1,638 | 1,638 | MEMBER | null | # What does this PR do?
This PR adds the GPTJ model in flax. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14396/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/14396/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14396",
"html_url": "https://github.com/huggingface/transformers/pull/14396",
"diff_url": "https://github.com/huggingface/transformers/pull/14396.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14396.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14395 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14395/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14395/comments | https://api.github.com/repos/huggingface/transformers/issues/14395/events | https://github.com/huggingface/transformers/issues/14395 | 1,053,373,721 | I_kwDOCUB6oc4-yTUZ | 14,395 | force_bos_token_to_be_generated is depricated, should be replaced by forced_bos_token_id in BART documentation | {
"login": "kforkaran",
"id": 42772667,
"node_id": "MDQ6VXNlcjQyNzcyNjY3",
"avatar_url": "https://avatars.githubusercontent.com/u/42772667?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kforkaran",
"html_url": "https://github.com/kforkaran",
"followers_url": "https://api.github.com/users/... | [
{
"id": 3551105283,
"node_id": "LA_kwDOCUB6oc7TqZED",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20First%20Documentation%20Issue",
"name": "Good First Documentation Issue",
"color": "AB0BA8",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"Thanks for spotting. Feel free to open a PR to fix this!",
"Closing, as it's fixed by #14434 "
] | 1,636 | 1,637 | 1,637 | NONE | null | Replace force_bos_token_to_be_generated in the following file
https://github.com/huggingface/transformers/blob/29dfb2dbb10cdba6327ff287db56b182c1db29b1/docs/source/model_doc/bart.rst | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14395/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14395/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14394 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14394/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14394/comments | https://api.github.com/repos/huggingface/transformers/issues/14394/events | https://github.com/huggingface/transformers/issues/14394 | 1,053,312,096 | I_kwDOCUB6oc4-yERg | 14,394 | It seems that `RagSequenceForGeneration.generate` is computing inaccurate loss value | {
"login": "repun",
"id": 37949310,
"node_id": "MDQ6VXNlcjM3OTQ5MzEw",
"avatar_url": "https://avatars.githubusercontent.com/u/37949310?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/repun",
"html_url": "https://github.com/repun",
"followers_url": "https://api.github.com/users/repun/follow... | [] | closed | false | null | [] | [
"Maybe of interest to @lhoestq too",
"Looking into it next week - sorry for being so late here",
"Hey @repun,\r\n\r\nI'm not 100% following everything here. Could you maybe open a PR so that we can look into it with some code changes? \r\nIn general, I think it's totally fine if the number of documents to retri... | 1,636 | 1,646 | 1,646 | NONE | null | Hello,
I think `generate` function of `RagSequenceForGeneration` does not seem to compute loss value properly.
As mentioned in the original [RAG paper](https://arxiv.org/pdf/2005.11401.pdf), thorough decoding of Rag-Sequence model needs 2 forward passes.
1. Find candidate sequences through beam search for each d... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14394/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14394/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14393 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14393/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14393/comments | https://api.github.com/repos/huggingface/transformers/issues/14393/events | https://github.com/huggingface/transformers/issues/14393 | 1,053,211,705 | I_kwDOCUB6oc4-xrw5 | 14,393 | Can `BartForConditionalGeneration` use the `sample()` method ? | {
"login": "FYYFU",
"id": 37999885,
"node_id": "MDQ6VXNlcjM3OTk5ODg1",
"avatar_url": "https://avatars.githubusercontent.com/u/37999885?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/FYYFU",
"html_url": "https://github.com/FYYFU",
"followers_url": "https://api.github.com/users/FYYFU/follow... | [] | closed | false | null | [] | [
"Hey @FYYFU,\r\n\r\nYes `BartForConditionalGeneration` can use `sample(...)`. Could you please make use of the forum: https://discuss.huggingface.co/ for questions on how to use it?",
"Thank you!",
"> Hey @FYYFU,\r\n> \r\n> Yes `BartForConditionalGeneration` can use `sample(...)`. Could you please make use of t... | 1,636 | 1,637 | 1,637 | NONE | null | Hi .
I have a question about `BartForConditionalGeneration`. I wonder if the `BartForConditionalGeneration` can use the `sample()` method in the `generation_utils.py`? The Code is:
```python
from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
from transformers import (
LogitsProcessorList,
MinL... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14393/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14393/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14392 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14392/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14392/comments | https://api.github.com/repos/huggingface/transformers/issues/14392/events | https://github.com/huggingface/transformers/pull/14392 | 1,053,089,466 | PR_kwDOCUB6oc4ugOnz | 14,392 | [Wav2Vec2] Add New Wav2Vec2 Translation | {
"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 | [] | [] | 1,636 | 1,637 | 1,637 | 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/14392/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14392/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14392",
"html_url": "https://github.com/huggingface/transformers/pull/14392",
"diff_url": "https://github.com/huggingface/transformers/pull/14392.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14392.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14391 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14391/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14391/comments | https://api.github.com/repos/huggingface/transformers/issues/14391/events | https://github.com/huggingface/transformers/pull/14391 | 1,053,066,633 | PR_kwDOCUB6oc4ugKHK | 14,391 | [doc] performance and parallelism updates | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [] | 1,636 | 1,636 | 1,636 | CONTRIBUTOR | null | This PR:
- updates the performance doc to break down all the memory used by the model (+ mentioned `bitsandbytes` which saves 3/4 optim memory)
- updates the parallelism doc to introduce Varuna and expand on Sagemaker model parallelism solutions - both published a paper just recently
@sgugger | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14391/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14391/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14391",
"html_url": "https://github.com/huggingface/transformers/pull/14391",
"diff_url": "https://github.com/huggingface/transformers/pull/14391.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14391.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14390 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14390/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14390/comments | https://api.github.com/repos/huggingface/transformers/issues/14390/events | https://github.com/huggingface/transformers/pull/14390 | 1,053,029,308 | PR_kwDOCUB6oc4ugDNt | 14,390 | [Speech2Text2] Enable tokenizers | {
"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 | [] | [] | 1,636 | 1,636 | 1,636 | 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/14390/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14390/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14390",
"html_url": "https://github.com/huggingface/transformers/pull/14390",
"diff_url": "https://github.com/huggingface/transformers/pull/14390.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14390.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14389 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14389/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14389/comments | https://api.github.com/repos/huggingface/transformers/issues/14389/events | https://github.com/huggingface/transformers/issues/14389 | 1,053,019,234 | I_kwDOCUB6oc4-w8xi | 14,389 | --config_overrides doesn't appear to work in run_clm.py when trying to specify a larger GPT model | {
"login": "Adrian-1234",
"id": 63513596,
"node_id": "MDQ6VXNlcjYzNTEzNTk2",
"avatar_url": "https://avatars.githubusercontent.com/u/63513596?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Adrian-1234",
"html_url": "https://github.com/Adrian-1234",
"followers_url": "https://api.github.com/... | [] | 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... | [
"Hey @Adrian-1234, we recommend using the `model_name_or_path` parameter to specify a particular checkpoint.\r\ncc @sgugger ",
"`--config_overrides` is actually an addition by @stas00 ",
"I will try to reproduce the issue and will then follow up.\r\n\r\nI edited the OP to add formatting.",
"There is no proble... | 1,636 | 1,637 | 1,637 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.10.2
- Platform: Linux-5.4.0-84-generic-x86_64-with-Ubuntu-20.04-focal
- Python version: 3.7.12
- Py... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14389/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14389/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14388 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14388/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14388/comments | https://api.github.com/repos/huggingface/transformers/issues/14388/events | https://github.com/huggingface/transformers/issues/14388 | 1,053,009,313 | I_kwDOCUB6oc4-w6Wh | 14,388 | Wav2Vec2 CUDA memory usage doubled in v4.11.3 compared to v4.10.3 with the same batch size | {
"login": "MarktHart",
"id": 9414924,
"node_id": "MDQ6VXNlcjk0MTQ5MjQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/9414924?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MarktHart",
"html_url": "https://github.com/MarktHart",
"followers_url": "https://api.github.com/users/Ma... | [] | closed | false | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"Looking into it now",
"Benchmarking your script on current master gives me a peak GPU mem usage of `20068MiB` .",
"And with `4.10` it gives me `10738MiB` => so this seems like a pretty heavy bug! Thanks for the heads-up!",
"Will investigate now",
"No problem at all! If there is anything I can do to assist ... | 1,636 | 1,639 | 1,637 | NONE | null | ## Environment info
- `transformers` version: 4.11.3
- Platform: Linux-5.11.0-40-generic-x86_64-with-glibc2.29
- Python version: 3.8.10
- PyTorch version (GPU?): 1.8.1+cu111 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14388/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14388/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14387 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14387/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14387/comments | https://api.github.com/repos/huggingface/transformers/issues/14387/events | https://github.com/huggingface/transformers/issues/14387 | 1,052,896,283 | I_kwDOCUB6oc4-wewb | 14,387 | Wav2Vec2 Speech Pre-Training After a few epochs the contrastive loss was decreased to zero and the model stopped changing | {
"login": "umairahmad-ua",
"id": 59511462,
"node_id": "MDQ6VXNlcjU5NTExNDYy",
"avatar_url": "https://avatars.githubusercontent.com/u/59511462?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/umairahmad-ua",
"html_url": "https://github.com/umairahmad-ua",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Hey @umairahmad-ua,\r\n\r\nI was using 8 GPUs - in a simple colab you get just a single GPU, so I think the effective batch_size is very much different which then quickly loads to a collapse of the `contrastive_loss`. TBH, I dont' think you can reproduce the training in a single colab (you would have to let it run... | 1,636 | 1,648 | 1,640 | NONE | null | I tried to re-run the demo script with the same parameters on Colab. After a few epochs, the contrastive loss was decreased to zero and the model stopped changing. Original Script can be found here: https://github.com/huggingface/transformers/tree/master/examples/pytorch/speech-pretraining
Here is sample code [Colab... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14387/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14387/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14386 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14386/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14386/comments | https://api.github.com/repos/huggingface/transformers/issues/14386/events | https://github.com/huggingface/transformers/pull/14386 | 1,052,789,393 | PR_kwDOCUB6oc4ufYBO | 14,386 | Raise exceptions instead of using asserts in modeling_openai #12789 | {
"login": "nbertagnolli",
"id": 2716997,
"node_id": "MDQ6VXNlcjI3MTY5OTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/2716997?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nbertagnolli",
"html_url": "https://github.com/nbertagnolli",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"Thanks for your help on this!"
] | 1,636 | 1,636 | 1,636 | CONTRIBUTOR | null | # What does this PR do?
Replaces control flow assertions in modeling_openai.py to address issue #12789.
Contributes to #12789
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14386/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14386/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14386",
"html_url": "https://github.com/huggingface/transformers/pull/14386",
"diff_url": "https://github.com/huggingface/transformers/pull/14386.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14386.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14385 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14385/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14385/comments | https://api.github.com/repos/huggingface/transformers/issues/14385/events | https://github.com/huggingface/transformers/pull/14385 | 1,052,718,833 | PR_kwDOCUB6oc4ufLSE | 14,385 | Replace BertLayerNorm with LayerNorm | {
"login": "eldarkurtic",
"id": 8884008,
"node_id": "MDQ6VXNlcjg4ODQwMDg=",
"avatar_url": "https://avatars.githubusercontent.com/u/8884008?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eldarkurtic",
"html_url": "https://github.com/eldarkurtic",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"@VictorSanh @eldarkurtic \r\n\r\nHello guys!\r\n\r\nThanks for your effort for such a great repo!\r\n\r\nI'm wondering why the implementation of LayerNorm in BERT seems not to be identical to what's commonly discussed version of `LayerNorm`.\r\nI've read several tutorials about `LayerNorm`, and according to their ... | 1,636 | 1,690 | 1,637 | CONTRIBUTOR | null | Running Movement pruning experiments with the newest HuggingFace would crash due to non-existing BertLayerNorm. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14385/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14385/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14385",
"html_url": "https://github.com/huggingface/transformers/pull/14385",
"diff_url": "https://github.com/huggingface/transformers/pull/14385.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14385.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14384 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14384/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14384/comments | https://api.github.com/repos/huggingface/transformers/issues/14384/events | https://github.com/huggingface/transformers/issues/14384 | 1,052,663,379 | I_kwDOCUB6oc4-vl5T | 14,384 | Token indices sequence length is longer than the specified maximum sequence length | {
"login": "OmniscienceAcademy",
"id": 87243928,
"node_id": "MDQ6VXNlcjg3MjQzOTI4",
"avatar_url": "https://avatars.githubusercontent.com/u/87243928?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/OmniscienceAcademy",
"html_url": "https://github.com/OmniscienceAcademy",
"followers_url": "ht... | [] | closed | false | null | [] | [
"You can toggle truncation on:\r\n\r\n```diff\r\nfrom transformers import pipeline\r\n\r\n\r\nmodel='sshleifer/distill-pegasus-cnn-16-4'\r\npipe = pipeline(\r\n 'summarization',\r\n model=model,\r\n device=0,\r\n max_length=1024,\r\n+ truncation=True\r\n)\r\n\r\n\r\ntext = \"\"\"\r\n Znaczenie Państw... | 1,636 | 1,640 | 1,640 | NONE | null | ## Environment info
- `transformers` version: 4.12.3
- Platform: Linux-5.10.0-9-amd64-x86_64-with-glibc2.17
- Python version: 3.8.12
- PyTorch version (GPU?): 1.9.0 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- JaxLib ve... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14384/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14384/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14382 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14382/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14382/comments | https://api.github.com/repos/huggingface/transformers/issues/14382/events | https://github.com/huggingface/transformers/pull/14382 | 1,052,635,968 | PR_kwDOCUB6oc4ue8fo | 14,382 | [M2M100Tokenizer] fix _build_translation_inputs | {
"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 | [] | [] | 1,636 | 1,636 | 1,636 | MEMBER | null | # What does this PR do?
The `_build_translation_inputs` method of `M2M100Tokenizer` hardcodes the `return_tensors` argument, but it's also passed as a `extra_kwargs` in translation pipeline. So the pipeline fails with the error
```TypeError: M2M100Tokenizer object got multiple values for keyword argument 'return_... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14382/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14382/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14382",
"html_url": "https://github.com/huggingface/transformers/pull/14382",
"diff_url": "https://github.com/huggingface/transformers/pull/14382.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14382.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14381 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14381/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14381/comments | https://api.github.com/repos/huggingface/transformers/issues/14381/events | https://github.com/huggingface/transformers/issues/14381 | 1,052,634,798 | I_kwDOCUB6oc4-ve6u | 14,381 | Which language is available for EncoderDecoderModel pre-trained model? | {
"login": "hansd410",
"id": 12048582,
"node_id": "MDQ6VXNlcjEyMDQ4NTgy",
"avatar_url": "https://avatars.githubusercontent.com/u/12048582?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hansd410",
"html_url": "https://github.com/hansd410",
"followers_url": "https://api.github.com/users/han... | [
{
"id": 3551105283,
"node_id": "LA_kwDOCUB6oc7TqZED",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20First%20Documentation%20Issue",
"name": "Good First Documentation Issue",
"color": "AB0BA8",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"Hi,\r\n\r\nNot sure what you mean, `bert-base-uncased` is the English pretrained BERT checkpoint. So in the code example above, we initialize the weights of the encoder and the decoder with the weights of BERT, and the weights of the cross-attention layers of the decoder are randomly initialized. One should fine-t... | 1,636 | 1,637 | 1,637 | NONE | null | Hi, I have a question.
From the example code of [EncoderDecoderModel](https://huggingface.co/transformers/model_doc/encoderdecoder.html#transformers.EncoderDecoderModel.forward), pre-trained model 'bert-base-uncased' looks trained by EN-FR sentence pairs. Is pre-trained model for decoder is trained in French? How ca... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14381/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14381/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14380 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14380/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14380/comments | https://api.github.com/repos/huggingface/transformers/issues/14380/events | https://github.com/huggingface/transformers/issues/14380 | 1,052,569,265 | I_kwDOCUB6oc4-vO6x | 14,380 | Using Bart with input_embeds to generate text without input_id return error | {
"login": "Shj451148969",
"id": 30332882,
"node_id": "MDQ6VXNlcjMwMzMyODgy",
"avatar_url": "https://avatars.githubusercontent.com/u/30332882?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Shj451148969",
"html_url": "https://github.com/Shj451148969",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"@Shj451148969 \r\nhello, I also face the same problem with `T5ForConditionalGeneration`.\r\n\r\nI found that the error doesn't occur if I pass `decoder_input_ids` consisting of `pad_token_id` to the `generate` as start tokens.\r\n\r\nhttps://github.com/huggingface/transformers/issues/12218\r\n",
"This issue has ... | 1,636 | 1,640 | 1,640 | NONE | null | This is my code
```
generated_ids = plm.generate(input_ids=None,
inputs_embeds=student_embeddings,
attention_mask=node_masks,
num_beams=4,
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14380/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14380/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14379 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14379/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14379/comments | https://api.github.com/repos/huggingface/transformers/issues/14379/events | https://github.com/huggingface/transformers/pull/14379 | 1,052,488,392 | PR_kwDOCUB6oc4ueqnt | 14,379 | Tokenizers docs: Specify which class contains `__call__` method | {
"login": "xhluca",
"id": 21180505,
"node_id": "MDQ6VXNlcjIxMTgwNTA1",
"avatar_url": "https://avatars.githubusercontent.com/u/21180505?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xhluca",
"html_url": "https://github.com/xhluca",
"followers_url": "https://api.github.com/users/xhluca/fo... | [] | closed | false | null | [] | [
"@n1t0 This is one instance of `__call__`, but maybe it would be beneficial if all `__call__` in the docs links to [this docstring](https://huggingface.co/transformers/internal/tokenization_utils.html#transformers.tokenization_utils_base.PreTrainedTokenizerBase.__call__)? Let me know your thoughts!",
"Cool, I thi... | 1,636 | 1,638 | 1,638 | CONTRIBUTOR | null | Currently, the docs specify the following:
> BatchEncoding holds the output of the tokenizer’s encoding methods (__call__, encode_plus and batch_encode_plus) and is derived from a Python dictionary.
It's not clear what tokenizer class this is referring to. Moreover, the [main `tokenizer`](https://huggingface.co/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14379/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14379/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14379",
"html_url": "https://github.com/huggingface/transformers/pull/14379",
"diff_url": "https://github.com/huggingface/transformers/pull/14379.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14379.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14378 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14378/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14378/comments | https://api.github.com/repos/huggingface/transformers/issues/14378/events | https://github.com/huggingface/transformers/pull/14378 | 1,051,828,324 | PR_kwDOCUB6oc4ucva1 | 14,378 | Use cross_attention_hidden_size in Encoder-Decoder models | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"I ran slow tests for all the encoder-decoder models test scripts, and it is fine. (e.g. `RUN_SLOW=1 python -m pytest ...`)\r\n\r\nBTW, is there an easy way to run all cross tests in a test script, i.e. disabling `@is_pt_tf_cross_test` or `@is_pt_flax_cross_test`?",
"Hey @ydshieh, \r\n\r\nWe need to slightly upda... | 1,636 | 1,651 | 1,638 | COLLABORATOR | null | # What does this PR do?
- Add a projection layer (`enc_to_dec_proj`) between encoder and decoder models in composite models, incorporating the attribute `cross_attention_hidden_size`.
- add some `pt/tf equivalence` and `pt/flax equivalence` tests in tf/flax composite model test scripts.
- also make some ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14378/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14378/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14378",
"html_url": "https://github.com/huggingface/transformers/pull/14378",
"diff_url": "https://github.com/huggingface/transformers/pull/14378.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14378.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14377 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14377/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14377/comments | https://api.github.com/repos/huggingface/transformers/issues/14377/events | https://github.com/huggingface/transformers/pull/14377 | 1,051,787,879 | PR_kwDOCUB6oc4ucm_Q | 14,377 | minor doc fix | {
"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 | [] | [] | 1,636 | 1,636 | 1,636 | MEMBER | null | # What does this PR do?
Fix some docs | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14377/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14377/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14377",
"html_url": "https://github.com/huggingface/transformers/pull/14377",
"diff_url": "https://github.com/huggingface/transformers/pull/14377.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14377.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14376 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14376/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14376/comments | https://api.github.com/repos/huggingface/transformers/issues/14376/events | https://github.com/huggingface/transformers/pull/14376 | 1,051,779,683 | PR_kwDOCUB6oc4uclTp | 14,376 | Add support for WMT21 tokenizer in M2M100Tokenizer | {
"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 | [] | [] | 1,636 | 1,636 | 1,636 | MEMBER | null | # What does this PR do?
The tokenizer for WMT21 translation models is similar to `M2M100Tokenizer` with the only difference being it uses different language codes.
This PR adds support for wmt21 tokenizers in `M2M100Tokenizer` by adding the `language_codes` attribute which specifies what language codes to use. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14376/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14376/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14376",
"html_url": "https://github.com/huggingface/transformers/pull/14376",
"diff_url": "https://github.com/huggingface/transformers/pull/14376.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14376.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14375 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14375/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14375/comments | https://api.github.com/repos/huggingface/transformers/issues/14375/events | https://github.com/huggingface/transformers/issues/14375 | 1,051,739,856 | I_kwDOCUB6oc4-sEbQ | 14,375 | Data type error while fine-tuning Deberta v3 Large using code provided | {
"login": "NIKHILDUGAR",
"id": 30868407,
"node_id": "MDQ6VXNlcjMwODY4NDA3",
"avatar_url": "https://avatars.githubusercontent.com/u/30868407?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NIKHILDUGAR",
"html_url": "https://github.com/NIKHILDUGAR",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"The main issue is that run_glue.py is not usable on Deberta models probably cause they require torch arrays and not tensors. although I am not sure where is it getting tensors from though.",
"cc'ing @BigBird01 ",
"Hello @NIKHILDUGAR, thanks for opening an issue! I'm trying to get the same error as you but I'm ... | 1,636 | 1,651 | 1,637 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.13.0.dev0
- Platform: Ubuntu 18.04
- Python version: Python 3.6.9
- PyTorch version (GPU?): 1.11.0.dev2021... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14375/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14375/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14374 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14374/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14374/comments | https://api.github.com/repos/huggingface/transformers/issues/14374/events | https://github.com/huggingface/transformers/issues/14374 | 1,051,330,213 | I_kwDOCUB6oc4-qgal | 14,374 | `eos_mask` is possibly supposed to be taken from `decoder_input_ids` | {
"login": "JamesDeAntonis",
"id": 33379057,
"node_id": "MDQ6VXNlcjMzMzc5MDU3",
"avatar_url": "https://avatars.githubusercontent.com/u/33379057?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JamesDeAntonis",
"html_url": "https://github.com/JamesDeAntonis",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"cc @patrickvonplaten @patil-suraj ",
"I think another problem if using finding eos in decoder_input_ids is like this:\r\nWhen eos_token_id is 2:\r\ndecoder_input_ids = tensor([ 0, 7, 6, 13, 4, 7, 13, 14, 21, 7, 13, 5, 14, 20])\r\nlabels = tensor([ 7, 6, 13, 4, 7, 13, 14, 21, 7, 13, 5, 14, 20, 2])\r\n... | 1,636 | 1,674 | 1,641 | CONTRIBUTOR | null | I'm trying to use `BartForSequenceClassification`, and I keep getting a shape mismatch error:
<img width="1020" alt="Screen Shot 2021-11-11 at 3 19 39 PM" src="https://user-images.githubusercontent.com/33379057/141363523-0a919bb1-3935-45b5-8f45-5ab420751ba4.png">
or
I think the reason for the error is that the `eo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14374/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14374/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14373 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14373/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14373/comments | https://api.github.com/repos/huggingface/transformers/issues/14373/events | https://github.com/huggingface/transformers/pull/14373 | 1,051,264,010 | PR_kwDOCUB6oc4ua9tn | 14,373 | [Wav2Vec2 Example] Improve fine-tuning script | {
"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 | [] | [] | 1,636 | 1,636 | 1,636 | 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/14373/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14373/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14373",
"html_url": "https://github.com/huggingface/transformers/pull/14373",
"diff_url": "https://github.com/huggingface/transformers/pull/14373.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14373.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14372 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14372/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14372/comments | https://api.github.com/repos/huggingface/transformers/issues/14372/events | https://github.com/huggingface/transformers/pull/14372 | 1,051,054,846 | PR_kwDOCUB6oc4uaR89 | 14,372 | Fixing requirements for TF LM models and use correct model mappings | {
"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 | [] | [] | 1,636 | 1,636 | 1,636 | MEMBER | null | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14372/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14372/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14372",
"html_url": "https://github.com/huggingface/transformers/pull/14372",
"diff_url": "https://github.com/huggingface/transformers/pull/14372.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14372.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14371 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14371/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14371/comments | https://api.github.com/repos/huggingface/transformers/issues/14371/events | https://github.com/huggingface/transformers/issues/14371 | 1,050,871,325 | I_kwDOCUB6oc4-owYd | 14,371 | run_translation.py englisht-german translation failed. RuntimeError: CUDA error: device-side assert triggered | {
"login": "bing0037",
"id": 11786011,
"node_id": "MDQ6VXNlcjExNzg2MDEx",
"avatar_url": "https://avatars.githubusercontent.com/u/11786011?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bing0037",
"html_url": "https://github.com/bing0037",
"followers_url": "https://api.github.com/users/bin... | [] | closed | false | null | [] | [
"Can you run the code on CPU, please?\r\n\r\nThis will give a more informative error message.",
"> Can you run the code on CPU, please?\r\n> \r\n> This will give a more informative error message.\r\n\r\non CPU, it works.\r\n```\r\n11/11/2021 08:24:42 - WARNING - __main__ - Process rank: -1, device: cpu, n_gpu: 0d... | 1,636 | 1,639 | 1,639 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: '4.13.0.dev0'
- Platform: Linux
- Python version: 3.6
- PyTorch version (GPU): '1.8.2' (GPU)
- Using GPU in... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14371/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14371/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14370 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14370/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14370/comments | https://api.github.com/repos/huggingface/transformers/issues/14370/events | https://github.com/huggingface/transformers/pull/14370 | 1,050,804,156 | PR_kwDOCUB6oc4uZdok | 14,370 | [flax generate] allow passing params to encode | {
"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 | [] | [] | 1,636 | 1,636 | 1,636 | MEMBER | null | # What does this PR do?
Allows passing the user-provided `params` to the `encode` method for seq-2-seq generation. This is required to be able to `pjit` the `generate` method as we need to explicitly pass the sharded parameters. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14370/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14370/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14370",
"html_url": "https://github.com/huggingface/transformers/pull/14370",
"diff_url": "https://github.com/huggingface/transformers/pull/14370.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14370.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14369 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14369/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14369/comments | https://api.github.com/repos/huggingface/transformers/issues/14369/events | https://github.com/huggingface/transformers/pull/14369 | 1,050,796,185 | PR_kwDOCUB6oc4uZb_D | 14,369 | fix loading flax bf16 weights in pt | {
"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 | [] | [] | 1,636 | 1,636 | 1,636 | MEMBER | null | # What does this PR do?
#13098 now enables saving flax weights in bf16. But converting flax bf16 weight to pt fails because `torch.from_numpy` can not handle `bfloat16` and `bfloat16` is also not fully supported by PT.
This PR fixes this by casting flax `bf16` weights to `fp32` when converting flax weights to PT. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14369/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14369/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14369",
"html_url": "https://github.com/huggingface/transformers/pull/14369",
"diff_url": "https://github.com/huggingface/transformers/pull/14369.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14369.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14368 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14368/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14368/comments | https://api.github.com/repos/huggingface/transformers/issues/14368/events | https://github.com/huggingface/transformers/issues/14368 | 1,050,733,132 | I_kwDOCUB6oc4-oOpM | 14,368 | Export LayoutLMv2 to onnx | {
"login": "fadi212",
"id": 37739280,
"node_id": "MDQ6VXNlcjM3NzM5Mjgw",
"avatar_url": "https://avatars.githubusercontent.com/u/37739280?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fadi212",
"html_url": "https://github.com/fadi212",
"followers_url": "https://api.github.com/users/fadi21... | [
{
"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 | [] | [
"I believe @NielsRogge can help out here",
"I'm not an ONNX expert, however. Pinging @michaelbenayoun for this.",
"@michaelbenayoun can you please help here. ",
"I think it might have to do with the fact that your dummy inputs don't have the image field, so the inputs might be off? ",
"It seems to come from... | 1,636 | 1,703 | null | NONE | null | I am trying to export LayoutLMv2 model to onnx but there is no support for that available in transformers library.
I have tried to follow the method available for layoutLM but that is not working.
Here is config class for LayoutLMv2
```
class LayoutLMv2OnnxConfig(OnnxConfig):
def __init__(
self,
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14368/reactions",
"total_count": 8,
"+1": 8,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14368/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14367 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14367/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14367/comments | https://api.github.com/repos/huggingface/transformers/issues/14367/events | https://github.com/huggingface/transformers/issues/14367 | 1,050,690,855 | I_kwDOCUB6oc4-oEUn | 14,367 | Weird assumptions in the PLM collator | {
"login": "hiaoxui",
"id": 20493371,
"node_id": "MDQ6VXNlcjIwNDkzMzcx",
"avatar_url": "https://avatars.githubusercontent.com/u/20493371?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hiaoxui",
"html_url": "https://github.com/hiaoxui",
"followers_url": "https://api.github.com/users/hiaoxu... | [] | closed | false | null | [] | [
"This is community contributed so you should ask the person that contributed it :-)",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contribut... | 1,636 | 1,639 | 1,639 | NONE | null | Hi, I'm a researcher working with the HF codebase. I'm using the PLM collator, but some assumptions of that module confuse me and block my experiments. Can you explain?
The PLM collator assumes the input length is even so it can split it into two halves. The explanation starts [here](https://github.com/huggingface/t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14367/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14367/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14366 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14366/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14366/comments | https://api.github.com/repos/huggingface/transformers/issues/14366/events | https://github.com/huggingface/transformers/issues/14366 | 1,050,688,754 | I_kwDOCUB6oc4-oDzy | 14,366 | run_mlm.py Issue | MODEL_FOR_MASKED_LM_MAPPING is None | {
"login": "fansiawang",
"id": 30332804,
"node_id": "MDQ6VXNlcjMwMzMyODA0",
"avatar_url": "https://avatars.githubusercontent.com/u/30332804?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fansiawang",
"html_url": "https://github.com/fansiawang",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"I sovled the error by execute `pip install -r examples/pytorch/language-modeling/requirements.txt`, why should I install the requirements of pytorch example for tensorflow example?",
"Indeed the TensorFlow examples should use the TF mappings, cc @Rocketknight1 ",
"Thank you for this bug report! We've added a P... | 1,636 | 1,636 | 1,636 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.13.0.dev0
- Platform: Linux-3.10.0-1160.25.1.el7.x86_64-x86_64-with-centos-7.6.1810-Core
- Python version: ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14366/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14366/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14365 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14365/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14365/comments | https://api.github.com/repos/huggingface/transformers/issues/14365/events | https://github.com/huggingface/transformers/pull/14365 | 1,050,664,697 | PR_kwDOCUB6oc4uY_5m | 14,365 | Use `AlbertConverter` for FNet instead of using FNet's own converter | {
"login": "qqaatw",
"id": 24835382,
"node_id": "MDQ6VXNlcjI0ODM1Mzgy",
"avatar_url": "https://avatars.githubusercontent.com/u/24835382?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/qqaatw",
"html_url": "https://github.com/qqaatw",
"followers_url": "https://api.github.com/users/qqaatw/fo... | [] | closed | false | null | [] | [
"@SaulLu if this looks good to you, feel free to merge"
] | 1,636 | 1,636 | 1,636 | CONTRIBUTOR | null | # What does this PR do?
**Edited: Finally using `AlbertConverter` directly because the slow tokenizers between `Albert` and `FNet` are basically identical. (FNet doesn't have `bos_token` and `eos_token` while Albert does, but this difference doesn't matter.)**
---
This PR adds normalizer to `FNetConverter`, ma... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14365/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14365/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14365",
"html_url": "https://github.com/huggingface/transformers/pull/14365",
"diff_url": "https://github.com/huggingface/transformers/pull/14365.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14365.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14364 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14364/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14364/comments | https://api.github.com/repos/huggingface/transformers/issues/14364/events | https://github.com/huggingface/transformers/pull/14364 | 1,050,648,555 | PR_kwDOCUB6oc4uY8li | 14,364 | Fix mask token handling | {
"login": "qqaatw",
"id": 24835382,
"node_id": "MDQ6VXNlcjI0ODM1Mzgy",
"avatar_url": "https://avatars.githubusercontent.com/u/24835382?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/qqaatw",
"html_url": "https://github.com/qqaatw",
"followers_url": "https://api.github.com/users/qqaatw/fo... | [] | closed | false | null | [] | [
"Hey @qqaatw, are you sure this is an issue with all tokenizers you refactored here? If so, then ideally there would be a test for all of them. The test would fail on current `master`, and would be solved by your PR.\r\n\r\nIf the problem is as widespread as you show it here, then it might even make sense to add it... | 1,636 | 1,638 | 1,638 | CONTRIBUTOR | null | # What does this PR do?
This PR fixes the problem that the mask token is trying to incorrectly match normalized input texts.
This is a related PR of #13594 and #13930.
@SaulLu @LysandreJik | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14364/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14364/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14364",
"html_url": "https://github.com/huggingface/transformers/pull/14364",
"diff_url": "https://github.com/huggingface/transformers/pull/14364.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14364.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14363 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14363/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14363/comments | https://api.github.com/repos/huggingface/transformers/issues/14363/events | https://github.com/huggingface/transformers/issues/14363 | 1,050,554,498 | I_kwDOCUB6oc4-njCC | 14,363 | Comparison Chart (Table) for all the existing BERT models. | {
"login": "pratikchhapolika",
"id": 11159549,
"node_id": "MDQ6VXNlcjExMTU5NTQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/11159549?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pratikchhapolika",
"html_url": "https://github.com/pratikchhapolika",
"followers_url": "https://... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,636 | 1,639 | 1,639 | NONE | null | # 🚀 Feature request
Can we have a Comparison Chart (Table) for all the existing BERT models in one place.
For an example:
- Data the model is trained on?
- Hidden layers?
- Architecture difference?
- How it can be loaded for classification/generation - 2-3 lines of Code ?
- Does it has pooler layer or not?... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14363/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/14363/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14362 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14362/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14362/comments | https://api.github.com/repos/huggingface/transformers/issues/14362/events | https://github.com/huggingface/transformers/pull/14362 | 1,050,522,553 | PR_kwDOCUB6oc4uYiuv | 14,362 | [testing] solve the port conflict | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [
"Thanks for fixing!"
] | 1,636 | 1,636 | 1,636 | CONTRIBUTOR | null | This is a fix for https://github.com/huggingface/transformers/pull/14331 which accidentally collapsed 2 distinct ports and the deepspeed tests started to fail.
Since `torch.dist` never releases the port, those tests that run emulated launcher env never release the port (but can re-use it). But then it prevents other... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14362/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/14362/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14362",
"html_url": "https://github.com/huggingface/transformers/pull/14362",
"diff_url": "https://github.com/huggingface/transformers/pull/14362.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14362.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14361 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14361/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14361/comments | https://api.github.com/repos/huggingface/transformers/issues/14361/events | https://github.com/huggingface/transformers/pull/14361 | 1,050,155,650 | PR_kwDOCUB6oc4uXWg0 | 14,361 | Experimenting with adding proper get_config() and from_config() methods | {
"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 | [] | [
"It would be ideal to add tests to ensure that the model's serialization works correctly.",
"Just a small comment from my side - I think I stumbled across the problem that the returned get_config was not fully JSON serializable (as it contained a reference to a tf DType class) - I circumvented this by adding a cu... | 1,636 | 1,637 | 1,636 | MEMBER | null | Should fix issues with saving/loading Keras models containing Transformers models as layers, among other problems. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14361/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14361/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14361",
"html_url": "https://github.com/huggingface/transformers/pull/14361",
"diff_url": "https://github.com/huggingface/transformers/pull/14361.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14361.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14360 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14360/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14360/comments | https://api.github.com/repos/huggingface/transformers/issues/14360/events | https://github.com/huggingface/transformers/issues/14360 | 1,050,099,180 | I_kwDOCUB6oc4-lz3s | 14,360 | The pytorch example summarization/run_summarization.py do not work with MBart | {
"login": "nicolalandro",
"id": 18419702,
"node_id": "MDQ6VXNlcjE4NDE5NzAy",
"avatar_url": "https://avatars.githubusercontent.com/u/18419702?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nicolalandro",
"html_url": "https://github.com/nicolalandro",
"followers_url": "https://api.github.c... | [] | closed | false | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [
{
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "htt... | [
"Good point! @patil-suraj - let's try to fix this :-)",
"@sgugger @patrickvonplaten @patil-suraj any news about the problem?",
"I also faced the same problem, @patrickvonplaten, @patil-suraj, any news? :)",
"Sorry about the super late response.\r\n\r\nWe will need to support the language codes for mBART as ... | 1,636 | 1,643 | 1,642 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: git+https://github.com/huggingface/transformers
- Platform:
- Python version: 3.8
- PyTorch version (GPU?): ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14360/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14360/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14359 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14359/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14359/comments | https://api.github.com/repos/huggingface/transformers/issues/14359/events | https://github.com/huggingface/transformers/issues/14359 | 1,050,020,690 | I_kwDOCUB6oc4-lgtS | 14,359 | How FNet handle PAD token? | {
"login": "celsofranssa",
"id": 11181748,
"node_id": "MDQ6VXNlcjExMTgxNzQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/11181748?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/celsofranssa",
"html_url": "https://github.com/celsofranssa",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"cc @gchhablani @patrickvonplaten ",
"Good observation! The model actually processes the PAD token just like any other token, which means that padding an input of length 32 to 128 yields different results to just forwarded the input of length 32. For both pre-training and fine-tuning each sequence length was alwa... | 1,636 | 1,639 | 1,639 | NONE | null | How to avoid [FNet](https://huggingface.co/transformers/model_doc/fnet.html#transformers.FNetForPreTraining.forward) process `PAD` token as it has no `attention_mask` alternative argument in `forward` method?
```python
from transformers import FNetTokenizer, FNetModel
tokenizer = FNetTokenizer.from_pretrained('goo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14359/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14359/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14358 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14358/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14358/comments | https://api.github.com/repos/huggingface/transformers/issues/14358/events | https://github.com/huggingface/transformers/pull/14358 | 1,049,941,336 | PR_kwDOCUB6oc4uWp4a | 14,358 | Added support for other features for already supported models | {
"login": "michaelbenayoun",
"id": 25418079,
"node_id": "MDQ6VXNlcjI1NDE4MDc5",
"avatar_url": "https://avatars.githubusercontent.com/u/25418079?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/michaelbenayoun",
"html_url": "https://github.com/michaelbenayoun",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"@michaelbenayoun @lewtun @Albertobegue \r\nany idea when this PR will be merged ?",
"> @michaelbenayoun @lewtun @Albertobegue any idea when this PR will be merged ?\r\n\r\nHey @girishnadiger-gep this PR was superseded by #14700 which has been merged sometime ago. Is there a specific issue or feature missing that... | 1,636 | 1,646 | 1,638 | MEMBER | null | # What does this PR do?
This PR adds support for almost all the features available for already supported models.
Main contributions:
- `OnnxSeq2SeqConfigWithPast`: a new class inheriting from `OnnxConfigWithPast` designed specifically for seq2seq models, this should make things easier for the community to co... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14358/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14358/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14358",
"html_url": "https://github.com/huggingface/transformers/pull/14358",
"diff_url": "https://github.com/huggingface/transformers/pull/14358.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14358.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14357 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14357/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14357/comments | https://api.github.com/repos/huggingface/transformers/issues/14357/events | https://github.com/huggingface/transformers/issues/14357 | 1,049,924,606 | I_kwDOCUB6oc4-lJP- | 14,357 | TFEncoderDecoder not handling labels correctly | {
"login": "jorgemcgomes",
"id": 3987574,
"node_id": "MDQ6VXNlcjM5ODc1NzQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/3987574?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jorgemcgomes",
"html_url": "https://github.com/jorgemcgomes",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"Hi,\r\n\r\nI think all the inputs should be unpacked as keyword arguments before inputted into `TFEncoderDecoderModel.__call__`, \r\nas stated in the [docs](https://huggingface.co/transformers/model_doc/encoderdecoder.html#tfencoderdecodermodel), \r\n\r\nIs there any reason that you want to pass a dict directly?",... | 1,636 | 1,641 | 1,641 | CONTRIBUTOR | null | ## Environment info
Google Colab
- `transformers` version: master branch. With the latest release (4.12.3) you can't replicate this problem, as it fails with other issue that has already been fixed in master (support for cross-attention in TF GPT2)
- Tensorflow version: 2.7.0
## Who can help
Tagging @patrick... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14357/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14357/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/14356 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14356/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14356/comments | https://api.github.com/repos/huggingface/transformers/issues/14356/events | https://github.com/huggingface/transformers/pull/14356 | 1,049,878,899 | PR_kwDOCUB6oc4uWcqL | 14,356 | [WIP] Adding support for `flax` for `pipelines`. | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | open | false | null | [] | [
"@Narsil - please ping me once you would like to have a review on this :-)",
"@patrickvonplaten I think this should be ready for a first pass review.\r\n\r\nLet's focus on the big picture and overall architecture for this. The main pain points I am thinking of:\r\n\r\n- Should we force padding to get compilation ... | 1,636 | 1,648 | null | 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/14356/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/14356/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14356",
"html_url": "https://github.com/huggingface/transformers/pull/14356",
"diff_url": "https://github.com/huggingface/transformers/pull/14356.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14356.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/14355 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/14355/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/14355/comments | https://api.github.com/repos/huggingface/transformers/issues/14355/events | https://github.com/huggingface/transformers/pull/14355 | 1,049,756,529 | PR_kwDOCUB6oc4uWC9l | 14,355 | Improve semantic segmentation models | {
"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 | [] | [] | 1,636 | 1,637 | 1,637 | CONTRIBUTOR | null | # What does this PR do?
* add SegFormer documentation (including a figure)
* fix padding (fixes #14332) for SegFormer
* add attribute to the configuration of SegFormer and BEiT called `semantic_ignore_index`, which defaults to 255. The loss functions of semantic segmentation models typically use 255 instead of -10... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/14355/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/14355/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/14355",
"html_url": "https://github.com/huggingface/transformers/pull/14355",
"diff_url": "https://github.com/huggingface/transformers/pull/14355.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/14355.patch",
"merged_at... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.