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/12344 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12344/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12344/comments | https://api.github.com/repos/huggingface/transformers/issues/12344/events | https://github.com/huggingface/transformers/pull/12344 | 929,565,854 | MDExOlB1bGxSZXF1ZXN0Njc3Mzk3NDI2 | 12,344 | Update run_mlm.py | {
"login": "TahaAslani",
"id": 47432410,
"node_id": "MDQ6VXNlcjQ3NDMyNDEw",
"avatar_url": "https://avatars.githubusercontent.com/u/47432410?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TahaAslani",
"html_url": "https://github.com/TahaAslani",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Anytime! Thanks for accepting it!"
] | 1,624 | 1,624 | 1,624 | CONTRIBUTOR | null | Before the code could not be used for validation only because of this line:
extension = data_args.train_file.split(".")[-1]
was assuming that extension must be extracted from the training dataset. This line would run regardless of the training or validation options of the user. This would lead to an error if the user... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12344/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12344/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12344",
"html_url": "https://github.com/huggingface/transformers/pull/12344",
"diff_url": "https://github.com/huggingface/transformers/pull/12344.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12344.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12343 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12343/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12343/comments | https://api.github.com/repos/huggingface/transformers/issues/12343/events | https://github.com/huggingface/transformers/pull/12343 | 929,155,016 | MDExOlB1bGxSZXF1ZXN0Njc3MDQ5MTM4 | 12,343 | [trainer] fix label smoothing for default compute_loss | {
"login": "kolakows",
"id": 34172905,
"node_id": "MDQ6VXNlcjM0MTcyOTA1",
"avatar_url": "https://avatars.githubusercontent.com/u/34172905?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kolakows",
"html_url": "https://github.com/kolakows",
"followers_url": "https://api.github.com/users/kol... | [] | closed | false | null | [] | [
"No, if you leave the labels in the outputs, the model will then compute the loss without label smoothing which is inefficient (since it will re-compute the proper loss afterwards).",
"Oh you are right, I guess I was overeager with the PR, sorry.\r\n\r\nAfter looking more into the way arguments are passed to forw... | 1,624 | 1,624 | 1,624 | NONE | null | # What does this PR do?
Keeps 'labels' in the inputs which are passed to model.
Without this change, the model I'm using (PegasusForConditionalGeneration) can't calculate loss and generate outputs. Change assumes that all other models also need 'labels' in inputs.
<!--
Congratulations! You've made it this far... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12343/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12343/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12343",
"html_url": "https://github.com/huggingface/transformers/pull/12343",
"diff_url": "https://github.com/huggingface/transformers/pull/12343.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12343.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12342 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12342/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12342/comments | https://api.github.com/repos/huggingface/transformers/issues/12342/events | https://github.com/huggingface/transformers/pull/12342 | 929,092,108 | MDExOlB1bGxSZXF1ZXN0Njc2OTk2NTg5 | 12,342 | Add flax/jax quickstart | {
"login": "marcvanzee",
"id": 180100,
"node_id": "MDQ6VXNlcjE4MDEwMA==",
"avatar_url": "https://avatars.githubusercontent.com/u/180100?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/marcvanzee",
"html_url": "https://github.com/marcvanzee",
"followers_url": "https://api.github.com/users/m... | [] | closed | false | null | [] | [] | 1,624 | 1,624 | 1,624 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12342/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12342/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12342",
"html_url": "https://github.com/huggingface/transformers/pull/12342",
"diff_url": "https://github.com/huggingface/transformers/pull/12342.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12342.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12341 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12341/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12341/comments | https://api.github.com/repos/huggingface/transformers/issues/12341/events | https://github.com/huggingface/transformers/pull/12341 | 929,086,780 | MDExOlB1bGxSZXF1ZXN0Njc2OTkyMDEz | 12,341 | [examples/Flax] move the examples table up | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,624 | 1,624 | 1,624 | MEMBER | null | # What does this PR do?
move the examples table up in the readme | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12341/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12341/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12341",
"html_url": "https://github.com/huggingface/transformers/pull/12341",
"diff_url": "https://github.com/huggingface/transformers/pull/12341.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12341.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12340 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12340/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12340/comments | https://api.github.com/repos/huggingface/transformers/issues/12340/events | https://github.com/huggingface/transformers/pull/12340 | 929,086,206 | MDExOlB1bGxSZXF1ZXN0Njc2OTkxNTEz | 12,340 | [Flax] Move up examples | {
"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 | [] | [
"Closing - I was too slow :-/"
] | 1,624 | 1,651 | 1,624 | 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/12340/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12340/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12340",
"html_url": "https://github.com/huggingface/transformers/pull/12340",
"diff_url": "https://github.com/huggingface/transformers/pull/12340.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12340.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12339 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12339/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12339/comments | https://api.github.com/repos/huggingface/transformers/issues/12339/events | https://github.com/huggingface/transformers/issues/12339 | 929,072,405 | MDU6SXNzdWU5MjkwNzI0MDU= | 12,339 | How to get offset mapping then decoding wav2vec? | {
"login": "hadaev8",
"id": 20247085,
"node_id": "MDQ6VXNlcjIwMjQ3MDg1",
"avatar_url": "https://avatars.githubusercontent.com/u/20247085?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hadaev8",
"html_url": "https://github.com/hadaev8",
"followers_url": "https://api.github.com/users/hadaev... | [] | 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,624 | 1,627 | 1,627 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12339/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12339/timeline | completed | null | null | |
https://api.github.com/repos/huggingface/transformers/issues/12338 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12338/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12338/comments | https://api.github.com/repos/huggingface/transformers/issues/12338/events | https://github.com/huggingface/transformers/pull/12338 | 928,948,927 | MDExOlB1bGxSZXF1ZXN0Njc2ODc1ODEy | 12,338 | [ray] try fixing import error | {
"login": "richardliaw",
"id": 4529381,
"node_id": "MDQ6VXNlcjQ1MjkzODE=",
"avatar_url": "https://avatars.githubusercontent.com/u/4529381?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/richardliaw",
"html_url": "https://github.com/richardliaw",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [] | 1,624 | 1,624 | 1,624 | COLLABORATOR | null | # What does this PR do?
Addresses a tabulate import error for Ray Tune integration.
<!--
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 yo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12338/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12338/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12338",
"html_url": "https://github.com/huggingface/transformers/pull/12338",
"diff_url": "https://github.com/huggingface/transformers/pull/12338.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12338.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12337 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12337/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12337/comments | https://api.github.com/repos/huggingface/transformers/issues/12337/events | https://github.com/huggingface/transformers/issues/12337 | 928,907,417 | MDU6SXNzdWU5Mjg5MDc0MTc= | 12,337 | ValueError: expected sequence of length 133 at dim 1 (got 80) | {
"login": "keloemma",
"id": 40454218,
"node_id": "MDQ6VXNlcjQwNDU0MjE4",
"avatar_url": "https://avatars.githubusercontent.com/u/40454218?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/keloemma",
"html_url": "https://github.com/keloemma",
"followers_url": "https://api.github.com/users/kel... | [] | 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,624 | 1,627 | 1,627 | 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.0
- Platform:
- Python version:
- PyTorch version (GPU?): 1.5.0
- Tensorflow version (GPU?):
- Using G... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12337/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12337/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12336 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12336/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12336/comments | https://api.github.com/repos/huggingface/transformers/issues/12336/events | https://github.com/huggingface/transformers/pull/12336 | 928,862,237 | MDExOlB1bGxSZXF1ZXN0Njc2ODAyNjY1 | 12,336 | Fix torchscript 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 | [] | [] | 1,624 | 1,624 | 1,624 | MEMBER | null | With the new non persistent buffers, the TorchScript tests fail. This PR updates the TorchScript tests to allow for non-persistent buffers. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12336/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12336/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12336",
"html_url": "https://github.com/huggingface/transformers/pull/12336",
"diff_url": "https://github.com/huggingface/transformers/pull/12336.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12336.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12335 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12335/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12335/comments | https://api.github.com/repos/huggingface/transformers/issues/12335/events | https://github.com/huggingface/transformers/pull/12335 | 928,807,677 | MDExOlB1bGxSZXF1ZXN0Njc2NzU2NTY4 | 12,335 | [WIP] FNet | {
"login": "gchhablani",
"id": 29076344,
"node_id": "MDQ6VXNlcjI5MDc2MzQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/29076344?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gchhablani",
"html_url": "https://github.com/gchhablani",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,624 | 1,628 | 1,628 | CONTRIBUTOR | null | This PR adds FNet in PyTorch.
- Paper: https://arxiv.org/pdf/2105.03824v2.pdf
- Code and Checkpoints: https://github.com/google-research/google-research/tree/master/f_net
- Authors: @jtainslie @ilyaeck @santiaontanon-google
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12335/reactions",
"total_count": 4,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 4,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12335/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12335",
"html_url": "https://github.com/huggingface/transformers/pull/12335",
"diff_url": "https://github.com/huggingface/transformers/pull/12335.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12335.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12334 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12334/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12334/comments | https://api.github.com/repos/huggingface/transformers/issues/12334/events | https://github.com/huggingface/transformers/pull/12334 | 928,752,454 | MDExOlB1bGxSZXF1ZXN0Njc2NzExNjcy | 12,334 | Add additional variables without shape | {
"login": "MadhumitaSushil",
"id": 8028802,
"node_id": "MDQ6VXNlcjgwMjg4MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/8028802?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MadhumitaSushil",
"html_url": "https://github.com/MadhumitaSushil",
"followers_url": "https://api.g... | [] | closed | false | null | [] | [
"Hi, thanks for opening a PR!\r\n\r\nCould you run `make fixup` at the root of your clone to apply to code quality fixes?",
"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 is... | 1,624 | 1,627 | 1,627 | NONE | null | These additional training variables without shape are present in the NVIDIA implementation for training BERT models: https://github.com/NVIDIA/DeepLearningExamples/tree/master/TensorFlow/LanguageModeling/BERT . The conversion works as expected after this change.
# What does this PR do?
<!--
Congratulations! You'... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12334/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12334/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12334",
"html_url": "https://github.com/huggingface/transformers/pull/12334",
"diff_url": "https://github.com/huggingface/transformers/pull/12334.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12334.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12333 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12333/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12333/comments | https://api.github.com/repos/huggingface/transformers/issues/12333/events | https://github.com/huggingface/transformers/issues/12333 | 928,746,062 | MDU6SXNzdWU5Mjg3NDYwNjI= | 12,333 | Missing tokenizer_class for `mbart-large-50-many-to-one-mmt` model | {
"login": "Mehrad0711",
"id": 28717374,
"node_id": "MDQ6VXNlcjI4NzE3Mzc0",
"avatar_url": "https://avatars.githubusercontent.com/u/28717374?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Mehrad0711",
"html_url": "https://github.com/Mehrad0711",
"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... | [
"Good catch @Mehrad0711 ! Thank you for reporting this. I just fixed it https://huggingface.co/facebook/mbart-large-50-many-to-one-mmt/blob/main/config.json"
] | 1,624 | 1,624 | 1,624 | CONTRIBUTOR | null | Hi @patil-suraj,
I noticed all `mbart-50` models have their tokenizer_class set to "MBart50Tokenizer" in their config file except for `mbart-large-50-many-to-one-mmt`. This causes the wrong tokenizer to be loaded for this model (`tokenization_mbart` instead of `tokenization_mbart50`). Please check. Thanks! | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12333/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12333/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12332 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12332/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12332/comments | https://api.github.com/repos/huggingface/transformers/issues/12332/events | https://github.com/huggingface/transformers/pull/12332 | 928,677,675 | MDExOlB1bGxSZXF1ZXN0Njc2NjQ4MTU0 | 12,332 | Cast logits from bf16 to fp32 at the end of TF_T5 | {
"login": "szutenberg",
"id": 37601244,
"node_id": "MDQ6VXNlcjM3NjAxMjQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/37601244?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/szutenberg",
"html_url": "https://github.com/szutenberg",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"cc @Rocketknight1 ",
"Hey! Firstly, good catch with this issue - this seems like a good PR. Two questions before we merge it, though:\r\n\r\n- You tested with tensorflow-cpu - I'm guessing this means you were running on TPU, correct? (It's not like most CPUs support `bfloat16`, after all)\r\n- The code only chec... | 1,624 | 1,628 | 1,628 | CONTRIBUTOR | null | # What does this PR do?
This change enables tf.keras.mixed_precision with bf16
I found that T5 model does not follow the [official TF guidelines regarding mixed precision](https://www.tensorflow.org/guide/mixed_precision). Therefore it's impossible to use
`tf.keras.mixed_precision.set_global_policy('mixed_bfloa... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12332/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12332/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12332",
"html_url": "https://github.com/huggingface/transformers/pull/12332",
"diff_url": "https://github.com/huggingface/transformers/pull/12332.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12332.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12331 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12331/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12331/comments | https://api.github.com/repos/huggingface/transformers/issues/12331/events | https://github.com/huggingface/transformers/issues/12331 | 928,674,521 | MDU6SXNzdWU5Mjg2NzQ1MjE= | 12,331 | Default Parameters for training DistillBERT and DistillGPT2 | {
"login": "umgupta",
"id": 4678394,
"node_id": "MDQ6VXNlcjQ2NzgzOTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/4678394?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/umgupta",
"html_url": "https://github.com/umgupta",
"followers_url": "https://api.github.com/users/umgupta/... | [] | 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,624 | 1,627 | 1,627 | NONE | null | https://github.com/huggingface/transformers/blob/cf3c9198aad5e2ea02e778aa9b04d27c216d1a35/examples/research_projects/distillation/train.py#L188
Hi @VictorSanh ,
I was going through your distillation code. Can you share what are the most suitable hyperparameters for training Distillation models, mainly DistillGPT... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12331/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12331/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12330 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12330/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12330/comments | https://api.github.com/repos/huggingface/transformers/issues/12330/events | https://github.com/huggingface/transformers/pull/12330 | 928,458,537 | MDExOlB1bGxSZXF1ZXN0Njc2NDU5NzEy | 12,330 | Fixing the pipeline optimization by reindexing targets (V2) | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [] | closed | false | null | [] | [
"@LysandreJik pulled your tests, thanks !",
"Yeah it looks good, thanks!",
"Thanks @guyrosin!"
] | 1,624 | 1,625 | 1,625 | CONTRIBUTOR | null | # What does this PR do?
Linked to #12329
Other version that keeps the scores original (meaning you could have mostly 0.0 for unprobable tokens.
<!--
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... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12330/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12330/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12330",
"html_url": "https://github.com/huggingface/transformers/pull/12330",
"diff_url": "https://github.com/huggingface/transformers/pull/12330.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12330.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12329 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12329/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12329/comments | https://api.github.com/repos/huggingface/transformers/issues/12329/events | https://github.com/huggingface/transformers/pull/12329 | 928,448,930 | MDExOlB1bGxSZXF1ZXN0Njc2NDUxOTMw | 12,329 | Fixing the pipeline optimization by rescaling the logits first. | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [] | closed | false | null | [] | [
"Chosen https://github.com/huggingface/transformers/pull/12330 instead"
] | 1,624 | 1,625 | 1,625 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this with a d... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12329/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12329/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12329",
"html_url": "https://github.com/huggingface/transformers/pull/12329",
"diff_url": "https://github.com/huggingface/transformers/pull/12329.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12329.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12328 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12328/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12328/comments | https://api.github.com/repos/huggingface/transformers/issues/12328/events | https://github.com/huggingface/transformers/pull/12328 | 928,438,778 | MDExOlB1bGxSZXF1ZXN0Njc2NDQzNjA0 | 12,328 | UpdateDescription of TrainingArgs param save_strategy | {
"login": "sam-writer",
"id": 47401552,
"node_id": "MDQ6VXNlcjQ3NDAxNTUy",
"avatar_url": "https://avatars.githubusercontent.com/u/47401552?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sam-writer",
"html_url": "https://github.com/sam-writer",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [] | 1,624 | 1,624 | 1,624 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12328/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12328/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12328",
"html_url": "https://github.com/huggingface/transformers/pull/12328",
"diff_url": "https://github.com/huggingface/transformers/pull/12328.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12328.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12327 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12327/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12327/comments | https://api.github.com/repos/huggingface/transformers/issues/12327/events | https://github.com/huggingface/transformers/pull/12327 | 928,417,246 | MDExOlB1bGxSZXF1ZXN0Njc2NDI1Njkz | 12,327 | [Flax T5] Fix weight initialization and fix docs | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"The failing hub test is unrelated IMO"
] | 1,624 | 1,624 | 1,624 | 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/12327/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12327/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12327",
"html_url": "https://github.com/huggingface/transformers/pull/12327",
"diff_url": "https://github.com/huggingface/transformers/pull/12327.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12327.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12326 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12326/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12326/comments | https://api.github.com/repos/huggingface/transformers/issues/12326/events | https://github.com/huggingface/transformers/pull/12326 | 928,410,671 | MDExOlB1bGxSZXF1ZXN0Njc2NDIwMDg0 | 12,326 | Changed modeling_fx_utils.py to utils/fx.py for clarity | {
"login": "michaelbenayoun",
"id": 25418079,
"node_id": "MDQ6VXNlcjI1NDE4MDc5",
"avatar_url": "https://avatars.githubusercontent.com/u/25418079?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/michaelbenayoun",
"html_url": "https://github.com/michaelbenayoun",
"followers_url": "https://api... | [] | closed | false | null | [] | [] | 1,624 | 1,624 | 1,624 | MEMBER | null | Moved **modeling_fx_utils.py** to **utils/fx.py** to make it clear that it is not "modeling_flax_utils.py".
Since there are a modeling_utils.py for PyTorch, and a modeling_tf_utils.py for TensorFlow, modeling_fx_utils.py could be believed to be the Flax counterpart, but it is actually related to the torch.fx feature... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12326/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/12326/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12326",
"html_url": "https://github.com/huggingface/transformers/pull/12326",
"diff_url": "https://github.com/huggingface/transformers/pull/12326.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12326.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12325 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12325/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12325/comments | https://api.github.com/repos/huggingface/transformers/issues/12325/events | https://github.com/huggingface/transformers/issues/12325 | 928,331,614 | MDU6SXNzdWU5MjgzMzE2MTQ= | 12,325 | How to assign gpu when using run_language_modeling.py | {
"login": "lierik",
"id": 50125651,
"node_id": "MDQ6VXNlcjUwMTI1NjUx",
"avatar_url": "https://avatars.githubusercontent.com/u/50125651?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lierik",
"html_url": "https://github.com/lierik",
"followers_url": "https://api.github.com/users/lierik/fo... | [] | closed | false | null | [] | [
"You should be able to control this with the `CUDA_VISIBLE_DEVICES` environment variable. See this [stackoverflow issue](https://stackoverflow.com/questions/39649102/how-do-i-select-which-gpu-to-run-a-job-on) for example",
"> You should be able to control this with the `CUDA_VISIBLE_DEVICES` environment variable.... | 1,624 | 1,627 | 1,627 | 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.7.0
- Platform: Linux n188-182-130 4.14.81.bm.23-amd64
- Python version: 3.7.3
- PyTorch version (GPU?):1.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12325/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12325/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12324 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12324/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12324/comments | https://api.github.com/repos/huggingface/transformers/issues/12324/events | https://github.com/huggingface/transformers/pull/12324 | 928,317,533 | MDExOlB1bGxSZXF1ZXN0Njc2MzM5NDg0 | 12,324 | fill-mask pipeline: fix handling topk() indices | {
"login": "guyrosin",
"id": 1250162,
"node_id": "MDQ6VXNlcjEyNTAxNjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1250162?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/guyrosin",
"html_url": "https://github.com/guyrosin",
"followers_url": "https://api.github.com/users/guyro... | [] | closed | false | null | [] | [
"Hi, thanks for letting us know! We just reverted the PR in the meantime.",
"Fixed by #12330 "
] | 1,624 | 1,625 | 1,625 | CONTRIBUTOR | null | # What does this PR do?
Fixes #12113, where indices in the targets array were used instead of their corresponding token ids.
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [ ] Did you read the [contributor guideline](https://githu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12324/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12324/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12324",
"html_url": "https://github.com/huggingface/transformers/pull/12324",
"diff_url": "https://github.com/huggingface/transformers/pull/12324.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12324.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12323 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12323/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12323/comments | https://api.github.com/repos/huggingface/transformers/issues/12323/events | https://github.com/huggingface/transformers/pull/12323 | 928,266,843 | MDExOlB1bGxSZXF1ZXN0Njc2Mjk1NzUw | 12,323 | Conda build | {
"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 | [] | [
"Will need to rebase this PR on `master` once https://github.com/huggingface/transformers/pull/12187 is merged"
] | 1,624 | 1,624 | 1,624 | MEMBER | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12323/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12323/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12323",
"html_url": "https://github.com/huggingface/transformers/pull/12323",
"diff_url": "https://github.com/huggingface/transformers/pull/12323.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12323.patch",
"merged_at... | |
https://api.github.com/repos/huggingface/transformers/issues/12322 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12322/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12322/comments | https://api.github.com/repos/huggingface/transformers/issues/12322/events | https://github.com/huggingface/transformers/issues/12322 | 928,232,472 | MDU6SXNzdWU5MjgyMzI0NzI= | 12,322 | Generate text with `model.generate` on TPU does not work | {
"login": "stekiri",
"id": 13682691,
"node_id": "MDQ6VXNlcjEzNjgyNjkx",
"avatar_url": "https://avatars.githubusercontent.com/u/13682691?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stekiri",
"html_url": "https://github.com/stekiri",
"followers_url": "https://api.github.com/users/stekir... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | closed | false | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,624 | 1,659 | 1,632 | NONE | null | ## Environment info
- `transformers` version: 4.7.0
- Platform: Linux-5.4.0-1043-gcp-x86_64-with-glibc2.29 (Ubuntu 20.04.2 LTS)
- Python version: 3.8.5
- PyTorch version (GPU?): 1.8.1+cu102 (False)
- PyTorch XLA version: 1.8.1
- Using GPU in script?: No, using TPU
- Using distributed or parallel set-up in script... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12322/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/12322/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12321 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12321/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12321/comments | https://api.github.com/repos/huggingface/transformers/issues/12321/events | https://github.com/huggingface/transformers/pull/12321 | 928,193,015 | MDExOlB1bGxSZXF1ZXN0Njc2MjMxNjM5 | 12,321 | [Proposal] Image segmentation pipeline | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [
{
"id": 1771187924,
"node_id": "MDU6TGFiZWwxNzcxMTg3OTI0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Core:%20Pipeline",
"name": "Core: Pipeline",
"color": "FF7066",
"default": false,
"description": "Internals of the library; Pipeline."
}
] | closed | false | null | [] | [
"@NielsRogge can you give this pipeline a look when you get a chance?",
"Thanks for this proposal! So the output of the API would be `[{mask, score, label}, ...]`, right? And the shape of `mask` is (height, width)?\r\n\r\nI wonder whether this can support any image segmentation model. I'm currently working on imp... | 1,624 | 1,630 | 1,630 | CONTRIBUTOR | null | # What does this PR do?
- Currently very low-level results, simply classification masks + score
+ label for each detected class
- Could support panoptic, instance segmentation, bounding boxes and even
part of instance segmentation (might require adding the "parent" info in
addition but that's about it.)
- Happy to hear... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12321/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12321/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12321",
"html_url": "https://github.com/huggingface/transformers/pull/12321",
"diff_url": "https://github.com/huggingface/transformers/pull/12321.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12321.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12320 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12320/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12320/comments | https://api.github.com/repos/huggingface/transformers/issues/12320/events | https://github.com/huggingface/transformers/pull/12320 | 928,018,762 | MDExOlB1bGxSZXF1ZXN0Njc2MDg0ODY5 | 12,320 | Add mention of the huggingface_hub methods for offline mode | {
"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 | [] | [
"You mean the environment variable mentioned 10 lines above?",
"Lol, it was not showing in the diff, in my defense ;-) \r\nThanks for adding this!"
] | 1,624 | 1,624 | 1,624 | MEMBER | null | Adding mention of the `huggingface_hub` for offline mode | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12320/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12320/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12320",
"html_url": "https://github.com/huggingface/transformers/pull/12320",
"diff_url": "https://github.com/huggingface/transformers/pull/12320.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12320.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12319 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12319/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12319/comments | https://api.github.com/repos/huggingface/transformers/issues/12319/events | https://github.com/huggingface/transformers/issues/12319 | 927,958,901 | MDU6SXNzdWU5Mjc5NTg5MDE= | 12,319 | `fill-mask` pipeline cannot load tokenizer's `config.json` (fixed in 4.8.0) | {
"login": "rspreafico-absci",
"id": 83304116,
"node_id": "MDQ6VXNlcjgzMzA0MTE2",
"avatar_url": "https://avatars.githubusercontent.com/u/83304116?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rspreafico-absci",
"html_url": "https://github.com/rspreafico-absci",
"followers_url": "https://... | [] | closed | false | null | [] | [
"The config it asks for is the model config, not the tokenizer config. The fact the tokenizer can be loaded independently of the model has been fixed recently, so you should try on a source install.",
"I will try with a source install, however the error message says that the `config.json` file is missing from the... | 1,624 | 1,651 | 1,624 | NONE | null | ## Environment info
- `transformers` version: 4.7.0
- Platform: Linux-5.4.0-74-generic-x86_64-with-glibc2.31
- Python version: 3.9.5
- PyTorch version (GPU?): 1.9.0+cu111 (True)
- Tensorflow version (GPU?): not installed (NA)
- Using GPU in script?: Yes
- Using distributed or parallel set-up in script?: No
##... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12319/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12319/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12318 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12318/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12318/comments | https://api.github.com/repos/huggingface/transformers/issues/12318/events | https://github.com/huggingface/transformers/issues/12318 | 927,920,402 | MDU6SXNzdWU5Mjc5MjA0MDI= | 12,318 | Downloading the models is getting slower than before | {
"login": "stepbystep88",
"id": 47015435,
"node_id": "MDQ6VXNlcjQ3MDE1NDM1",
"avatar_url": "https://avatars.githubusercontent.com/u/47015435?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stepbystep88",
"html_url": "https://github.com/stepbystep88",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Nothing changed on our side.\r\n\r\nCan you paste the output of e.g. `wget -O /dev/null https://huggingface.co/bert-base-uncased/resolve/main/pytorch_model.bin`?",
"\r\n\r\nOf course, please check the a... | 1,624 | 1,627 | 1,627 | NONE | null |
Downloading the models (using the **model.pre_trained('')** function) is getting slower than before, now the download speed is stable at 1MB/s, but it could reach 10MB/s a month ago.
I wonder if the official limits the download speed, please let me know if so.
Thanks for your supports. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12318/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12318/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12317 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12317/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12317/comments | https://api.github.com/repos/huggingface/transformers/issues/12317/events | https://github.com/huggingface/transformers/issues/12317 | 927,862,132 | MDU6SXNzdWU5Mjc4NjIxMzI= | 12,317 | Tokenizer's normalization preprocessor cause misalignment in return_offsets_mapping for tokenizer classification task | {
"login": "jerryIsHere",
"id": 50871412,
"node_id": "MDQ6VXNlcjUwODcxNDEy",
"avatar_url": "https://avatars.githubusercontent.com/u/50871412?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jerryIsHere",
"html_url": "https://github.com/jerryIsHere",
"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,624 | 1,627 | 1,627 | NONE | null | ## Environment info
- `transformers` version: 4.6.0
- Platform: Linux-5.4.104+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.10
- PyTorch version (GPU?): 1.8.1+cu102 (False)
- Tensorflow version (GPU?): 2.5.0 (False)
- Using GPU in script?: not relevant
- Using distributed or parallel set-up in script?: ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12317/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12317/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12316 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12316/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12316/comments | https://api.github.com/repos/huggingface/transformers/issues/12316/events | https://github.com/huggingface/transformers/pull/12316 | 927,714,786 | MDExOlB1bGxSZXF1ZXN0Njc1ODI3NjM1 | 12,316 | [models] respect dtype of the model when instantiating it | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [
"@sgugger, where should we document the functionality added by this PR? (besides the API).",
"ok, this should be good to go.",
"Yes, it looks great!",
"Great work @stas00, this is really useful!"
] | 1,624 | 1,629 | 1,624 | CONTRIBUTOR | null | update for future readers - the initially proposed API has changed through the process of review, so below is slightly autodated, e.g. there is no `torch_dtype_auto_detect`, but `torch_dtype=auto`.
----------------
This PR resolves the issue discussed in https://github.com/huggingface/transformers/issues/12062.
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12316/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12316/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12316",
"html_url": "https://github.com/huggingface/transformers/pull/12316",
"diff_url": "https://github.com/huggingface/transformers/pull/12316.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12316.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12315 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12315/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12315/comments | https://api.github.com/repos/huggingface/transformers/issues/12315/events | https://github.com/huggingface/transformers/issues/12315 | 927,659,941 | MDU6SXNzdWU5Mjc2NTk5NDE= | 12,315 | Model is saved every eval_steps steps if eval_steps < save_steps. Is this expected behavior? | {
"login": "sam-writer",
"id": 47401552,
"node_id": "MDQ6VXNlcjQ3NDAxNTUy",
"avatar_url": "https://avatars.githubusercontent.com/u/47401552?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sam-writer",
"html_url": "https://github.com/sam-writer",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"You can't have different evaluation and save intervals when using `load_best_model_at_end=True` (save need to be synchronized with evaluation otherwise we can't keep track of the best model). Remove that option and you will have the evaluation and save disconnected as requested.",
"Thank you, that makes sense.\r... | 1,624 | 1,624 | 1,624 | 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.6.1
- Platform: macOS-10.16-x86_64-i386-64bit
- Python version: 3.8.5
- PyTorch version (GPU?): 1.7.1 (Fal... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12315/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12315/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12314 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12314/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12314/comments | https://api.github.com/repos/huggingface/transformers/issues/12314/events | https://github.com/huggingface/transformers/pull/12314 | 927,647,502 | MDExOlB1bGxSZXF1ZXN0Njc1NzcxMDky | 12,314 | Add all XxxPreTrainedModel to the main init | {
"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,624 | 1,624 | 1,624 | COLLABORATOR | null | # What does this PR do?
This PR adds all XxxPreTrainedModel classes to the main init, making them public, and more generally, adds a CI quality check to make sure every object in the modeling files that is a subclass of `PreTrainedModel`, `TFPreTrainedModel` or `FlaxPreTrainedModel` is public (except the Encoder, De... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12314/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12314/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12314",
"html_url": "https://github.com/huggingface/transformers/pull/12314",
"diff_url": "https://github.com/huggingface/transformers/pull/12314.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12314.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12313 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12313/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12313/comments | https://api.github.com/repos/huggingface/transformers/issues/12313/events | https://github.com/huggingface/transformers/pull/12313 | 927,598,846 | MDExOlB1bGxSZXF1ZXN0Njc1NzMwNTc0 | 12,313 | FlaxBartPretrainedModel -> FlaxBartPreTrainedModel | {
"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,624 | 1,624 | 1,624 | COLLABORATOR | null | # What does this PR do?
All is said in the description. I think it's fine to fix for now without backward compatibility as this is a private class and we did not officially release the Flax models yet. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12313/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12313/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12313",
"html_url": "https://github.com/huggingface/transformers/pull/12313",
"diff_url": "https://github.com/huggingface/transformers/pull/12313.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12313.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12312 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12312/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12312/comments | https://api.github.com/repos/huggingface/transformers/issues/12312/events | https://github.com/huggingface/transformers/pull/12312 | 927,545,409 | MDExOlB1bGxSZXF1ZXN0Njc1Njg2MjU5 | 12,312 | Add possibility to maintain full copies of 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 | [] | [] | 1,624 | 1,624 | 1,624 | COLLABORATOR | null | # What does this PR do?
#12252 introduced a file that is a full copy of another file. This PR adds to the existing `check_copies` util script the ability to make sure those copies stay in sync, with a check in `make quality` and an update with `make fix-copies`. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12312/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12312/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12312",
"html_url": "https://github.com/huggingface/transformers/pull/12312",
"diff_url": "https://github.com/huggingface/transformers/pull/12312.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12312.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12311 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12311/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12311/comments | https://api.github.com/repos/huggingface/transformers/issues/12311/events | https://github.com/huggingface/transformers/pull/12311 | 927,493,421 | MDExOlB1bGxSZXF1ZXN0Njc1NjQzNjQ0 | 12,311 | [Flax/JAX] Add how to propose projects markdown | {
"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,624 | 1,624 | 1,624 | MEMBER | null | # What does this PR do?
This PR adds a HOW-TO to propose projects in JAX/Flax. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12311/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12311/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12311",
"html_url": "https://github.com/huggingface/transformers/pull/12311",
"diff_url": "https://github.com/huggingface/transformers/pull/12311.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12311.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12310 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12310/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12310/comments | https://api.github.com/repos/huggingface/transformers/issues/12310/events | https://github.com/huggingface/transformers/issues/12310 | 927,483,311 | MDU6SXNzdWU5Mjc0ODMzMTE= | 12,310 | New `--log_level` feature introduces failures using 'passive' mode | {
"login": "allenwang28",
"id": 9057208,
"node_id": "MDQ6VXNlcjkwNTcyMDg=",
"avatar_url": "https://avatars.githubusercontent.com/u/9057208?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/allenwang28",
"html_url": "https://github.com/allenwang28",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"Thank you for the report, it will be fixed shortly via https://github.com/huggingface/transformers/pull/12309\r\n\r\nI'm just working on a test - need another 10min or so",
"Thank you for fixing this so quickly!"
] | 1,624 | 1,624 | 1,624 | 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: `nightly`
- Platform: PyTorch
- Python version: 3.6
- PyTorch version (GPU?): TPU
- Tensorflow version (GPU... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12310/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12310/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12309 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12309/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12309/comments | https://api.github.com/repos/huggingface/transformers/issues/12309/events | https://github.com/huggingface/transformers/pull/12309 | 927,425,658 | MDExOlB1bGxSZXF1ZXN0Njc1NTg2MjE0 | 12,309 | [trainer] 2 bug fixes and a rename | {
"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,624 | 1,624 | 1,624 | CONTRIBUTOR | null | Fixes a bug in https://github.com/huggingface/transformers/pull/12257 and https://github.com/huggingface/transformers/pull/12276 and renames the function in the latter and adds a docstring.
Also added an extended DDP test to tests `log_level_replica`.
Fixes: https://github.com/huggingface/transformers/issues/1231... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12309/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12309/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12309",
"html_url": "https://github.com/huggingface/transformers/pull/12309",
"diff_url": "https://github.com/huggingface/transformers/pull/12309.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12309.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12308 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12308/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12308/comments | https://api.github.com/repos/huggingface/transformers/issues/12308/events | https://github.com/huggingface/transformers/issues/12308 | 927,406,143 | MDU6SXNzdWU5Mjc0MDYxNDM= | 12,308 | odd whitespace handling with imported sentencepiece models | {
"login": "tlby",
"id": 3189927,
"node_id": "MDQ6VXNlcjMxODk5Mjc=",
"avatar_url": "https://avatars.githubusercontent.com/u/3189927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tlby",
"html_url": "https://github.com/tlby",
"followers_url": "https://api.github.com/users/tlby/followers",
... | [
{
"id": 1834056635,
"node_id": "MDU6TGFiZWwxODM0MDU2NjM1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Core:%20Tokenization",
"name": "Core: Tokenization",
"color": "FF4446",
"default": false,
"description": "Internals of the library; Tokenization."
}
] | closed | false | null | [] | [
"`spm.SentencePieceTrainer` and `ReformerTokenizerFast` are not the same tokenizers, so it's not unusual that each of them outputs different results.\r\nHowever, I'm not sure how the two tokenizers are different. It's because of the lack of my knowledge.\r\n\r\nRegarding the difference between `ReformerTokenizerFas... | 1,624 | 1,629 | 1,629 | CONTRIBUTOR | null | ## Environment info
- `transformers` version: 4.7.0
- Platform: Linux-4.15.0-143-generic-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.6.9
- PyTorch version (GPU?): 1.9.0+cu102 (False)
- Tensorflow version (GPU?): not installed (NA)
- Using GPU in script?: no
- Using distributed or parallel set-up in scr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12308/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12308/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12307 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12307/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12307/comments | https://api.github.com/repos/huggingface/transformers/issues/12307/events | https://github.com/huggingface/transformers/issues/12307 | 927,383,319 | MDU6SXNzdWU5MjczODMzMTk= | 12,307 | Tokenizing in the dataset and padding manually using tokenizer.pad in the collator | {
"login": "jandono",
"id": 6882753,
"node_id": "MDQ6VXNlcjY4ODI3NTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6882753?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jandono",
"html_url": "https://github.com/jandono",
"followers_url": "https://api.github.com/users/jandono/... | [] | closed | false | null | [] | [
"Some additional info that might help. Encodings looks like: `encodings = [batch_encoding_1, ... , batch_encoding_2]`. Each batch encoding looks like: \r\n\r\n```python\r\n{'input_ids': tensor([[ 101, 1006, 1039, 1007, 2065, 1996, 13666, 11896, 2000, 14037,\r\n 2007, 2019, 14987, 2104, 2023, 110... | 1,624 | 1,631 | 1,631 | 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.2.2
- Platform: Linux-5.4.0-74-generic-x86_64-with-debian-bullseye-sid
- Python version: 3.7.10
- PyTorch ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12307/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12307/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12306 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12306/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12306/comments | https://api.github.com/repos/huggingface/transformers/issues/12306/events | https://github.com/huggingface/transformers/issues/12306 | 927,285,220 | MDU6SXNzdWU5MjcyODUyMjA= | 12,306 | Dimensional weight error | {
"login": "Noskid1999",
"id": 34827312,
"node_id": "MDQ6VXNlcjM0ODI3MzEy",
"avatar_url": "https://avatars.githubusercontent.com/u/34827312?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Noskid1999",
"html_url": "https://github.com/Noskid1999",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
" I am currently getting the same error - how did you solve it? Thanks in advance!"
] | 1,624 | 1,643 | 1,624 | 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.7.0
- Platform: Windows
- Python version: 3.7.5
- PyTorch version (GPU?): 1.8.1+cu111
- Tensorflow versio... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12306/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12306/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12305 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12305/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12305/comments | https://api.github.com/repos/huggingface/transformers/issues/12305/events | https://github.com/huggingface/transformers/pull/12305 | 927,266,566 | MDExOlB1bGxSZXF1ZXN0Njc1NDQ5Njk5 | 12,305 | [Flax] Main doc for event orga | {
"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,624 | 1,624 | 1,624 | MEMBER | null | # What does this PR do?
This PR adds the main document for the Flax/JAX community week organization.
@patil-suraj @suzana-ilic @osanseviero @thomwolf @avital @marcvanzee | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12305/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/12305/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12305",
"html_url": "https://github.com/huggingface/transformers/pull/12305",
"diff_url": "https://github.com/huggingface/transformers/pull/12305.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12305.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12304 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12304/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12304/comments | https://api.github.com/repos/huggingface/transformers/issues/12304/events | https://github.com/huggingface/transformers/pull/12304 | 927,189,026 | MDExOlB1bGxSZXF1ZXN0Njc1MzgzMzQy | 12,304 | Add CodeCarbon Integration | {
"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 | [] | [
"cc @sashavor"
] | 1,624 | 1,624 | 1,624 | CONTRIBUTOR | null | # What does this PR do?
This PR adds `codecarbon` for carbon footprint tracking. This is also useful for BigScience.
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/huggi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12304/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12304/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12304",
"html_url": "https://github.com/huggingface/transformers/pull/12304",
"diff_url": "https://github.com/huggingface/transformers/pull/12304.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12304.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12303 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12303/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12303/comments | https://api.github.com/repos/huggingface/transformers/issues/12303/events | https://github.com/huggingface/transformers/pull/12303 | 927,178,018 | MDExOlB1bGxSZXF1ZXN0Njc1MzczOTQ1 | 12,303 | Fix and improve documentation for LEDForConditionalGeneration | {
"login": "ionicsolutions",
"id": 32523967,
"node_id": "MDQ6VXNlcjMyNTIzOTY3",
"avatar_url": "https://avatars.githubusercontent.com/u/32523967?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ionicsolutions",
"html_url": "https://github.com/ionicsolutions",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"Thanks again!"
] | 1,624 | 1,624 | 1,624 | CONTRIBUTOR | null | # What does this PR do?
As reported in #12268, the example for text generation with LED does not work because it relies on an implementation detail of the BART model for which it was originally conceived. Further, the summarization example uses a checkpoint that was not finetuned on a summarization task, leading to ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12303/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12303/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12303",
"html_url": "https://github.com/huggingface/transformers/pull/12303",
"diff_url": "https://github.com/huggingface/transformers/pull/12303.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12303.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12302 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12302/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12302/comments | https://api.github.com/repos/huggingface/transformers/issues/12302/events | https://github.com/huggingface/transformers/pull/12302 | 927,129,453 | MDExOlB1bGxSZXF1ZXN0Njc1MzMxOTc3 | 12,302 | electra SequenceClassification layer change | {
"login": "kamalkraj",
"id": 17096858,
"node_id": "MDQ6VXNlcjE3MDk2ODU4",
"avatar_url": "https://avatars.githubusercontent.com/u/17096858?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kamalkraj",
"html_url": "https://github.com/kamalkraj",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,624 | 1,627 | 1,627 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12302/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12302/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12302",
"html_url": "https://github.com/huggingface/transformers/pull/12302",
"diff_url": "https://github.com/huggingface/transformers/pull/12302.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12302.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12301 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12301/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12301/comments | https://api.github.com/repos/huggingface/transformers/issues/12301/events | https://github.com/huggingface/transformers/issues/12301 | 927,047,406 | MDU6SXNzdWU5MjcwNDc0MDY= | 12,301 | Are there any examples showing how to use the `metric_for_best_model` of class `TrainingArguments`? | {
"login": "yc1999",
"id": 37548571,
"node_id": "MDQ6VXNlcjM3NTQ4NTcx",
"avatar_url": "https://avatars.githubusercontent.com/u/37548571?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yc1999",
"html_url": "https://github.com/yc1999",
"followers_url": "https://api.github.com/users/yc1999/fo... | [] | 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\nPinging @sgugger \r\n\r\nThanks!",
"The metrics need to be computed and have a name that is in what your `compute_metrics` ... | 1,624 | 1,624 | 1,624 | NONE | null | <img width="567" alt="截屏2021-06-22 下午5 49 14" src="https://user-images.githubusercontent.com/37548571/122903624-2a128c80-d382-11eb-9400-4bb884d6c0c6.png">
In the [documents](https://huggingface.co/transformers/master/main_classes/trainer.html#trainingarguments), it says one can pass a `str` to `metric_for_best_model... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12301/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12301/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12300 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12300/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12300/comments | https://api.github.com/repos/huggingface/transformers/issues/12300/events | https://github.com/huggingface/transformers/pull/12300 | 927,023,605 | MDExOlB1bGxSZXF1ZXN0Njc1MjQxMDA5 | 12,300 | [Flax] ViT training example | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Can you run `make style` ?"
] | 1,624 | 1,625 | 1,625 | MEMBER | null | # What does this PR do?
This PR adds image classification script for fine-tuning flax vit.
For faster processing and loading , torch dataloader is used, since this can become a bottleneck on TPU. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12300/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12300/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12300",
"html_url": "https://github.com/huggingface/transformers/pull/12300",
"diff_url": "https://github.com/huggingface/transformers/pull/12300.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12300.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12299 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12299/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12299/comments | https://api.github.com/repos/huggingface/transformers/issues/12299/events | https://github.com/huggingface/transformers/issues/12299 | 926,949,677 | MDU6SXNzdWU5MjY5NDk2Nzc= | 12,299 | T ** 2 in distillation process | {
"login": "DA-L3",
"id": 33768245,
"node_id": "MDQ6VXNlcjMzNzY4MjQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/33768245?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DA-L3",
"html_url": "https://github.com/DA-L3",
"followers_url": "https://api.github.com/users/DA-L3/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,624 | 1,627 | 1,627 | NONE | null | Hello,
I am confused about one part in the https://github.com/huggingface/transformers/blob/master/examples/research_projects/distillation/distiller.py script by VictorSanh et. al.

