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/12745
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12745/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12745/comments
https://api.github.com/repos/huggingface/transformers/issues/12745/events
https://github.com/huggingface/transformers/pull/12745
945,567,072
MDExOlB1bGxSZXF1ZXN0NjkwODc4NjAx
12,745
Replace specific tokenizer in log message by AutoTokenizer
{ "login": "SaulLu", "id": 55560583, "node_id": "MDQ6VXNlcjU1NTYwNTgz", "avatar_url": "https://avatars.githubusercontent.com/u/55560583?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SaulLu", "html_url": "https://github.com/SaulLu", "followers_url": "https://api.github.com/users/SaulLu/fo...
[]
closed
false
null
[]
[ "Thank you for accepting my proposal!" ]
1,626
1,626
1,626
CONTRIBUTOR
null
# What does this PR do? As mentioned by @sgugger in PR #12619, I propose with this PR to harmonize the messages in the logs to encourage users to use `AutoTokenizer`. I've checked that all these tokenizers appear in `TOKENIZER_MAPPING` int the `tokenization_auto.py` file. <!-- Congratulations! You've made it th...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12745/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12745/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12745", "html_url": "https://github.com/huggingface/transformers/pull/12745", "diff_url": "https://github.com/huggingface/transformers/pull/12745.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12745.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12744
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12744/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12744/comments
https://api.github.com/repos/huggingface/transformers/issues/12744/events
https://github.com/huggingface/transformers/issues/12744
945,435,028
MDU6SXNzdWU5NDU0MzUwMjg=
12,744
Blenderbot output logits dimensions mismatch
{ "login": "naderabdalghani", "id": 33901325, "node_id": "MDQ6VXNlcjMzOTAxMzI1", "avatar_url": "https://avatars.githubusercontent.com/u/33901325?v=4", "gravatar_id": "", "url": "https://api.github.com/users/naderabdalghani", "html_url": "https://github.com/naderabdalghani", "followers_url": "https://api...
[]
closed
false
null
[]
[ "Seems like a documentation thing. After a little bit of digging, I found out that the output logits have the dimensions of `(batch_size, decoder_sequence_length, config.vocab_size)` not `(batch_size, sequence_length, config.vocab_size)`.", "@naderabdalghani thanks for investigating! Also feel free to open a PR t...
1,626
1,627
1,626
NONE
null
- `transformers` version: 4.9.0.dev0 - Platform: Linux-5.4.104+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.10 - PyTorch version (GPU?): 1.9.0+cu102 (True) - Tensorflow version (GPU?): 2.5.0 (True) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not installed - JaxLib version: not in...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12744/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12744/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12743
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12743/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12743/comments
https://api.github.com/repos/huggingface/transformers/issues/12743/events
https://github.com/huggingface/transformers/pull/12743
945,379,483
MDExOlB1bGxSZXF1ZXN0NjkwNzE3MDcw
12,743
[Debug] wav2vec2 pretraining
{ "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 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,626
1,631
1,631
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/12743/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12743/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12743", "html_url": "https://github.com/huggingface/transformers/pull/12743", "diff_url": "https://github.com/huggingface/transformers/pull/12743.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12743.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12742
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12742/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12742/comments
https://api.github.com/repos/huggingface/transformers/issues/12742/events
https://github.com/huggingface/transformers/pull/12742
945,371,750
MDExOlB1bGxSZXF1ZXN0NjkwNzEwNDU1
12,742
Patch T5 device test
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Thanks a lot!" ]
1,626
1,626
1,626
MEMBER
null
The input IDs were not cast to the correct device.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12742/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12742/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12742", "html_url": "https://github.com/huggingface/transformers/pull/12742", "diff_url": "https://github.com/huggingface/transformers/pull/12742.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12742.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12741
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12741/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12741/comments
https://api.github.com/repos/huggingface/transformers/issues/12741/events
https://github.com/huggingface/transformers/issues/12741
945,368,269
MDU6SXNzdWU5NDUzNjgyNjk=
12,741
Change create_model_card to use best eval_results when args.load_best_model_at_end==True
{ "login": "nadahlberg", "id": 58701810, "node_id": "MDQ6VXNlcjU4NzAxODEw", "avatar_url": "https://avatars.githubusercontent.com/u/58701810?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nadahlberg", "html_url": "https://github.com/nadahlberg", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "cc @sgugger ", "I don't think there is an easy way to get that loss and metrics. However, note that if you run a last `trainer.evaluate()` (as is done in all the example scripts) the loss and metrics reported will be the ones from the final model, so I would suggest doing this.", "@sgugger that makes sense. T...
1,626
1,626
1,626
CONTRIBUTOR
null
# 🚀 Feature request When I use Trainer.push_to_hub, the model card that gets generated uses my most recent checkpoint's eval_results. However, if I include load_best_model_at_end=True in my TrainingArguments, then the model that is being pushed can often be from an earlier checkpoint (right?). The suggestion is t...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12741/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12741/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12740
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12740/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12740/comments
https://api.github.com/repos/huggingface/transformers/issues/12740/events
https://github.com/huggingface/transformers/pull/12740
945,367,485
MDExOlB1bGxSZXF1ZXN0NjkwNzA2NzQw
12,740
Skip test while the model is not available
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[]
1,626
1,626
1,626
MEMBER
null
Skip test while the model is not available on the huggingface hub.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12740/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12740/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12740", "html_url": "https://github.com/huggingface/transformers/pull/12740", "diff_url": "https://github.com/huggingface/transformers/pull/12740.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12740.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12739
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12739/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12739/comments
https://api.github.com/repos/huggingface/transformers/issues/12739/events
https://github.com/huggingface/transformers/pull/12739
945,360,567
MDExOlB1bGxSZXF1ZXN0NjkwNzAwNzA5
12,739
Skip test while the model is not available
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[]
1,626
1,626
1,626
MEMBER
null
Skip the test while the model cannot be accessed through the hub.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12739/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12739/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12739", "html_url": "https://github.com/huggingface/transformers/pull/12739", "diff_url": "https://github.com/huggingface/transformers/pull/12739.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12739.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12738
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12738/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12738/comments
https://api.github.com/repos/huggingface/transformers/issues/12738/events
https://github.com/huggingface/transformers/issues/12738
945,353,143
MDU6SXNzdWU5NDUzNTMxNDM=
12,738
Doctest Integration
{ "login": "will-rice", "id": 25072137, "node_id": "MDQ6VXNlcjI1MDcyMTM3", "avatar_url": "https://avatars.githubusercontent.com/u/25072137?v=4", "gravatar_id": "", "url": "https://api.github.com/users/will-rice", "html_url": "https://github.com/will-rice", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Hi @will-rice! Most of our tests are setup to work with doctest, and we had doctest coverage a few months back. Unfortunately, as the number of model grows, the issue is less of a documentation issue and more of an infrastructure issue :) We're working on setting them back up as we speak.", "ok awesome! I'll go ...
1,626
1,626
1,626
CONTRIBUTOR
null
# 🚀 Feature request It would be nice to add doctest to ensure new additions have working examples in the docstrings and that existing examples do not become outdated with API changes. The feature is already in [pytest](https://docs.pytest.org/en/6.2.x/doctest.html) so adding it should be straightforward. ## Motivati...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12738/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12738/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12737
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12737/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12737/comments
https://api.github.com/repos/huggingface/transformers/issues/12737/events
https://github.com/huggingface/transformers/pull/12737
945,347,635
MDExOlB1bGxSZXF1ZXN0NjkwNjg5NTI2
12,737
Fix MBart failing test
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Thanks for fixing this test - this was actually failing since a long time and no-one fixed it" ]
1,626
1,626
1,626
MEMBER
null
Fixes the failing test by adjusting the expected sentence. The sentence turns from ``` [...] will only worsen the violence and misery of millions. ``` to ``` [...] only make violence and misery worse for millions of people. ``` which seems grammatically correct still. @patrickvonplaten please let me know if y...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12737/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12737/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12737", "html_url": "https://github.com/huggingface/transformers/pull/12737", "diff_url": "https://github.com/huggingface/transformers/pull/12737.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12737.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12736
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12736/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12736/comments
https://api.github.com/repos/huggingface/transformers/issues/12736/events
https://github.com/huggingface/transformers/pull/12736
945,329,412
MDExOlB1bGxSZXF1ZXN0NjkwNjczNzg5
12,736
LXMERT integration test typo
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[]
1,626
1,626
1,626
MEMBER
null
Patches a typo in the LXMERT integration test.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12736/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12736/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12736", "html_url": "https://github.com/huggingface/transformers/pull/12736", "diff_url": "https://github.com/huggingface/transformers/pull/12736.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12736.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12735
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12735/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12735/comments
https://api.github.com/repos/huggingface/transformers/issues/12735/events
https://github.com/huggingface/transformers/pull/12735
945,326,581
MDExOlB1bGxSZXF1ZXN0NjkwNjcxMzQx
12,735
Fix led torchscript
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[]
1,626
1,626
1,626
MEMBER
null
LED can't run on `torchscript`: ``` Failure Traceback (most recent call last): File "/home/xxx/transformers/tests/test_modeling_common.py", line 538, in _create_and_check_torchscript traced_model = torch.jit.trace( File "/home/xxx/transformers/.env/lib/python3.8/site-packages/torch/jit/_trace.py", line ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12735/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12735/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12735", "html_url": "https://github.com/huggingface/transformers/pull/12735", "diff_url": "https://github.com/huggingface/transformers/pull/12735.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12735.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12734
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12734/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12734/comments
https://api.github.com/repos/huggingface/transformers/issues/12734/events
https://github.com/huggingface/transformers/pull/12734
945,324,110
MDExOlB1bGxSZXF1ZXN0NjkwNjY5MTg2
12,734
Fix DETR integration test
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "LGTM!" ]
1,626
1,626
1,626
MEMBER
null
The integration test must be adjusted to reflect DETR's true margin of error.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12734/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12734/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12734", "html_url": "https://github.com/huggingface/transformers/pull/12734", "diff_url": "https://github.com/huggingface/transformers/pull/12734.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12734.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12733
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12733/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12733/comments
https://api.github.com/repos/huggingface/transformers/issues/12733/events
https://github.com/huggingface/transformers/pull/12733
945,323,717
MDExOlB1bGxSZXF1ZXN0NjkwNjY4ODM2
12,733
Fix AutoModel tests
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "No worries!" ]
1,626
1,626
1,626
MEMBER
null
Auto model tests were not kept up to date. This patches the following two tests: ``` FAILED tests/test_modeling_auto.py::AutoModelTest::test_model_from_pretrained FAILED tests/test_modeling_common.py::ModelUtilsTest::test_model_from_pretrained ```
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12733/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12733/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12733", "html_url": "https://github.com/huggingface/transformers/pull/12733", "diff_url": "https://github.com/huggingface/transformers/pull/12733.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12733.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12732
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12732/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12732/comments
https://api.github.com/repos/huggingface/transformers/issues/12732/events
https://github.com/huggingface/transformers/issues/12732
945,277,141
MDU6SXNzdWU5NDUyNzcxNDE=
12,732
Not able to load the custom model after training in Hugging Face
{ "login": "vivekvkashyap", "id": 58116635, "node_id": "MDQ6VXNlcjU4MTE2NjM1", "avatar_url": "https://avatars.githubusercontent.com/u/58116635?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vivekvkashyap", "html_url": "https://github.com/vivekvkashyap", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[]
1,626
1,626
1,626
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: colab ### Who can help @patil-suraj @patrickvonplaten Models: Used FlaxGPT2Module as b...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12732/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12732/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12731
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12731/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12731/comments
https://api.github.com/repos/huggingface/transformers/issues/12731/events
https://github.com/huggingface/transformers/pull/12731
945,174,998
MDExOlB1bGxSZXF1ZXN0NjkwNTQxOTc1
12,731
Remove framework mention
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[]
1,626
1,626
1,626
MEMBER
null
Remove mention of framework for `transformers.onnx`
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12731/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12731/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12731", "html_url": "https://github.com/huggingface/transformers/pull/12731", "diff_url": "https://github.com/huggingface/transformers/pull/12731.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12731.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12730
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12730/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12730/comments
https://api.github.com/repos/huggingface/transformers/issues/12730/events
https://github.com/huggingface/transformers/issues/12730
945,086,910
MDU6SXNzdWU5NDUwODY5MTA=
12,730
Adding a Wav2Vec2ForSpeechClassification class
{ "login": "ehcalabres", "id": 10390523, "node_id": "MDQ6VXNlcjEwMzkwNTIz", "avatar_url": "https://avatars.githubusercontent.com/u/10390523?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ehcalabres", "html_url": "https://github.com/ehcalabres", "followers_url": "https://api.github.com/use...
[]
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...
[ "Hey @ehcalabres,\r\n\r\nI'm only seeing your issue now sadly :-/ Super sorry to not have answered sooner. @anton-l is working on an official `Wav2Vec2-` and `HubertForSequenceClassification` at the moment, here: https://github.com/huggingface/transformers/pull/13153 which should serve your needs then :-) \r\n\r\nI...
1,626
1,630
1,630
NONE
null
# Adding a Wav2Vec2ForSpeechClassification class 🚀 Right now, using any of the Wav2Vec 2.0 models available on the 🤗hub and make a fine-tuning process to resolve a __speech classification task__ implies creating a new class that inherit his behaviour from the Wav2Vec2PreTrainedModel class. Although creating this ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12730/reactions", "total_count": 3, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 3, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12730/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12729
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12729/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12729/comments
https://api.github.com/repos/huggingface/transformers/issues/12729/events
https://github.com/huggingface/transformers/issues/12729
945,075,578
MDU6SXNzdWU5NDUwNzU1Nzg=
12,729
Checkpoints are saved multiple times during hyperparameter tuning / How to get the best model?
{ "login": "sven-h", "id": 8777506, "node_id": "MDQ6VXNlcjg3Nzc1MDY=", "avatar_url": "https://avatars.githubusercontent.com/u/8777506?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sven-h", "html_url": "https://github.com/sven-h", "followers_url": "https://api.github.com/users/sven-h/foll...
[]
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,626
1,629
1,629
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.8.2 - Platform: Linux-4.19.0-16-amd64-x86_64-with-glibc2.10 - Python version: 3.8.0 - PyTorch version (GPU...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12729/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12729/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12728
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12728/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12728/comments
https://api.github.com/repos/huggingface/transformers/issues/12728/events
https://github.com/huggingface/transformers/issues/12728
944,978,882
MDU6SXNzdWU5NDQ5Nzg4ODI=
12,728
How can I generate sentencepiece file or vocabulary from tokenizers?
{ "login": "darwinharianto", "id": 44696192, "node_id": "MDQ6VXNlcjQ0Njk2MTky", "avatar_url": "https://avatars.githubusercontent.com/u/44696192?v=4", "gravatar_id": "", "url": "https://api.github.com/users/darwinharianto", "html_url": "https://github.com/darwinharianto", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "Could you try `save_pretrained` instead?", "It throws\r\n```\r\nTraceback (most recent call last):\r\n File \"~/pretrain.py\", line 26, in <module>\r\n tokenizer.save_pretrained('./test_Spm')\r\n File ~/anaconda3/envs/deltalake/lib/python3.9/site-packages/transformers/tokenization_utils_base.py\", line 1958...
1,626
1,708
1,632
NONE
null
After I make custom tokenizer using Tokenizers library, I could load it into XLNetTokenizerFast using ``` tokenizer = Tokenizer.from_file("unigram.json") tok = XLNetTokenizerFast(tokenizer_object=tokenizer) ``` After I called ``` tok .save_vocabulary("ss") ``` it throws an error since I didnt load XLNetTok...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12728/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12728/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12727
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12727/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12727/comments
https://api.github.com/repos/huggingface/transformers/issues/12727/events
https://github.com/huggingface/transformers/issues/12727
944,976,736
MDU6SXNzdWU5NDQ5NzY3MzY=
12,727
Getting incompatible shapes when using global_attention_mask in TFLongformerModel
{ "login": "sli0111", "id": 62090767, "node_id": "MDQ6VXNlcjYyMDkwNzY3", "avatar_url": "https://avatars.githubusercontent.com/u/62090767?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sli0111", "html_url": "https://github.com/sli0111", "followers_url": "https://api.github.com/users/sli011...
[]
closed
false
null
[]
[ "It appears that when the number of examples is a multiple of the batch_size, the training starts (i.e. batch_size=2 and num_examples=6). This doesn't work for a batch_size=1. \n\nUnfortunately for my full dataset, I won't be able to run a batch_size=2 without OOM.", "This issue has been automatically marked as...
1,626
1,634
1,634
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.8.2 - Platform: Linux-5.4.104+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.10 - PyTorch version ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12727/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/12727/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12726
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12726/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12726/comments
https://api.github.com/repos/huggingface/transformers/issues/12726/events
https://github.com/huggingface/transformers/issues/12726
944,952,362
MDU6SXNzdWU5NDQ5NTIzNjI=
12,726
Unrecognized configuration class GPT2Config for AutoModelForSeq2SeqLM | Microsoft DialoGPT no longer working
{ "login": "RuolinZheng08", "id": 35674052, "node_id": "MDQ6VXNlcjM1Njc0MDUy", "avatar_url": "https://avatars.githubusercontent.com/u/35674052?v=4", "gravatar_id": "", "url": "https://api.github.com/users/RuolinZheng08", "html_url": "https://github.com/RuolinZheng08", "followers_url": "https://api.githu...
[]
closed
false
{ "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...
[ { "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...
[ "Getting this error also. all fine-tuned models using Dialo giving this exact error.", "Hi everyone.\r\n\r\nNot really sure what happened here (the error is pretty confusing). It is fixed now anyway. ", "If someone pinned a model while it was having issues, please let me know, we might have to update them to fi...
1,626
1,659
1,626
NONE
null
## Information Model I am using: Microsoft's DialoGPT The problem arises when using: * [x] the official example scripts: Since the morning of July 14th, the inference API has been outputting errors on [Microsoft's DialoGPT](https://huggingface.co/microsoft/DialoGPT-medium). It was working fine before July 14...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12726/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12726/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12725
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12725/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12725/comments
https://api.github.com/repos/huggingface/transformers/issues/12725/events
https://github.com/huggingface/transformers/pull/12725
944,892,141
MDExOlB1bGxSZXF1ZXN0NjkwMzA2MDc3
12,725
[doc] performance: batch sizes
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[]
closed
false
null
[]
[]
1,626
1,626
1,626
CONTRIBUTOR
null
This PR adds a brief discussion of batch sizes for performance. @sgugger
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12725/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12725/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12725", "html_url": "https://github.com/huggingface/transformers/pull/12725", "diff_url": "https://github.com/huggingface/transformers/pull/12725.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12725.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12724
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12724/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12724/comments
https://api.github.com/repos/huggingface/transformers/issues/12724/events
https://github.com/huggingface/transformers/pull/12724
944,875,525
MDExOlB1bGxSZXF1ZXN0NjkwMjkyMTM4
12,724
[doc] testing: how to trigger a self-push workflow
{ "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,626
1,626
1,626
CONTRIBUTOR
null
Took me a while to figure out how to trigger self-push github actions test, so documenting how to do it right the first time. @sgugger, @LysandreJik
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12724/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12724/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12724", "html_url": "https://github.com/huggingface/transformers/pull/12724", "diff_url": "https://github.com/huggingface/transformers/pull/12724.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12724.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12723
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12723/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12723/comments
https://api.github.com/repos/huggingface/transformers/issues/12723/events
https://github.com/huggingface/transformers/pull/12723
944,868,517
MDExOlB1bGxSZXF1ZXN0NjkwMjg2MzUy
12,723
[deepspeed] nvme test hanging experiment: take4
{ "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 fixing this! Should we merge the PR or leave it like this to remember how to manage a hang with deepspeed and nvme?\r\n\r\nDo you know if rebuilding the extensions takes a look time?", "Never tried to measure the rebuilding, and it'd depend on the hardware, but probably in a ballpark of 20-30sec...
1,626
1,651
1,626
CONTRIBUTOR
null
As reported in https://github.com/huggingface/transformers/issues/12715 nvme CUDA extension of deepspeed fails to build and leads to a hanging test. As suggested by @tjruwase we should be clearing out the CUDA binary extensions dir, since a new release might be incompatible with the old binary and things break. ``` ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12723/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12723/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12723", "html_url": "https://github.com/huggingface/transformers/pull/12723", "diff_url": "https://github.com/huggingface/transformers/pull/12723.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12723.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12722
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12722/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12722/comments
https://api.github.com/repos/huggingface/transformers/issues/12722/events
https://github.com/huggingface/transformers/pull/12722
944,867,083
MDExOlB1bGxSZXF1ZXN0NjkwMjg1MTI1
12,722
[deepspeed] nvme test hanging experiment: take3
{ "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
[]
[ "grr, has to be on upstream continued in https://github.com/huggingface/transformers/pull/12723" ]
1,626
1,626
1,626
CONTRIBUTOR
null
Trying to fix hanging test https://github.com/huggingface/transformers/issues/12715 WIP
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12722/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12722/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12722", "html_url": "https://github.com/huggingface/transformers/pull/12722", "diff_url": "https://github.com/huggingface/transformers/pull/12722.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12722.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12721
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12721/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12721/comments
https://api.github.com/repos/huggingface/transformers/issues/12721/events
https://github.com/huggingface/transformers/pull/12721
944,863,067
MDExOlB1bGxSZXF1ZXN0NjkwMjgxNjkz
12,721
[WIP] [deepspeed] nvme test hanging experiment: take2
{ "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
[]
[ "continued in https://github.com/huggingface/transformers/pull/12722 - needed to have the branch name start with `ci_`" ]
1,626
1,626
1,626
CONTRIBUTOR
null
Trying to fix hanging test https://github.com/huggingface/transformers/issues/12715
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12721/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12721/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12721", "html_url": "https://github.com/huggingface/transformers/pull/12721", "diff_url": "https://github.com/huggingface/transformers/pull/12721.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12721.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12720
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12720/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12720/comments
https://api.github.com/repos/huggingface/transformers/issues/12720/events
https://github.com/huggingface/transformers/pull/12720
944,834,469
MDExOlB1bGxSZXF1ZXN0NjkwMjU3MTk5
12,720
[Flax] Correct shift labels for seq2seq models in Flax
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
null
[]
[]
1,626
1,626
1,626
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/12720/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12720/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12720", "html_url": "https://github.com/huggingface/transformers/pull/12720", "diff_url": "https://github.com/huggingface/transformers/pull/12720.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12720.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12719
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12719/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12719/comments
https://api.github.com/repos/huggingface/transformers/issues/12719/events
https://github.com/huggingface/transformers/issues/12719
944,828,503
MDU6SXNzdWU5NDQ4Mjg1MDM=
12,719
[Flax] Change all `shift_tokens_right` to numpy code
{ "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": "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...
[]
1,626
1,626
1,626
MEMBER
null
shift labels right is called usually in the data collator and therefore should not be written in jax, but in numpy to not block the TPU. We should make sure that all Encoder-Decoder models have their `shift_tokens_right` implemented in numpy as it's faster.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12719/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12719/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12718
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12718/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12718/comments
https://api.github.com/repos/huggingface/transformers/issues/12718/events
https://github.com/huggingface/transformers/pull/12718
944,809,229
MDExOlB1bGxSZXF1ZXN0NjkwMjM1Njc0
12,718
[trainer] release tmp memory in checkpoint load
{ "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,626
1,626
1,626
CONTRIBUTOR
null
As discovered in https://github.com/huggingface/transformers/issues/12680#issuecomment-880194562 we had a model-size memory leak on loading checkpoint. @sgugger found a fix which is what this this PR is. @sgugger
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12718/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12718/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12718", "html_url": "https://github.com/huggingface/transformers/pull/12718", "diff_url": "https://github.com/huggingface/transformers/pull/12718.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12718.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12717
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12717/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12717/comments
https://api.github.com/repos/huggingface/transformers/issues/12717/events
https://github.com/huggingface/transformers/pull/12717
944,803,567
MDExOlB1bGxSZXF1ZXN0NjkwMjMwNzg1
12,717
[wip] [deepspeed] nvme test hanging experiment
{ "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
[]
[ "Continued in https://github.com/huggingface/transformers/pull/12721" ]
1,626
1,651
1,626
CONTRIBUTOR
null
Debugging https://github.com/huggingface/transformers/issues/12715 This PR is trying to revert to the last known to work version 0.4.2.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12717/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12717/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12717", "html_url": "https://github.com/huggingface/transformers/pull/12717", "diff_url": "https://github.com/huggingface/transformers/pull/12717.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12717.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12716
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12716/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12716/comments
https://api.github.com/repos/huggingface/transformers/issues/12716/events
https://github.com/huggingface/transformers/pull/12716
944,800,843
MDExOlB1bGxSZXF1ZXN0NjkwMjI4NDQ2
12,716
Fix typo in Speech2TextForConditionalGeneration example
{ "login": "will-rice", "id": 25072137, "node_id": "MDQ6VXNlcjI1MDcyMTM3", "avatar_url": "https://avatars.githubusercontent.com/u/25072137?v=4", "gravatar_id": "", "url": "https://api.github.com/users/will-rice", "html_url": "https://github.com/will-rice", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[]
1,626
1,626
1,626
CONTRIBUTOR
null
# What does this PR do? This PR fixes a small typo in the example docstring. <!-- 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 you...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12716/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12716/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12716", "html_url": "https://github.com/huggingface/transformers/pull/12716", "diff_url": "https://github.com/huggingface/transformers/pull/12716.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12716.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12715
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12715/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12715/comments
https://api.github.com/repos/huggingface/transformers/issues/12715/events
https://github.com/huggingface/transformers/issues/12715
944,800,708
MDU6SXNzdWU5NDQ4MDA3MDg=
12,715
[testing] failing tests/deepspeed/test_deepspeed.py::TrainerIntegrationDeepSpeed::test_stage3_nvme_offload
{ "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": 2659267025, "node_id": "MDU6TGFiZWwyNjU5MjY3MDI1", "url": "https://api.github.com/repos/huggingface/transformers/labels/DeepSpeed", "name": "DeepSpeed", "color": "4D34F7", "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...
[ "I'm running an experiment with `deepspeed==0.4.2` https://github.com/huggingface/transformers/pull/12717\r\n", "> If I run it on my own setup by first removing `rm -rf ~/.cache/torch_extensions/` it works just fine. So it happens only on that\r\n\r\nI have seen these kinds of DeepSpeed hangs building different e...
1,626
1,659
1,628
CONTRIBUTOR
null
So a few days ago `tests/deepspeed/test_deepspeed.py::TrainerIntegrationDeepSpeed::test_stage3_nvme_offload` started hanging and getting killed by pytest-timeout. It gets stuck in `_jit_compile` which never completes. This is nvme-specific, as all other deepspeed tests that use jit work just fine. If I run it on ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12715/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12715/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12714
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12714/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12714/comments
https://api.github.com/repos/huggingface/transformers/issues/12714/events
https://github.com/huggingface/transformers/issues/12714
944,797,326
MDU6SXNzdWU5NDQ3OTczMjY=
12,714
layoutlm TokenClassificationPipeline
{ "login": "uwong", "id": 7048857, "node_id": "MDQ6VXNlcjcwNDg4NTc=", "avatar_url": "https://avatars.githubusercontent.com/u/7048857?v=4", "gravatar_id": "", "url": "https://api.github.com/users/uwong", "html_url": "https://github.com/uwong", "followers_url": "https://api.github.com/users/uwong/follower...
[]
closed
false
null
[]
[ "cc @NielsRogge ", "I'm afraid the `TokenClassificationPipeline` will not work with LayoutLM, the reason being that, as you mention, the model expects an additional input besides text, namely bounding boxes.\r\n\r\nWe are currently discussing the design of pipelines for models like LayoutLM. \r\n\r\n", "Ok than...
1,626
1,656
1,626
NONE
null
Hi, I was looking at using transformers.pipeline for TokenClassification with an instance of microsoft/layoutlm-base-uncased that I have fine tuned. I would like to use pipeline to take advantage of the entity aggregation_strategy feature for extracted entities. However it is unclear to me how/whether TokenClassif...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12714/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12714/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12713
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12713/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12713/comments
https://api.github.com/repos/huggingface/transformers/issues/12713/events
https://github.com/huggingface/transformers/pull/12713
944,796,804
MDExOlB1bGxSZXF1ZXN0NjkwMjI0OTU4
12,713
Add versioning system to fast tokenizer files
{ "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
[]
[ "might be cleaner if this worked in the other direction, i.e.\r\n\r\n> multiple tokenizer files: the `tokenizer.json` is the default one, used in the most recent version of Transformers. If one or more `tokenizer-x.y.z.json` exist, those files are used for the version x.y.z (of Transformers) and below.\r\n\r\nMakes...
1,626
1,626
1,626
COLLABORATOR
null
# What does this PR do? Some changes cannot be done to the fast tokenizers file without breaking backward compatibility. This PR introduces a versioning system by allowing a model repo to contain multiple tokenizer files: the `tokenizer.json` is the default one and if one (or several) `tokenizer.x.y.z.json` exist, t...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12713/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12713/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12713", "html_url": "https://github.com/huggingface/transformers/pull/12713", "diff_url": "https://github.com/huggingface/transformers/pull/12713.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12713.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12712
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12712/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12712/comments
https://api.github.com/repos/huggingface/transformers/issues/12712/events
https://github.com/huggingface/transformers/pull/12712
944,775,224
MDExOlB1bGxSZXF1ZXN0NjkwMjA2MzUx
12,712
[doc] parallelism: Which Strategy To Use When
{ "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,626
1,626
1,626
CONTRIBUTOR
null
as requested by https://github.com/huggingface/transformers/issues/12688 adding a new section on Which Strategy To Use When Fixes: https://github.com/huggingface/transformers/issues/12688 @sgugger
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12712/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/12712/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12712", "html_url": "https://github.com/huggingface/transformers/pull/12712", "diff_url": "https://github.com/huggingface/transformers/pull/12712.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12712.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12711
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12711/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12711/comments
https://api.github.com/repos/huggingface/transformers/issues/12711/events
https://github.com/huggingface/transformers/issues/12711
944,755,450
MDU6SXNzdWU5NDQ3NTU0NTA=
12,711
Error while performing eval on clm using gpt2 in flax
{ "login": "AnantShankhdhar", "id": 56432951, "node_id": "MDQ6VXNlcjU2NDMyOTUx", "avatar_url": "https://avatars.githubusercontent.com/u/56432951?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AnantShankhdhar", "html_url": "https://github.com/AnantShankhdhar", "followers_url": "https://api...
[]
closed
false
null
[]
[ "Hey @AnantShankhdhar - could you please provide the `run.sh` file?", "The error was because the eval batch size was very high " ]
1,626
1,626
1,626
NONE
null
## Environment info - `transformers` version: 4.9.0.dev0 - Platform: Linux-5.4.0-1043-gcp-x86_64-with-glibc2.29 - Python version: 3.8.10 - PyTorch version (GPU?): not installed (NA) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): 0.3.4 (tpu) - Jax version: 0.2.16 - JaxLib versio...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12711/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12711/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12710
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12710/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12710/comments
https://api.github.com/repos/huggingface/transformers/issues/12710/events
https://github.com/huggingface/transformers/pull/12710
944,707,689
MDExOlB1bGxSZXF1ZXN0NjkwMTQ3ODQz
12,710
[test] split test into 4 sub-tests to avoid timeout
{ "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,626
1,626
1,626
CONTRIBUTOR
null
This PR splits the long test into 4 sub-tests to avoid timeout, as each sub-test is relatively slow. This supercedes https://github.com/huggingface/transformers/pull/12699 @LysandreJik, @sgugger
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12710/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12710/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12710", "html_url": "https://github.com/huggingface/transformers/pull/12710", "diff_url": "https://github.com/huggingface/transformers/pull/12710.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12710.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12709
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12709/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12709/comments
https://api.github.com/repos/huggingface/transformers/issues/12709/events
https://github.com/huggingface/transformers/pull/12709
944,669,391
MDExOlB1bGxSZXF1ZXN0NjkwMTE0Nzc2
12,709
Init adds its own files as impacted
{ "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,626
1,626
1,626
COLLABORATOR
null
# What does this PR do? As pointed out by @patrickvonplaten, the script that fetches the right tests does not consider the init of a submodule impacts its files. This PR addresses that.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12709/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12709/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12709", "html_url": "https://github.com/huggingface/transformers/pull/12709", "diff_url": "https://github.com/huggingface/transformers/pull/12709.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12709.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12708
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12708/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12708/comments
https://api.github.com/repos/huggingface/transformers/issues/12708/events
https://github.com/huggingface/transformers/issues/12708
944,651,651
MDU6SXNzdWU5NDQ2NTE2NTE=
12,708
[Bug?] question answering - end position of each input is weird
{ "login": "woong97", "id": 60849888, "node_id": "MDQ6VXNlcjYwODQ5ODg4", "avatar_url": "https://avatars.githubusercontent.com/u/60849888?v=4", "gravatar_id": "", "url": "https://api.github.com/users/woong97", "html_url": "https://github.com/woong97", "followers_url": "https://api.github.com/users/woong9...
[]
closed
false
null
[]
[ "I believe @sgugger worked on that script", "Hi there, noticed you closed this so may have come to the same conclusion, but the \"end_positions\" will give you the position of the last token in the answer. So you should add a +1 in your slice to include that token at \"end_positions\".", "Thank you for your rep...
1,626
1,626
1,626
NONE
null
I run "python run_qa.py" in transformers/examples/pytorch/question-answering. In prepare_train_features function, I think "end position" is lower than expected postiion. I tested first example in examples(squad) in "prepare_train_features" function For example, answer text = 'Saint Bernadette Soubirous' print(tok...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12708/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12708/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12707
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12707/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12707/comments
https://api.github.com/repos/huggingface/transformers/issues/12707/events
https://github.com/huggingface/transformers/issues/12707
944,509,452
MDU6SXNzdWU5NDQ1MDk0NTI=
12,707
Convert model from flax to TF
{ "login": "arunraja-hub", "id": 43485111, "node_id": "MDQ6VXNlcjQzNDg1MTEx", "avatar_url": "https://avatars.githubusercontent.com/u/43485111?v=4", "gravatar_id": "", "url": "https://api.github.com/users/arunraja-hub", "html_url": "https://github.com/arunraja-hub", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "At the moment we only have Flax <=> PT and TF <=> PT conversion. So you should do the following:\r\n\r\n```python\r\nfrom transformers import T5ForConditionalGeneration, MT5TokenizerFast, TFT5ForConditionalGeneration, MT5Config, FlaxT5ForConditionalGeneration\r\n\r\nimport numpy as np\r\nimport jax\r\nimport jax.n...
1,626
1,629
1,629
NONE
null
I am trying to convert my flax MT5 model to TensorFlow. I devised the following script using https://github.com/huggingface/transformers/issues/12545 ``` from transformers import MT5Model, MT5TokenizerFast, TFMT5Model, MT5Config, FlaxT5ForConditionalGeneration import numpy as np import jax import jax.numpy as ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12707/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12707/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12706
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12706/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12706/comments
https://api.github.com/repos/huggingface/transformers/issues/12706/events
https://github.com/huggingface/transformers/pull/12706
944,477,125
MDExOlB1bGxSZXF1ZXN0Njg5OTU1NDI1
12,706
Deprecate TFTrainer
{ "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,626
1,626
1,626
MEMBER
null
This PR adds a deprecation warning to `TFTrainer`, and offers advice and a link to the new Keras examples.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12706/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12706/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12706", "html_url": "https://github.com/huggingface/transformers/pull/12706", "diff_url": "https://github.com/huggingface/transformers/pull/12706.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12706.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12705
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12705/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12705/comments
https://api.github.com/repos/huggingface/transformers/issues/12705/events
https://github.com/huggingface/transformers/pull/12705
944,448,505
MDExOlB1bGxSZXF1ZXN0Njg5OTMxMTM0
12,705
Fix uninitialized variables when `config.mask_feature_prob > 0`
{ "login": "mfuntowicz", "id": 2241520, "node_id": "MDQ6VXNlcjIyNDE1MjA=", "avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mfuntowicz", "html_url": "https://github.com/mfuntowicz", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "Thanks a lot!" ]
1,626
1,626
1,626
MEMBER
null
When `config.mask_feature_prob > 0` AND `mask_time_indices is not None` then `batch_size` and `sequence_length` are not defined for masking over features axis. This PR solves this.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12705/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12705/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12705", "html_url": "https://github.com/huggingface/transformers/pull/12705", "diff_url": "https://github.com/huggingface/transformers/pull/12705.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12705.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12704
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12704/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12704/comments
https://api.github.com/repos/huggingface/transformers/issues/12704/events
https://github.com/huggingface/transformers/issues/12704
944,418,445
MDU6SXNzdWU5NDQ0MTg0NDU=
12,704
Where is the casual mask when using BertLMHeadModel and set config.is_decoder = True?
{ "login": "Doragd", "id": 26213546, "node_id": "MDQ6VXNlcjI2MjEzNTQ2", "avatar_url": "https://avatars.githubusercontent.com/u/26213546?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Doragd", "html_url": "https://github.com/Doragd", "followers_url": "https://api.github.com/users/Doragd/fo...
[]
closed
false
null
[]
[ "Hi @Doragd, BERT is an encoder model, and is therefore ill-suited to the causal language modeling task. Is there a reason you would like to use that model specifically for causal language modeling?", "Hi, @LysandreJik I just apply causal language modeling as an auxiliary task to lead stable training of our mode...
1,626
1,627
1,627
NONE
null
I hope to use BERT for the task of causal language modeling. `BertLMHeadModel ` seems to meet my needs, but I did not find any code snippets about the causal mask, even if I set the `config.is_decoder=True`. I only find the following related code in https://github.com/huggingface/transformers/blob/master/src/tr...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12704/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12704/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12703
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12703/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12703/comments
https://api.github.com/repos/huggingface/transformers/issues/12703/events
https://github.com/huggingface/transformers/pull/12703
944,381,181
MDExOlB1bGxSZXF1ZXN0Njg5ODczNzI2
12,703
Update TF examples README
{ "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,626
1,626
1,626
MEMBER
null
Update the general README for all TF examples now that the Keras push is finished, as well as adding in the missing README for the token classification example.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12703/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12703/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12703", "html_url": "https://github.com/huggingface/transformers/pull/12703", "diff_url": "https://github.com/huggingface/transformers/pull/12703.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12703.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12702
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12702/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12702/comments
https://api.github.com/repos/huggingface/transformers/issues/12702/events
https://github.com/huggingface/transformers/issues/12702
944,340,206
MDU6SXNzdWU5NDQzNDAyMDY=
12,702
Examples/flax/run_clm_flax.py showing error file extension error for train_file attribute even though file has the correct extension
{ "login": "AnantShankhdhar", "id": 56432951, "node_id": "MDQ6VXNlcjU2NDMyOTUx", "avatar_url": "https://avatars.githubusercontent.com/u/56432951?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AnantShankhdhar", "html_url": "https://github.com/AnantShankhdhar", "followers_url": "https://api...
[]
closed
false
null
[]
[ "Hey @AnantShankhdhar, \r\n\r\nI cannot copy paste the script to run the code since it's a screenshot (please never post screenshots of code in an issue, always copy-paste & format them with:\r\n\r\n```\r\nrun.sh --param1 --param2\r\n```", "To solve you error, you should have this format in your bash script\r\n\r...
1,626
1,626
1,626
NONE
null
## Environment info - `transformers` version: 4.9.0.dev0 - Platform: Linux-5.4.0-1043-gcp-x86_64-with-glibc2.29 - Python version: 3.8.10 - PyTorch version (GPU?): not installed (NA) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): 0.3.4 (tpu) - Jax version: 0.2.16 - JaxLib vers...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12702/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12702/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12701
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12701/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12701/comments
https://api.github.com/repos/huggingface/transformers/issues/12701/events
https://github.com/huggingface/transformers/pull/12701
944,328,934
MDExOlB1bGxSZXF1ZXN0Njg5ODI4MDc3
12,701
Translate README.md to Traditional Chinese
{ "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
[]
[ "I'll ask my friends who are also native in Traditional Chinese, to help double check the terms in the files. So, we can ensure the accuracy of the translation.", "@JetRunner We have had the files checked. It is ready to merge if there is no other mistake.", "Cool! I'll give it a look then we are ready to merge...
1,626
1,626
1,626
CONTRIBUTOR
null
# What does this PR do? 1. Add README_zh-hant.md and links to direct users to each README. 2. Some of terms in the file can be found at [National Academy for Educational Research](https://terms.naer.edu.tw/), an official website providing bilingual translations between English and Traditional Chinese. ## Who can...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12701/reactions", "total_count": 2, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12701/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12701", "html_url": "https://github.com/huggingface/transformers/pull/12701", "diff_url": "https://github.com/huggingface/transformers/pull/12701.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12701.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12700
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12700/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12700/comments
https://api.github.com/repos/huggingface/transformers/issues/12700/events
https://github.com/huggingface/transformers/issues/12700
944,324,826
MDU6SXNzdWU5NDQzMjQ4MjY=
12,700
Doc - expecting `push_to_hub` method for Tokenizers to be also in the Tokenizer class doc pages
{ "login": "thomwolf", "id": 7353373, "node_id": "MDQ6VXNlcjczNTMzNzM=", "avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thomwolf", "html_url": "https://github.com/thomwolf", "followers_url": "https://api.github.com/users/thomw...
[]
closed
false
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[ { "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.git...
[ "cc @sgugger " ]
1,626
1,626
1,626
MEMBER
null
# 🚀 Doc request The gist is in the title. I was expecting the doc/docstring for the `push_to_hub` method for Tokenizers to be also in the Tokenizer class doc pages, e.g. on the main `Tokenizer` API landing page: https://huggingface.co/transformers/main_classes/tokenizer.html
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12700/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12700/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12699
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12699/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12699/comments
https://api.github.com/repos/huggingface/transformers/issues/12699/events
https://github.com/huggingface/transformers/pull/12699
944,220,822
MDExOlB1bGxSZXF1ZXN0Njg5NzM0MDMw
12,699
Add a custom timeout for log replica test
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Hmm, it's really slow - clocked `1m16.735s` on my machine. \r\n\r\nLet me see first if it can be made faster.", "It's like 4 tests in one - so it adds up - I guess I could just split it in several sub-tests.", "What do you guys prefer here? We can also make it @slow - which will shave off ~80sec - it doesn't n...
1,626
1,626
1,626
MEMBER
null
Add a custom timeout for log replica test. Let's keep these outliers to a minimum.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12699/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12699/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12699", "html_url": "https://github.com/huggingface/transformers/pull/12699", "diff_url": "https://github.com/huggingface/transformers/pull/12699.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12699.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12698
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12698/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12698/comments
https://api.github.com/repos/huggingface/transformers/issues/12698/events
https://github.com/huggingface/transformers/issues/12698
944,187,776
MDU6SXNzdWU5NDQxODc3NzY=
12,698
[Examples]Flax Seq2Seq example fails when doing only eval or predict
{ "login": "bhadreshpsavani", "id": 26653468, "node_id": "MDQ6VXNlcjI2NjUzNDY4", "avatar_url": "https://avatars.githubusercontent.com/u/26653468?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bhadreshpsavani", "html_url": "https://github.com/bhadreshpsavani", "followers_url": "https://api...
[]
closed
false
null
[]
[ "yes, right now for simplicity the scripts are written such that they always expect train datasets.\r\n\r\nFeel free to open a PR :)", "Sure, I will open PR!", "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 ...
1,626
1,629
1,629
CONTRIBUTOR
null
## Descriptions In the flax example if we only do predict or eval step it is not flexible enough to work. It will fail at this line https://github.com/huggingface/transformers/blob/5dd0c956a8eb492c8597e9673cc1d818f0e6b501/examples/flax/summarization/run_summarization_flax.py#L569 because the current script is wr...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12698/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12698/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12697
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12697/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12697/comments
https://api.github.com/repos/huggingface/transformers/issues/12697/events
https://github.com/huggingface/transformers/issues/12697
944,137,742
MDU6SXNzdWU5NDQxMzc3NDI=
12,697
SystemError: <built-in method run_backward of torch._C._EngineBase object at 0x7f06bfae6b30> returned NULL without setting an error> ```
{ "login": "lancekung", "id": 19167336, "node_id": "MDQ6VXNlcjE5MTY3MzM2", "avatar_url": "https://avatars.githubusercontent.com/u/19167336?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lancekung", "html_url": "https://github.com/lancekung", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Hmm, somehow this issue has never been addressed. \r\n\r\nIn such cases you will have a better luck reporting torch-land issues to https://github.com/pytorch/pytorch/issues as chances are low we will have the required understanding.\r\n\r\nI tried to google the exception and only found this to be relevant:\r\nhttp...
1,626
1,631
1,631
NONE
null
> ``` > import pickle > from transformers import AutoModelForCausalLM > > pickle.dumps(AutoModelForCausalLM) > ``` > > I think it's comes from the fact those are autogenerated. Thanks for your help, but I tested based on your modification in #12654, a new problem arises: @stas00 @patrickvonplaten, @Lysan...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12697/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12697/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12696
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12696/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12696/comments
https://api.github.com/repos/huggingface/transformers/issues/12696/events
https://github.com/huggingface/transformers/pull/12696
944,031,642
MDExOlB1bGxSZXF1ZXN0Njg5NTc0OTQ3
12,696
Refactored code to improve performance.
{ "login": "AllStars101-sudo", "id": 53670363, "node_id": "MDQ6VXNlcjUzNjcwMzYz", "avatar_url": "https://avatars.githubusercontent.com/u/53670363?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AllStars101-sudo", "html_url": "https://github.com/AllStars101-sudo", "followers_url": "https://...
[]
closed
false
null
[]
[ "@LysandreJik Sorry for the ping but I'd like to know your thoughts on this PR and whether I did whatever you had asked me to do in the [previous one](https://github.com/huggingface/transformers/pull/12639). Thanks!", "Hi, I'd like to put my two cents in this PR.\r\n\r\nAt first, although most of the time we wan...
1,626
1,626
1,626
NONE
null
# What does this PR do? Refactors several segments of code in the `scripts`,`src`,`tests`,`utils` and `setup.py` and increases performance by a bit, using compression methods and newer practices. No new functions or methods/models were added; therefore no documentation changes were required. ## Before submittin...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12696/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12696/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12696", "html_url": "https://github.com/huggingface/transformers/pull/12696", "diff_url": "https://github.com/huggingface/transformers/pull/12696.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12696.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12695
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12695/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12695/comments
https://api.github.com/repos/huggingface/transformers/issues/12695/events
https://github.com/huggingface/transformers/pull/12695
944,021,788
MDExOlB1bGxSZXF1ZXN0Njg5NTY2MDc5
12,695
[Deepspeed] add many more models to the model zoo test
{ "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": 2659267025, "node_id": "MDU6TGFiZWwyNjU5MjY3MDI1", "url": "https://api.github.com/repos/huggingface/transformers/labels/DeepSpeed", "name": "DeepSpeed", "color": "4D34F7", "default": false, "description": "" }, { "id": 2796628563, "node_id": "MDU6TGFiZWwyNzk2NjI4NTYz"...
closed
false
null
[]
[ "_The documentation is not available anymore as the PR was closed or merged._", "nice work @stas00, have you tested Perceiver with DeepSpeed.", "Would be glad to do that, @sameeravithana- in order to do that I need is a Trainer-based example script that I can test with.\r\n\r\nAs you can see from this map:\r\n\...
1,626
1,652
1,652
CONTRIBUTOR
null
This PR continues figuring out how to make various models work with Deepspeed (a lot of fixes happen on the Deepspeed side), most models just work out of the box - the main purpose of this PR is to test as many models as possible. so there are no fixes to add. - [x] update coverage to albert, bart, bert, bigbird_peg...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12695/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12695/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12695", "html_url": "https://github.com/huggingface/transformers/pull/12695", "diff_url": "https://github.com/huggingface/transformers/pull/12695.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12695.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12694
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12694/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12694/comments
https://api.github.com/repos/huggingface/transformers/issues/12694/events
https://github.com/huggingface/transformers/pull/12694
943,962,565
MDExOlB1bGxSZXF1ZXN0Njg5NTE2Nzkx
12,694
Refactored code to improve performance
{ "login": "AllStars101-sudo", "id": 53670363, "node_id": "MDQ6VXNlcjUzNjcwMzYz", "avatar_url": "https://avatars.githubusercontent.com/u/53670363?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AllStars101-sudo", "html_url": "https://github.com/AllStars101-sudo", "followers_url": "https://...
[]
closed
false
null
[]
[]
1,626
1,626
1,626
NONE
null
# What does this PR do? Refactors several segments of code in the `scripts`,`src`,`tests`,`utils` and `setup.py` and increases performance by a bit, using compression methods and newer practices. No new functions or methods/models were added; therefore no documentation changes were required. ## Before subm...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12694/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12694/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12694", "html_url": "https://github.com/huggingface/transformers/pull/12694", "diff_url": "https://github.com/huggingface/transformers/pull/12694.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12694.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12693
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12693/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12693/comments
https://api.github.com/repos/huggingface/transformers/issues/12693/events
https://github.com/huggingface/transformers/issues/12693
943,941,613
MDU6SXNzdWU5NDM5NDE2MTM=
12,693
Strange output from summarization models
{ "login": "Zahz1", "id": 59493450, "node_id": "MDQ6VXNlcjU5NDkzNDUw", "avatar_url": "https://avatars.githubusercontent.com/u/59493450?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Zahz1", "html_url": "https://github.com/Zahz1", "followers_url": "https://api.github.com/users/Zahz1/follow...
[]
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,626
1,678
1,629
NONE
null
I am trying to get some models working for summarizing news articles, but for some reason I keep getting this strange out Output: "In our series of letters from African journalists, film-maker and columnist Farai Sevenzo looks at ... [subject of input article]" This has happened on multiple models (Pegasus, Bart...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12693/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12693/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12692
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12692/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12692/comments
https://api.github.com/repos/huggingface/transformers/issues/12692/events
https://github.com/huggingface/transformers/pull/12692
943,915,236
MDExOlB1bGxSZXF1ZXN0Njg5NDc3MTcw
12,692
Provide mask_time_indices to `_mask_hidden_states` to avoid double masking
{ "login": "mfuntowicz", "id": 2241520, "node_id": "MDQ6VXNlcjIyNDE1MjA=", "avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mfuntowicz", "html_url": "https://github.com/mfuntowicz", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "Thanks a lot for fixing this! Can you also make the fix to `modeling_wav2vec2.py`? Think the same error is there", "and for both tf_hubert and tf_wav2vec2, we need to do the change as well I think ", "Thanks a lot!" ]
1,626
1,626
1,626
MEMBER
null
The current behavior for training Hubert masks randomly some "spans" of time according to a `mask_time_indices` which can be provided or not to the `forward(..., mask_time_indices=Optional[torch.Tensor])` . When providing this value (_interesting to mask the loss over non masked spans_), the mask was applied outsid...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12692/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12692/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12692", "html_url": "https://github.com/huggingface/transformers/pull/12692", "diff_url": "https://github.com/huggingface/transformers/pull/12692.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12692.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12691
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12691/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12691/comments
https://api.github.com/repos/huggingface/transformers/issues/12691/events
https://github.com/huggingface/transformers/issues/12691
943,896,926
MDU6SXNzdWU5NDM4OTY5MjY=
12,691
OSError: Not found: "/root/.cache/huggingface/transformers/5ec31591d9130cc9be0872e6b3dc0b276e514ab96e68404ac4a876ff03cb413b.dbd4bc2544d5c9f8f0d109844726c1600fa95cf0ba770b54c146f702be6e55dc": No such file or directory Error #2
{ "login": "EricPeter", "id": 37067613, "node_id": "MDQ6VXNlcjM3MDY3NjEz", "avatar_url": "https://avatars.githubusercontent.com/u/37067613?v=4", "gravatar_id": "", "url": "https://api.github.com/users/EricPeter", "html_url": "https://github.com/EricPeter", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Hello! What's the code that triggers this error?", "import os\r\nloaded_model = torch.load(\"mt_luganda.pt\",map_location=torch.device('cpu'))", "Are you sure? That's unrelated to `tranformers` or `huggingface`, yet I do see a `transformers` cache error in your issue title.", "am trying to load that model in...
1,626
1,666
1,629
NONE
null
This happens when try to load the model on another device ## 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...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12691/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12691/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12690
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12690/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12690/comments
https://api.github.com/repos/huggingface/transformers/issues/12690/events
https://github.com/huggingface/transformers/pull/12690
943,896,458
MDExOlB1bGxSZXF1ZXN0Njg5NDYxMDM1
12,690
[Deepspeed] non-native optimizers are mostly ok with zero-offload
{ "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,626
1,626
1,626
CONTRIBUTOR
null
As noticed in https://github.com/huggingface/transformers/issues/11044#issuecomment-870742459 most non-DS optimizers should work with zero-offload as long as they have cpu+gpu implementation (except LAMB). So this PR relaxes the earlier incorrectly imposed restriction. @sgugger
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12690/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12690/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12690", "html_url": "https://github.com/huggingface/transformers/pull/12690", "diff_url": "https://github.com/huggingface/transformers/pull/12690.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12690.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12689
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12689/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12689/comments
https://api.github.com/repos/huggingface/transformers/issues/12689/events
https://github.com/huggingface/transformers/pull/12689
943,841,501
MDExOlB1bGxSZXF1ZXN0Njg5NDEzNjEy
12,689
Flax MLM: Allow validation split when loading dataset from local file
{ "login": "fgaim", "id": 4906991, "node_id": "MDQ6VXNlcjQ5MDY5OTE=", "avatar_url": "https://avatars.githubusercontent.com/u/4906991?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fgaim", "html_url": "https://github.com/fgaim", "followers_url": "https://api.github.com/users/fgaim/follower...
[]
closed
false
null
[]
[]
1,626
1,626
1,626
CONTRIBUTOR
null
# What does this PR do? In Flax training scripts for MLM, CLM, and T5, this PR enables the option to apply validation-split-percentage when loading datasets from local file. This option already worked when loading standard HF datasets but was missing for local files. ## Who can review? @patrickvonplaten @pat...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12689/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12689/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12689", "html_url": "https://github.com/huggingface/transformers/pull/12689", "diff_url": "https://github.com/huggingface/transformers/pull/12689.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12689.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12688
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12688/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12688/comments
https://api.github.com/repos/huggingface/transformers/issues/12688/events
https://github.com/huggingface/transformers/issues/12688
943,838,477
MDU6SXNzdWU5NDM4Mzg0Nzc=
12,688
[doc] parallelism - when to use which mode
{ "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": 1834067346, "node_id": "MDU6TGFiZWwxODM0MDY3MzQ2", "url": "https://api.github.com/repos/huggingface/transformers/labels/Documentation", "name": "Documentation", "color": "77cc3b", "default": false, "description": "" }, { "id": 2690307185, "node_id": "MDU6TGFiZWwyNjkwM...
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...
[ "@BramVanroy, please have a look if this addresses your question and I will add it to the doc. It of course assumes that https://huggingface.co/transformers/master/parallelism.html has been read (hence the abbreviations).\r\n\r\nIf more information is needed please don't hesitate to say what you feel is missing and...
1,626
1,626
1,626
CONTRIBUTOR
null
# 🚀 Feature request Was asked to expand https://huggingface.co/transformers/master/parallelism.html to include recommendations on which mode to use when.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12688/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12688/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12687
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12687/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12687/comments
https://api.github.com/repos/huggingface/transformers/issues/12687/events
https://github.com/huggingface/transformers/pull/12687
943,819,529
MDExOlB1bGxSZXF1ZXN0Njg5Mzk0NTkx
12,687
Assert evaluation_strategy not no when load_best_model_at_end
{ "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
[]
[ "> I see that practically:\r\n>\r\n> load_best_model_at_end cancels out save_strategy=steps.\r\n> load_best_model_at_end has no impact on save_strategy=epoch.\r\n\r\nThat is not completely correct. One should also add that if `evaluation_strategy=steps`, a save is done every `eval_steps` and if `evaluation_strategy...
1,626
1,651
1,626
COLLABORATOR
null
# What does this PR do? Since using `--load_best_model_at_end` overrides the `save_strategy` by the `evaluation_strategy`, this PR adds a defensive check to make sure that strategy is not "no" (otherwise nothing is ever saved). Fixes #12685
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12687/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12687/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12687", "html_url": "https://github.com/huggingface/transformers/pull/12687", "diff_url": "https://github.com/huggingface/transformers/pull/12687.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12687.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12686
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12686/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12686/comments
https://api.github.com/repos/huggingface/transformers/issues/12686/events
https://github.com/huggingface/transformers/issues/12686
943,804,153
MDU6SXNzdWU5NDM4MDQxNTM=
12,686
No docs for v2.3.0
{ "login": "alexcoca", "id": 30216068, "node_id": "MDQ6VXNlcjMwMjE2MDY4", "avatar_url": "https://avatars.githubusercontent.com/u/30216068?v=4", "gravatar_id": "", "url": "https://api.github.com/users/alexcoca", "html_url": "https://github.com/alexcoca", "followers_url": "https://api.github.com/users/ale...
[]
closed
false
null
[]
[ "@sgugger , I think all docs up to 2.9 are gone (checked 2.8 randomly and it was missing) so there might be a broader isssue.\r\n\r\n", "It might be linked to use more recent versions of sphinx when building it, though I'm not sure. This is not a priority for us, especially for such an older version (it would be ...
1,626
1,629
1,629
NONE
null
## Environment info - `transformers` version: 2.3.0 ### Who can help Documentation: @sgugger ## To reproduce Steps to reproduce the behavior: Click [here](https://huggingface.co/transformers/v2.3.0/model_doc/gpt2.html#gpt2doubleheadsmodel) and see there are no docs for 2.3.0. ## Expected beha...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12686/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12686/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12685
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12685/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12685/comments
https://api.github.com/repos/huggingface/transformers/issues/12685/events
https://github.com/huggingface/transformers/issues/12685
943,727,179
MDU6SXNzdWU5NDM3MjcxNzk=
12,685
[trainer] `--load_best_model_at_end` silently turns of `--save_steps` settings
{ "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
[]
[ "Yes, as said in that comment, I think it's reasonable if we raise an error if `--load_best_model_at_end` is set and `--evaluation_strategy` is \"no\" since there is no \"best model\" to pick from in that case. I can do it later today if you want.", "I'm still not 100% clear on how this feature's reliance on eval...
1,626
1,630
1,630
CONTRIBUTOR
null
Splitting off from https://github.com/huggingface/transformers/pull/12477#discussion_r668326212 Currently `--load_best_model_at_end` silently turns off `--save_steps` settings when `--do_eval` is off (or `--evaluation_strategy` is set to other than `"no"`, which otherwise automatically turns on `--do_eval`) The ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12685/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12685/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12684
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12684/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12684/comments
https://api.github.com/repos/huggingface/transformers/issues/12684/events
https://github.com/huggingface/transformers/pull/12684
943,640,220
MDExOlB1bGxSZXF1ZXN0Njg5MjQyNDI1
12,684
Add timeout to CI.
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[]
1,626
1,626
1,626
MEMBER
null
Adds a global timeout to 60 seconds for non-slow tests, and a global timeout of 5 minutes for slow tests. These can be adjusted later on, but it prevents the two hanging suites right now and is important to merge to get feedback on the current coverage. I've re-enabled the `-v` option on `pytest` as this was inst...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12684/reactions", "total_count": 2, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12684/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12684", "html_url": "https://github.com/huggingface/transformers/pull/12684", "diff_url": "https://github.com/huggingface/transformers/pull/12684.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12684.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12683
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12683/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12683/comments
https://api.github.com/repos/huggingface/transformers/issues/12683/events
https://github.com/huggingface/transformers/issues/12683
943,621,871
MDU6SXNzdWU5NDM2MjE4NzE=
12,683
confusing description in prepare_seq2seq_batch of MBart
{ "login": "XuhuiZhou", "id": 20436061, "node_id": "MDQ6VXNlcjIwNDM2MDYx", "avatar_url": "https://avatars.githubusercontent.com/u/20436061?v=4", "gravatar_id": "", "url": "https://api.github.com/users/XuhuiZhou", "html_url": "https://github.com/XuhuiZhou", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Hi @XuhuiZhou, the `prepare_seq2seq_batch` method is now deprecated and the description is a bit outdated.\r\nwe don't recommend using it anymore. You could refer to this section to see how to prepare data for mbart-50 https://huggingface.co/transformers/model_doc/mbart.html#training-of-mbart-50", "This issue ha...
1,626
1,629
1,629
NONE
null
## Information The model that I am using is `MBart-50` In the description of `prepare_seq2seq_batch`, it says _Prepare model inputs for translation. For best performance, translate one sentence at a time._. Does this mean we should not do batching if we want to obtain the best performance? I am curious why it is ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12683/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12683/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12682
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12682/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12682/comments
https://api.github.com/repos/huggingface/transformers/issues/12682/events
https://github.com/huggingface/transformers/pull/12682
943,582,808
MDExOlB1bGxSZXF1ZXN0Njg5MTk0Mjk1
12,682
Fix minor docstring typos.
{ "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
[]
[]
1,626
1,626
1,626
CONTRIBUTOR
null
# What does this PR do? Fix minor docstring typos in #12664 ## Before submitting - [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [ ] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md#start-con...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12682/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12682/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12682", "html_url": "https://github.com/huggingface/transformers/pull/12682", "diff_url": "https://github.com/huggingface/transformers/pull/12682.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12682.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12681
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12681/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12681/comments
https://api.github.com/repos/huggingface/transformers/issues/12681/events
https://github.com/huggingface/transformers/issues/12681
943,411,845
MDU6SXNzdWU5NDM0MTE4NDU=
12,681
Flax - Loading pretrained model overwrites weights of different shapes
{ "login": "borisdayma", "id": 715491, "node_id": "MDQ6VXNlcjcxNTQ5MQ==", "avatar_url": "https://avatars.githubusercontent.com/u/715491?v=4", "gravatar_id": "", "url": "https://api.github.com/users/borisdayma", "html_url": "https://github.com/borisdayma", "followers_url": "https://api.github.com/users/b...
[]
closed
false
null
[]
[ "This should be fixed by the work in #12664 ", "Closing because it was fixed" ]
1,626
1,626
1,626
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: master - Platform: Ubuntu - Python version: 3.9 ### Who can help @patil-suraj @sgugger <!-- Your issue ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12681/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12681/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12680
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12680/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12680/comments
https://api.github.com/repos/huggingface/transformers/issues/12680/events
https://github.com/huggingface/transformers/issues/12680
943,349,548
MDU6SXNzdWU5NDMzNDk1NDg=
12,680
Running out of memory when resume training.
{ "login": "thies1006", "id": 32954413, "node_id": "MDQ6VXNlcjMyOTU0NDEz", "avatar_url": "https://avatars.githubusercontent.com/u/32954413?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thies1006", "html_url": "https://github.com/thies1006", "followers_url": "https://api.github.com/users/...
[ { "id": 2659267025, "node_id": "MDU6TGFiZWwyNjU5MjY3MDI1", "url": "https://api.github.com/repos/huggingface/transformers/labels/DeepSpeed", "name": "DeepSpeed", "color": "4D34F7", "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...
[ "Thank you for the detailed report, @thies1006 \r\n\r\nI suspect that at some point we have the model allocated more than once.\r\n\r\nI will profile the memory usage and get back to you with the findings.\r\n\r\nI'm glad to hear that meanwhile you have a workaround.", "So first I see our non-deepspeed checkpoint...
1,626
1,626
1,626
NONE
null
Might be similar problem as #11317, node runs out of cpu memory (512GB). To reproduce: (i) ``` deepspeed --hostfile myhostfile \ ${_PATH}/examples/pytorch/summarization/run_summarization.py \ --model_name_or_path hyunwoongko/blenderbot-9B \ --do_train \ --do_eval \ --dataset_name cnn_dailymail \ --dat...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12680/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12680/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12679
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12679/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12679/comments
https://api.github.com/repos/huggingface/transformers/issues/12679/events
https://github.com/huggingface/transformers/pull/12679
943,311,780
MDExOlB1bGxSZXF1ZXN0Njg4OTUzNDA4
12,679
Fix multiple choice doc examples
{ "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,626
1,626
1,626
COLLABORATOR
null
# What does this PR do? The multiple choice example docstrings was fixed for PyTorch but not Flax and TensorFlow. This PR addresses that.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12679/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12679/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12679", "html_url": "https://github.com/huggingface/transformers/pull/12679", "diff_url": "https://github.com/huggingface/transformers/pull/12679.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12679.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12678
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12678/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12678/comments
https://api.github.com/repos/huggingface/transformers/issues/12678/events
https://github.com/huggingface/transformers/issues/12678
943,272,348
MDU6SXNzdWU5NDMyNzIzNDg=
12,678
Mask prediction does not work with whitespace before mask token
{ "login": "temurchichua", "id": 69351709, "node_id": "MDQ6VXNlcjY5MzUxNzA5", "avatar_url": "https://avatars.githubusercontent.com/u/69351709?v=4", "gravatar_id": "", "url": "https://api.github.com/users/temurchichua", "html_url": "https://github.com/temurchichua", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Sure! It's not very easy to avoid before pretraining (it depends on how you set up the data collator), but if you know how the special tokens work in tokenizers and transformers you can easily fix it next time.\r\n\r\nIf you notice that `\"word<mask>\"` works well, but `\"word <mask>\"` doesn't then this means tha...
1,626
1,626
1,626
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.9.0.dev0 - Platform: Linux-5.4.0-1043-gcp-x86_64-with-glibc2.29 - Python version: 3.8.10 - PyTorch version...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12678/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12678/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12677
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12677/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12677/comments
https://api.github.com/repos/huggingface/transformers/issues/12677/events
https://github.com/huggingface/transformers/issues/12677
943,225,917
MDU6SXNzdWU5NDMyMjU5MTc=
12,677
Processing custom wikipedia data with clm training script throws error when "blockifying" data
{ "login": "BirgerMoell", "id": 1704131, "node_id": "MDQ6VXNlcjE3MDQxMzE=", "avatar_url": "https://avatars.githubusercontent.com/u/1704131?v=4", "gravatar_id": "", "url": "https://api.github.com/users/BirgerMoell", "html_url": "https://github.com/BirgerMoell", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[ "I printed the offending file (examples) which is a dict with the following keys\r\n```\r\ndict_keys(['attention_mask', 'input_ids', 'text'])\r\n```\r\nfor the data. ", "I see! Can you try replacing:\r\n\r\n```python\r\n tokenized_datasets = dataset.map(\r\n tokenize_function,\r\n batched=True,\...
1,626
1,626
1,626
NONE
null
I'm loading in a wikipedia from hugginface dataset to run the CLM script. ```python from datasets import load_dataset import pdb def load_and_clean_oscar(): dataset = load_dataset('oscar', 'unshuffled_deduplicated_sv', split="train") dataset = dataset.remove_columns(['id']) print(dataset) pd...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12677/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12677/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12676
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12676/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12676/comments
https://api.github.com/repos/huggingface/transformers/issues/12676/events
https://github.com/huggingface/transformers/pull/12676
943,156,004
MDExOlB1bGxSZXF1ZXN0Njg4ODEyNTg5
12,676
Wrong model is used in example, should be character instead of subword model
{ "login": "jsteggink", "id": 978411, "node_id": "MDQ6VXNlcjk3ODQxMQ==", "avatar_url": "https://avatars.githubusercontent.com/u/978411?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jsteggink", "html_url": "https://github.com/jsteggink", "followers_url": "https://api.github.com/users/jste...
[]
closed
false
null
[]
[ "It's not easy to make a file the styler is happy with, haha." ]
1,626
1,626
1,626
CONTRIBUTOR
null
# What does this PR do? A canine.rst fix. In the original Google repo for CANINE there was mixup in the model names in the README.md, which was fixed 2 weeks ago. Since this transformer model was created before, it probably resulted in wrong use in this example in canine.rst. s = subword, c = character <!-- ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12676/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12676/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12676", "html_url": "https://github.com/huggingface/transformers/pull/12676", "diff_url": "https://github.com/huggingface/transformers/pull/12676.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12676.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12675
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12675/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12675/comments
https://api.github.com/repos/huggingface/transformers/issues/12675/events
https://github.com/huggingface/transformers/pull/12675
943,148,664
MDExOlB1bGxSZXF1ZXN0Njg4ODA1OTY5
12,675
[WIP][examples/flax] add gradient accumulation
{ "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/...
[ { "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
[]
[ "Thanks a lot for adding this! That's super useful! It seems to require some bigger changes to core functionality to the script so I think we should be careful here. Also I'm starting to wonder whether the examples become to complicated to read with more and more functionality being added and whether we should mayb...
1,626
1,648
null
MEMBER
null
# What does this PR do? Adds gradient accumulation in flax language modeling scripts.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12675/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12675/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12675", "html_url": "https://github.com/huggingface/transformers/pull/12675", "diff_url": "https://github.com/huggingface/transformers/pull/12675.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12675.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12674
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12674/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12674/comments
https://api.github.com/repos/huggingface/transformers/issues/12674/events
https://github.com/huggingface/transformers/issues/12674
942,888,223
MDU6SXNzdWU5NDI4ODgyMjM=
12,674
Nothing
{ "login": "vivekvkashyap", "id": 58116635, "node_id": "MDQ6VXNlcjU4MTE2NjM1", "avatar_url": "https://avatars.githubusercontent.com/u/58116635?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vivekvkashyap", "html_url": "https://github.com/vivekvkashyap", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[]
1,626
1,626
1,626
NONE
null
## To reproduce Steps to reproduce the behavior: 1. 2. 3. <!-- If you have code snippets, error messages, stack traces please provide them here as well. ```python model = FlaxGPT2ForMultipleChoice.from_pretrained('gpt2') ``` Do not use screenshots, as they are hard to read and (more im...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12674/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12674/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12673
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12673/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12673/comments
https://api.github.com/repos/huggingface/transformers/issues/12673/events
https://github.com/huggingface/transformers/issues/12673
942,761,771
MDU6SXNzdWU5NDI3NjE3NzE=
12,673
Too Many kernels and embeddings were randomly initialized when loading Hugging Face GPT-2 Model
{ "login": "vivekvkashyap", "id": 58116635, "node_id": "MDQ6VXNlcjU4MTE2NjM1", "avatar_url": "https://avatars.githubusercontent.com/u/58116635?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vivekvkashyap", "html_url": "https://github.com/vivekvkashyap", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "Hi, this is because you are using a different base model prefix `self.gpt2` to load the base model. To be able to add any heads and still be able to load the base model weights the pre-trained class expects the base model to have the same prefix.\r\n\r\nFor gpt2 it is `self.transformer`, changing `self.gpt2` to `s...
1,626
1,626
1,626
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:colab - Jax version (CPU):0.2.13 - Using GPU in script?:No - Using distributed or parallel set-u...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12673/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12673/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12672
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12672/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12672/comments
https://api.github.com/repos/huggingface/transformers/issues/12672/events
https://github.com/huggingface/transformers/pull/12672
942,670,757
MDExOlB1bGxSZXF1ZXN0Njg4MzcxNTY5
12,672
[doc] fix distil* example link
{ "login": "songyouwei", "id": 2573291, "node_id": "MDQ6VXNlcjI1NzMyOTE=", "avatar_url": "https://avatars.githubusercontent.com/u/2573291?v=4", "gravatar_id": "", "url": "https://api.github.com/users/songyouwei", "html_url": "https://github.com/songyouwei", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "Great, thanks @songyouwei !\r\n\r\nCould you run `make fixup` at the root of your clone to fix the code quality issue? Thank you!", "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 not...
1,626
1,629
1,629
CONTRIBUTOR
null
fix broken links
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12672/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12672/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12672", "html_url": "https://github.com/huggingface/transformers/pull/12672", "diff_url": "https://github.com/huggingface/transformers/pull/12672.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12672.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12671
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12671/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12671/comments
https://api.github.com/repos/huggingface/transformers/issues/12671/events
https://github.com/huggingface/transformers/pull/12671
942,551,509
MDExOlB1bGxSZXF1ZXN0Njg4MjY3NDQ3
12,671
Update generation_logits_process.py
{ "login": "willfrey", "id": 13784361, "node_id": "MDQ6VXNlcjEzNzg0MzYx", "avatar_url": "https://avatars.githubusercontent.com/u/13784361?v=4", "gravatar_id": "", "url": "https://api.github.com/users/willfrey", "html_url": "https://github.com/willfrey", "followers_url": "https://api.github.com/users/wil...
[]
closed
false
null
[]
[ "Hi @willfrey, I've merged many of your PRs (thanks for that 🤗) but I don't agree with this one since there is no integer between 0 and 1 so it'll be nice to have the instance check here (in case someone passes a tensor or something).", "I’d suggest checking against numbers.Integral then because that’s the ABC/p...
1,626
1,629
1,629
CONTRIBUTOR
null
# What does this PR do? If you're using type hints, then passing an `int` where a `float` is annotated is acceptable as per [PEP 484](https://www.python.org/dev/peps/pep-0484/#the-numeric-tower). This makes life a little nicer. <!-- Congratulations! You've made it this far! You're not quite done yet though. ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12671/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12671/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12671", "html_url": "https://github.com/huggingface/transformers/pull/12671", "diff_url": "https://github.com/huggingface/transformers/pull/12671.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12671.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12670
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12670/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12670/comments
https://api.github.com/repos/huggingface/transformers/issues/12670/events
https://github.com/huggingface/transformers/issues/12670
942,513,844
MDU6SXNzdWU5NDI1MTM4NDQ=
12,670
Converting fairseq roberta to transformer throws ModuleAttributeError: 'RobertaHubInterface' object has no attribute 'args'
{ "login": "fdas3213", "id": 22696996, "node_id": "MDQ6VXNlcjIyNjk2OTk2", "avatar_url": "https://avatars.githubusercontent.com/u/22696996?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fdas3213", "html_url": "https://github.com/fdas3213", "followers_url": "https://api.github.com/users/fda...
[]
closed
false
null
[]
[ "line 81&82 `roberta_sent_encoder.emb_layer_norm` should be changed to `roberta_sent_encoder.layernorm_embedding` ", "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 th...
1,626
1,671
1,629
NONE
null
https://github.com/huggingface/transformers/blob/c523b241c2e50c3ed035bb76b938b6a944fed7e5/src/transformers/models/roberta/convert_roberta_original_pytorch_checkpoint_to_pytorch.py#L59 Had this error `ModuleAttributeError: 'RobertaHubInterface' object has no attribute 'args'` when running ``` convert_roberta_origin...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12670/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12670/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12669
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12669/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12669/comments
https://api.github.com/repos/huggingface/transformers/issues/12669/events
https://github.com/huggingface/transformers/pull/12669
942,509,692
MDExOlB1bGxSZXF1ZXN0Njg4MjMwNDcw
12,669
[tokenizer.prepare_seq2seq_batch] change deprecation to be easily actionable
{ "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 iterating on this!" ]
1,626
1,626
1,626
CONTRIBUTOR
null
Attempt to make an easier to understand and act upon deprecation by giving explicit instructions on what needs to be done: Fixes: https://github.com/huggingface/transformers/issues/12622 @sgugger
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12669/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12669/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12669", "html_url": "https://github.com/huggingface/transformers/pull/12669", "diff_url": "https://github.com/huggingface/transformers/pull/12669.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12669.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12668
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12668/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12668/comments
https://api.github.com/repos/huggingface/transformers/issues/12668/events
https://github.com/huggingface/transformers/issues/12668
942,425,384
MDU6SXNzdWU5NDI0MjUzODQ=
12,668
Vocab size difference between tokenizer and config for XLMR.
{ "login": "erip", "id": 2348806, "node_id": "MDQ6VXNlcjIzNDg4MDY=", "avatar_url": "https://avatars.githubusercontent.com/u/2348806?v=4", "gravatar_id": "", "url": "https://api.github.com/users/erip", "html_url": "https://github.com/erip", "followers_url": "https://api.github.com/users/erip/followers", ...
[]
closed
false
null
[]
[ "Hello! If you want the configuration and tokenizer to match the same checkpoint, you should load them from same checkpoint:\r\n\r\n```py\r\n>>> from transformers import XLMRobertaConfig\r\n>>> XLMRobertaConfig.from_pretrained('xlm-roberta-base').vocab_size\r\n250002\r\n>>> from transformers import AutoTokenizer\r\...
1,626
1,629
1,629
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! --> Copy-and-paste the text below in your GitHub issue and FILL OUT the two last points. - `transformers` version: 4.8.2 - Platform: ma...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12668/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12668/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12667
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12667/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12667/comments
https://api.github.com/repos/huggingface/transformers/issues/12667/events
https://github.com/huggingface/transformers/pull/12667
942,381,429
MDExOlB1bGxSZXF1ZXN0Njg4MTE4MDg3
12,667
Adding TF translation 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,626
1,626
1,626
MEMBER
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12667/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 1, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12667/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12667", "html_url": "https://github.com/huggingface/transformers/pull/12667", "diff_url": "https://github.com/huggingface/transformers/pull/12667.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12667.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12666
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12666/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12666/comments
https://api.github.com/repos/huggingface/transformers/issues/12666/events
https://github.com/huggingface/transformers/issues/12666
942,379,885
MDU6SXNzdWU5NDIzNzk4ODU=
12,666
translation with identical source and target language, for text normalization
{ "login": "desothier1", "id": 50878643, "node_id": "MDQ6VXNlcjUwODc4NjQz", "avatar_url": "https://avatars.githubusercontent.com/u/50878643?v=4", "gravatar_id": "", "url": "https://api.github.com/users/desothier1", "html_url": "https://github.com/desothier1", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discuss.huggingface.co) instead?\r\n\r\nThanks!", "This issue has been automatically marked as stale because it has not had recent activity. If you think this stil...
1,626
1,629
1,629
NONE
null
Hi, This is rather a general question about translation and I am aware that I don't follow exactly your guidelines, so I am sorry for that. (We could run the examples mentioned in your readme, great tool!) We try to conceive normalization for Dutch, as a 'translation' task. So, is it for instance possible to ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12666/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12666/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12665
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12665/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12665/comments
https://api.github.com/repos/huggingface/transformers/issues/12665/events
https://github.com/huggingface/transformers/issues/12665
942,349,377
MDU6SXNzdWU5NDIzNDkzNzc=
12,665
word_ids() returned by RoBERTa Tokenizer behaves inconsistently for alphanumeric tokens like '18th'
{ "login": "hos-arafat", "id": 36512796, "node_id": "MDQ6VXNlcjM2NTEyNzk2", "avatar_url": "https://avatars.githubusercontent.com/u/36512796?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hos-arafat", "html_url": "https://github.com/hos-arafat", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Thanks for the very helpful reproducer! @n1t0, @SaulLu, could you take a look? Thank you!", "Thank you for providing a code snippets @hos-arafat !\r\n\r\nIf I understand your request correctly, you would like to retrieve the index of the word to which each token belongs.\r\n\r\nIf this is your request, you have ...
1,626
1,630
1,630
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.8.2 - Platform: Linux-5.4.104+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.10 - PyTorch version ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12665/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12665/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12664
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12664/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12664/comments
https://api.github.com/repos/huggingface/transformers/issues/12664/events
https://github.com/huggingface/transformers/pull/12664
942,347,943
MDExOlB1bGxSZXF1ZXN0Njg4MDg5MDQw
12,664
Add option to load a pretrained model with mismatched shapes
{ "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,626
1,626
1,626
COLLABORATOR
null
# What does this PR do? Sometimes, users want to load a checkpoint for a given task with a new head for the same task but different shapes. For instance, they may want to use a checkpoint that does text classification on 2 labels to initialize a model that does text classification on 5 labels. This PR enables th...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12664/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/12664/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12664", "html_url": "https://github.com/huggingface/transformers/pull/12664", "diff_url": "https://github.com/huggingface/transformers/pull/12664.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12664.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12663
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12663/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12663/comments
https://api.github.com/repos/huggingface/transformers/issues/12663/events
https://github.com/huggingface/transformers/pull/12663
942,300,266
MDExOlB1bGxSZXF1ZXN0Njg4MDQ3OTQw
12,663
Fix typo in README_zh-hans.md
{ "login": "JetRunner", "id": 22514219, "node_id": "MDQ6VXNlcjIyNTE0MjE5", "avatar_url": "https://avatars.githubusercontent.com/u/22514219?v=4", "gravatar_id": "", "url": "https://api.github.com/users/JetRunner", "html_url": "https://github.com/JetRunner", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[]
1,626
1,626
1,626
CONTRIBUTOR
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12663/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12663/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12663", "html_url": "https://github.com/huggingface/transformers/pull/12663", "diff_url": "https://github.com/huggingface/transformers/pull/12663.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12663.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12662
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12662/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12662/comments
https://api.github.com/repos/huggingface/transformers/issues/12662/events
https://github.com/huggingface/transformers/pull/12662
942,269,542
MDExOlB1bGxSZXF1ZXN0Njg4MDIwODQ2
12,662
[Flax Generation] Correct inconsistencies PyTorch/Flax
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
null
[]
[ "The Spanish Marian model should be fixed as well on TPU (cc @gchhablani )\r\n\r\n```python\r\nfrom transformers import FlaxMarianMTModel, MarianTokenizer\r\nimport torch\r\n\r\nmodel_name = \"Helsinki-NLP/opus-mt-en-es\"\r\n\r\nmodel_fx = FlaxMarianMTModel.from_pretrained(model_name)\r\n\r\ntokenizer = MarianToken...
1,626
1,626
1,626
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/12662/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/12662/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12662", "html_url": "https://github.com/huggingface/transformers/pull/12662", "diff_url": "https://github.com/huggingface/transformers/pull/12662.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12662.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12661
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12661/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12661/comments
https://api.github.com/repos/huggingface/transformers/issues/12661/events
https://github.com/huggingface/transformers/issues/12661
942,266,430
MDU6SXNzdWU5NDIyNjY0MzA=
12,661
'TransfoXLLMHeadModelOutput' object has no attribute 'loss'
{ "login": "phfaustini", "id": 8069807, "node_id": "MDQ6VXNlcjgwNjk4MDc=", "avatar_url": "https://avatars.githubusercontent.com/u/8069807?v=4", "gravatar_id": "", "url": "https://api.github.com/users/phfaustini", "html_url": "https://github.com/phfaustini", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "Indeed, there's an issue with the docstring! `TransfoXL` has two losses, here's the correct snippet:\r\n```py\r\nimport torch\r\nfrom transformers import TransfoXLTokenizer, TransfoXLLMHeadModel\r\ntokenizer = TransfoXLTokenizer.from_pretrained('transfo-xl-wt103')\r\nmodel = TransfoXLLMHeadModel.from_pretrained('t...
1,626
1,629
1,629
NONE
null
## Environment info - `transformers` version: 4.6.1 - Platform: Linux-5.11.0-7620-generic-x86_64-with-glibc2.10 - Python version: 3.8.10 - PyTorch version (GPU?): 1.8.1 (True) - Tensorflow version (GPU?): not installed (NA) Models: - Transformer XL ## To reproduce Just to run the example from the d...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12661/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/12661/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12660
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12660/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12660/comments
https://api.github.com/repos/huggingface/transformers/issues/12660/events
https://github.com/huggingface/transformers/pull/12660
942,242,422
MDExOlB1bGxSZXF1ZXN0Njg3OTk3NDY5
12,660
Updates timeline for project evaluation
{ "login": "osanseviero", "id": 7246357, "node_id": "MDQ6VXNlcjcyNDYzNTc=", "avatar_url": "https://avatars.githubusercontent.com/u/7246357?v=4", "gravatar_id": "", "url": "https://api.github.com/users/osanseviero", "html_url": "https://github.com/osanseviero", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[]
1,626
1,626
1,626
MEMBER
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12660/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12660/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12660", "html_url": "https://github.com/huggingface/transformers/pull/12660", "diff_url": "https://github.com/huggingface/transformers/pull/12660.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12660.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12659
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12659/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12659/comments
https://api.github.com/repos/huggingface/transformers/issues/12659/events
https://github.com/huggingface/transformers/issues/12659
942,212,266
MDU6SXNzdWU5NDIyMTIyNjY=
12,659
Can't load pretrained model when working in virtual environment
{ "login": "aclifton314", "id": 53267795, "node_id": "MDQ6VXNlcjUzMjY3Nzk1", "avatar_url": "https://avatars.githubusercontent.com/u/53267795?v=4", "gravatar_id": "", "url": "https://api.github.com/users/aclifton314", "html_url": "https://github.com/aclifton314", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Hello! There shouldn't be any difference between using the system-wide environment vs the virtual environment. We mostly use virtual environments to work on `transformers` and we heavily recommend using one when working with `transformers`. \r\n\r\nAre you sure the error comes from the virtual environment and now ...
1,626
1,629
1,629
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.8.2 - Platform: Pytorch - Python version: 3.7.6 - PyTorch version (GPU?): 1.9.0 no GPU - Using GPU in scr...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12659/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12659/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12658
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12658/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12658/comments
https://api.github.com/repos/huggingface/transformers/issues/12658/events
https://github.com/huggingface/transformers/issues/12658
942,169,563
MDU6SXNzdWU5NDIxNjk1NjM=
12,658
Autotokenizer error "Already borrowed" when used on thread pool
{ "login": "Warra07", "id": 19632982, "node_id": "MDQ6VXNlcjE5NjMyOTgy", "avatar_url": "https://avatars.githubusercontent.com/u/19632982?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Warra07", "html_url": "https://github.com/Warra07", "followers_url": "https://api.github.com/users/Warra0...
[]
closed
false
null
[]
[ "Duplicate of https://github.com/huggingface/tokenizers/issues/537", "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](h...
1,626
1,629
1,629
NONE
null
## Environment info - `transformers` version: 4.8.2 - Platform: Databricks - Python version: 3.7.10 - PyTorch version (GPU?): GPU - Using GPU in script?: No - Using distributed or parallel set-up in script?: Yes ## Information Model I am using : camembert-base: The problem arises when i try to use a toke...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12658/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12658/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12657
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12657/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12657/comments
https://api.github.com/repos/huggingface/transformers/issues/12657/events
https://github.com/huggingface/transformers/pull/12657
942,161,672
MDExOlB1bGxSZXF1ZXN0Njg3OTI4NzE5
12,657
Remove SageMaker documentation
{ "login": "philschmid", "id": 32632186, "node_id": "MDQ6VXNlcjMyNjMyMTg2", "avatar_url": "https://avatars.githubusercontent.com/u/32632186?v=4", "gravatar_id": "", "url": "https://api.github.com/users/philschmid", "html_url": "https://github.com/philschmid", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[]
1,626
1,626
1,626
MEMBER
null
# What does this PR do? This PRs removes the SageMaker documentation from huggingface.co/transformers since there is a new documentation of hf.co/docs/sagemaker. Not sure if the deprecation "warning" should be displayed or just a comment for us. What do you think?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12657/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12657/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12657", "html_url": "https://github.com/huggingface/transformers/pull/12657", "diff_url": "https://github.com/huggingface/transformers/pull/12657.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12657.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12656
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12656/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12656/comments
https://api.github.com/repos/huggingface/transformers/issues/12656/events
https://github.com/huggingface/transformers/pull/12656
942,146,511
MDExOlB1bGxSZXF1ZXN0Njg3OTE1NTM4
12,656
Pipeline should be agnostic
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Nice catch !" ]
1,626
1,626
1,626
MEMBER
null
The pipeline test was PyTorch only when ran on both PT and TF, the slow test was failing.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12656/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12656/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12656", "html_url": "https://github.com/huggingface/transformers/pull/12656", "diff_url": "https://github.com/huggingface/transformers/pull/12656.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12656.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12655
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12655/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12655/comments
https://api.github.com/repos/huggingface/transformers/issues/12655/events
https://github.com/huggingface/transformers/pull/12655
942,129,431
MDExOlB1bGxSZXF1ZXN0Njg3OTAxMTA1
12,655
**encode_plus() shouldn't run for W2V2CTC
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Indeed, there was a typo. Thanks!" ]
1,626
1,626
1,626
MEMBER
null
The W2V2CTC shouldn't be used to create the input values for W2V2, so the output of `encode_plus` shouldn't be used as raw input for the model.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12655/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12655/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12655", "html_url": "https://github.com/huggingface/transformers/pull/12655", "diff_url": "https://github.com/huggingface/transformers/pull/12655.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12655.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12654
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12654/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12654/comments
https://api.github.com/repos/huggingface/transformers/issues/12654/events
https://github.com/huggingface/transformers/pull/12654
942,117,454
MDExOlB1bGxSZXF1ZXN0Njg3ODkwOTgw
12,654
Pickle auto 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,626
1,626
1,626
COLLABORATOR
null
# What does this PR do? The auto-generated classes for the Auto models are not picklable, because they are dynamically generated (so pickle can't trace them properly). This PR changes a little bit the way to create the Auto classes in each of their modeling files like proper classes, then update them to add the righ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12654/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12654/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12654", "html_url": "https://github.com/huggingface/transformers/pull/12654", "diff_url": "https://github.com/huggingface/transformers/pull/12654.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12654.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12653
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12653/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12653/comments
https://api.github.com/repos/huggingface/transformers/issues/12653/events
https://github.com/huggingface/transformers/pull/12653
942,093,952
MDExOlB1bGxSZXF1ZXN0Njg3ODcwNTUy
12,653
[WIP] Patch BigBird tokenization test
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Hey @LysandreJik,\r\n\r\nEven original tokenizer is not introducing space before `[MASK]`, so I think tokenizer is alright & the test is wrong instead.\r\n\r\n```\r\nwget https://huggingface.co/google/bigbird-roberta-base/resolve/main/spiece.model\r\ns = spm.SentencePieceProcessor(model_file='spiece.model')\r\ns.d...
1,626
1,626
1,626
MEMBER
null
This patches the BigBird integration test. The core of the issue is that the `[MASK]` token is an `AddedToken` with `lstrip=True`. It, therefore, gobbles up the spaces on the left without getting a sentence piece underline. Therefore, when decoding, the internal sentence piece tokenizer is unaware that it should ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12653/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/12653/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12653", "html_url": "https://github.com/huggingface/transformers/pull/12653", "diff_url": "https://github.com/huggingface/transformers/pull/12653.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12653.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12652
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12652/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12652/comments
https://api.github.com/repos/huggingface/transformers/issues/12652/events
https://github.com/huggingface/transformers/pull/12652
942,069,940
MDExOlB1bGxSZXF1ZXN0Njg3ODQ5OTE1
12,652
Fix transfo xl integration test
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[]
1,626
1,626
1,626
MEMBER
null
Skipping test until https://github.com/huggingface/transformers/issues/12651 is resolved
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12652/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12652/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12652", "html_url": "https://github.com/huggingface/transformers/pull/12652", "diff_url": "https://github.com/huggingface/transformers/pull/12652.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12652.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12651
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12651/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12651/comments
https://api.github.com/repos/huggingface/transformers/issues/12651/events
https://github.com/huggingface/transformers/issues/12651
942,064,650
MDU6SXNzdWU5NDIwNjQ2NTA=
12,651
TF TransfoXL doesn't work with the `generate` method
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "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,626
1,629
1,629
MEMBER
null
The TF TransfoXL model does not output `logits` but `prediction_scores` which are different due to the `AdaptiveEmbedding`. The TF version of `generate` requires the `logits` to be output, therefore the model doesn't work with the `generate` method.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12651/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12651/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12650
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12650/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12650/comments
https://api.github.com/repos/huggingface/transformers/issues/12650/events
https://github.com/huggingface/transformers/pull/12650
942,058,374
MDExOlB1bGxSZXF1ZXN0Njg3ODQwMjc5
12,650
The extended trainer tests should require torch
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[]
1,626
1,626
1,626
MEMBER
null
The extended trainer tests have no global torch requirements. Some tests have no decorator at all and therefore get run in the TF CI, failing because of a lack of PyTorch. This adds a requirement for torch for all extended trainer tests.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12650/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/12650/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12650", "html_url": "https://github.com/huggingface/transformers/pull/12650", "diff_url": "https://github.com/huggingface/transformers/pull/12650.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12650.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12649
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12649/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12649/comments
https://api.github.com/repos/huggingface/transformers/issues/12649/events
https://github.com/huggingface/transformers/pull/12649
942,035,337
MDExOlB1bGxSZXF1ZXN0Njg3ODIwNDM5
12,649
Skip TestMarian_MT_EN
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[]
1,626
1,626
1,626
MEMBER
null
Skip the test until #12647 is resolved.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12649/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12649/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12649", "html_url": "https://github.com/huggingface/transformers/pull/12649", "diff_url": "https://github.com/huggingface/transformers/pull/12649.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12649.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12648
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12648/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12648/comments
https://api.github.com/repos/huggingface/transformers/issues/12648/events
https://github.com/huggingface/transformers/issues/12648
942,015,054
MDU6SXNzdWU5NDIwMTUwNTQ=
12,648
Inconsistency between the tokenization of `CLIPTokenizer` and `CLIPTokenizerFast` with `openai/clip-vit-base-patch32`
{ "login": "SaulLu", "id": 55560583, "node_id": "MDQ6VXNlcjU1NTYwNTgz", "avatar_url": "https://avatars.githubusercontent.com/u/55560583?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SaulLu", "html_url": "https://github.com/SaulLu", "followers_url": "https://api.github.com/users/SaulLu/fo...
[ { "id": 2796628563, "node_id": "MDU6TGFiZWwyNzk2NjI4NTYz", "url": "https://api.github.com/repos/huggingface/transformers/labels/WIP", "name": "WIP", "color": "234C99", "default": false, "description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro...
open
false
{ "login": "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...
[ "Great catch! \r\nIndeed, this is not normal. Feel free to give it a try to fix this as I won't be able to assign time for it this week, thanks :) ", "3 issues that are causing this in-consistency\r\n\r\n- The fast tokenizer was using `ByteLevel` `decoder ` which was not removing the end of word suffix `</w>`. Us...
1,626
1,691
null
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.8.2 - Platform: Linux-5.4.104+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.10 - PyTorch version ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12648/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12648/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/12647
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12647/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12647/comments
https://api.github.com/repos/huggingface/transformers/issues/12647/events
https://github.com/huggingface/transformers/issues/12647
942,006,117
MDU6SXNzdWU5NDIwMDYxMTc=
12,647
`TestMarian_MT_EN::test_batch_generation_mt_en` Failing due to randomly generated tokens
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[ { "id": 2796628563, "node_id": "MDU6TGFiZWwyNzk2NjI4NTYz", "url": "https://api.github.com/repos/huggingface/transformers/labels/WIP", "name": "WIP", "color": "234C99", "default": false, "description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro...
open
false
{ "login": "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"...
[ "Traced back to this commit: https://github.com/huggingface/transformers/commit/184ef8ecd05ac783827b196e8d15403820efedf9\r\n\r\nI suspect there is a difference between the upload TF and PT checkpoints", "It seems there's a single difference in the final logits bias:\r\n\r\n```py\r\nimport torch\r\nfrom transforme...
1,626
1,631
null
MEMBER
null
The test fails with the following: ``` _________________ TestMarian_MT_EN.test_batch_generation_mt_en _________________ [gw0] linux -- Python 3.6.9 /usr/local/bin/python self = <tests.test_modeling_tf_marian.TestMarian_MT_EN testMethod=test_batch_generation_mt_en> @slow def test_batch_generation_mt_...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12647/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12647/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/12646
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12646/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12646/comments
https://api.github.com/repos/huggingface/transformers/issues/12646/events
https://github.com/huggingface/transformers/pull/12646
941,996,644
MDExOlB1bGxSZXF1ZXN0Njg3Nzg3NDIz
12,646
Fixed docs
{ "login": "KickItLikeShika", "id": 54319724, "node_id": "MDQ6VXNlcjU0MzE5NzI0", "avatar_url": "https://avatars.githubusercontent.com/u/54319724?v=4", "gravatar_id": "", "url": "https://api.github.com/users/KickItLikeShika", "html_url": "https://github.com/KickItLikeShika", "followers_url": "https://api...
[]
closed
false
null
[]
[]
1,626
1,626
1,626
CONTRIBUTOR
null
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [ ] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md#start-contributing-pull-requests), Pull Request section? - [ ] Was this discussed/app...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12646/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12646/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12646", "html_url": "https://github.com/huggingface/transformers/pull/12646", "diff_url": "https://github.com/huggingface/transformers/pull/12646.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12646.patch", "merged_at...