Why does the scr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12299/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/12299/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12298 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12298/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12298/comments | https://api.github.com/repos/huggingface/transformers/issues/12298/events | https://github.com/huggingface/transformers/pull/12298 | 926,883,089 | MDExOlB1bGxSZXF1ZXN0Njc1MTIxMDI4 | 12,298 | add FlaxAutoModelForImageClassification in main init | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,624 | 1,624 | 1,624 | MEMBER | null | # What does this PR do?
Adds `FlaxAutoModelForImageClassification` and `FLAX_MODEL_FOR_IMAGE_CLASSIFICATION_MAPPING` in main init. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12298/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/12298/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12298",
"html_url": "https://github.com/huggingface/transformers/pull/12298",
"diff_url": "https://github.com/huggingface/transformers/pull/12298.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12298.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12297 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12297/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12297/comments | https://api.github.com/repos/huggingface/transformers/issues/12297/events | https://github.com/huggingface/transformers/issues/12297 | 926,860,650 | MDU6SXNzdWU5MjY4NjA2NTA= | 12,297 | Error: while executing run_qa.py from examples/pytorch/question-answering/ directory | {
"login": "pandyahariom",
"id": 58762872,
"node_id": "MDQ6VXNlcjU4NzYyODcy",
"avatar_url": "https://avatars.githubusercontent.com/u/58762872?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pandyahariom",
"html_url": "https://github.com/pandyahariom",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"You are using a model with `max_length = 128` but then pass along `max_seq_length 384`, which is overridden to become 128 since that is the maximum the tokenizer thinks the model can handle because of:\r\n```\r\ntokenizer = BertTokenizer(do_lower_case=False, model_max_length=128)\r\n```\r\nand then trying to use a... | 1,624 | 1,624 | 1,624 | NONE | null | I am using the Google Colab environment to perform QA task. To evaluate finetuned model I am using run_qa.py file but in the **STEP-2** below, while using run_qa.py, I am getting mentioned error.
**STEP1:**
In the first step, the bert_base_cased model trained on the MLM task is finetuned on QA task using SQuAD.
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12297/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12297/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12296 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12296/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12296/comments | https://api.github.com/repos/huggingface/transformers/issues/12296/events | https://github.com/huggingface/transformers/issues/12296 | 926,850,039 | MDU6SXNzdWU5MjY4NTAwMzk= | 12,296 | BART infilling example? | {
"login": "suzyahyah",
"id": 2980993,
"node_id": "MDQ6VXNlcjI5ODA5OTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/2980993?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/suzyahyah",
"html_url": "https://github.com/suzyahyah",
"followers_url": "https://api.github.com/users/su... | [] | closed | false | null | [] | [
"(Resolved, but documentation needs to be updated)\r\n\r\n```\r\nfrom transformers import BartConfig\r\nconfig = BartConfig(force_bos_token_to_be_generated=True)\r\nmodel = BartForConditionalGeneration.from_pretrained(\"facebook/bart-large\", config=config)\r\n...\r\n```\r\n\r\nwill let the model do infilling. ",
... | 1,624 | 1,627 | 1,627 | NONE | null | Hi,
I'm trying this official example from the documentation (v4.7.0) for BART mask infilling :
"https://huggingface.co/transformers/model_doc/bart.html#bartforconditionalgeneration"
```
from transformers import BartForConditionalGeneration, BartTokenizer
model = BartForConditionalGeneration.from_pretrained... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12296/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12296/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12295 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12295/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12295/comments | https://api.github.com/repos/huggingface/transformers/issues/12295/events | https://github.com/huggingface/transformers/issues/12295 | 926,771,569 | MDU6SXNzdWU5MjY3NzE1Njk= | 12,295 | [examples] replicate the new `--log_level` feature to all trainer-based pytorch examples | {
"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": 1990918270,
"node_id": "MDU6TGFiZWwxOTkwOTE4Mjcw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20First%20Issue",
"name": "Good First Issue",
"color": "bbf794",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"Can I take this?",
"Yes, of course! Thank you, @bhadreshpsavani ",
"@bhadreshpsavani, once https://github.com/huggingface/transformers/pull/12309 gets merged, please rebase your branch and rename\r\n```\r\n- get_node_log_level()\r\n+ get_process_log_level()\r\n```\r\n\r\nThank you!",
"ok, it's merged n... | 1,624 | 1,624 | 1,624 | CONTRIBUTOR | null | https://github.com/huggingface/transformers/pull/12276 introduced a new `--log_level` feature, which now allows users to set their desired log level via CLI or TrainingArguments.
`run_translation.py` was used as a "model" for other examples.
Now we need to replicate this to all other Trainer-based examples under... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12295/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12295/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12294 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12294/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12294/comments | https://api.github.com/repos/huggingface/transformers/issues/12294/events | https://github.com/huggingface/transformers/pull/12294 | 926,707,701 | MDExOlB1bGxSZXF1ZXN0Njc0OTc3MTYy | 12,294 | [tests] multiple improvements | {
"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,624 | 1,624 | 1,624 | CONTRIBUTOR | null | This PR:
1. splits the 2 groups of `TrainerIntegrationTest` tests into separate subclasses, since at the moment many run 2x training in `setUp` and then don't use the results - should make things a bit faster, and mainly this removes the weird unexpected logs when debugging tests.
2. introduce, use and document `re... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12294/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12294/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12294",
"html_url": "https://github.com/huggingface/transformers/pull/12294",
"diff_url": "https://github.com/huggingface/transformers/pull/12294.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12294.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12293 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12293/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12293/comments | https://api.github.com/repos/huggingface/transformers/issues/12293/events | https://github.com/huggingface/transformers/pull/12293 | 926,684,634 | MDExOlB1bGxSZXF1ZXN0Njc0OTU3NjYy | 12,293 | [tests] reset report_to to none, avoid deprecation warning | {
"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,624 | 1,624 | 1,624 | CONTRIBUTOR | null | This PR fixes the warnings:
```
The default value for the training argument `--report_to` will change in v5 (from all installed integrations to none).
In v5, you will need to use `--report_to all` to get the same behavior as now. You should start updating your code
and make this info disappear :-).
```
by setti... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12293/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12293/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12293",
"html_url": "https://github.com/huggingface/transformers/pull/12293",
"diff_url": "https://github.com/huggingface/transformers/pull/12293.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12293.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12292 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12292/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12292/comments | https://api.github.com/repos/huggingface/transformers/issues/12292/events | https://github.com/huggingface/transformers/pull/12292 | 926,601,919 | MDExOlB1bGxSZXF1ZXN0Njc0ODg0OTI4 | 12,292 | Fix for the issue of device-id getting hardcoded for position-ids during Tracing for Flaubert | {
"login": "HamidShojanazeri",
"id": 9162336,
"node_id": "MDQ6VXNlcjkxNjIzMzY=",
"avatar_url": "https://avatars.githubusercontent.com/u/9162336?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HamidShojanazeri",
"html_url": "https://github.com/HamidShojanazeri",
"followers_url": "https://ap... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | closed | false | {
"login": "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/... | [
{
"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": "htt... | [] | 1,624 | 1,630 | 1,630 | CONTRIBUTOR | null | # What does this PR do?
This PR is part of a series of PRs that follows PR #11252 and applies similar changes to Flaubert.
Fixes # (issue)
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [X ] Did you read the [contributor guideline... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12292/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12292/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12292",
"html_url": "https://github.com/huggingface/transformers/pull/12292",
"diff_url": "https://github.com/huggingface/transformers/pull/12292.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12292.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12291 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12291/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12291/comments | https://api.github.com/repos/huggingface/transformers/issues/12291/events | https://github.com/huggingface/transformers/pull/12291 | 926,586,252 | MDExOlB1bGxSZXF1ZXN0Njc0ODcwNzQz | 12,291 | Trainer: adjust wandb installation example | {
"login": "stefan-it",
"id": 20651387,
"node_id": "MDQ6VXNlcjIwNjUxMzg3",
"avatar_url": "https://avatars.githubusercontent.com/u/20651387?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stefan-it",
"html_url": "https://github.com/stefan-it",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [] | 1,624 | 1,624 | 1,624 | COLLABORATOR | null | Hi,
this is a very pedantic fix for the `wandb` installation example.
In the original version, `wandb login` will be executed, even when the previous command - `pip install wandb` - failed.
This can be solved by using the "and" operator.
@sgugger | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12291/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12291/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12291",
"html_url": "https://github.com/huggingface/transformers/pull/12291",
"diff_url": "https://github.com/huggingface/transformers/pull/12291.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12291.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12290 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12290/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12290/comments | https://api.github.com/repos/huggingface/transformers/issues/12290/events | https://github.com/huggingface/transformers/pull/12290 | 926,520,801 | MDExOlB1bGxSZXF1ZXN0Njc0ODEzOTU2 | 12,290 | Fix for the issue of device-id getting hardcoded for position-ids during Tracing for Distillbert | {
"login": "HamidShojanazeri",
"id": 9162336,
"node_id": "MDQ6VXNlcjkxNjIzMzY=",
"avatar_url": "https://avatars.githubusercontent.com/u/9162336?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HamidShojanazeri",
"html_url": "https://github.com/HamidShojanazeri",
"followers_url": "https://ap... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | closed | false | {
"login": "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/... | [
{
"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": "htt... | [] | 1,624 | 1,630 | 1,630 | CONTRIBUTOR | null | # What does this PR do?
This PR is part of a series of PRs that follows PR #11252 and applies similar changes to Distillbert.
Fixes # (issue)
Registering a buffer for position_ids in the constructor and then resizing it in the forward method based on input-shape.
## Before submitting
- [ ] This PR fixes a typo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12290/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12290/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12290",
"html_url": "https://github.com/huggingface/transformers/pull/12290",
"diff_url": "https://github.com/huggingface/transformers/pull/12290.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12290.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12289 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12289/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12289/comments | https://api.github.com/repos/huggingface/transformers/issues/12289/events | https://github.com/huggingface/transformers/pull/12289 | 926,476,891 | MDExOlB1bGxSZXF1ZXN0Njc0Nzc2MTM2 | 12,289 | Fix TFWav2Vec2 SpecAugment | {
"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 | [] | [
"Based on the original paper the time mask should be applied on the time axis like \r\n\r\nHowever, wav2vec2 is masking hidden states. In principle, it should work the same way and if correctly applied you... | 1,624 | 1,624 | 1,624 | CONTRIBUTOR | null | # What does this PR do?
This PR fixes the SpecAugment implementation for TFWav2Vec2. I had a lot of trouble with this during the original PR, so I'm not 100% if this is correct. I would love feedback because at this point there must be a knowledge gap.
Fixes # (issue)
https://github.com/huggingface/transformers/i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12289/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/12289/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12289",
"html_url": "https://github.com/huggingface/transformers/pull/12289",
"diff_url": "https://github.com/huggingface/transformers/pull/12289.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12289.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12288 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12288/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12288/comments | https://api.github.com/repos/huggingface/transformers/issues/12288/events | https://github.com/huggingface/transformers/pull/12288 | 926,472,174 | MDExOlB1bGxSZXF1ZXN0Njc0NzcyMDc3 | 12,288 | Add out of vocabulary error to ASR models | {
"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,624 | 1,624 | 1,624 | CONTRIBUTOR | null | # What does this PR do?
This PR adds a check to Wav2Vec2 and Hubert models to ensure the labels do not contain values greater than the configured vocab size.
Fixes # (issue)
https://github.com/huggingface/transformers/issues/12270
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12288/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12288/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12288",
"html_url": "https://github.com/huggingface/transformers/pull/12288",
"diff_url": "https://github.com/huggingface/transformers/pull/12288.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12288.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12287 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12287/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12287/comments | https://api.github.com/repos/huggingface/transformers/issues/12287/events | https://github.com/huggingface/transformers/pull/12287 | 926,468,568 | MDExOlB1bGxSZXF1ZXN0Njc0NzY4ODgw | 12,287 | Fix for the issue of device-id getting hardcoded for token_type_ids during Tracing for ConvBert | {
"login": "HamidShojanazeri",
"id": 9162336,
"node_id": "MDQ6VXNlcjkxNjIzMzY=",
"avatar_url": "https://avatars.githubusercontent.com/u/9162336?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HamidShojanazeri",
"html_url": "https://github.com/HamidShojanazeri",
"followers_url": "https://ap... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | closed | false | {
"login": "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/... | [
{
"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": "htt... | [] | 1,624 | 1,630 | 1,630 | CONTRIBUTOR | null | # What does this PR do?
This PR is part of a series of PRs that follows PR #11252 and applies similar changes to ConvBert.
Fixes # (issue)
Registering a buffer for token_type_ids in the constructor and then resizing it in the forward method based on input-shape.
## Before submitting
- [ ] This PR fixes a ty... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12287/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12287/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12287",
"html_url": "https://github.com/huggingface/transformers/pull/12287",
"diff_url": "https://github.com/huggingface/transformers/pull/12287.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12287.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12286 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12286/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12286/comments | https://api.github.com/repos/huggingface/transformers/issues/12286/events | https://github.com/huggingface/transformers/issues/12286 | 926,426,814 | MDU6SXNzdWU5MjY0MjY4MTQ= | 12,286 | Memory leak when using DistilBert for inference to extract [CLS] hidden state | {
"login": "lucaguarro",
"id": 22605313,
"node_id": "MDQ6VXNlcjIyNjA1MzEz",
"avatar_url": "https://avatars.githubusercontent.com/u/22605313?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lucaguarro",
"html_url": "https://github.com/lucaguarro",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi! You're keeping the results of your model forward call in memory when extending your `pooled_output` list so your memory is bound to take a hit as you iterate through your dataset",
"@LysandreJik Sorry I should have clarified that my dataset consists of 14000 rows and the size out of the output I am trying to... | 1,624 | 1,624 | 1,624 | 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.7.0
- 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/12286/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12286/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12285 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12285/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12285/comments | https://api.github.com/repos/huggingface/transformers/issues/12285/events | https://github.com/huggingface/transformers/pull/12285 | 926,301,828 | MDExOlB1bGxSZXF1ZXN0Njc0NjI1MjEw | 12,285 | [WIP][Flax] CLIP training example | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"closing this PR, messed up the commit history :( \r\nOpened a new PR here #12491"
] | 1,624 | 1,625 | 1,625 | 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/12285/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12285/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12285",
"html_url": "https://github.com/huggingface/transformers/pull/12285",
"diff_url": "https://github.com/huggingface/transformers/pull/12285.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12285.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12284 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12284/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12284/comments | https://api.github.com/repos/huggingface/transformers/issues/12284/events | https://github.com/huggingface/transformers/pull/12284 | 926,204,895 | MDExOlB1bGxSZXF1ZXN0Njc0NTQyNTU5 | 12,284 | [FlaxClip] fix test from/save pretrained test | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,624 | 1,624 | 1,624 | MEMBER | null | # What does this PR do?
Fixes `test_from_pretrained_save_pretrained` test for `FlaxClip` | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12284/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12284/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12284",
"html_url": "https://github.com/huggingface/transformers/pull/12284",
"diff_url": "https://github.com/huggingface/transformers/pull/12284.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12284.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12283 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12283/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12283/comments | https://api.github.com/repos/huggingface/transformers/issues/12283/events | https://github.com/huggingface/transformers/pull/12283 | 926,053,654 | MDExOlB1bGxSZXF1ZXN0Njc0NDEyNjE5 | 12,283 | [TFWav2Vec2] Fix docs | {
"login": "chenht2021",
"id": 1046370,
"node_id": "MDQ6VXNlcjEwNDYzNzA=",
"avatar_url": "https://avatars.githubusercontent.com/u/1046370?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chenht2021",
"html_url": "https://github.com/chenht2021",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"Thanks for fixing the error @chenht2010 - could you run `make style` once to fix the check code quality test? The PyTorch test error seems unrelated.",
"`make style` should be run from the root folder"
] | 1,624 | 1,624 | 1,624 | NONE | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12283/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12283/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12283",
"html_url": "https://github.com/huggingface/transformers/pull/12283",
"diff_url": "https://github.com/huggingface/transformers/pull/12283.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12283.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12282 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12282/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12282/comments | https://api.github.com/repos/huggingface/transformers/issues/12282/events | https://github.com/huggingface/transformers/issues/12282 | 926,029,723 | MDU6SXNzdWU5MjYwMjk3MjM= | 12,282 | TFWav2Vec2ForCTC: Error when using padded batch and attention mask | {
"login": "yossing-audatic",
"id": 64093391,
"node_id": "MDQ6VXNlcjY0MDkzMzkx",
"avatar_url": "https://avatars.githubusercontent.com/u/64093391?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yossing-audatic",
"html_url": "https://github.com/yossing-audatic",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,624 | 1,627 | 1,627 | NONE | null | ## Environment info
- `transformers` version: 4.8.0.dev0
- Platform: Linux
- Python version: 3.8
- PyTorch version (GPU?): 1.8.1
- Tensorflow version (GPU?): 2.4.1
- Using GPU in script?: Yes
- Using distributed or parallel set-up in script?: Yes
### Who can help
@patrickvonplaten
@will-rice
Models:... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12282/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12282/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12281 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12281/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12281/comments | https://api.github.com/repos/huggingface/transformers/issues/12281/events | https://github.com/huggingface/transformers/pull/12281 | 925,913,793 | MDExOlB1bGxSZXF1ZXN0Njc0Mjk0MjQ0 | 12,281 | [WIP] Cogview | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"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,624 | 1,636 | 1,627 | MEMBER | null | # What does this PR do?
Adds the [CogView](https://github.com/THUDM/CogView) model for text-to-image generation.
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12281/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/12281/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12281",
"html_url": "https://github.com/huggingface/transformers/pull/12281",
"diff_url": "https://github.com/huggingface/transformers/pull/12281.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12281.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12280 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12280/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12280/comments | https://api.github.com/repos/huggingface/transformers/issues/12280/events | https://github.com/huggingface/transformers/pull/12280 | 925,909,980 | MDExOlB1bGxSZXF1ZXN0Njc0MjkxMDEx | 12,280 | Rename detr targets to labels | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"@LysandreJik if you want, I can also update the failing integration test for `DetrForSegmentation` in this PR (and perhaps rename the PR). And how can I create an alias for `DetrForSegmentation` (to be renamed to `DetrForImageSegmentation`)?",
"Let's merge this PR as-is and update the integration test in another... | 1,624 | 1,624 | 1,624 | CONTRIBUTOR | null | # What does this PR do?
It fixes #12248. As the models accept "labels" as an argument, it's better to also use the term "labels" in the feature extractor instead of "target".
Note that if this PR gets merged, I'll need to update my demo notebooks (rename "target" to "labels").
I also improved the documentatio... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12280/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12280/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12280",
"html_url": "https://github.com/huggingface/transformers/pull/12280",
"diff_url": "https://github.com/huggingface/transformers/pull/12280.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12280.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12279 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12279/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12279/comments | https://api.github.com/repos/huggingface/transformers/issues/12279/events | https://github.com/huggingface/transformers/pull/12279 | 925,887,481 | MDExOlB1bGxSZXF1ZXN0Njc0MjcxODQz | 12,279 | Better CI feedback | {
"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,624 | 1,624 | 1,624 | MEMBER | null | The "View on GitHub" link now redirects to the correct run. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12279/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12279/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12279",
"html_url": "https://github.com/huggingface/transformers/pull/12279",
"diff_url": "https://github.com/huggingface/transformers/pull/12279.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12279.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12278 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12278/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12278/comments | https://api.github.com/repos/huggingface/transformers/issues/12278/events | https://github.com/huggingface/transformers/issues/12278 | 925,788,524 | MDU6SXNzdWU5MjU3ODg1MjQ= | 12,278 | ViTFeatureExtractor.save_pretrained() generate "preprocessor_config.json" but not "config.json" | {
"login": "daquarti",
"id": 48704929,
"node_id": "MDQ6VXNlcjQ4NzA0OTI5",
"avatar_url": "https://avatars.githubusercontent.com/u/48704929?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/daquarti",
"html_url": "https://github.com/daquarti",
"followers_url": "https://api.github.com/users/daq... | [] | closed | false | null | [] | [
"`ViTFeatureExtractor` is the feature extractor, not the model itself. The model itself requires the `config.json` file that specifies the architecture of the model, while the feature extractor requires its `preprocessor_config.json` file. These two are different files.",
"The problem is ViTForImageClassification... | 1,624 | 1,627 | 1,627 | NONE | null | config.json is needed to use ViTForImageClassification.from_pretrained()
I made a pull-request | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12278/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12278/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12277 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12277/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12277/comments | https://api.github.com/repos/huggingface/transformers/issues/12277/events | https://github.com/huggingface/transformers/pull/12277 | 925,780,555 | MDExOlB1bGxSZXF1ZXN0Njc0MTgwMDY5 | 12,277 | Update feature_extraction_utils.py | {
"login": "daquarti",
"id": 48704929,
"node_id": "MDQ6VXNlcjQ4NzA0OTI5",
"avatar_url": "https://avatars.githubusercontent.com/u/48704929?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/daquarti",
"html_url": "https://github.com/daquarti",
"followers_url": "https://api.github.com/users/daq... | [] | closed | false | null | [] | [
"@patrickvonplaten could you take a look at this?",
"Hey @daquarti, \r\n\r\nThis looks wrong to me -> the feature extractors don't save their parameters into `config.json`, but into `preprocessor_config.json`. Could you elaborate a bit more on the PR?",
"Thanks for help @patrickvonplaten , maybe may solution wa... | 1,624 | 1,629 | 1,629 | NONE | null | config.json is needed to use custom ViTForImageClassification.from_pretrained()
but FEATURE_EXTRACTOR_NAME = "preprocessor_config.json"
so ---> output_feature_extractor_file = os.path.join(save_directory, "config.json")
preprocessor_config.json
# What does this PR do?
<!--
Congratulations! You've made it t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12277/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12277/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12277",
"html_url": "https://github.com/huggingface/transformers/pull/12277",
"diff_url": "https://github.com/huggingface/transformers/pull/12277.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12277.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12276 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12276/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12276/comments | https://api.github.com/repos/huggingface/transformers/issues/12276/events | https://github.com/huggingface/transformers/pull/12276 | 925,765,493 | MDExOlB1bGxSZXF1ZXN0Njc0MTY3Mzky | 12,276 | [trainer + examples] set log level from CLI | {
"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 | [] | [
"> but for the `should_print` (or whatever) argument, I would wait until a user actually requests it. It seems weird to me to run a training script and not even want to have the metrics outputted.\r\n\r\nTotally agree!\r\n\r\nwrt the rest of the logic, it looks like I didn't look close enough and `should_log` is a ... | 1,624 | 1,624 | 1,624 | CONTRIBUTOR | null | As examples keep adding more more debug dumps as info (3 new dumps in `run_translation.py`) and repetitive logger warnings keep on growing - w/o being able to control the level of noise, this PR gives the noise control back to the user.
One of the main pros of this change is that now we can actually use `logger.deb... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12276/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12276/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12276",
"html_url": "https://github.com/huggingface/transformers/pull/12276",
"diff_url": "https://github.com/huggingface/transformers/pull/12276.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12276.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12275 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12275/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12275/comments | https://api.github.com/repos/huggingface/transformers/issues/12275/events | https://github.com/huggingface/transformers/issues/12275 | 925,706,421 | MDU6SXNzdWU5MjU3MDY0MjE= | 12,275 | Transformers-CLI not saving pytorch model after conversion | {
"login": "anandmg101",
"id": 24319144,
"node_id": "MDQ6VXNlcjI0MzE5MTQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/24319144?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anandmg101",
"html_url": "https://github.com/anandmg101",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,624 | 1,637 | 1,627 | NONE | null | @patrickvonplaten, @LysandreJik
Hi, I'm using transformers CLI as per https://docs.aitextgen.io/gpt-2-simple/
But getting this error, where transformers is not saving the pytorch model. Not sure why. I tried in both Ubuntu and Windows. Two different system, but getting same error. So not sure what is the issue
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12275/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12275/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12274 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12274/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12274/comments | https://api.github.com/repos/huggingface/transformers/issues/12274/events | https://github.com/huggingface/transformers/issues/12274 | 925,628,111 | MDU6SXNzdWU5MjU2MjgxMTE= | 12,274 | [performance] module init w/ `from_pretrained` skip storage allocation | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | closed | false | null | [] | [
"If this issue hasn't already been resolved and a fix is relevant, can I have a try at it @stas00?",
"Thank you for offering to implement this, @tanaymeh \r\n\r\nI think this is no longer relevant, as recent pytorch versions added allocation on meta device, which does the same and should be used instead, so closi... | 1,624 | 1,697 | 1,697 | CONTRIBUTOR | null | # 🚀 Feature request
pt-1.9.0 added `torch.nn.utils.skip_init()` which (1) skips the module init (2) doesn't allocate any memory
https://pytorch.org/tutorials/prototype/skip_param_init.html
note: `torch.nn.utils.skip_init()` itself will be in 1.9.1, but the rest of the code should be in 1.9.0 (update: as 1.9.1 i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12274/reactions",
"total_count": 6,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 6,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12274/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12273 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12273/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12273/comments | https://api.github.com/repos/huggingface/transformers/issues/12273/events | https://github.com/huggingface/transformers/issues/12273 | 925,627,493 | MDU6SXNzdWU5MjU2Mjc0OTM= | 12,273 | [Deepspeed] [performance] inefficient load with `from_pretrained` w/ zero3 | {
"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"... | open | false | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [
{
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github... | [] | 1,624 | 1,626 | null | CONTRIBUTOR | null | # 🚀 Feature request
Currently under Deepspeed stage3 with `from_pretrained` we:
a. loop over each sub-module in zero.Init
1. init the sub-module
2. shard and scatter the shards
b. then to load pre-trained weights we loop over each sub-module:
1. gather the shards
2. `load_state_dict` for the one layer lay... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12273/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12273/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12272 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12272/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12272/comments | https://api.github.com/repos/huggingface/transformers/issues/12272/events | https://github.com/huggingface/transformers/issues/12272 | 925,626,798 | MDU6SXNzdWU5MjU2MjY3OTg= | 12,272 | [Deepspeed zero3] lazy weights init | {
"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"... | open | false | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [
{
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github... | [] | 1,624 | 1,626 | null | CONTRIBUTOR | null | I'm pretty sure we need to follow up to the lazy weights init feature https://github.com/huggingface/transformers/pull/11471
and add under zero3 `deepspeed.zero.GatheredParameters` here (or inside `_init_weights`):
https://github.com/huggingface/transformers/pull/11471/files#diff-6b72b98c4c2dcfc6cc606843917733f5d85... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12272/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12272/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12271 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12271/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12271/comments | https://api.github.com/repos/huggingface/transformers/issues/12271/events | https://github.com/huggingface/transformers/pull/12271 | 925,575,509 | MDExOlB1bGxSZXF1ZXN0Njc0MDE2NzIw | 12,271 | [Flax] Add wav2vec2 | {
"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 | [] | [
"Anything I can help with ? \r\nLooking forward to use Flax Wav2vec for the community event :)",
"Hey @ThomAub - that's very nice of you! I will need to spend a couple more hours on this and then add pretraining as well. One thing that would be very helpful would be to check how to do the GumbelSoftmax in Flax. *... | 1,624 | 1,625 | 1,625 | 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/12271/reactions",
"total_count": 6,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 6,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12271/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12271",
"html_url": "https://github.com/huggingface/transformers/pull/12271",
"diff_url": "https://github.com/huggingface/transformers/pull/12271.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12271.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12270 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12270/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12270/comments | https://api.github.com/repos/huggingface/transformers/issues/12270/events | https://github.com/huggingface/transformers/issues/12270 | 925,571,314 | MDU6SXNzdWU5MjU1NzEzMTQ= | 12,270 | Add error message to Wav2Vec2 & Hubert if labels > vocab_size | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"id": 1990918270,
"node_id": "MDU6TGFiZWwxOTkwOTE4Mjcw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20First%20Issue",
"name": "Good First Issue",
"color": "bbf794",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"I will create a PR to fix this.",
"@vasudevgupta7 @patrickvonplaten Is this fixed? If not, I will like to work on it. ",
"Hey, this issue has been fixed in this PR: https://github.com/huggingface/transformers/pull/12288",
"Thanks for informing. I had seen it, but since the issue is still open, I thought some... | 1,624 | 1,632 | 1,632 | MEMBER | null | # 🚀 Feature request
Add better error message to `HubertForCTC`, `Wav2Vec2ForCTC` if labels are bigger than vocab size.
## Motivation
Following this issue: https://github.com/huggingface/transformers/issues/12264 it is clear that an error message should be thrown if any of the any of the labels are > `self.con... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12270/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/12270/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12269 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12269/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12269/comments | https://api.github.com/repos/huggingface/transformers/issues/12269/events | https://github.com/huggingface/transformers/issues/12269 | 925,571,302 | MDU6SXNzdWU5MjU1NzEzMDI= | 12,269 | Add TFSpeech2Text | {
"login": "stancld",
"id": 46073029,
"node_id": "MDQ6VXNlcjQ2MDczMDI5",
"avatar_url": "https://avatars.githubusercontent.com/u/46073029?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stancld",
"html_url": "https://github.com/stancld",
"followers_url": "https://api.github.com/users/stancl... | [
{
"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 | [] | [
"Is this still in progress? I didn't see a WIP PR, but I'd like to use the TensorFlow version if possible.",
"Hello @will-rice, I have this in progress. I'll try to finish some missing components tomorrow and then open the PR for a review :)",
"This issue has been automatically marked as stale because it has no... | 1,624 | 1,630 | null | CONTRIBUTOR | null | # 🚀 Feature request
Add TensorFlow implementation of Speech2Text model.
## Your contribution
I'll try to do this.
**Reviewers:** @patil-suraj | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12269/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/12269/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12268 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12268/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12268/comments | https://api.github.com/repos/huggingface/transformers/issues/12268/events | https://github.com/huggingface/transformers/issues/12268 | 925,560,530 | MDU6SXNzdWU5MjU1NjA1MzA= | 12,268 | [Documentation] Example for LEDForConditionalGeneration does not work | {
"login": "ionicsolutions",
"id": 32523967,
"node_id": "MDQ6VXNlcjMyNTIzOTY3",
"avatar_url": "https://avatars.githubusercontent.com/u/32523967?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ionicsolutions",
"html_url": "https://github.com/ionicsolutions",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [] | 1,624 | 1,624 | 1,624 | CONTRIBUTOR | null | The [documentation for LEDForConditionalGeneration](https://huggingface.co/transformers/model_doc/led.html#transformers.LEDForConditionalGeneration) appears to be incorrect. The same example is also used for [BartForConditionalGeneration](https://huggingface.co/transformers/model_doc/bart.html#bartforconditionalgenerat... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12268/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12268/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12267 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12267/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12267/comments | https://api.github.com/repos/huggingface/transformers/issues/12267/events | https://github.com/huggingface/transformers/pull/12267 | 925,543,279 | MDExOlB1bGxSZXF1ZXN0NjczOTkxODgz | 12,267 | [WIP] Enable GPT2Model to handle 3d attention_mask | {
"login": "bzantium",
"id": 19511788,
"node_id": "MDQ6VXNlcjE5NTExNzg4",
"avatar_url": "https://avatars.githubusercontent.com/u/19511788?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bzantium",
"html_url": "https://github.com/bzantium",
"followers_url": "https://api.github.com/users/bza... | [] | closed | false | null | [] | [
"Hello, thank you for offering a fix! It seems this proposal would be breaking for the GPT-2 double heads model; the following test fails: `test_gpt2_double_lm_head_model` with the following error:\r\n\r\n```\r\n_________________ GPT2ModelTest.test_gpt2_double_lm_head_model _________________\r\n[gw1] linux -- Pytho... | 1,624 | 1,628 | 1,628 | CONTRIBUTOR | null | This PR solves the problem discussed at #12261.
@patrickvonplaten, @LysandreJik | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12267/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12267/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12267",
"html_url": "https://github.com/huggingface/transformers/pull/12267",
"diff_url": "https://github.com/huggingface/transformers/pull/12267.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12267.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12266 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12266/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12266/comments | https://api.github.com/repos/huggingface/transformers/issues/12266/events | https://github.com/huggingface/transformers/issues/12266 | 925,533,181 | MDU6SXNzdWU5MjU1MzMxODE= | 12,266 | Causal Mask in BertGeneration | {
"login": "JamesHujy",
"id": 48405323,
"node_id": "MDQ6VXNlcjQ4NDA1MzIz",
"avatar_url": "https://avatars.githubusercontent.com/u/48405323?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JamesHujy",
"html_url": "https://github.com/JamesHujy",
"followers_url": "https://api.github.com/users/... | [] | closed | false | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,624 | 1,629 | 1,629 | NONE | null | I cannot find the implementation of CausalMask in BertGeneration. Can you help me locate it? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12266/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12266/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12265 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12265/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12265/comments | https://api.github.com/repos/huggingface/transformers/issues/12265/events | https://github.com/huggingface/transformers/issues/12265 | 925,502,059 | MDU6SXNzdWU5MjU1MDIwNTk= | 12,265 | Mbart continue training with same training task on a specific language | {
"login": "maroxtn",
"id": 16374280,
"node_id": "MDQ6VXNlcjE2Mzc0Mjgw",
"avatar_url": "https://avatars.githubusercontent.com/u/16374280?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/maroxtn",
"html_url": "https://github.com/maroxtn",
"followers_url": "https://api.github.com/users/maroxt... | [] | closed | false | null | [] | [
"Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discuss.huggingface.co) instead?\r\n\r\nThanks!",
"@LysandreJik Sorry, I will close the issue now. \r\nHowever this might qualify as a useful feature request, don... | 1,624 | 1,624 | 1,624 | NONE | null | Hello.
I am not sure if this is possible using the transformers library, but it isn't it would be nice to have.
Mbart was initially trained using span corruption and other training tasks on a corpus containing many languages. Since I am going to use it for specifically the Arabic language, I wish to solely finetu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12265/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12265/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12264 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12264/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12264/comments | https://api.github.com/repos/huggingface/transformers/issues/12264/events | https://github.com/huggingface/transformers/issues/12264 | 925,458,332 | MDU6SXNzdWU5MjU0NTgzMzI= | 12,264 | TFWav2Vec2ForCTC & Wav2Vec2ForCTC gives different loss values | {
"login": "thevasudevgupta",
"id": 53136577,
"node_id": "MDQ6VXNlcjUzMTM2NTc3",
"avatar_url": "https://avatars.githubusercontent.com/u/53136577?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thevasudevgupta",
"html_url": "https://github.com/thevasudevgupta",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"try it with labels that are less than the vocab size. I was able to change it to this and they are pretty close.\r\n\r\n```\r\nimport tensorflow as tf\r\nimport torch\r\nfrom transformers import Wav2Vec2ForCTC, TFWav2Vec2ForCTC\r\n\r\nmodel = Wav2Vec2ForCTC.from_pretrained(\"facebook/wav2vec2-base-960h\")\r\ntf_mo... | 1,624 | 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: 4.8.0.dev0
- Platform: macOS-10.16-x86_64-i386-64bit
- Python version: 3.8.10
- PyTorch version (GPU?): 1.8.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12264/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/12264/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12263 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12263/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12263/comments | https://api.github.com/repos/huggingface/transformers/issues/12263/events | https://github.com/huggingface/transformers/pull/12263 | 925,453,112 | MDExOlB1bGxSZXF1ZXN0NjczOTIzMDcx | 12,263 | Add VisualBERT demo notebook | {
"login": "gchhablani",
"id": 29076344,
"node_id": "MDQ6VXNlcjI5MDc2MzQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/29076344?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gchhablani",
"html_url": "https://github.com/gchhablani",
"followers_url": "https://api.github.com/use... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | closed | false | null | [] | [
"I have updated the demo. Turns out I didn't need to change a lot from the LXMERT demo. I have used the same files, just replaced the tokenizer, the model and the labels that are being used. Only `demo.ipynb` is different.\r\n\r\nRequesting @LysandreJik @patil-suraj to review.",
"Thanks for approving and merging ... | 1,624 | 1,628 | 1,628 | CONTRIBUTOR | null | In continuation with #10534, this PR adds demo for VisualBERT model.
I am planning to base it on the `LXMERT` examples, hence the copy-paste of files for now. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12263/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12263/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12263",
"html_url": "https://github.com/huggingface/transformers/pull/12263",
"diff_url": "https://github.com/huggingface/transformers/pull/12263.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12263.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12262 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12262/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12262/comments | https://api.github.com/repos/huggingface/transformers/issues/12262/events | https://github.com/huggingface/transformers/pull/12262 | 925,451,501 | MDExOlB1bGxSZXF1ZXN0NjczOTIxODkx | 12,262 | [WIP] SMITH | {
"login": "gchhablani",
"id": 29076344,
"node_id": "MDQ6VXNlcjI5MDc2MzQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/29076344?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gchhablani",
"html_url": "https://github.com/gchhablani",
"followers_url": "https://api.github.com/use... | [
{
"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 | [] | [
"Hi @gchhablani \r\n\r\nWhat is the state if this PR ?\r\n\r\nHave you tried loading [the official SMITH checkpoint](https://github.com/google-research/google-research/tree/master/smith#pre-trained-model-checkpoint) ?\r\n\r\nAmine",
"Hi @amineabdaoui\n\nI had tried it a while back and it had worked. My focus swit... | 1,624 | 1,706 | null | CONTRIBUTOR | null | # What does this PR do?
This PR adds SMITH encoder by Google Research and potentially closes #9526.
Potential reviewers:
@LysandreJik @patil-suraj | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12262/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/12262/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12262",
"html_url": "https://github.com/huggingface/transformers/pull/12262",
"diff_url": "https://github.com/huggingface/transformers/pull/12262.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12262.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12261 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12261/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12261/comments | https://api.github.com/repos/huggingface/transformers/issues/12261/events | https://github.com/huggingface/transformers/issues/12261 | 925,341,465 | MDU6SXNzdWU5MjUzNDE0NjU= | 12,261 | GPT2Model cannot handle 3D attention_mask | {
"login": "bzantium",
"id": 19511788,
"node_id": "MDQ6VXNlcjE5NTExNzg4",
"avatar_url": "https://avatars.githubusercontent.com/u/19511788?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bzantium",
"html_url": "https://github.com/bzantium",
"followers_url": "https://api.github.com/users/bza... | [] | 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,624 | 1,627 | 1,627 | CONTRIBUTOR | null | When pretraining GPT2 model, it sometimes need to receive a 3d attention_mask. Let's take an example with "gpt2" model. The model would be trained with an instance consisting of two different document "I am a boy. <|endoftext|> you are rich.".
tokenizer convert the sentence into input_ids: [40, 716, 257, 2933, 13, 220... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12261/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12261/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12260 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12260/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12260/comments | https://api.github.com/repos/huggingface/transformers/issues/12260/events | https://github.com/huggingface/transformers/issues/12260 | 925,247,478 | MDU6SXNzdWU5MjUyNDc0Nzg= | 12,260 | 353 duplicate tokens in GPT-2? | {
"login": "lukesalamone",
"id": 10817704,
"node_id": "MDQ6VXNlcjEwODE3NzA0",
"avatar_url": "https://avatars.githubusercontent.com/u/10817704?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lukesalamone",
"html_url": "https://github.com/lukesalamone",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Never mind, realized the tokens are stored in https://huggingface.co/gpt2/resolve/main/vocab.json"
] | 1,624 | 1,624 | 1,624 | NONE | null | ## Environment info
- `transformers` version: 4.6.1
- Platform: Darwin-20.4.0-x86_64-i386-64bit
- Python version: 3.7.5
- PyTorch version (GPU?): 1.7.1 (False)
- Tensorflow version (GPU?): 2.4.1 (False)
- Using GPU in script?: no
- Using distributed or parallel set-up in script?: no
### Who can help
@Lysandr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12260/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12260/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12259 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12259/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12259/comments | https://api.github.com/repos/huggingface/transformers/issues/12259/events | https://github.com/huggingface/transformers/issues/12259 | 925,139,850 | MDU6SXNzdWU5MjUxMzk4NTA= | 12,259 | `ValueError: Expected input batch_size to match target batch_size` occurs when training GPT2 with `Seq2SeqTrainer` | {
"login": "ryangawei",
"id": 25638070,
"node_id": "MDQ6VXNlcjI1NjM4MDcw",
"avatar_url": "https://avatars.githubusercontent.com/u/25638070?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ryangawei",
"html_url": "https://github.com/ryangawei",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"The problem is that you are using a decoder model (DistilGPT2) but have inputs and targets of different lengths, which is impossible for those models. You should use an encode-decoder (also called seq2seq) model for this kind of tasks, see the complete list [here](https://huggingface.co/transformers/model_summary.... | 1,624 | 1,624 | 1,624 | 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.6.1
- Platform: Linux-4.15.0-144-generic-x86_64-with-glibc2.10
- Python version: 3.8.5
- PyTorch version (... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12259/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/12259/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12258 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12258/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12258/comments | https://api.github.com/repos/huggingface/transformers/issues/12258/events | https://github.com/huggingface/transformers/pull/12258 | 925,129,535 | MDExOlB1bGxSZXF1ZXN0NjczNjY0NjYy | 12,258 | [docs] performance | {
"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,624 | 1,624 | 1,624 | CONTRIBUTOR | null | This PR imports the doc I started working on some months back https://github.com/huggingface/transformers/issues/9824 after syncing the code to master's API.
Surely a lot more work can and will be done, this is just a starting baseline.
Fixes: https://github.com/huggingface/transformers/issues/9824
@sgugger | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12258/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12258/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12258",
"html_url": "https://github.com/huggingface/transformers/pull/12258",
"diff_url": "https://github.com/huggingface/transformers/pull/12258.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12258.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12257 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12257/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12257/comments | https://api.github.com/repos/huggingface/transformers/issues/12257/events | https://github.com/huggingface/transformers/pull/12257 | 925,104,030 | MDExOlB1bGxSZXF1ZXN0NjczNjQzMDAz | 12,257 | [DeepSpeed] don't ignore --adafactor | {
"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,624 | 1,624 | 1,624 | CONTRIBUTOR | null | This PR adds a small improvement that checks that if `--adafactor` is passed and the DS config has an optimizer section, then we assert. Before that it was silently ignored, which was misleading to the user.
Fixes: https://github.com/huggingface/transformers/issues/11749
@sgugger | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12257/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12257/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12257",
"html_url": "https://github.com/huggingface/transformers/pull/12257",
"diff_url": "https://github.com/huggingface/transformers/pull/12257.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12257.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12256 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12256/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12256/comments | https://api.github.com/repos/huggingface/transformers/issues/12256/events | https://github.com/huggingface/transformers/pull/12256 | 925,097,379 | MDExOlB1bGxSZXF1ZXN0NjczNjM3NDUx | 12,256 | [Flax] Fix flax test save pretrained | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"@patil-suraj - it looks like Flax lip has a problem with the save/load test. Could you take a look?",
"@patrickvonplaten \r\n#12284 shold fix this."
] | 1,624 | 1,624 | 1,624 | 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/12256/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12256/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12256",
"html_url": "https://github.com/huggingface/transformers/pull/12256",
"diff_url": "https://github.com/huggingface/transformers/pull/12256.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12256.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12255 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12255/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12255/comments | https://api.github.com/repos/huggingface/transformers/issues/12255/events | https://github.com/huggingface/transformers/pull/12255 | 925,088,428 | MDExOlB1bGxSZXF1ZXN0NjczNjI5OTQy | 12,255 | [Flax] [WIP] allow loading head model with base model weights | {
"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": 2934977194,
"node_id": "MDU6TGFiZWwyOTM0OTc3MTk0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Flax",
"name": "Flax",
"color": "4862AD",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"Thanks for fixing this! Could we maybe also add some tests that make sure that loading/saving works correctly for all models?"
] | 1,624 | 1,624 | 1,624 | MEMBER | null | # What does this PR do?
Allows loading flax head model with base model weights.
Right now it's not possible to load a flax head model using weights from the base model as weights `dict` of the base model does not contain the `base_model_prefix` key. To reproduce
```python
from transformers import BertConfig, Fl... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12255/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12255/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12255",
"html_url": "https://github.com/huggingface/transformers/pull/12255",
"diff_url": "https://github.com/huggingface/transformers/pull/12255.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12255.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12254 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12254/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12254/comments | https://api.github.com/repos/huggingface/transformers/issues/12254/events | https://github.com/huggingface/transformers/issues/12254 | 925,037,712 | MDU6SXNzdWU5MjUwMzc3MTI= | 12,254 | [Documentation Example] Task Summary - Start/End of Span in QA Example | {
"login": "RobMcH",
"id": 7346905,
"node_id": "MDQ6VXNlcjczNDY5MDU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7346905?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/RobMcH",
"html_url": "https://github.com/RobMcH",
"followers_url": "https://api.github.com/users/RobMcH/foll... | [] | closed | false | null | [] | [
"The example is just a quick demo on Question Answering and there are many, many things it doesn't do. I'd rather keep it simple since this page covers a lot of things already, and since we have the two [question answering](https://github.com/huggingface/transformers/tree/master/examples/pytorch/question-answering)... | 1,624 | 1,627 | 1,627 | NONE | null | ## Environment info
This bug pertains the [extractive QA example given in the documentation](https://huggingface.co/transformers/task_summary.html#extractive-question-answering) and will be reproducible across operating systems and library versions. I provide a fix for the PyTorch code below, the same can be applied t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12254/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12254/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12253 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12253/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12253/comments | https://api.github.com/repos/huggingface/transformers/issues/12253/events | https://github.com/huggingface/transformers/issues/12253 | 925,016,981 | MDU6SXNzdWU5MjUwMTY5ODE= | 12,253 | First hidden state of the last layer of Bert (french version : FlauBert) only prints vectors of 0 or -0 after using it !! | {
"login": "keloemma",
"id": 40454218,
"node_id": "MDQ6VXNlcjQwNDU0MjE4",
"avatar_url": "https://avatars.githubusercontent.com/u/40454218?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/keloemma",
"html_url": "https://github.com/keloemma",
"followers_url": "https://api.github.com/users/kel... | [] | 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,624 | 1,627 | 1,627 | 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.4.2
- Platform: linux
- Python version: 3.7.6
- PyTorch version (GPU?): 1.5.0a0
- Tensorflow version (GPU... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12253/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12253/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12252 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12252/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12252/comments | https://api.github.com/repos/huggingface/transformers/issues/12252/events | https://github.com/huggingface/transformers/pull/12252 | 924,956,301 | MDExOlB1bGxSZXF1ZXN0NjczNTE4NDgw | 12,252 | Tensorflow QA 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,624 | 1,624 | 1,624 | MEMBER | null | The new TF QA example! There were a couple of issues with the metrics that might need more investigation, but I confirmed they happened in the PyTorch version too. Possibly that was caused by evaluating on an untrained model, though.
Also, don't stress about reviewing this until after the weekend! | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12252/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12252/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12252",
"html_url": "https://github.com/huggingface/transformers/pull/12252",
"diff_url": "https://github.com/huggingface/transformers/pull/12252.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12252.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12251 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12251/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12251/comments | https://api.github.com/repos/huggingface/transformers/issues/12251/events | https://github.com/huggingface/transformers/pull/12251 | 924,950,202 | MDExOlB1bGxSZXF1ZXN0NjczNTEzMzIw | 12,251 | [Flax] Add jax flax to env command | {
"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 | [] | [
"If most of the tests pass, then can I use the changes made by the PR in the time being to check whether I can atleast start my training?"
] | 1,624 | 1,624 | 1,624 | MEMBER | null | This PR adds jax/flax libs to the env command.
@lewtun - can you maybe try out running `transformers-cli env` after this command to see why you cannot import `FlaxBigBirdForMaskedLM` | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12251/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/12251/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12251",
"html_url": "https://github.com/huggingface/transformers/pull/12251",
"diff_url": "https://github.com/huggingface/transformers/pull/12251.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12251.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12250 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12250/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12250/comments | https://api.github.com/repos/huggingface/transformers/issues/12250/events | https://github.com/huggingface/transformers/issues/12250 | 924,949,550 | MDU6SXNzdWU5MjQ5NDk1NTA= | 12,250 | RAG with T5 in a multitask setting | {
"login": "sb1992",
"id": 10261100,
"node_id": "MDQ6VXNlcjEwMjYxMTAw",
"avatar_url": "https://avatars.githubusercontent.com/u/10261100?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sb1992",
"html_url": "https://github.com/sb1992",
"followers_url": "https://api.github.com/users/sb1992/fo... | [] | 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!",
"@sb1992 \r\n\r\nNo, it doesn't matter whether you use T5 or BART. You can actually use a special token in front ... | 1,624 | 1,627 | 1,627 | NONE | null | I was trying to run RAG with t5 for multiple tasks i.e fact checking and QA. As i understand only with t5 you can do that by adding a unique prefix for the particular task before the input I was wondering what could be the best way to handle that ? Do i preprocess train.source, val.source so that they already have the... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12250/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12250/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12249 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12249/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12249/comments | https://api.github.com/repos/huggingface/transformers/issues/12249/events | https://github.com/huggingface/transformers/issues/12249 | 924,873,762 | MDU6SXNzdWU5MjQ4NzM3NjI= | 12,249 | Got unexpected result when using BertTokenizer in Chinese | {
"login": "hxxxxh",
"id": 20272551,
"node_id": "MDQ6VXNlcjIwMjcyNTUx",
"avatar_url": "https://avatars.githubusercontent.com/u/20272551?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hxxxxh",
"html_url": "https://github.com/hxxxxh",
"followers_url": "https://api.github.com/users/hxxxxh/fo... | [] | closed | false | null | [] | [
"Pinging @JetRunner ",
"This behavior seems to be related to `BertTokenizerFast`. I'm not very sure whether I know how to fix it but I can give it a look at `tokenizers`.",
"I wouldn't say the current tokenization is \"wrong\", but I would prefer `BertTokenizerFast` to be consistent with Google's tokenizer. I'l... | 1,624 | 1,648 | 1,627 | NONE | null | ## Environment info
- `transformers` version: 4.7.0
- Platform: Linux-5.4.0-74-generic-x86_64-with-debian-buster-sid
- Python version: 3.7.10
- PyTorch version (GPU?): 1.8.1 (True)
- Tensorflow version (GPU?): not installed (NA)
- Using GPU in script?: False
- Using distributed or parallel set-up in script?: Fal... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12249/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12249/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12248 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12248/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12248/comments | https://api.github.com/repos/huggingface/transformers/issues/12248/events | https://github.com/huggingface/transformers/issues/12248 | 924,678,394 | MDU6SXNzdWU5MjQ2NzgzOTQ= | 12,248 | finding a bug in training the code of /src/transformers/models/detr/modeling_detr.py | {
"login": "zhangbo2008",
"id": 35842504,
"node_id": "MDQ6VXNlcjM1ODQyNTA0",
"avatar_url": "https://avatars.githubusercontent.com/u/35842504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zhangbo2008",
"html_url": "https://github.com/zhangbo2008",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Oh yeah, that makes sense, thanks for spotting it. I didn't have an issue with it as I never directly provided labels created by `DetrFeatureExtractor` to the model, but in case you do, you indeed will encounter an error.\r\n\r\nWill update it! "
] | 1,624 | 1,624 | 1,624 | NONE | null | finding a bug in training the code of https://github.com/huggingface/transformers/blob/f74655cd9b2e316af9d862968bc59c15d6849cad/src/transformers/models/detr/modeling_detr.py
https://github.com/huggingface/transformers/blob/f74655cd9b2e316af9d862968bc59c15d6849cad/src/transformers/models/detr/feature_extraction_detr.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12248/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12248/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12247 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12247/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12247/comments | https://api.github.com/repos/huggingface/transformers/issues/12247/events | https://github.com/huggingface/transformers/pull/12247 | 924,674,309 | MDExOlB1bGxSZXF1ZXN0NjczMjc2OTg0 | 12,247 | [FlaxBart] few small fixes | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,624 | 1,624 | 1,624 | MEMBER | null | # What does this PR do?
Typos and few small fixes | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12247/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12247/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12247",
"html_url": "https://github.com/huggingface/transformers/pull/12247",
"diff_url": "https://github.com/huggingface/transformers/pull/12247.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12247.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12246 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12246/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12246/comments | https://api.github.com/repos/huggingface/transformers/issues/12246/events | https://github.com/huggingface/transformers/issues/12246 | 924,650,938 | MDU6SXNzdWU5MjQ2NTA5Mzg= | 12,246 | Different Weights between google-bert (uncased_L-12_H-768_A-12) and Huggingface-bert (bert-base-uncased) | {
"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 | [] | [
"When checking the [model card]() of `google/bert_uncased_L-12_H-768_A-12`, it states the following:\r\n\r\n> Note that the BERT-Base model in this release is included for completeness only; it was re-trained under the same regime as the original model.\r\n\r\nHence, `google/bert_uncased_L-12_H-768_A-12` is a retr... | 1,624 | 1,624 | 1,624 | NONE | null | Environment: torch==1.8.1+cu111 transformers==4.3.3
```python
# google-bert (uncased_L-12_H-768_A-12)
model = BertForPreTraining.from_pretrained('uncased_L-12_H-768_A-12/', from_tf=True)
print(model.bert.embeddings.word_embeddings.weight)
```
```python
# google-bert (uncased_L-12_H-768_A-12) output
Parameter... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12246/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12246/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12245 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12245/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12245/comments | https://api.github.com/repos/huggingface/transformers/issues/12245/events | https://github.com/huggingface/transformers/issues/12245 | 924,599,464 | MDU6SXNzdWU5MjQ1OTk0NjQ= | 12,245 | TFBertForMaskedLM won't reload from saved checkpoint, shape mismatch issue | {
"login": "martingajek",
"id": 26400212,
"node_id": "MDQ6VXNlcjI2NDAwMjEy",
"avatar_url": "https://avatars.githubusercontent.com/u/26400212?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/martingajek",
"html_url": "https://github.com/martingajek",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"This is an odd one - can you check if the problem still occurs when you use `model.save_pretrained()`? Just pass a path to that method to save, then load the model using `TFAutoModelForMaskedLM.from_pretrained()` with the same path.",
"Yeah `model.save_pretrained()` followed by `TFAutoModelForMaskedLM.from_pretr... | 1,623 | 1,627 | 1,627 | 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.5.1-4.7
- Platform: Debian GNU/Linux 10 (buster)
- Python version: 3.9.2
- PyTorch version (GPU?): N/A
- ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12245/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12245/timeline | completed | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.